blob: 9052e9d3f3cd738dff0934ba2f637c4ea11c285a [file] [log] [blame]
yoshi-code-bot466c9a92021-11-22 23:24:31 -08001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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
102Args:
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
122Returns:
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
140Args:
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
147Returns:
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
158Args:
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
165Returns:
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
183Args:
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
204Returns:
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>