Skip to content

Commit fbcb756

Browse files
feat(gkehub): update the api
#### gkehub:v1alpha The following keys were added: - 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.patch (Total Keys: 15) - schemas.Fleet (Total Keys: 17)
1 parent 8016e68 commit fbcb756

File tree

7 files changed

+387
-5
lines changed

7 files changed

+387
-5
lines changed
Lines changed: 218 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,218 @@
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_v1alpha.html">GKE Hub API</a> . <a href="gkehub_v1alpha.projects.html">projects</a> . <a href="gkehub_v1alpha.projects.locations.html">locations</a> . <a href="gkehub_v1alpha.projects.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="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Creates a fleet.</p>
83+
<p class="toc_element">
84+
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Removes a Fleet. There must be no memberships remaining in the Fleet.</p>
86+
<p class="toc_element">
87+
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Returns the details of a fleet.</p>
89+
<p class="toc_element">
90+
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
91+
<p class="firstline">Updates a fleet.</p>
92+
<h3>Method Details</h3>
93+
<div class="method">
94+
<code class="details" id="close">close()</code>
95+
<pre>Close httplib2 connections.</pre>
96+
</div>
97+
98+
<div class="method">
99+
<code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
100+
<pre>Creates a fleet.
101+
102+
Args:
103+
parent: string, Required. The parent (project and location) where the Fleet will be created. Specified in the format `projects/*/locations/*`. (required)
104+
body: object, The request body.
105+
The object takes the form of:
106+
107+
{ # Fleet contains the Fleet-wide metadata and configuration.
108+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was created.
109+
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was deleted.
110+
&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`
111+
&quot;fleetName&quot;: &quot;A String&quot;, # The name for the fleet. The name must meet the following constraints: + The name of a fleet should be unique within the organization; + It must consist of lower case alphanumeric characters or `-`; + The length of the name must be less than or equal to 63; + Unicode names must be expressed in Punycode format (rfc3492). Examples: + prod-fleet + xn--wlq33vhyw9jb (Punycode form for &quot;生产环境&quot;)
112+
&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 GCP project can have at most one fleet resource, named &quot;default&quot;.
113+
&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.
114+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was last updated.
115+
}
116+
117+
x__xgafv: string, V1 error format.
118+
Allowed values
119+
1 - v1 error format
120+
2 - v2 error format
121+
122+
Returns:
123+
An object of the form:
124+
125+
{ # Fleet contains the Fleet-wide metadata and configuration.
126+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was created.
127+
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was deleted.
128+
&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`
129+
&quot;fleetName&quot;: &quot;A String&quot;, # The name for the fleet. The name must meet the following constraints: + The name of a fleet should be unique within the organization; + It must consist of lower case alphanumeric characters or `-`; + The length of the name must be less than or equal to 63; + Unicode names must be expressed in Punycode format (rfc3492). Examples: + prod-fleet + xn--wlq33vhyw9jb (Punycode form for &quot;生产环境&quot;)
130+
&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 GCP project can have at most one fleet resource, named &quot;default&quot;.
131+
&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.
132+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was last updated.
133+
}</pre>
134+
</div>
135+
136+
<div class="method">
137+
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
138+
<pre>Removes a Fleet. There must be no memberships remaining in the Fleet.
139+
140+
Args:
141+
name: string, Required. The Fleet resource name in the format `projects/*/locations/*/fleets/*`. (required)
142+
x__xgafv: string, V1 error format.
143+
Allowed values
144+
1 - v1 error format
145+
2 - v2 error format
146+
147+
Returns:
148+
An object of the form:
149+
150+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
151+
}</pre>
152+
</div>
153+
154+
<div class="method">
155+
<code class="details" id="get">get(name, x__xgafv=None)</code>
156+
<pre>Returns the details of a fleet.
157+
158+
Args:
159+
name: string, Required. The Fleet resource name in the format `projects/*/locations/*/fleets/*`. (required)
160+
x__xgafv: string, V1 error format.
161+
Allowed values
162+
1 - v1 error format
163+
2 - v2 error format
164+
165+
Returns:
166+
An object of the form:
167+
168+
{ # Fleet contains the Fleet-wide metadata and configuration.
169+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was created.
170+
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was deleted.
171+
&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`
172+
&quot;fleetName&quot;: &quot;A String&quot;, # The name for the fleet. The name must meet the following constraints: + The name of a fleet should be unique within the organization; + It must consist of lower case alphanumeric characters or `-`; + The length of the name must be less than or equal to 63; + Unicode names must be expressed in Punycode format (rfc3492). Examples: + prod-fleet + xn--wlq33vhyw9jb (Punycode form for &quot;生产环境&quot;)
173+
&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 GCP project can have at most one fleet resource, named &quot;default&quot;.
174+
&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.
175+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was last updated.
176+
}</pre>
177+
</div>
178+
179+
<div class="method">
180+
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
181+
<pre>Updates a fleet.
182+
183+
Args:
184+
name: string, Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each GCP project can have at most one fleet resource, named &quot;default&quot;. (required)
185+
body: object, The request body.
186+
The object takes the form of:
187+
188+
{ # Fleet contains the Fleet-wide metadata and configuration.
189+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was created.
190+
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was deleted.
191+
&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`
192+
&quot;fleetName&quot;: &quot;A String&quot;, # The name for the fleet. The name must meet the following constraints: + The name of a fleet should be unique within the organization; + It must consist of lower case alphanumeric characters or `-`; + The length of the name must be less than or equal to 63; + Unicode names must be expressed in Punycode format (rfc3492). Examples: + prod-fleet + xn--wlq33vhyw9jb (Punycode form for &quot;生产环境&quot;)
193+
&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 GCP project can have at most one fleet resource, named &quot;default&quot;.
194+
&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.
195+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was last updated.
196+
}
197+
198+
updateMask: string, Required. The fields to be updated;
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+
{ # Fleet contains the Fleet-wide metadata and configuration.
208+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was created.
209+
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was deleted.
210+
&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`
211+
&quot;fleetName&quot;: &quot;A String&quot;, # The name for the fleet. The name must meet the following constraints: + The name of a fleet should be unique within the organization; + It must consist of lower case alphanumeric characters or `-`; + The length of the name must be less than or equal to 63; + Unicode names must be expressed in Punycode format (rfc3492). Examples: + prod-fleet + xn--wlq33vhyw9jb (Punycode form for &quot;生产环境&quot;)
212+
&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 GCP project can have at most one fleet resource, named &quot;default&quot;.
213+
&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.
214+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was last updated.
215+
}</pre>
216+
</div>
217+
218+
</body></html>

docs/dyn/gkehub_v1alpha.projects.locations.html

Lines changed: 5 additions & 0 deletions
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_v1alpha.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_v1alpha.projects.locations.memberships.html">memberships()</a></code>
8489
</p>

googleapiclient/discovery_cache/documents/gkehub.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@
905905
}
906906
}
907907
},
908-
"revision": "20211105",
908+
"revision": "20211111",
909909
"rootUrl": "https://gkehub.googleapis.com/",
910910
"schemas": {
911911
"AppDevExperienceFeatureSpec": {

0 commit comments

Comments
 (0)