Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9d4d7ed

Browse files
committedJun 20, 2023
feat(gkehub): update the api
#### gkehub:v1 The following keys were added: - resources.organizations.resources.locations.resources.fleets.methods.list (Total Keys: 16) - resources.projects.resources.locations.resources.fleets.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.fleets.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.fleets.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.fleets.methods.list (Total Keys: 16) - resources.projects.resources.locations.resources.fleets.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.scopes.methods.patch (Total Keys: 15) - schemas.ConfigManagementConfigSync.properties.metricsGcpServiceAccountEmail.type (Total Keys: 1) - schemas.ConfigManagementConfigSyncError (Total Keys: 3) - schemas.ConfigManagementConfigSyncState.properties.errors (Total Keys: 2) - schemas.ConfigManagementManaged.properties.stopSyncing.type (Total Keys: 1) - schemas.ConfigManagementMembershipSpec.properties.cluster.type (Total Keys: 1) - schemas.ConfigManagementPolicyController.properties.updateTime (Total Keys: 3) - schemas.ConfigManagementPolicyControllerMigration.properties.copyTime (Total Keys: 2) - schemas.Fleet (Total Keys: 22) - schemas.ListFleetsResponse (Total Keys: 5) #### gkehub:v1alpha The following keys were added: - schemas.ClusterUpgradeGKEUpgrade (Total Keys: 21) - schemas.ClusterUpgradeIgnoredMembership (Total Keys: 5) - schemas.ClusterUpgradeMembershipGKEUpgradeState (Total Keys: 4) - schemas.ClusterUpgradeMembershipState (Total Keys: 7) - schemas.ClusterUpgradePostConditions (Total Keys: 4) - schemas.ClusterUpgradeScopeGKEUpgradeState (Total Keys: 7) - schemas.ClusterUpgradeScopeSpec (Total Keys: 7) - schemas.ClusterUpgradeScopeState (Total Keys: 7) - schemas.ClusterUpgradeUpgradeStatus (Total Keys: 6) - schemas.ConfigManagementConfigSync.properties.metricsGcpServiceAccountEmail.type (Total Keys: 1) - schemas.ConfigManagementConfigSyncError (Total Keys: 3) - schemas.ConfigManagementConfigSyncState.properties.errors (Total Keys: 2) - schemas.ConfigManagementManaged.properties.stopSyncing.type (Total Keys: 1) - schemas.ConfigManagementMembershipSpec.properties.cluster.type (Total Keys: 1) - schemas.ConfigManagementPolicyController.properties.updateTime (Total Keys: 3) - schemas.ConfigManagementPolicyControllerMigration.properties.copyTime (Total Keys: 2) - schemas.MembershipFeatureState.properties.clusterupgrade.$ref (Total Keys: 1) - schemas.PolicyControllerPolicyContentState.properties.referentialSyncConfigState.$ref (Total Keys: 1) - schemas.ScopeFeatureSpec.properties.clusterupgrade.$ref (Total Keys: 1) - schemas.ScopeFeatureState.properties.clusterupgrade.$ref (Total Keys: 1) #### gkehub:v1beta The following keys were added: - schemas.ConfigManagementConfigSync.properties.metricsGcpServiceAccountEmail.type (Total Keys: 1) - schemas.ConfigManagementConfigSyncError (Total Keys: 3) - schemas.ConfigManagementConfigSyncState.properties.errors (Total Keys: 2) - schemas.ConfigManagementManaged.properties.stopSyncing.type (Total Keys: 1) - schemas.ConfigManagementMembershipSpec.properties.cluster.type (Total Keys: 1) - schemas.ConfigManagementPolicyController.properties.updateTime (Total Keys: 3) - schemas.ConfigManagementPolicyControllerMigration.properties.copyTime (Total Keys: 2) - schemas.PolicyControllerPolicyContentState.properties.referentialSyncConfigState.$ref (Total Keys: 1)
1 parent 79df3f4 commit 9d4d7ed

16 files changed

+2030
-93
lines changed
 

‎docs/dyn/gkehub_v1.html

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474

7575
<h1><a href="gkehub_v1.html">GKE Hub API</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="gkehub_v1.organizations.html">organizations()</a></code>
79+
</p>
80+
<p class="firstline">Returns the organizations Resource.</p>
81+
7782
<p class="toc_element">
7883
<code><a href="gkehub_v1.projects.html">projects()</a></code>
7984
</p>

‎docs/dyn/gkehub_v1.organizations.html

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="gkehub_v1.html">GKE Hub API</a> . <a href="gkehub_v1.organizations.html">organizations</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="gkehub_v1.organizations.locations.html">locations()</a></code>
79+
</p>
80+
<p class="firstline">Returns the locations Resource.</p>
81+
82+
<p class="toc_element">
83+
<code><a href="#close">close()</a></code></p>
84+
<p class="firstline">Close httplib2 connections.</p>
85+
<h3>Method Details</h3>
86+
<div class="method">
87+
<code class="details" id="close">close()</code>
88+
<pre>Close httplib2 connections.</pre>
89+
</div>
90+
91+
</body></html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="gkehub_v1.html">GKE Hub API</a> . <a href="gkehub_v1.organizations.html">organizations</a> . <a href="gkehub_v1.organizations.locations.html">locations</a> . <a href="gkehub_v1.organizations.locations.fleets.html">fleets</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Returns all fleets within an organization or a project that the caller has access to.</p>
83+
<p class="toc_element">
84+
<code><a href="#list_next">list_next()</a></code></p>
85+
<p class="firstline">Retrieves the next page of results.</p>
86+
<h3>Method Details</h3>
87+
<div class="method">
88+
<code class="details" id="close">close()</code>
89+
<pre>Close httplib2 connections.</pre>
90+
</div>
91+
92+
<div class="method">
93+
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
94+
<pre>Returns all fleets within an organization or a project that the caller has access to.
95+
96+
Args:
97+
parent: string, Required. The organization or project to list for Fleets under, in the format `organizations/*/locations/*` or `projects/*/locations/*`. (required)
98+
pageSize: integer, Optional. The maximum number of fleets to return. The service may return fewer than this value. If unspecified, at most 200 fleets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
99+
pageToken: string, Optional. A page token, received from a previous `ListFleets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFleets` must match the call that provided the page token.
100+
x__xgafv: string, V1 error format.
101+
Allowed values
102+
1 - v1 error format
103+
2 - v2 error format
104+
105+
Returns:
106+
An object of the form:
107+
108+
{ # Response message for the `GkeHub.ListFleetsResponse` method.
109+
&quot;fleets&quot;: [ # The list of matching fleets.
110+
{ # Fleet contains the Fleet-wide metadata and configuration.
111+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was created.
112+
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was deleted.
113+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `Production Fleet`
114+
&quot;name&quot;: &quot;A String&quot;, # Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one fleet resource, named &quot;default&quot;.
115+
&quot;state&quot;: { # FleetLifecycleState describes the state of a Fleet resource. # Output only. State of the namespace resource.
116+
&quot;code&quot;: &quot;A String&quot;, # Output only. The current state of the Fleet resource.
117+
},
118+
&quot;uid&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all Fleet resources. If a Fleet resource is deleted and another resource with the same name is created, it gets a different uid.
119+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was last updated.
120+
},
121+
],
122+
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. The token is only valid for 1h.
123+
}</pre>
124+
</div>
125+
126+
<div class="method">
127+
<code class="details" id="list_next">list_next()</code>
128+
<pre>Retrieves the next page of results.
129+
130+
Args:
131+
previous_request: The request for the previous page. (required)
132+
previous_response: The response from the request for the previous page. (required)
133+
134+
Returns:
135+
A request object that you can call &#x27;execute()&#x27; on to request the next
136+
page. Returns None if there are no more items in the collection.
137+
</pre>
138+
</div>
139+
140+
</body></html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="gkehub_v1.html">GKE Hub API</a> . <a href="gkehub_v1.organizations.html">organizations</a> . <a href="gkehub_v1.organizations.locations.html">locations</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="gkehub_v1.organizations.locations.fleets.html">fleets()</a></code>
79+
</p>
80+
<p class="firstline">Returns the fleets Resource.</p>
81+
82+
<p class="toc_element">
83+
<code><a href="#close">close()</a></code></p>
84+
<p class="firstline">Close httplib2 connections.</p>
85+
<h3>Method Details</h3>
86+
<div class="method">
87+
<code class="details" id="close">close()</code>
88+
<pre>Close httplib2 connections.</pre>
89+
</div>
90+
91+
</body></html>

‎docs/dyn/gkehub_v1.projects.locations.features.html

+80-24
Large diffs are not rendered by default.

‎docs/dyn/gkehub_v1.projects.locations.fleets.html

+315
Large diffs are not rendered by default.

‎docs/dyn/gkehub_v1.projects.locations.html

+5
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ <h2>Instance Methods</h2>
7979
</p>
8080
<p class="firstline">Returns the features Resource.</p>
8181

82+
<p class="toc_element">
83+
<code><a href="gkehub_v1.projects.locations.fleets.html">fleets()</a></code>
84+
</p>
85+
<p class="firstline">Returns the fleets Resource.</p>
86+
8287
<p class="toc_element">
8388
<code><a href="gkehub_v1.projects.locations.memberships.html">memberships()</a></code>
8489
</p>

‎docs/dyn/gkehub_v1.projects.locations.scopes.html

+54
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ <h2>Instance Methods</h2>
9595
<p class="toc_element">
9696
<code><a href="#list_next">list_next()</a></code></p>
9797
<p class="firstline">Retrieves the next page of results.</p>
98+
<p class="toc_element">
99+
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
100+
<p class="firstline">Updates a scopes.</p>
98101
<p class="toc_element">
99102
<code><a href="#setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
100103
<p class="firstline">Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.</p>
@@ -316,6 +319,57 @@ <h3>Method Details</h3>
316319
</pre>
317320
</div>
318321

322+
<div class="method">
323+
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
324+
<pre>Updates a scopes.
325+
326+
Args:
327+
name: string, The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` (required)
328+
body: object, The request body.
329+
The object takes the form of:
330+
331+
{ # Scope represents a Scope in a Fleet.
332+
&quot;allMemberships&quot;: True or False, # If true, all Memberships in the Fleet bind to this Scope.
333+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. When the scope was created.
334+
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the scope was deleted.
335+
&quot;name&quot;: &quot;A String&quot;, # The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}`
336+
&quot;state&quot;: { # ScopeLifecycleState describes the state of a Scope resource. # Output only. State of the scope resource.
337+
&quot;code&quot;: &quot;A String&quot;, # Output only. The current state of the scope resource.
338+
},
339+
&quot;uid&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.
340+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the scope was last updated.
341+
}
342+
343+
updateMask: string, Required. The fields to be updated.
344+
x__xgafv: string, V1 error format.
345+
Allowed values
346+
1 - v1 error format
347+
2 - v2 error format
348+
349+
Returns:
350+
An object of the form:
351+
352+
{ # This resource represents a long-running operation that is the result of a network API call.
353+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
354+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
355+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
356+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
357+
{
358+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
359+
},
360+
],
361+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
362+
},
363+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
364+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
365+
},
366+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
367+
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
368+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
369+
},
370+
}</pre>
371+
</div>
372+
319373
<div class="method">
320374
<code class="details" id="setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</code>
321375
<pre>Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

‎docs/dyn/gkehub_v1alpha.projects.locations.features.html

+408-24
Large diffs are not rendered by default.

‎docs/dyn/gkehub_v1beta.projects.locations.features.html

+96-24
Large diffs are not rendered by default.

‎googleapiclient/discovery_cache/documents/gkehub.v1.json

+368-5
Large diffs are not rendered by default.

‎googleapiclient/discovery_cache/documents/gkehub.v1alpha.json

+324-8
Large diffs are not rendered by default.

‎googleapiclient/discovery_cache/documents/gkehub.v1alpha2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@
657657
}
658658
}
659659
},
660-
"revision": "20230518",
660+
"revision": "20230609",
661661
"rootUrl": "https://gkehub.googleapis.com/",
662662
"schemas": {
663663
"ApplianceCluster": {

‎googleapiclient/discovery_cache/documents/gkehub.v1beta.json

+50-5
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,7 @@
15941594
}
15951595
}
15961596
},
1597-
"revision": "20230518",
1597+
"revision": "20230609",
15981598
"rootUrl": "https://gkehub.googleapis.com/",
15991599
"schemas": {
16001600
"AnthosObservabilityFeatureSpec": {
@@ -1832,7 +1832,7 @@
18321832
"type": "boolean"
18331833
},
18341834
"enabled": {
1835-
"description": "Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of git field.",
1835+
"description": "Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false and Managed Config Sync is disabled, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. Setting this field to false while enabling Managed Config Sync is invalid. If omitted, ConfigSync resources will be managed if: * the git or oci field is present; or * Managed Config Sync is enabled (i.e., managed.enabled is true).",
18361836
"type": "boolean"
18371837
},
18381838
"git": {
@@ -1843,6 +1843,10 @@
18431843
"$ref": "ConfigManagementManaged",
18441844
"description": "Configuration for Managed Config Sync."
18451845
},
1846+
"metricsGcpServiceAccountEmail": {
1847+
"description": "The Email of the GCP Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be binded to the GSA. This field is required when Managed Config Sync is enabled.",
1848+
"type": "string"
1849+
},
18461850
"oci": {
18471851
"$ref": "ConfigManagementOciConfig",
18481852
"description": "OCI repo configuration for the cluster"
@@ -1977,6 +1981,17 @@
19771981
},
19781982
"type": "object"
19791983
},
1984+
"ConfigManagementConfigSyncError": {
1985+
"description": "Errors pertaining to the installation of Config Sync",
1986+
"id": "ConfigManagementConfigSyncError",
1987+
"properties": {
1988+
"errorMessage": {
1989+
"description": "A string representing the user facing error message",
1990+
"type": "string"
1991+
}
1992+
},
1993+
"type": "object"
1994+
},
19801995
"ConfigManagementConfigSyncState": {
19811996
"description": "State information for ConfigSync",
19821997
"id": "ConfigManagementConfigSyncState",
@@ -1985,6 +2000,13 @@
19852000
"$ref": "ConfigManagementConfigSyncDeploymentState",
19862001
"description": "Information about the deployment of ConfigSync, including the version of the various Pods deployed"
19872002
},
2003+
"errors": {
2004+
"description": "Errors pertaining to the installation of Config Sync.",
2005+
"items": {
2006+
"$ref": "ConfigManagementConfigSyncError"
2007+
},
2008+
"type": "array"
2009+
},
19882010
"syncState": {
19892011
"$ref": "ConfigManagementSyncState",
19902012
"description": "The state of ConfigSync's process to sync configs to a cluster"
@@ -2272,7 +2294,11 @@
22722294
"id": "ConfigManagementManaged",
22732295
"properties": {
22742296
"enabled": {
2275-
"description": "Set to true to enable Managed Config Sync. Defaults to false which disables Managed Config Sync.",
2297+
"description": "Set to true to enable Managed Config Sync. Defaults to false which disables Managed Config Sync. Setting this field to true when configSync.enabled is false is invalid.",
2298+
"type": "boolean"
2299+
},
2300+
"stopSyncing": {
2301+
"description": "Set to true to stop syncing configs for a single cluster. Default to false. If set to true, Managed Config Sync will not upgrade Config Sync.",
22762302
"type": "boolean"
22772303
}
22782304
},
@@ -2286,6 +2312,10 @@
22862312
"$ref": "ConfigManagementBinauthzConfig",
22872313
"description": "Binauthz conifguration for the cluster."
22882314
},
2315+
"cluster": {
2316+
"description": "The user-specified cluster name used by Config Sync cluster-name-selector annotation or ClusterSelector, for applying configs to only a subset of clusters. Omit this field if the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector. Set this field if a name different from the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector.",
2317+
"type": "string"
2318+
},
22892319
"configSync": {
22902320
"$ref": "ConfigManagementConfigSync",
22912321
"description": "Config Sync configuration for the cluster."
@@ -2314,7 +2344,7 @@
23142344
"description": "Binauthz status"
23152345
},
23162346
"clusterName": {
2317-
"description": "The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership's membership_name, unless the user installed ACM on the cluster manually prior to enabling the ACM hub feature. Unique within a Anthos Config Management installation.",
2347+
"description": "This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster's fleet membership name.",
23182348
"type": "string"
23192349
},
23202350
"configSyncState": {
@@ -2441,6 +2471,12 @@
24412471
"templateLibraryInstalled": {
24422472
"description": "Installs the default template library along with Policy Controller.",
24432473
"type": "boolean"
2474+
},
2475+
"updateTime": {
2476+
"description": "Output only. Last time this membership spec was updated.",
2477+
"format": "google-datetime",
2478+
"readOnly": true,
2479+
"type": "string"
24442480
}
24452481
},
24462482
"type": "object"
@@ -2449,6 +2485,11 @@
24492485
"description": "State for the migration of PolicyController from ACM -> PoCo Hub.",
24502486
"id": "ConfigManagementPolicyControllerMigration",
24512487
"properties": {
2488+
"copyTime": {
2489+
"description": "Last time this membership spec was copied to PoCo feature.",
2490+
"format": "google-datetime",
2491+
"type": "string"
2492+
},
24522493
"stage": {
24532494
"description": "Stage of the migration.",
24542495
"enum": [
@@ -3367,7 +3408,7 @@
33673408
"type": "object"
33683409
},
33693410
"MembershipFeatureSpec": {
3370-
"description": "MembershipFeatureSpec contains configuration information for a single Membership.",
3411+
"description": "MembershipFeatureSpec contains configuration information for a single Membership. NOTE: Please use snake case in your feature name.",
33713412
"id": "MembershipFeatureSpec",
33723413
"properties": {
33733414
"anthosobservability": {
@@ -3943,6 +3984,10 @@
39433984
"description": "The state of the any bundles included in the chosen version of the manifest",
39443985
"type": "object"
39453986
},
3987+
"referentialSyncConfigState": {
3988+
"$ref": "PolicyControllerOnClusterState",
3989+
"description": "The state of the referential data sync configuration. This could represent the state of either the syncSet object(s) or the config object, depending on the version of PoCo configured by the user."
3990+
},
39463991
"templateLibraryState": {
39473992
"$ref": "PolicyControllerOnClusterState",
39483993
"description": "The state of the template library"

‎googleapiclient/discovery_cache/documents/gkehub.v1beta1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@
712712
}
713713
}
714714
},
715-
"revision": "20230518",
715+
"revision": "20230609",
716716
"rootUrl": "https://gkehub.googleapis.com/",
717717
"schemas": {
718718
"ApplianceCluster": {

‎googleapiclient/discovery_cache/documents/gkehub.v2alpha.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
}
281281
}
282282
},
283-
"revision": "20230518",
283+
"revision": "20230609",
284284
"rootUrl": "https://gkehub.googleapis.com/",
285285
"schemas": {
286286
"CancelOperationRequest": {

0 commit comments

Comments
 (0)
Please sign in to comment.