google-apis-compute_alpha 0.140.0 → 0.141.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -55,6 +55,277 @@ module Google
55
55
  @batch_path = 'batch/compute/alpha'
56
56
  end
57
57
 
58
+ # Deletes the specified AcceleratorPodController resource.
59
+ # @param [String] project
60
+ # @param [String] zone
61
+ # @param [String] resource_id
62
+ # @param [String] request_id
63
+ # @param [String] fields
64
+ # Selector specifying which fields to include in a partial response.
65
+ # @param [String] quota_user
66
+ # Available to use for quota purposes for server-side applications. Can be any
67
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
68
+ # @param [String] user_ip
69
+ # Legacy name for parameter that has been superseded by `quotaUser`.
70
+ # @param [Google::Apis::RequestOptions] options
71
+ # Request-specific options
72
+ #
73
+ # @yield [result, err] Result & error if block supplied
74
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
75
+ # @yieldparam err [StandardError] error object if request failed
76
+ #
77
+ # @return [Google::Apis::ComputeAlpha::Operation]
78
+ #
79
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
80
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
81
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
82
+ def delete_accelerator_pod_controller(project, zone, resource_id, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
83
+ command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/acceleratorPodControllers/{resourceId}', options)
84
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
85
+ command.response_class = Google::Apis::ComputeAlpha::Operation
86
+ command.params['project'] = project unless project.nil?
87
+ command.params['zone'] = zone unless zone.nil?
88
+ command.params['resourceId'] = resource_id unless resource_id.nil?
89
+ command.query['requestId'] = request_id unless request_id.nil?
90
+ command.query['fields'] = fields unless fields.nil?
91
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
92
+ command.query['userIp'] = user_ip unless user_ip.nil?
93
+ execute_or_queue_command(command, &block)
94
+ end
95
+
96
+ # Gets the specified AcceleratorPodController resource.
97
+ # @param [String] project
98
+ # @param [String] zone
99
+ # @param [String] resource_id
100
+ # @param [String] fields
101
+ # Selector specifying which fields to include in a partial response.
102
+ # @param [String] quota_user
103
+ # Available to use for quota purposes for server-side applications. Can be any
104
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
105
+ # @param [String] user_ip
106
+ # Legacy name for parameter that has been superseded by `quotaUser`.
107
+ # @param [Google::Apis::RequestOptions] options
108
+ # Request-specific options
109
+ #
110
+ # @yield [result, err] Result & error if block supplied
111
+ # @yieldparam result [Google::Apis::ComputeAlpha::AcceleratorPodController] parsed result object
112
+ # @yieldparam err [StandardError] error object if request failed
113
+ #
114
+ # @return [Google::Apis::ComputeAlpha::AcceleratorPodController]
115
+ #
116
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
117
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
118
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
119
+ def get_accelerator_pod_controller(project, zone, resource_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
120
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/acceleratorPodControllers/{resourceId}', options)
121
+ command.response_representation = Google::Apis::ComputeAlpha::AcceleratorPodController::Representation
122
+ command.response_class = Google::Apis::ComputeAlpha::AcceleratorPodController
123
+ command.params['project'] = project unless project.nil?
124
+ command.params['zone'] = zone unless zone.nil?
125
+ command.params['resourceId'] = resource_id unless resource_id.nil?
126
+ command.query['fields'] = fields unless fields.nil?
127
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
128
+ command.query['userIp'] = user_ip unless user_ip.nil?
129
+ execute_or_queue_command(command, &block)
130
+ end
131
+
132
+ # Inserts a new AcceleratorPodController resource.
133
+ # @param [String] project
134
+ # @param [String] zone
135
+ # @param [Google::Apis::ComputeAlpha::AcceleratorPodController] accelerator_pod_controller_object
136
+ # @param [String] request_id
137
+ # @param [String] fields
138
+ # Selector specifying which fields to include in a partial response.
139
+ # @param [String] quota_user
140
+ # Available to use for quota purposes for server-side applications. Can be any
141
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
142
+ # @param [String] user_ip
143
+ # Legacy name for parameter that has been superseded by `quotaUser`.
144
+ # @param [Google::Apis::RequestOptions] options
145
+ # Request-specific options
146
+ #
147
+ # @yield [result, err] Result & error if block supplied
148
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
149
+ # @yieldparam err [StandardError] error object if request failed
150
+ #
151
+ # @return [Google::Apis::ComputeAlpha::Operation]
152
+ #
153
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
154
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
155
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
156
+ def insert_accelerator_pod_controller(project, zone, accelerator_pod_controller_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
157
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/acceleratorPodControllers', options)
158
+ command.request_representation = Google::Apis::ComputeAlpha::AcceleratorPodController::Representation
159
+ command.request_object = accelerator_pod_controller_object
160
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
161
+ command.response_class = Google::Apis::ComputeAlpha::Operation
162
+ command.params['project'] = project unless project.nil?
163
+ command.params['zone'] = zone unless zone.nil?
164
+ command.query['requestId'] = request_id unless request_id.nil?
165
+ command.query['fields'] = fields unless fields.nil?
166
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
167
+ command.query['userIp'] = user_ip unless user_ip.nil?
168
+ execute_or_queue_command(command, &block)
169
+ end
170
+
171
+ # Lists the AcceleratorPodController resources in the specified zone.
172
+ # @param [String] project
173
+ # @param [String] zone
174
+ # @param [String] filter
175
+ # A filter expression that filters resources listed in the response. Most
176
+ # Compute resources support two types of filter expressions:
177
+ # expressions that support regular expressions and expressions that follow
178
+ # API improvement proposal AIP-160.
179
+ # These two types of filter expressions cannot be mixed in one request.
180
+ # If you want to use AIP-160, your expression must specify the field name, an
181
+ # operator, and the value that you want to use for filtering. The value
182
+ # must be a string, a number, or a boolean. The operator
183
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
184
+ # For example, if you are filtering Compute Engine instances, you can
185
+ # exclude instances named `example-instance` by specifying
186
+ # `name != example-instance`.
187
+ # The `:*` comparison can be used to test whether a key has been defined.
188
+ # For example, to find all objects with `owner` label use:
189
+ # ```
190
+ # labels.owner:*
191
+ # ```
192
+ # You can also filter nested fields. For example, you could specify
193
+ # `scheduling.automaticRestart = false` to include instances only
194
+ # if they are not scheduled for automatic restarts. You can use filtering
195
+ # on nested fields to filter based onresource labels.
196
+ # To filter on multiple expressions, provide each separate expression within
197
+ # parentheses. For example:
198
+ # ```
199
+ # (scheduling.automaticRestart = true)
200
+ # (cpuPlatform = "Intel Skylake")
201
+ # ```
202
+ # By default, each expression is an `AND` expression. However, you
203
+ # can include `AND` and `OR` expressions explicitly.
204
+ # For example:
205
+ # ```
206
+ # (cpuPlatform = "Intel Skylake") OR
207
+ # (cpuPlatform = "Intel Broadwell") AND
208
+ # (scheduling.automaticRestart = true)
209
+ # ```
210
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
211
+ # (not equal) operator against a single un-parenthesized expression with or
212
+ # without quotes or against multiple parenthesized expressions. Examples:
213
+ # `fieldname eq unquoted literal`
214
+ # `fieldname eq 'single quoted literal'`
215
+ # `fieldname eq "double quoted literal"`
216
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
217
+ # The literal value is interpreted as a regular expression using GoogleRE2
218
+ # library syntax.
219
+ # The literal value must match the entire field.
220
+ # For example, to filter for instances that do not end with name "instance",
221
+ # you would use `name ne .*instance`.
222
+ # You cannot combine constraints on multiple fields using regular
223
+ # expressions.
224
+ # @param [Fixnum] max_results
225
+ # The maximum number of results per page that should be returned.
226
+ # If the number of available results is larger than `maxResults`,
227
+ # Compute Engine returns a `nextPageToken` that can be used to get
228
+ # the next page of results in subsequent list requests. Acceptable values are
229
+ # `0` to `500`, inclusive. (Default: `500`)
230
+ # @param [String] order_by
231
+ # Sorts list results by a certain order. By default, results
232
+ # are returned in alphanumerical order based on the resource name.
233
+ # You can also sort results in descending order based on the creation
234
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
235
+ # results based on the `creationTimestamp` field in
236
+ # reverse chronological order (newest result first). Use this to sort
237
+ # resources like operations so that the newest operation is returned first.
238
+ # Currently, only sorting by `name` or
239
+ # `creationTimestamp desc` is supported.
240
+ # @param [String] page_token
241
+ # Specifies a page token to use. Set `pageToken` to the
242
+ # `nextPageToken` returned by a previous list request to get
243
+ # the next page of results.
244
+ # @param [Boolean] return_partial_success
245
+ # Opt-in for partial success behavior which provides partial results in case
246
+ # of failure. The default value is false.
247
+ # For example, when partial success behavior is enabled, aggregatedList for a
248
+ # single zone scope either returns all resources in the zone or no resources,
249
+ # with an error code.
250
+ # @param [String] fields
251
+ # Selector specifying which fields to include in a partial response.
252
+ # @param [String] quota_user
253
+ # Available to use for quota purposes for server-side applications. Can be any
254
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
255
+ # @param [String] user_ip
256
+ # Legacy name for parameter that has been superseded by `quotaUser`.
257
+ # @param [Google::Apis::RequestOptions] options
258
+ # Request-specific options
259
+ #
260
+ # @yield [result, err] Result & error if block supplied
261
+ # @yieldparam result [Google::Apis::ComputeAlpha::AcceleratorPodControllersListResponse] parsed result object
262
+ # @yieldparam err [StandardError] error object if request failed
263
+ #
264
+ # @return [Google::Apis::ComputeAlpha::AcceleratorPodControllersListResponse]
265
+ #
266
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
267
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
268
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
269
+ def list_accelerator_pod_controllers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
270
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/acceleratorPodControllers', options)
271
+ command.response_representation = Google::Apis::ComputeAlpha::AcceleratorPodControllersListResponse::Representation
272
+ command.response_class = Google::Apis::ComputeAlpha::AcceleratorPodControllersListResponse
273
+ command.params['project'] = project unless project.nil?
274
+ command.params['zone'] = zone unless zone.nil?
275
+ command.query['filter'] = filter unless filter.nil?
276
+ command.query['maxResults'] = max_results unless max_results.nil?
277
+ command.query['orderBy'] = order_by unless order_by.nil?
278
+ command.query['pageToken'] = page_token unless page_token.nil?
279
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
280
+ command.query['fields'] = fields unless fields.nil?
281
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
282
+ command.query['userIp'] = user_ip unless user_ip.nil?
283
+ execute_or_queue_command(command, &block)
284
+ end
285
+
286
+ # Patches the specified AcceleratorPodController resource.
287
+ # @param [String] project
288
+ # @param [String] zone
289
+ # @param [String] resource_id
290
+ # @param [Google::Apis::ComputeAlpha::AcceleratorPodController] accelerator_pod_controller_object
291
+ # @param [String] request_id
292
+ # @param [String] update_mask
293
+ # @param [String] fields
294
+ # Selector specifying which fields to include in a partial response.
295
+ # @param [String] quota_user
296
+ # Available to use for quota purposes for server-side applications. Can be any
297
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
298
+ # @param [String] user_ip
299
+ # Legacy name for parameter that has been superseded by `quotaUser`.
300
+ # @param [Google::Apis::RequestOptions] options
301
+ # Request-specific options
302
+ #
303
+ # @yield [result, err] Result & error if block supplied
304
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
305
+ # @yieldparam err [StandardError] error object if request failed
306
+ #
307
+ # @return [Google::Apis::ComputeAlpha::Operation]
308
+ #
309
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
310
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
311
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
312
+ def patch_accelerator_pod_controller(project, zone, resource_id, accelerator_pod_controller_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
313
+ command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/acceleratorPodControllers/{resourceId}', options)
314
+ command.request_representation = Google::Apis::ComputeAlpha::AcceleratorPodController::Representation
315
+ command.request_object = accelerator_pod_controller_object
316
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
317
+ command.response_class = Google::Apis::ComputeAlpha::Operation
318
+ command.params['project'] = project unless project.nil?
319
+ command.params['zone'] = zone unless zone.nil?
320
+ command.params['resourceId'] = resource_id unless resource_id.nil?
321
+ command.query['requestId'] = request_id unless request_id.nil?
322
+ command.query['updateMask'] = update_mask unless update_mask.nil?
323
+ command.query['fields'] = fields unless fields.nil?
324
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
325
+ command.query['userIp'] = user_ip unless user_ip.nil?
326
+ execute_or_queue_command(command, &block)
327
+ end
328
+
58
329
  # Retrieves an aggregated list of accelerator types.
59
330
  # To prevent failure, it is recommended that you set the
60
331
  # `returnPartialSuccess` parameter to `true`.
@@ -3044,7 +3315,10 @@ module Google
3044
3315
  execute_or_queue_command(command, &block)
3045
3316
  end
3046
3317
 
3047
- # Retrieves a list of all usable backend services in the specified project.
3318
+ # Retrieves a list of all usable backend services for Application Load
3319
+ # Balancers and Proxy Network Load Balancers in the specified project.
3320
+ # Backend services for external and internal passthrough Network Load
3321
+ # Balancers are not included in the response.
3048
3322
  # @param [String] project
3049
3323
  # Project ID for this request.
3050
3324
  # @param [String] filter
@@ -3771,6 +4045,373 @@ module Google
3771
4045
  execute_or_queue_command(command, &block)
3772
4046
  end
3773
4047
 
4048
+ # Deletes the specified DhcpOptionsConfig in the given location
4049
+ # @param [String] project
4050
+ # Project ID for this request.
4051
+ # @param [String] region
4052
+ # Name of the region of this request.
4053
+ # @param [String] dhcp_options_config
4054
+ # Name of the DhcpOptionsConfig resource to delete.
4055
+ # @param [String] request_id
4056
+ # An optional request ID to identify requests. Specify a unique request ID so
4057
+ # that if you must retry your request, the server will know to ignore the
4058
+ # request if it has already been completed.
4059
+ # For example, consider a situation where you make an initial request and
4060
+ # the request times out. If you make the request again with the same
4061
+ # request ID, the server can check if original operation with the same
4062
+ # request ID was received, and if so, will ignore the second request. This
4063
+ # prevents clients from accidentally creating duplicate commitments.
4064
+ # The request ID must be
4065
+ # a valid UUID with the exception that zero UUID is not supported
4066
+ # (00000000-0000-0000-0000-000000000000).
4067
+ # end_interface: MixerMutationRequestBuilder
4068
+ # @param [String] fields
4069
+ # Selector specifying which fields to include in a partial response.
4070
+ # @param [String] quota_user
4071
+ # Available to use for quota purposes for server-side applications. Can be any
4072
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4073
+ # @param [String] user_ip
4074
+ # Legacy name for parameter that has been superseded by `quotaUser`.
4075
+ # @param [Google::Apis::RequestOptions] options
4076
+ # Request-specific options
4077
+ #
4078
+ # @yield [result, err] Result & error if block supplied
4079
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
4080
+ # @yieldparam err [StandardError] error object if request failed
4081
+ #
4082
+ # @return [Google::Apis::ComputeAlpha::Operation]
4083
+ #
4084
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4085
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4086
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4087
+ def delete_dhcp_options_config(project, region, dhcp_options_config, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4088
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/dhcpOptionsConfigs/{dhcpOptionsConfig}', options)
4089
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
4090
+ command.response_class = Google::Apis::ComputeAlpha::Operation
4091
+ command.params['project'] = project unless project.nil?
4092
+ command.params['region'] = region unless region.nil?
4093
+ command.params['dhcpOptionsConfig'] = dhcp_options_config unless dhcp_options_config.nil?
4094
+ command.query['requestId'] = request_id unless request_id.nil?
4095
+ command.query['fields'] = fields unless fields.nil?
4096
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4097
+ command.query['userIp'] = user_ip unless user_ip.nil?
4098
+ execute_or_queue_command(command, &block)
4099
+ end
4100
+
4101
+ # Returns the specified DhcpOptionsConfig resource in the given location.
4102
+ # @param [String] project
4103
+ # Project ID for this request.
4104
+ # @param [String] region
4105
+ # Name of the region of this request.
4106
+ # @param [String] dhcp_options_config
4107
+ # Name of the DhcpOptionsConfig resource to return.
4108
+ # @param [String] fields
4109
+ # Selector specifying which fields to include in a partial response.
4110
+ # @param [String] quota_user
4111
+ # Available to use for quota purposes for server-side applications. Can be any
4112
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4113
+ # @param [String] user_ip
4114
+ # Legacy name for parameter that has been superseded by `quotaUser`.
4115
+ # @param [Google::Apis::RequestOptions] options
4116
+ # Request-specific options
4117
+ #
4118
+ # @yield [result, err] Result & error if block supplied
4119
+ # @yieldparam result [Google::Apis::ComputeAlpha::DhcpOptionsConfig] parsed result object
4120
+ # @yieldparam err [StandardError] error object if request failed
4121
+ #
4122
+ # @return [Google::Apis::ComputeAlpha::DhcpOptionsConfig]
4123
+ #
4124
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4125
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4126
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4127
+ def get_dhcp_options_config(project, region, dhcp_options_config, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4128
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/dhcpOptionsConfigs/{dhcpOptionsConfig}', options)
4129
+ command.response_representation = Google::Apis::ComputeAlpha::DhcpOptionsConfig::Representation
4130
+ command.response_class = Google::Apis::ComputeAlpha::DhcpOptionsConfig
4131
+ command.params['project'] = project unless project.nil?
4132
+ command.params['region'] = region unless region.nil?
4133
+ command.params['dhcpOptionsConfig'] = dhcp_options_config unless dhcp_options_config.nil?
4134
+ command.query['fields'] = fields unless fields.nil?
4135
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4136
+ command.query['userIp'] = user_ip unless user_ip.nil?
4137
+ execute_or_queue_command(command, &block)
4138
+ end
4139
+
4140
+ # Creates a DhcpOptionsConfig in the specified project in the given location
4141
+ # using the parameters that are included in the request.
4142
+ # @param [String] project
4143
+ # Project ID for this request.
4144
+ # @param [String] region
4145
+ # Name of the region of this request.
4146
+ # @param [Google::Apis::ComputeAlpha::DhcpOptionsConfig] dhcp_options_config_object
4147
+ # @param [String] request_id
4148
+ # An optional request ID to identify requests. Specify a unique request ID so
4149
+ # that if you must retry your request, the server will know to ignore the
4150
+ # request if it has already been completed.
4151
+ # For example, consider a situation where you make an initial request and
4152
+ # the request times out. If you make the request again with the same
4153
+ # request ID, the server can check if original operation with the same
4154
+ # request ID was received, and if so, will ignore the second request. This
4155
+ # prevents clients from accidentally creating duplicate commitments.
4156
+ # The request ID must be
4157
+ # a valid UUID with the exception that zero UUID is not supported
4158
+ # (00000000-0000-0000-0000-000000000000).
4159
+ # end_interface: MixerMutationRequestBuilder
4160
+ # @param [String] fields
4161
+ # Selector specifying which fields to include in a partial response.
4162
+ # @param [String] quota_user
4163
+ # Available to use for quota purposes for server-side applications. Can be any
4164
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4165
+ # @param [String] user_ip
4166
+ # Legacy name for parameter that has been superseded by `quotaUser`.
4167
+ # @param [Google::Apis::RequestOptions] options
4168
+ # Request-specific options
4169
+ #
4170
+ # @yield [result, err] Result & error if block supplied
4171
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
4172
+ # @yieldparam err [StandardError] error object if request failed
4173
+ #
4174
+ # @return [Google::Apis::ComputeAlpha::Operation]
4175
+ #
4176
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4177
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4178
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4179
+ def insert_dhcp_options_config(project, region, dhcp_options_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4180
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/dhcpOptionsConfigs', options)
4181
+ command.request_representation = Google::Apis::ComputeAlpha::DhcpOptionsConfig::Representation
4182
+ command.request_object = dhcp_options_config_object
4183
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
4184
+ command.response_class = Google::Apis::ComputeAlpha::Operation
4185
+ command.params['project'] = project unless project.nil?
4186
+ command.params['region'] = region unless region.nil?
4187
+ command.query['requestId'] = request_id unless request_id.nil?
4188
+ command.query['fields'] = fields unless fields.nil?
4189
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4190
+ command.query['userIp'] = user_ip unless user_ip.nil?
4191
+ execute_or_queue_command(command, &block)
4192
+ end
4193
+
4194
+ # Lists the DhcpOptionsConfigs for a project in the given location.
4195
+ # @param [String] project
4196
+ # Project ID for this request.
4197
+ # @param [String] region
4198
+ # Name of the region of this request.
4199
+ # @param [String] filter
4200
+ # A filter expression that filters resources listed in the response. Most
4201
+ # Compute resources support two types of filter expressions:
4202
+ # expressions that support regular expressions and expressions that follow
4203
+ # API improvement proposal AIP-160.
4204
+ # These two types of filter expressions cannot be mixed in one request.
4205
+ # If you want to use AIP-160, your expression must specify the field name, an
4206
+ # operator, and the value that you want to use for filtering. The value
4207
+ # must be a string, a number, or a boolean. The operator
4208
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
4209
+ # For example, if you are filtering Compute Engine instances, you can
4210
+ # exclude instances named `example-instance` by specifying
4211
+ # `name != example-instance`.
4212
+ # The `:*` comparison can be used to test whether a key has been defined.
4213
+ # For example, to find all objects with `owner` label use:
4214
+ # ```
4215
+ # labels.owner:*
4216
+ # ```
4217
+ # You can also filter nested fields. For example, you could specify
4218
+ # `scheduling.automaticRestart = false` to include instances only
4219
+ # if they are not scheduled for automatic restarts. You can use filtering
4220
+ # on nested fields to filter based onresource labels.
4221
+ # To filter on multiple expressions, provide each separate expression within
4222
+ # parentheses. For example:
4223
+ # ```
4224
+ # (scheduling.automaticRestart = true)
4225
+ # (cpuPlatform = "Intel Skylake")
4226
+ # ```
4227
+ # By default, each expression is an `AND` expression. However, you
4228
+ # can include `AND` and `OR` expressions explicitly.
4229
+ # For example:
4230
+ # ```
4231
+ # (cpuPlatform = "Intel Skylake") OR
4232
+ # (cpuPlatform = "Intel Broadwell") AND
4233
+ # (scheduling.automaticRestart = true)
4234
+ # ```
4235
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
4236
+ # (not equal) operator against a single un-parenthesized expression with or
4237
+ # without quotes or against multiple parenthesized expressions. Examples:
4238
+ # `fieldname eq unquoted literal`
4239
+ # `fieldname eq 'single quoted literal'`
4240
+ # `fieldname eq "double quoted literal"`
4241
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
4242
+ # The literal value is interpreted as a regular expression using GoogleRE2
4243
+ # library syntax.
4244
+ # The literal value must match the entire field.
4245
+ # For example, to filter for instances that do not end with name "instance",
4246
+ # you would use `name ne .*instance`.
4247
+ # You cannot combine constraints on multiple fields using regular
4248
+ # expressions.
4249
+ # @param [Fixnum] max_results
4250
+ # The maximum number of results per page that should be returned.
4251
+ # If the number of available results is larger than `maxResults`,
4252
+ # Compute Engine returns a `nextPageToken` that can be used to get
4253
+ # the next page of results in subsequent list requests. Acceptable values are
4254
+ # `0` to `500`, inclusive. (Default: `500`)
4255
+ # @param [String] order_by
4256
+ # Sorts list results by a certain order. By default, results
4257
+ # are returned in alphanumerical order based on the resource name.
4258
+ # You can also sort results in descending order based on the creation
4259
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
4260
+ # results based on the `creationTimestamp` field in
4261
+ # reverse chronological order (newest result first). Use this to sort
4262
+ # resources like operations so that the newest operation is returned first.
4263
+ # Currently, only sorting by `name` or
4264
+ # `creationTimestamp desc` is supported.
4265
+ # @param [String] page_token
4266
+ # Specifies a page token to use. Set `pageToken` to the
4267
+ # `nextPageToken` returned by a previous list request to get
4268
+ # the next page of results.
4269
+ # @param [Boolean] return_partial_success
4270
+ # Opt-in for partial success behavior which provides partial results in case
4271
+ # of failure. The default value is false.
4272
+ # For example, when partial success behavior is enabled, aggregatedList for a
4273
+ # single zone scope either returns all resources in the zone or no resources,
4274
+ # with an error code.
4275
+ # @param [String] fields
4276
+ # Selector specifying which fields to include in a partial response.
4277
+ # @param [String] quota_user
4278
+ # Available to use for quota purposes for server-side applications. Can be any
4279
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4280
+ # @param [String] user_ip
4281
+ # Legacy name for parameter that has been superseded by `quotaUser`.
4282
+ # @param [Google::Apis::RequestOptions] options
4283
+ # Request-specific options
4284
+ #
4285
+ # @yield [result, err] Result & error if block supplied
4286
+ # @yieldparam result [Google::Apis::ComputeAlpha::DhcpOptionsConfigList] parsed result object
4287
+ # @yieldparam err [StandardError] error object if request failed
4288
+ #
4289
+ # @return [Google::Apis::ComputeAlpha::DhcpOptionsConfigList]
4290
+ #
4291
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4292
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4293
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4294
+ def list_dhcp_options_configs(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4295
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/dhcpOptionsConfigs', options)
4296
+ command.response_representation = Google::Apis::ComputeAlpha::DhcpOptionsConfigList::Representation
4297
+ command.response_class = Google::Apis::ComputeAlpha::DhcpOptionsConfigList
4298
+ command.params['project'] = project unless project.nil?
4299
+ command.params['region'] = region unless region.nil?
4300
+ command.query['filter'] = filter unless filter.nil?
4301
+ command.query['maxResults'] = max_results unless max_results.nil?
4302
+ command.query['orderBy'] = order_by unless order_by.nil?
4303
+ command.query['pageToken'] = page_token unless page_token.nil?
4304
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
4305
+ command.query['fields'] = fields unless fields.nil?
4306
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4307
+ command.query['userIp'] = user_ip unless user_ip.nil?
4308
+ execute_or_queue_command(command, &block)
4309
+ end
4310
+
4311
+ # Patches the specified DhcpOptionsConfig resource with the data included in
4312
+ # the request. This method supports PATCH
4313
+ # semantics and usesJSON merge
4314
+ # patch format and processing rules.
4315
+ # @param [String] project
4316
+ # Project ID for this request.
4317
+ # @param [String] region
4318
+ # Name of the region for this request.
4319
+ # @param [String] dhcp_options_config
4320
+ # Name of the DhcpOptionsConfig resource to patch.
4321
+ # @param [Google::Apis::ComputeAlpha::DhcpOptionsConfig] dhcp_options_config_object
4322
+ # @param [String] request_id
4323
+ # An optional request ID to identify requests. Specify a unique request ID so
4324
+ # that if you must retry your request, the server will know to ignore the
4325
+ # request if it has already been completed.
4326
+ # For example, consider a situation where you make an initial request and
4327
+ # the request times out. If you make the request again with the same
4328
+ # request ID, the server can check if original operation with the same
4329
+ # request ID was received, and if so, will ignore the second request. This
4330
+ # prevents clients from accidentally creating duplicate commitments.
4331
+ # The request ID must be
4332
+ # a valid UUID with the exception that zero UUID is not supported
4333
+ # (00000000-0000-0000-0000-000000000000).
4334
+ # end_interface: MixerMutationRequestBuilder
4335
+ # @param [String] update_mask
4336
+ # update_mask indicates fields to be updated as part of this request.
4337
+ # @param [String] fields
4338
+ # Selector specifying which fields to include in a partial response.
4339
+ # @param [String] quota_user
4340
+ # Available to use for quota purposes for server-side applications. Can be any
4341
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4342
+ # @param [String] user_ip
4343
+ # Legacy name for parameter that has been superseded by `quotaUser`.
4344
+ # @param [Google::Apis::RequestOptions] options
4345
+ # Request-specific options
4346
+ #
4347
+ # @yield [result, err] Result & error if block supplied
4348
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
4349
+ # @yieldparam err [StandardError] error object if request failed
4350
+ #
4351
+ # @return [Google::Apis::ComputeAlpha::Operation]
4352
+ #
4353
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4354
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4355
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4356
+ def patch_dhcp_options_config(project, region, dhcp_options_config, dhcp_options_config_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4357
+ command = make_simple_command(:patch, 'projects/{project}/regions/{region}/dhcpOptionsConfigs/{dhcpOptionsConfig}', options)
4358
+ command.request_representation = Google::Apis::ComputeAlpha::DhcpOptionsConfig::Representation
4359
+ command.request_object = dhcp_options_config_object
4360
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
4361
+ command.response_class = Google::Apis::ComputeAlpha::Operation
4362
+ command.params['project'] = project unless project.nil?
4363
+ command.params['region'] = region unless region.nil?
4364
+ command.params['dhcpOptionsConfig'] = dhcp_options_config unless dhcp_options_config.nil?
4365
+ command.query['requestId'] = request_id unless request_id.nil?
4366
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4367
+ command.query['fields'] = fields unless fields.nil?
4368
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4369
+ command.query['userIp'] = user_ip unless user_ip.nil?
4370
+ execute_or_queue_command(command, &block)
4371
+ end
4372
+
4373
+ # Returns permissions that a caller has on the specified resource.
4374
+ # @param [String] project
4375
+ # Project ID for this request.
4376
+ # @param [String] region
4377
+ # The name of the region for this request.
4378
+ # @param [String] resource
4379
+ # Name or id of the resource for this request.
4380
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
4381
+ # @param [String] fields
4382
+ # Selector specifying which fields to include in a partial response.
4383
+ # @param [String] quota_user
4384
+ # Available to use for quota purposes for server-side applications. Can be any
4385
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4386
+ # @param [String] user_ip
4387
+ # Legacy name for parameter that has been superseded by `quotaUser`.
4388
+ # @param [Google::Apis::RequestOptions] options
4389
+ # Request-specific options
4390
+ #
4391
+ # @yield [result, err] Result & error if block supplied
4392
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
4393
+ # @yieldparam err [StandardError] error object if request failed
4394
+ #
4395
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
4396
+ #
4397
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4398
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4399
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4400
+ def test_dhcp_options_config_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4401
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/dhcpOptionsConfigs/{resource}/testIamPermissions', options)
4402
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
4403
+ command.request_object = test_permissions_request_object
4404
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
4405
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
4406
+ command.params['project'] = project unless project.nil?
4407
+ command.params['region'] = region unless region.nil?
4408
+ command.params['resource'] = resource unless resource.nil?
4409
+ command.query['fields'] = fields unless fields.nil?
4410
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4411
+ command.query['userIp'] = user_ip unless user_ip.nil?
4412
+ execute_or_queue_command(command, &block)
4413
+ end
4414
+
3774
4415
  # Get Zonal Disk Settings.
3775
4416
  # @param [String] project
3776
4417
  # Project ID for this request.
@@ -25995,6 +26636,58 @@ module Google
25995
26636
  execute_or_queue_command(command, &block)
25996
26637
  end
25997
26638
 
26639
+ # Sets name of an interconnect.
26640
+ # @param [String] project
26641
+ # Project ID for this request.
26642
+ # @param [String] interconnect
26643
+ # Name of the interconnect to update.
26644
+ # @param [Google::Apis::ComputeAlpha::InterconnectsSetNameRequest] interconnects_set_name_request_object
26645
+ # @param [String] request_id
26646
+ # An optional request ID to identify requests. Specify a unique request ID
26647
+ # so that if you must retry your request, the server will know to ignore
26648
+ # the request if it has already been completed.
26649
+ # For example, consider a situation where you make an initial request and
26650
+ # the request times out. If you make the request again with the same
26651
+ # request ID, the server can check if original operation with the same
26652
+ # request ID was received, and if so, will ignore the second request. This
26653
+ # prevents clients from accidentally creating duplicate commitments.
26654
+ # The request ID must be
26655
+ # a valid UUID with the exception that zero UUID is not supported
26656
+ # (00000000-0000-0000-0000-000000000000).
26657
+ # @param [String] fields
26658
+ # Selector specifying which fields to include in a partial response.
26659
+ # @param [String] quota_user
26660
+ # Available to use for quota purposes for server-side applications. Can be any
26661
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
26662
+ # @param [String] user_ip
26663
+ # Legacy name for parameter that has been superseded by `quotaUser`.
26664
+ # @param [Google::Apis::RequestOptions] options
26665
+ # Request-specific options
26666
+ #
26667
+ # @yield [result, err] Result & error if block supplied
26668
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
26669
+ # @yieldparam err [StandardError] error object if request failed
26670
+ #
26671
+ # @return [Google::Apis::ComputeAlpha::Operation]
26672
+ #
26673
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26674
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26675
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26676
+ def set_interconnect_name(project, interconnect, interconnects_set_name_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26677
+ command = make_simple_command(:post, 'projects/{project}/global/interconnects/{interconnect}/setName', options)
26678
+ command.request_representation = Google::Apis::ComputeAlpha::InterconnectsSetNameRequest::Representation
26679
+ command.request_object = interconnects_set_name_request_object
26680
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
26681
+ command.response_class = Google::Apis::ComputeAlpha::Operation
26682
+ command.params['project'] = project unless project.nil?
26683
+ command.params['interconnect'] = interconnect unless interconnect.nil?
26684
+ command.query['requestId'] = request_id unless request_id.nil?
26685
+ command.query['fields'] = fields unless fields.nil?
26686
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26687
+ command.query['userIp'] = user_ip unless user_ip.nil?
26688
+ execute_or_queue_command(command, &block)
26689
+ end
26690
+
25998
26691
  # Returns permissions that a caller has on the specified resource.
25999
26692
  # @param [String] project
26000
26693
  # Project ID for this request.
@@ -27356,6 +28049,156 @@ module Google
27356
28049
  execute_or_queue_command(command, &block)
27357
28050
  end
27358
28051
 
28052
+ # Gets the details for the specified managed ruleset name.
28053
+ # @param [String] project
28054
+ # Project ID for this request.
28055
+ # @param [String] managed_ruleset
28056
+ # Name of the managed ruleset to return.
28057
+ # @param [String] fields
28058
+ # Selector specifying which fields to include in a partial response.
28059
+ # @param [String] quota_user
28060
+ # Available to use for quota purposes for server-side applications. Can be any
28061
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28062
+ # @param [String] user_ip
28063
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28064
+ # @param [Google::Apis::RequestOptions] options
28065
+ # Request-specific options
28066
+ #
28067
+ # @yield [result, err] Result & error if block supplied
28068
+ # @yieldparam result [Google::Apis::ComputeAlpha::ManagedRuleset] parsed result object
28069
+ # @yieldparam err [StandardError] error object if request failed
28070
+ #
28071
+ # @return [Google::Apis::ComputeAlpha::ManagedRuleset]
28072
+ #
28073
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28074
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28075
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28076
+ def get_managed_ruleset(project, managed_ruleset, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28077
+ command = make_simple_command(:get, 'projects/{project}/global/managedRulesets/{managedRuleset}', options)
28078
+ command.response_representation = Google::Apis::ComputeAlpha::ManagedRuleset::Representation
28079
+ command.response_class = Google::Apis::ComputeAlpha::ManagedRuleset
28080
+ command.params['project'] = project unless project.nil?
28081
+ command.params['managedRuleset'] = managed_ruleset unless managed_ruleset.nil?
28082
+ command.query['fields'] = fields unless fields.nil?
28083
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28084
+ command.query['userIp'] = user_ip unless user_ip.nil?
28085
+ execute_or_queue_command(command, &block)
28086
+ end
28087
+
28088
+ # Retrieves the list of all the managed rulesets available.
28089
+ # @param [String] project
28090
+ # Project ID for this request.
28091
+ # @param [String] filter
28092
+ # A filter expression that filters resources listed in the response. Most
28093
+ # Compute resources support two types of filter expressions:
28094
+ # expressions that support regular expressions and expressions that follow
28095
+ # API improvement proposal AIP-160.
28096
+ # These two types of filter expressions cannot be mixed in one request.
28097
+ # If you want to use AIP-160, your expression must specify the field name, an
28098
+ # operator, and the value that you want to use for filtering. The value
28099
+ # must be a string, a number, or a boolean. The operator
28100
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
28101
+ # For example, if you are filtering Compute Engine instances, you can
28102
+ # exclude instances named `example-instance` by specifying
28103
+ # `name != example-instance`.
28104
+ # The `:*` comparison can be used to test whether a key has been defined.
28105
+ # For example, to find all objects with `owner` label use:
28106
+ # ```
28107
+ # labels.owner:*
28108
+ # ```
28109
+ # You can also filter nested fields. For example, you could specify
28110
+ # `scheduling.automaticRestart = false` to include instances only
28111
+ # if they are not scheduled for automatic restarts. You can use filtering
28112
+ # on nested fields to filter based onresource labels.
28113
+ # To filter on multiple expressions, provide each separate expression within
28114
+ # parentheses. For example:
28115
+ # ```
28116
+ # (scheduling.automaticRestart = true)
28117
+ # (cpuPlatform = "Intel Skylake")
28118
+ # ```
28119
+ # By default, each expression is an `AND` expression. However, you
28120
+ # can include `AND` and `OR` expressions explicitly.
28121
+ # For example:
28122
+ # ```
28123
+ # (cpuPlatform = "Intel Skylake") OR
28124
+ # (cpuPlatform = "Intel Broadwell") AND
28125
+ # (scheduling.automaticRestart = true)
28126
+ # ```
28127
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
28128
+ # (not equal) operator against a single un-parenthesized expression with or
28129
+ # without quotes or against multiple parenthesized expressions. Examples:
28130
+ # `fieldname eq unquoted literal`
28131
+ # `fieldname eq 'single quoted literal'`
28132
+ # `fieldname eq "double quoted literal"`
28133
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
28134
+ # The literal value is interpreted as a regular expression using GoogleRE2
28135
+ # library syntax.
28136
+ # The literal value must match the entire field.
28137
+ # For example, to filter for instances that do not end with name "instance",
28138
+ # you would use `name ne .*instance`.
28139
+ # You cannot combine constraints on multiple fields using regular
28140
+ # expressions.
28141
+ # @param [Fixnum] max_results
28142
+ # The maximum number of results per page that should be returned.
28143
+ # If the number of available results is larger than `maxResults`,
28144
+ # Compute Engine returns a `nextPageToken` that can be used to get
28145
+ # the next page of results in subsequent list requests. Acceptable values are
28146
+ # `0` to `500`, inclusive. (Default: `500`)
28147
+ # @param [String] order_by
28148
+ # Sorts list results by a certain order. By default, results
28149
+ # are returned in alphanumerical order based on the resource name.
28150
+ # You can also sort results in descending order based on the creation
28151
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
28152
+ # results based on the `creationTimestamp` field in
28153
+ # reverse chronological order (newest result first). Use this to sort
28154
+ # resources like operations so that the newest operation is returned first.
28155
+ # Currently, only sorting by `name` or
28156
+ # `creationTimestamp desc` is supported.
28157
+ # @param [String] page_token
28158
+ # Specifies a page token to use. Set `pageToken` to the
28159
+ # `nextPageToken` returned by a previous list request to get
28160
+ # the next page of results.
28161
+ # @param [Boolean] return_partial_success
28162
+ # Opt-in for partial success behavior which provides partial results in case
28163
+ # of failure. The default value is false.
28164
+ # For example, when partial success behavior is enabled, aggregatedList for a
28165
+ # single zone scope either returns all resources in the zone or no resources,
28166
+ # with an error code.
28167
+ # @param [String] fields
28168
+ # Selector specifying which fields to include in a partial response.
28169
+ # @param [String] quota_user
28170
+ # Available to use for quota purposes for server-side applications. Can be any
28171
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28172
+ # @param [String] user_ip
28173
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28174
+ # @param [Google::Apis::RequestOptions] options
28175
+ # Request-specific options
28176
+ #
28177
+ # @yield [result, err] Result & error if block supplied
28178
+ # @yieldparam result [Google::Apis::ComputeAlpha::ManagedRulesetList] parsed result object
28179
+ # @yieldparam err [StandardError] error object if request failed
28180
+ #
28181
+ # @return [Google::Apis::ComputeAlpha::ManagedRulesetList]
28182
+ #
28183
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28184
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28185
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28186
+ def list_managed_rulesets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28187
+ command = make_simple_command(:get, 'projects/{project}/global/managedRulesets', options)
28188
+ command.response_representation = Google::Apis::ComputeAlpha::ManagedRulesetList::Representation
28189
+ command.response_class = Google::Apis::ComputeAlpha::ManagedRulesetList
28190
+ command.params['project'] = project unless project.nil?
28191
+ command.query['filter'] = filter unless filter.nil?
28192
+ command.query['maxResults'] = max_results unless max_results.nil?
28193
+ command.query['orderBy'] = order_by unless order_by.nil?
28194
+ command.query['pageToken'] = page_token unless page_token.nil?
28195
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
28196
+ command.query['fields'] = fields unless fields.nil?
28197
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28198
+ command.query['userIp'] = user_ip unless user_ip.nil?
28199
+ execute_or_queue_command(command, &block)
28200
+ end
28201
+
27359
28202
  # Retrieves the list of all NetworkAttachment resources,
27360
28203
  # regional and global, available to the specified project.
27361
28204
  # To prevent failure, Google recommends that you set the
@@ -40385,8 +41228,10 @@ module Google
40385
41228
  execute_or_queue_command(command, &block)
40386
41229
  end
40387
41230
 
40388
- # Retrieves a list of all usable backend services in the specified project in
40389
- # the given region.
41231
+ # Retrieves a list of all usable backend services for Application Load
41232
+ # Balancers and Proxy Network Load Balancers in the specified project in the
41233
+ # given region. Backend services for external and internal passthrough
41234
+ # Network Load Balancers are not included in the response.
40390
41235
  # @param [String] project
40391
41236
  # Project ID for this request.
40392
41237
  # @param [String] region
@@ -57113,6 +57958,126 @@ module Google
57113
57958
  execute_or_queue_command(command, &block)
57114
57959
  end
57115
57960
 
57961
+ # Lists the instances consuming capacity from a specific reservation.
57962
+ # @param [String] project
57963
+ # Required. Project ID for this request.
57964
+ # @param [String] zone
57965
+ # Required. Zone name for this request.
57966
+ # @param [String] reservation
57967
+ # Required. The name of the reservation to list consumed instances for.
57968
+ # @param [String] filter
57969
+ # A filter expression that filters resources listed in the response. Most
57970
+ # Compute resources support two types of filter expressions:
57971
+ # expressions that support regular expressions and expressions that follow
57972
+ # API improvement proposal AIP-160.
57973
+ # These two types of filter expressions cannot be mixed in one request.
57974
+ # If you want to use AIP-160, your expression must specify the field name, an
57975
+ # operator, and the value that you want to use for filtering. The value
57976
+ # must be a string, a number, or a boolean. The operator
57977
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
57978
+ # For example, if you are filtering Compute Engine instances, you can
57979
+ # exclude instances named `example-instance` by specifying
57980
+ # `name != example-instance`.
57981
+ # The `:*` comparison can be used to test whether a key has been defined.
57982
+ # For example, to find all objects with `owner` label use:
57983
+ # ```
57984
+ # labels.owner:*
57985
+ # ```
57986
+ # You can also filter nested fields. For example, you could specify
57987
+ # `scheduling.automaticRestart = false` to include instances only
57988
+ # if they are not scheduled for automatic restarts. You can use filtering
57989
+ # on nested fields to filter based onresource labels.
57990
+ # To filter on multiple expressions, provide each separate expression within
57991
+ # parentheses. For example:
57992
+ # ```
57993
+ # (scheduling.automaticRestart = true)
57994
+ # (cpuPlatform = "Intel Skylake")
57995
+ # ```
57996
+ # By default, each expression is an `AND` expression. However, you
57997
+ # can include `AND` and `OR` expressions explicitly.
57998
+ # For example:
57999
+ # ```
58000
+ # (cpuPlatform = "Intel Skylake") OR
58001
+ # (cpuPlatform = "Intel Broadwell") AND
58002
+ # (scheduling.automaticRestart = true)
58003
+ # ```
58004
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
58005
+ # (not equal) operator against a single un-parenthesized expression with or
58006
+ # without quotes or against multiple parenthesized expressions. Examples:
58007
+ # `fieldname eq unquoted literal`
58008
+ # `fieldname eq 'single quoted literal'`
58009
+ # `fieldname eq "double quoted literal"`
58010
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
58011
+ # The literal value is interpreted as a regular expression using GoogleRE2
58012
+ # library syntax.
58013
+ # The literal value must match the entire field.
58014
+ # For example, to filter for instances that do not end with name "instance",
58015
+ # you would use `name ne .*instance`.
58016
+ # You cannot combine constraints on multiple fields using regular
58017
+ # expressions.
58018
+ # @param [Fixnum] max_results
58019
+ # The maximum number of results per page that should be returned.
58020
+ # If the number of available results is larger than `maxResults`,
58021
+ # Compute Engine returns a `nextPageToken` that can be used to get
58022
+ # the next page of results in subsequent list requests. Acceptable values are
58023
+ # `0` to `500`, inclusive. (Default: `500`)
58024
+ # @param [String] order_by
58025
+ # Sorts list results by a certain order. By default, results
58026
+ # are returned in alphanumerical order based on the resource name.
58027
+ # You can also sort results in descending order based on the creation
58028
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
58029
+ # results based on the `creationTimestamp` field in
58030
+ # reverse chronological order (newest result first). Use this to sort
58031
+ # resources like operations so that the newest operation is returned first.
58032
+ # Currently, only sorting by `name` or
58033
+ # `creationTimestamp desc` is supported.
58034
+ # @param [String] page_token
58035
+ # Specifies a page token to use. Set `pageToken` to the
58036
+ # `nextPageToken` returned by a previous list request to get
58037
+ # the next page of results.
58038
+ # @param [Boolean] return_partial_success
58039
+ # Opt-in for partial success behavior which provides partial results in case
58040
+ # of failure. The default value is false.
58041
+ # For example, when partial success behavior is enabled, aggregatedList for a
58042
+ # single zone scope either returns all resources in the zone or no resources,
58043
+ # with an error code.
58044
+ # @param [String] fields
58045
+ # Selector specifying which fields to include in a partial response.
58046
+ # @param [String] quota_user
58047
+ # Available to use for quota purposes for server-side applications. Can be any
58048
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
58049
+ # @param [String] user_ip
58050
+ # Legacy name for parameter that has been superseded by `quotaUser`.
58051
+ # @param [Google::Apis::RequestOptions] options
58052
+ # Request-specific options
58053
+ #
58054
+ # @yield [result, err] Result & error if block supplied
58055
+ # @yieldparam result [Google::Apis::ComputeAlpha::ReservationConsumedInstancesListResponse] parsed result object
58056
+ # @yieldparam err [StandardError] error object if request failed
58057
+ #
58058
+ # @return [Google::Apis::ComputeAlpha::ReservationConsumedInstancesListResponse]
58059
+ #
58060
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
58061
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
58062
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
58063
+ def list_reservation_consumed_instances(project, zone, reservation, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
58064
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/{+reservation}/reservationConsumedInstances', options)
58065
+ command.response_representation = Google::Apis::ComputeAlpha::ReservationConsumedInstancesListResponse::Representation
58066
+ command.response_class = Google::Apis::ComputeAlpha::ReservationConsumedInstancesListResponse
58067
+ command.params['project'] = project unless project.nil?
58068
+ command.params['zone'] = zone unless zone.nil?
58069
+ command.params['reservation'] = reservation unless reservation.nil?
58070
+ command.query['filter'] = filter unless filter.nil?
58071
+ command.query['maxResults'] = max_results unless max_results.nil?
58072
+ command.query['orderBy'] = order_by unless order_by.nil?
58073
+ command.query['pageToken'] = page_token unless page_token.nil?
58074
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
58075
+ command.query['fields'] = fields unless fields.nil?
58076
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
58077
+ command.query['userIp'] = user_ip unless user_ip.nil?
58078
+ execute_or_queue_command(command, &block)
58079
+ end
58080
+
57116
58081
  # Retrieves information about the specified reservation slot.
57117
58082
  # @param [String] project
57118
58083
  # The project ID for this request.