Debian Codegraph @

docs/dyn/gkehub_v2alpha.projects.locations.featureConfigs.html

raw
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_v2alpha.html">GKE Hub API</a> . <a href="gkehub_v2alpha.projects.html">projects</a> . <a href="gkehub_v2alpha.projects.locations.html">locations</a> . <a href="gkehub_v2alpha.projects.locations.featureConfigs.html">featureConfigs</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="#create">create(parent, body=None, featureConfigId=None, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates FeatureConfig under a given parent.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Removes a FeatureConfig.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">========= FeatureConfig Services ========= Gets details of a featureConfig.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists all FeatureConfigs in a given project and location.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="create">create(parent, body=None, featureConfigId=None, requestId=None, x__xgafv=None)</code>
103 <pre>Creates FeatureConfig under a given parent.
104
105 Args:
106 parent: string, Required. The name of parent where the FeatureConfig will be created. Specified in the format `projects/{project}/locations/global/featureConfigs/{feature_type}/{feature_config}/`. (required)
107 body: object, The request body.
108 The object takes the form of:
109
110 { # FeatureConfig contains configurations for a Fleet feature. FeatureConfig can be applied to MembershipFeature(s) to setup per-membership FeatureSpec.
111 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the FeatureConfig resource was created.
112 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the FeatureConfig resource was deleted.
113 &quot;labels&quot;: { # GCP labels for this FeatureConfig.
114 &quot;a_key&quot;: &quot;A String&quot;,
115 },
116 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this FeatureConfig, in the format: `projects/{project}/locations/global/FeatureConfigs/{feature_type}/{feature_config}`
117 &quot;spec&quot;: { # FeatureSpec contains user input per-feature spec information. # Input only. Immutable. User input of feature spec. Note that this field is immutable. Must create a new FeatureConfig if a new feature spec is needed.
118 },
119 &quot;state&quot;: { # FeatureConfigState describes the state of a FeatureConfig resource. # Lifecycle information of the FeatureConfig.
120 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the FeatureConfig resource.
121 },
122 &quot;uniqueId&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all FeatureConfig resources. If a Membership resource is deleted and another resource with the same name is created, it gets a different unique_id.
123 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the FeatureConfig resource was last updated.
124 }
125
126 featureConfigId: string, The ID of the feature config to create.
127 requestId: string, Idempotent request UUID.
128 x__xgafv: string, V1 error format.
129 Allowed values
130 1 - v1 error format
131 2 - v2 error format
132
133 Returns:
134 An object of the form:
135
136 { # This resource represents a long-running operation that is the result of a network API call.
137 &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.
138 &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.
139 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
140 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
141 {
142 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
143 },
144 ],
145 &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.
146 },
147 &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.
148 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
149 },
150 &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}`.
151 &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`.
152 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
153 },
154 }</pre>
155 </div>
156
157 <div class="method">
158 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
159 <pre>Removes a FeatureConfig.
160
161 Args:
162 name: string, Required. The name of the membershipFeature to be deleted. Specified in the format `projects/*/locations/*/featureConfigs/**`. (required)
163 requestId: string, Idempotent request UUID.
164 x__xgafv: string, V1 error format.
165 Allowed values
166 1 - v1 error format
167 2 - v2 error format
168
169 Returns:
170 An object of the form:
171
172 { # This resource represents a long-running operation that is the result of a network API call.
173 &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.
174 &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.
175 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
176 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
177 {
178 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
179 },
180 ],
181 &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.
182 },
183 &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.
184 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
185 },
186 &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}`.
187 &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`.
188 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
189 },
190 }</pre>
191 </div>
192
193 <div class="method">
194 <code class="details" id="get">get(name, x__xgafv=None)</code>
195 <pre>========= FeatureConfig Services ========= Gets details of a featureConfig.
196
197 Args:
198 name: string, Required. The FeatureConfig resource name in the format `projects/*/locations/*/featureConfigs/**`. (required)
199 x__xgafv: string, V1 error format.
200 Allowed values
201 1 - v1 error format
202 2 - v2 error format
203
204 Returns:
205 An object of the form:
206
207 { # FeatureConfig contains configurations for a Fleet feature. FeatureConfig can be applied to MembershipFeature(s) to setup per-membership FeatureSpec.
208 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the FeatureConfig resource was created.
209 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the FeatureConfig resource was deleted.
210 &quot;labels&quot;: { # GCP labels for this FeatureConfig.
211 &quot;a_key&quot;: &quot;A String&quot;,
212 },
213 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this FeatureConfig, in the format: `projects/{project}/locations/global/FeatureConfigs/{feature_type}/{feature_config}`
214 &quot;spec&quot;: { # FeatureSpec contains user input per-feature spec information. # Input only. Immutable. User input of feature spec. Note that this field is immutable. Must create a new FeatureConfig if a new feature spec is needed.
215 },
216 &quot;state&quot;: { # FeatureConfigState describes the state of a FeatureConfig resource. # Lifecycle information of the FeatureConfig.
217 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the FeatureConfig resource.
218 },
219 &quot;uniqueId&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all FeatureConfig resources. If a Membership resource is deleted and another resource with the same name is created, it gets a different unique_id.
220 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the FeatureConfig resource was last updated.
221 }</pre>
222 </div>
223
224 <div class="method">
225 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
226 <pre>Lists all FeatureConfigs in a given project and location.
227
228 Args:
229 parent: string, Required. The parent where the FeatureConfigs will be listed. In the format: `projects/*/locations/*`. (required)
230 filter: string, Lists FeatureConfigs that match the filter expression, following the syntax outlined in https://google.aip.dev/160.
231 orderBy: string, One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
232 pageSize: integer, When requesting a &#x27;page&#x27; of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.
233 pageToken: string, Token returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources.
234 x__xgafv: string, V1 error format.
235 Allowed values
236 1 - v1 error format
237 2 - v2 error format
238
239 Returns:
240 An object of the form:
241
242 { # Response message for the `GkeHubFeature.ListFeatureConfigs` method.
243 &quot;featureConfigs&quot;: [ # The list of FeatureConfig(s).
244 { # FeatureConfig contains configurations for a Fleet feature. FeatureConfig can be applied to MembershipFeature(s) to setup per-membership FeatureSpec.
245 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the FeatureConfig resource was created.
246 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the FeatureConfig resource was deleted.
247 &quot;labels&quot;: { # GCP labels for this FeatureConfig.
248 &quot;a_key&quot;: &quot;A String&quot;,
249 },
250 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this FeatureConfig, in the format: `projects/{project}/locations/global/FeatureConfigs/{feature_type}/{feature_config}`
251 &quot;spec&quot;: { # FeatureSpec contains user input per-feature spec information. # Input only. Immutable. User input of feature spec. Note that this field is immutable. Must create a new FeatureConfig if a new feature spec is needed.
252 },
253 &quot;state&quot;: { # FeatureConfigState describes the state of a FeatureConfig resource. # Lifecycle information of the FeatureConfig.
254 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the FeatureConfig resource.
255 },
256 &quot;uniqueId&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all FeatureConfig resources. If a Membership resource is deleted and another resource with the same name is created, it gets a different unique_id.
257 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the FeatureConfig resource was last updated.
258 },
259 ],
260 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to request the next page of resources from the `ListFeatureConfigs` method. The value of an empty string means that there are no more resources to return.
261 }</pre>
262 </div>
263
264 <div class="method">
265 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
266 <pre>Retrieves the next page of results.
267
268 Args:
269 previous_request: The request for the previous page. (required)
270 previous_response: The response from the request for the previous page. (required)
271
272 Returns:
273 A request object that you can call &#x27;execute()&#x27; on to request the next
274 page. Returns None if there are no more items in the collection.
275 </pre>
276 </div>
277
278 </body></html>