@@ -82,15 +82,169 @@ <h2>Instance Methods</h2>
82
82
< p class ="toc_element ">
83
83
< code > < a href ="#close "> close()</ a > </ code > </ p >
84
84
< p class ="firstline "> Close httplib2 connections.</ p >
85
+ < p class ="toc_element ">
86
+ < code > < a href ="#create "> create(parent, body=None, x__xgafv=None)</ a > </ code > </ p >
87
+ < p class ="firstline "> Creates a new deployment.</ p >
88
+ < p class ="toc_element ">
89
+ < code > < a href ="#delete "> delete(name, x__xgafv=None)</ a > </ code > </ p >
90
+ < p class ="firstline "> Deletes a deployment.</ p >
91
+ < p class ="toc_element ">
92
+ < code > < a href ="#get "> get(name, x__xgafv=None)</ a > </ code > </ p >
93
+ < p class ="firstline "> Returns a requested deployment.</ p >
94
+ < p class ="toc_element ">
95
+ < code > < a href ="#list "> list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</ a > </ code > </ p >
96
+ < p class ="firstline "> Lists deployments.</ p >
97
+ < p class ="toc_element ">
98
+ < code > < a href ="#list_next "> list_next(previous_request, previous_response)</ a > </ code > </ p >
99
+ < p class ="firstline "> Retrieves the next page of results.</ p >
85
100
< p class ="toc_element ">
86
101
< code > < a href ="#move "> move(name, body=None, x__xgafv=None)</ a > </ code > </ p >
87
102
< p class ="firstline "> Moves a deployment under another node or customer.</ p >
103
+ < p class ="toc_element ">
104
+ < code > < a href ="#patch "> patch(name, body=None, updateMask=None, x__xgafv=None)</ a > </ code > </ p >
105
+ < p class ="firstline "> Updates an existing deployment.</ p >
88
106
< h3 > Method Details</ h3 >
89
107
< div class ="method ">
90
108
< code class ="details " id ="close "> close()</ code >
91
109
< pre > Close httplib2 connections.</ pre >
92
110
</ div >
93
111
112
+ < div class ="method ">
113
+ < code class ="details " id ="create "> create(parent, body=None, x__xgafv=None)</ code >
114
+ < pre > Creates a new deployment.
115
+
116
+ Args:
117
+ parent: string, Required. The parent resource name where the deployment is to be created. (required)
118
+ body: object, The request body.
119
+ The object takes the form of:
120
+
121
+ { # The Deployment.
122
+ "allowedBillingModes": [ # The allowed billing modes under this deployment.
123
+ "A String",
124
+ ],
125
+ "defaultBillingMode": "A String", # Default billing mode for the deployment and devices under it.
126
+ "displayName": "A String", # The deployment's display name.
127
+ "name": "A String", # Output only. Resource name.
128
+ "sasUserIds": [ # User ID used by the devices belonging to this deployment. Each deployment should be associated with one unique user ID.
129
+ "A String",
130
+ ],
131
+ }
132
+
133
+ x__xgafv: string, V1 error format.
134
+ Allowed values
135
+ 1 - v1 error format
136
+ 2 - v2 error format
137
+
138
+ Returns:
139
+ An object of the form:
140
+
141
+ { # The Deployment.
142
+ "allowedBillingModes": [ # The allowed billing modes under this deployment.
143
+ "A String",
144
+ ],
145
+ "defaultBillingMode": "A String", # Default billing mode for the deployment and devices under it.
146
+ "displayName": "A String", # The deployment's display name.
147
+ "name": "A String", # Output only. Resource name.
148
+ "sasUserIds": [ # User ID used by the devices belonging to this deployment. Each deployment should be associated with one unique user ID.
149
+ "A String",
150
+ ],
151
+ }</ pre >
152
+ </ div >
153
+
154
+ < div class ="method ">
155
+ < code class ="details " id ="delete "> delete(name, x__xgafv=None)</ code >
156
+ < pre > Deletes a deployment.
157
+
158
+ Args:
159
+ name: string, Required. The name of the deployment. (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
+ { # 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 `{}`.
169
+ }</ pre >
170
+ </ div >
171
+
172
+ < div class ="method ">
173
+ < code class ="details " id ="get "> get(name, x__xgafv=None)</ code >
174
+ < pre > Returns a requested deployment.
175
+
176
+ Args:
177
+ name: string, Required. The name of the deployment. (required)
178
+ x__xgafv: string, V1 error format.
179
+ Allowed values
180
+ 1 - v1 error format
181
+ 2 - v2 error format
182
+
183
+ Returns:
184
+ An object of the form:
185
+
186
+ { # The Deployment.
187
+ "allowedBillingModes": [ # The allowed billing modes under this deployment.
188
+ "A String",
189
+ ],
190
+ "defaultBillingMode": "A String", # Default billing mode for the deployment and devices under it.
191
+ "displayName": "A String", # The deployment's display name.
192
+ "name": "A String", # Output only. Resource name.
193
+ "sasUserIds": [ # User ID used by the devices belonging to this deployment. Each deployment should be associated with one unique user ID.
194
+ "A String",
195
+ ],
196
+ }</ pre >
197
+ </ div >
198
+
199
+ < div class ="method ">
200
+ < code class ="details " id ="list "> list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</ code >
201
+ < pre > Lists deployments.
202
+
203
+ Args:
204
+ parent: string, Required. The parent resource name, for example, "nodes/1", customer/1/nodes/2. (required)
205
+ filter: string, The filter expression. The filter should have the following format: "DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no deployments are filtered.
206
+ pageSize: integer, The maximum number of deployments to return in the response.
207
+ pageToken: string, A pagination token returned from a previous call to ListDeployments that indicates where this listing should continue from.
208
+ x__xgafv: string, V1 error format.
209
+ Allowed values
210
+ 1 - v1 error format
211
+ 2 - v2 error format
212
+
213
+ Returns:
214
+ An object of the form:
215
+
216
+ { # Response for ListDeployments.
217
+ "deployments": [ # The deployments that match the request.
218
+ { # The Deployment.
219
+ "allowedBillingModes": [ # The allowed billing modes under this deployment.
220
+ "A String",
221
+ ],
222
+ "defaultBillingMode": "A String", # Default billing mode for the deployment and devices under it.
223
+ "displayName": "A String", # The deployment's display name.
224
+ "name": "A String", # Output only. Resource name.
225
+ "sasUserIds": [ # User ID used by the devices belonging to this deployment. Each deployment should be associated with one unique user ID.
226
+ "A String",
227
+ ],
228
+ },
229
+ ],
230
+ "nextPageToken": "A String", # A pagination token returned from a previous call to ListDeployments that indicates from where listing should continue. If the field is missing or empty, it means there are no more deployments.
231
+ }</ pre >
232
+ </ div >
233
+
234
+ < div class ="method ">
235
+ < code class ="details " id ="list_next "> list_next(previous_request, previous_response)</ code >
236
+ < pre > Retrieves the next page of results.
237
+
238
+ Args:
239
+ previous_request: The request for the previous page. (required)
240
+ previous_response: The response from the request for the previous page. (required)
241
+
242
+ Returns:
243
+ A request object that you can call 'execute()' on to request the next
244
+ page. Returns None if there are no more items in the collection.
245
+ </ pre >
246
+ </ div >
247
+
94
248
< div class ="method ">
95
249
< code class ="details " id ="move "> move(name, body=None, x__xgafv=None)</ code >
96
250
< pre > Moves a deployment under another node or customer.
@@ -100,8 +254,8 @@ <h3>Method Details</h3>
100
254
body: object, The request body.
101
255
The object takes the form of:
102
256
103
- { # Request for MoveDeployment method .
104
- "destination": "A String", # Required. The name of the new parent resource Node or Customer to reparent the deployment under.
257
+ { # Request for MoveDeployment.
258
+ "destination": "A String", # Required. The name of the new parent resource node or customer to reparent the deployment under.
105
259
}
106
260
107
261
x__xgafv: string, V1 error format.
@@ -133,4 +287,47 @@ <h3>Method Details</h3>
133
287
}</ pre >
134
288
</ div >
135
289
290
+ < div class ="method ">
291
+ < code class ="details " id ="patch "> patch(name, body=None, updateMask=None, x__xgafv=None)</ code >
292
+ < pre > Updates an existing deployment.
293
+
294
+ Args:
295
+ name: string, Output only. Resource name. (required)
296
+ body: object, The request body.
297
+ The object takes the form of:
298
+
299
+ { # The Deployment.
300
+ "allowedBillingModes": [ # The allowed billing modes under this deployment.
301
+ "A String",
302
+ ],
303
+ "defaultBillingMode": "A String", # Default billing mode for the deployment and devices under it.
304
+ "displayName": "A String", # The deployment's display name.
305
+ "name": "A String", # Output only. Resource name.
306
+ "sasUserIds": [ # User ID used by the devices belonging to this deployment. Each deployment should be associated with one unique user ID.
307
+ "A String",
308
+ ],
309
+ }
310
+
311
+ updateMask: string, Fields to be updated.
312
+ x__xgafv: string, V1 error format.
313
+ Allowed values
314
+ 1 - v1 error format
315
+ 2 - v2 error format
316
+
317
+ Returns:
318
+ An object of the form:
319
+
320
+ { # The Deployment.
321
+ "allowedBillingModes": [ # The allowed billing modes under this deployment.
322
+ "A String",
323
+ ],
324
+ "defaultBillingMode": "A String", # Default billing mode for the deployment and devices under it.
325
+ "displayName": "A String", # The deployment's display name.
326
+ "name": "A String", # Output only. Resource name.
327
+ "sasUserIds": [ # User ID used by the devices belonging to this deployment. Each deployment should be associated with one unique user ID.
328
+ "A String",
329
+ ],
330
+ }</ pre >
331
+ </ div >
332
+
136
333
</ body > </ html >
0 commit comments