generated/google/apis/compute_beta/service.rb in google-api-client-0.45.1 vs generated/google/apis/compute_beta/service.rb in google-api-client-0.46.0
- old
+ new
@@ -93,10 +93,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -112,20 +115,21 @@
# @return [Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_accelerator_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_accelerator_type_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/acceleratorTypes', options)
command.response_representation = Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -207,10 +211,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -226,20 +233,21 @@
# @return [Google::Apis::ComputeBeta::AcceleratorTypeList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_accelerator_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_accelerator_types(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)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/acceleratorTypes', options)
command.response_representation = Google::Apis::ComputeBeta::AcceleratorTypeList::Representation
command.response_class = Google::Apis::ComputeBeta::AcceleratorTypeList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -286,10 +294,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -305,20 +316,21 @@
# @return [Google::Apis::ComputeBeta::AddressAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_aggregated_addresses(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_aggregated_addresses(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/addresses', options)
command.response_representation = Google::Apis::ComputeBeta::AddressAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::AddressAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -502,10 +514,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -521,20 +536,21 @@
# @return [Google::Apis::ComputeBeta::AddressList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_addresses(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_addresses(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/addresses', options)
command.response_representation = Google::Apis::ComputeBeta::AddressList::Representation
command.response_class = Google::Apis::ComputeBeta::AddressList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -678,10 +694,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -697,20 +716,21 @@
# @return [Google::Apis::ComputeBeta::AutoscalerAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_aggregated_autoscalers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_aggregated_autoscalers(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/autoscalers', options)
command.response_representation = Google::Apis::ComputeBeta::AutoscalerAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::AutoscalerAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -895,10 +915,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -914,20 +937,21 @@
# @return [Google::Apis::ComputeBeta::AutoscalerList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_autoscalers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_autoscalers(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)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/autoscalers', options)
command.response_representation = Google::Apis::ComputeBeta::AutoscalerList::Representation
command.response_class = Google::Apis::ComputeBeta::AutoscalerList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -1359,10 +1383,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -1378,19 +1405,20 @@
# @return [Google::Apis::ComputeBeta::BackendBucketList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_backend_buckets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_backend_buckets(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)
command = make_simple_command(:get, 'projects/{project}/global/backendBuckets', options)
command.response_representation = Google::Apis::ComputeBeta::BackendBucketList::Representation
command.response_class = Google::Apis::ComputeBeta::BackendBucketList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -1595,10 +1623,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -1614,20 +1645,21 @@
# @return [Google::Apis::ComputeBeta::BackendServiceAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_backend_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_backend_service_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/backendServices', options)
command.response_representation = Google::Apis::ComputeBeta::BackendServiceAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::BackendServiceAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -1895,10 +1927,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -1914,19 +1949,20 @@
# @return [Google::Apis::ComputeBeta::BackendServiceList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_backend_services(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_backend_services(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)
command = make_simple_command(:get, 'projects/{project}/global/backendServices', options)
command.response_representation = Google::Apis::ComputeBeta::BackendServiceList::Representation
command.response_class = Google::Apis::ComputeBeta::BackendServiceList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -2170,10 +2206,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -2189,20 +2228,21 @@
# @return [Google::Apis::ComputeBeta::DiskTypeAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_aggregated_disk_types(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_aggregated_disk_types(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/diskTypes', options)
command.response_representation = Google::Apis::ComputeBeta::DiskTypeAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::DiskTypeAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -2284,10 +2324,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -2303,20 +2346,21 @@
# @return [Google::Apis::ComputeBeta::DiskTypeList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_disk_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_disk_types(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)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/diskTypes', options)
command.response_representation = Google::Apis::ComputeBeta::DiskTypeList::Representation
command.response_class = Google::Apis::ComputeBeta::DiskTypeList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -2418,10 +2462,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -2437,20 +2484,21 @@
# @return [Google::Apis::ComputeBeta::DiskAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_aggregated_disk(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_aggregated_disk(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/disks', options)
command.response_representation = Google::Apis::ComputeBeta::DiskAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::DiskAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -2462,11 +2510,11 @@
# The name of the zone for this request.
# @param [String] disk
# Name of the persistent disk to snapshot.
# @param [Google::Apis::ComputeBeta::Snapshot] snapshot_object
# @param [Boolean] guest_flush
- # [Input Only] Specifies to create an application consistent snapshot by
+ # [Input Only] Whether to attempt an application consistent snapshot by
# informing the OS to prepare for the snapshot process. Currently only supported
# on Windows instances using the Volume Shadow Copy Service (VSS).
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
@@ -2745,10 +2793,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -2764,20 +2815,21 @@
# @return [Google::Apis::ComputeBeta::DiskList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_disks(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_disks(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)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/disks', options)
command.response_representation = Google::Apis::ComputeBeta::DiskList::Representation
command.response_class = Google::Apis::ComputeBeta::DiskList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -3200,10 +3252,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -3219,19 +3274,20 @@
# @return [Google::Apis::ComputeBeta::ExternalVpnGatewayList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_external_vpn_gateways(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_external_vpn_gateways(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)
command = make_simple_command(:get, 'projects/{project}/global/externalVpnGateways', options)
command.response_representation = Google::Apis::ComputeBeta::ExternalVpnGatewayList::Representation
command.response_class = Google::Apis::ComputeBeta::ExternalVpnGatewayList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -3483,10 +3539,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -3502,19 +3561,20 @@
# @return [Google::Apis::ComputeBeta::FirewallList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_firewalls(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_firewalls(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)
command = make_simple_command(:get, 'projects/{project}/global/firewalls', options)
command.response_representation = Google::Apis::ComputeBeta::FirewallList::Representation
command.response_class = Google::Apis::ComputeBeta::FirewallList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -3706,10 +3766,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -3725,20 +3788,21 @@
# @return [Google::Apis::ComputeBeta::ForwardingRuleAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_aggregated_forwarding_rules(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_aggregated_forwarding_rules(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/forwardingRules', options)
command.response_representation = Google::Apis::ComputeBeta::ForwardingRuleAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::ForwardingRuleAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -3923,10 +3987,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -3942,20 +4009,21 @@
# @return [Google::Apis::ComputeBeta::ForwardingRuleList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_forwarding_rules(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_forwarding_rules(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/forwardingRules', options)
command.response_representation = Google::Apis::ComputeBeta::ForwardingRuleList::Representation
command.response_class = Google::Apis::ComputeBeta::ForwardingRuleList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -4337,10 +4405,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -4356,19 +4427,20 @@
# @return [Google::Apis::ComputeBeta::AddressList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_global_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_global_addresses(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)
command = make_simple_command(:get, 'projects/{project}/global/addresses', options)
command.response_representation = Google::Apis::ComputeBeta::AddressList::Representation
command.response_class = Google::Apis::ComputeBeta::AddressList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -4622,10 +4694,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -4641,19 +4716,20 @@
# @return [Google::Apis::ComputeBeta::ForwardingRuleList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_global_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_global_forwarding_rules(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)
command = make_simple_command(:get, 'projects/{project}/global/forwardingRules', options)
command.response_representation = Google::Apis::ComputeBeta::ForwardingRuleList::Representation
command.response_class = Google::Apis::ComputeBeta::ForwardingRuleList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -5118,10 +5194,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -5137,19 +5216,20 @@
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_global_network_endpoint_groups(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_global_network_endpoint_groups(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)
command = make_simple_command(:get, 'projects/{project}/global/networkEndpointGroups', options)
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupList::Representation
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -5192,10 +5272,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -5211,20 +5294,21 @@
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, 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)
command = make_simple_command(:post, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options)
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::Representation
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints
command.params['project'] = project unless project.nil?
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -5271,10 +5355,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -5290,20 +5377,21 @@
# @return [Google::Apis::ComputeBeta::OperationAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_aggregated_global_operation(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_aggregated_global_operation(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/operations', options)
command.response_representation = Google::Apis::ComputeBeta::OperationAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::OperationAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -5414,10 +5502,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -5433,19 +5524,20 @@
# @return [Google::Apis::ComputeBeta::OperationList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_global_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_global_operations(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)
command = make_simple_command(:get, 'projects/{project}/global/operations', options)
command.response_representation = Google::Apis::ComputeBeta::OperationList::Representation
command.response_class = Google::Apis::ComputeBeta::OperationList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -5603,10 +5695,13 @@
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
# @param [String] parent_id
# Parent ID for this request.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -5622,19 +5717,20 @@
# @return [Google::Apis::ComputeBeta::OperationList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_global_organization_operations(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_global_organization_operations(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'locations/global/operations', options)
command.response_representation = Google::Apis::ComputeBeta::OperationList::Representation
command.response_class = Google::Apis::ComputeBeta::OperationList
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['parentId'] = parent_id unless parent_id.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -5682,10 +5778,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -5701,20 +5800,21 @@
# @return [Google::Apis::ComputeBeta::HealthChecksAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_health_check_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_health_check_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/healthChecks', options)
command.response_representation = Google::Apis::ComputeBeta::HealthChecksAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::HealthChecksAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -5888,10 +5988,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -5907,19 +6010,20 @@
# @return [Google::Apis::ComputeBeta::HealthCheckList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_health_checks(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)
command = make_simple_command(:get, 'projects/{project}/global/healthChecks', options)
command.response_representation = Google::Apis::ComputeBeta::HealthCheckList::Representation
command.response_class = Google::Apis::ComputeBeta::HealthCheckList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -6238,10 +6342,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -6257,19 +6364,20 @@
# @return [Google::Apis::ComputeBeta::HttpHealthCheckList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_http_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_http_health_checks(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)
command = make_simple_command(:get, 'projects/{project}/global/httpHealthChecks', options)
command.response_representation = Google::Apis::ComputeBeta::HttpHealthCheckList::Representation
command.response_class = Google::Apis::ComputeBeta::HttpHealthCheckList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -6588,10 +6696,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -6607,19 +6718,20 @@
# @return [Google::Apis::ComputeBeta::HttpsHealthCheckList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_https_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_https_health_checks(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)
command = make_simple_command(:get, 'projects/{project}/global/httpsHealthChecks', options)
command.response_representation = Google::Apis::ComputeBeta::HttpsHealthCheckList::Representation
command.response_class = Google::Apis::ComputeBeta::HttpsHealthCheckList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -7073,10 +7185,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -7092,19 +7207,20 @@
# @return [Google::Apis::ComputeBeta::ImageList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_images(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)
command = make_simple_command(:get, 'projects/{project}/global/images', options)
command.response_representation = Google::Apis::ComputeBeta::ImageList::Representation
command.response_class = Google::Apis::ComputeBeta::ImageList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -7387,10 +7503,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -7406,20 +7525,21 @@
# @return [Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_aggregated_instance_group_managers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_aggregated_instance_group_managers(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/instanceGroupManagers', options)
command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -7823,10 +7943,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -7842,20 +7965,21 @@
# @return [Google::Apis::ComputeBeta::InstanceGroupManagerList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_instance_group_managers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_instance_group_managers(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)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers', options)
command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagerList::Representation
command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagerList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -7903,10 +8027,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -7922,21 +8049,22 @@
# @return [Google::Apis::ComputeBeta::InstanceGroupManagersListErrorsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_instance_group_manager_errors(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_instance_group_manager_errors(project, zone, instance_group_manager, 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)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors', options)
command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagersListErrorsResponse::Representation
command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagersListErrorsResponse
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -7985,10 +8113,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -8004,21 +8135,22 @@
# @return [Google::Apis::ComputeBeta::InstanceGroupManagersListManagedInstancesResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, 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)
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagersListManagedInstancesResponse::Representation
command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagersListManagedInstancesResponse
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -8064,10 +8196,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -8083,21 +8218,22 @@
# @return [Google::Apis::ComputeBeta::InstanceGroupManagersListPerInstanceConfigsResp]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, 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)
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options)
command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagersListPerInstanceConfigsResp::Representation
command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagersListPerInstanceConfigsResp
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -8842,10 +8978,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -8861,20 +9000,21 @@
# @return [Google::Apis::ComputeBeta::InstanceGroupAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_aggregated_instance_groups(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_aggregated_instance_groups(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/instanceGroups', options)
command.response_representation = Google::Apis::ComputeBeta::InstanceGroupAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::InstanceGroupAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -8930,12 +9070,14 @@
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
- # Returns the specified instance group. Gets a list of available instance groups
- # by making a list() request.
+ # Returns the specified zonal instance group. Get a list of available zonal
+ # instance groups by making a list() request.
+ # For managed instance groups, use the instanceGroupManagers or
+ # regionInstanceGroupManagers methods instead.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone where the instance group is located.
# @param [String] instance_group
@@ -9022,12 +9164,14 @@
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
- # Retrieves the list of instance groups that are located in the specified
- # project and zone.
+ # Retrieves the list of zonal instance group resources contained within the
+ # specified zone.
+ # For managed instance groups, use the instanceGroupManagers or
+ # regionInstanceGroupManagers methods instead.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone where the instance group is located.
# @param [String] filter
@@ -9062,10 +9206,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -9081,20 +9228,21 @@
# @return [Google::Apis::ComputeBeta::InstanceGroupList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_instance_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_instance_groups(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)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroups', options)
command.response_representation = Google::Apis::ComputeBeta::InstanceGroupList::Representation
command.response_class = Google::Apis::ComputeBeta::InstanceGroupList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -9141,10 +9289,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -9160,11 +9311,11 @@
# @return [Google::Apis::ComputeBeta::InstanceGroupsListInstances]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_instance_group_instances(project, zone, instance_group, instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_instance_group_instances(project, zone, instance_group, instance_groups_list_instances_request_object = nil, 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)
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances', options)
command.request_representation = Google::Apis::ComputeBeta::InstanceGroupsListInstancesRequest::Representation
command.request_object = instance_groups_list_instances_request_object
command.response_representation = Google::Apis::ComputeBeta::InstanceGroupsListInstances::Representation
command.response_class = Google::Apis::ComputeBeta::InstanceGroupsListInstances
@@ -9173,10 +9324,11 @@
command.params['instanceGroup'] = instance_group unless instance_group.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -9549,10 +9701,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -9568,19 +9723,20 @@
# @return [Google::Apis::ComputeBeta::InstanceTemplateList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_instance_templates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_instance_templates(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)
command = make_simple_command(:get, 'projects/{project}/global/instanceTemplates', options)
command.response_representation = Google::Apis::ComputeBeta::InstanceTemplateList::Representation
command.response_class = Google::Apis::ComputeBeta::InstanceTemplateList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -9820,10 +9976,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -9839,20 +9998,21 @@
# @return [Google::Apis::ComputeBeta::InstanceAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_aggregated_instances(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_aggregated_instances(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/instances', options)
command.response_representation = Google::Apis::ComputeBeta::InstanceAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::InstanceAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -9868,11 +10028,12 @@
# @param [String] instance
# The instance name for this request.
# @param [Google::Apis::ComputeBeta::AttachedDisk] attached_disk_object
# @param [Boolean] force_attach
# Whether to force attach the regional disk even if it's currently attached to
- # another instance.
+ # another instance. If you try to force attach a zonal disk to an instance, you
+ # will receive an error.
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
@@ -10532,10 +10693,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -10551,20 +10715,21 @@
# @return [Google::Apis::ComputeBeta::InstanceList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_instances(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)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances', options)
command.response_representation = Google::Apis::ComputeBeta::InstanceList::Representation
command.response_class = Google::Apis::ComputeBeta::InstanceList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -10612,10 +10777,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -10631,21 +10799,22 @@
# @return [Google::Apis::ComputeBeta::InstanceListReferrers]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_instance_referrers(project, zone, instance, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_instance_referrers(project, zone, instance, 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)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/referrers', options)
command.response_representation = Google::Apis::ComputeBeta::InstanceListReferrers::Representation
command.response_class = Google::Apis::ComputeBeta::InstanceListReferrers
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instance'] = instance unless instance.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -11238,10 +11407,64 @@
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
+ # Sets name of an instance.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] zone
+ # The name of the zone for this request.
+ # @param [String] instance
+ # The instance name for this request.
+ # @param [Google::Apis::ComputeBeta::InstancesSetNameRequest] instances_set_name_request_object
+ # @param [String] request_id
+ # An optional request ID to identify requests. Specify a unique request ID so
+ # that if you must retry your request, the server will know to ignore the
+ # request if it has already been completed.
+ # For example, consider a situation where you make an initial request and the
+ # request times out. If you make the request again with the same request ID, the
+ # server can check if original operation with the same request ID was received,
+ # and if so, will ignore the second request. This prevents clients from
+ # accidentally creating duplicate commitments.
+ # The request ID must be a valid UUID with the exception that zero UUID is not
+ # supported (00000000-0000-0000-0000-000000000000).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeBeta::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def set_instance_name(project, zone, instance, instances_set_name_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setName', options)
+ command.request_representation = Google::Apis::ComputeBeta::InstancesSetNameRequest::Representation
+ command.request_object = instances_set_name_request_object
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
+ command.response_class = Google::Apis::ComputeBeta::Operation
+ command.params['project'] = project unless project.nil?
+ command.params['zone'] = zone unless zone.nil?
+ command.params['instance'] = instance unless instance.nil?
+ command.query['requestId'] = request_id unless request_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Sets an instance's scheduling options. You can only call this method on a
# stopped instance, that is, a VM instance that is in a `TERMINATED` state. See
# Instance Life Cycle for more information on the possible instance states.
# @param [String] project
# Project ID for this request.
@@ -12214,10 +12437,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -12233,20 +12459,21 @@
# @return [Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_interconnect_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_interconnect_attachment_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/interconnectAttachments', options)
command.response_representation = Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -12434,10 +12661,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -12453,20 +12683,21 @@
# @return [Google::Apis::ComputeBeta::InterconnectAttachmentList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_interconnect_attachments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_interconnect_attachments(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/interconnectAttachments', options)
command.response_representation = Google::Apis::ComputeBeta::InterconnectAttachmentList::Representation
command.response_class = Google::Apis::ComputeBeta::InterconnectAttachmentList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -12697,10 +12928,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -12716,19 +12950,20 @@
# @return [Google::Apis::ComputeBeta::InterconnectLocationList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_interconnect_locations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_interconnect_locations(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)
command = make_simple_command(:get, 'projects/{project}/global/interconnectLocations', options)
command.response_representation = Google::Apis::ComputeBeta::InterconnectLocationList::Representation
command.response_class = Google::Apis::ComputeBeta::InterconnectLocationList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -12938,10 +13173,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -12957,19 +13195,20 @@
# @return [Google::Apis::ComputeBeta::InterconnectList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_interconnects(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_interconnects(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)
command = make_simple_command(:get, 'projects/{project}/global/interconnects', options)
command.response_representation = Google::Apis::ComputeBeta::InterconnectList::Representation
command.response_class = Google::Apis::ComputeBeta::InterconnectList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -13363,10 +13602,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -13382,19 +13624,20 @@
# @return [Google::Apis::ComputeBeta::LicensesListResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_licenses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_licenses(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)
command = make_simple_command(:get, 'projects/{project}/global/licenses', options)
command.response_representation = Google::Apis::ComputeBeta::LicensesListResponse::Representation
command.response_class = Google::Apis::ComputeBeta::LicensesListResponse
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -13656,10 +13899,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -13675,19 +13921,20 @@
# @return [Google::Apis::ComputeBeta::MachineImageList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_machine_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_machine_images(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)
command = make_simple_command(:get, 'projects/{project}/global/machineImages', options)
command.response_representation = Google::Apis::ComputeBeta::MachineImageList::Representation
command.response_class = Google::Apis::ComputeBeta::MachineImageList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -13813,10 +14060,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -13832,20 +14082,21 @@
# @return [Google::Apis::ComputeBeta::MachineTypeAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_aggregated_machine_types(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_aggregated_machine_types(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/machineTypes', options)
command.response_representation = Google::Apis::ComputeBeta::MachineTypeAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::MachineTypeAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -13927,10 +14178,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -13946,20 +14200,21 @@
# @return [Google::Apis::ComputeBeta::MachineTypeList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_machine_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_machine_types(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)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/machineTypes', options)
command.response_representation = Google::Apis::ComputeBeta::MachineTypeList::Representation
command.response_class = Google::Apis::ComputeBeta::MachineTypeList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -14006,10 +14261,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -14025,20 +14283,21 @@
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_network_endpoint_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_network_endpoint_group_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/networkEndpointGroups', options)
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -14344,10 +14603,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -14363,20 +14625,21 @@
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_network_endpoint_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_network_endpoint_groups(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)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/networkEndpointGroups', options)
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupList::Representation
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -14423,10 +14686,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -14442,11 +14708,11 @@
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_list_endpoints_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_list_endpoints_request_object = nil, 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)
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options)
command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsListEndpointsRequest::Representation
command.request_object = network_endpoint_groups_list_endpoints_request_object
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::Representation
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints
@@ -14455,10 +14721,11 @@
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -14761,10 +15028,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -14780,19 +15050,20 @@
# @return [Google::Apis::ComputeBeta::NetworkList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_networks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_networks(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)
command = make_simple_command(:get, 'projects/{project}/global/networks', options)
command.response_representation = Google::Apis::ComputeBeta::NetworkList::Representation
command.response_class = Google::Apis::ComputeBeta::NetworkList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -14841,10 +15112,13 @@
# @param [String] peering_name
# The response will show routes exchanged over the given peering connection.
# @param [String] region
# The region of the request. The response will include all subnet routes, static
# routes and dynamic routes in the region.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -14860,11 +15134,11 @@
# @return [Google::Apis::ComputeBeta::ExchangedPeeringRoutesList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_network_peering_routes(project, network, direction: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, peering_name: nil, region: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_network_peering_routes(project, network, direction: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, peering_name: nil, region: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{project}/global/networks/{network}/listPeeringRoutes', options)
command.response_representation = Google::Apis::ComputeBeta::ExchangedPeeringRoutesList::Representation
command.response_class = Google::Apis::ComputeBeta::ExchangedPeeringRoutesList
command.params['project'] = project unless project.nil?
command.params['network'] = network unless network.nil?
@@ -14873,10 +15147,11 @@
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['peeringName'] = peering_name unless peering_name.nil?
command.query['region'] = region unless region.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -15221,10 +15496,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -15240,20 +15518,21 @@
# @return [Google::Apis::ComputeBeta::NodeGroupAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_node_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_node_group_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/nodeGroups', options)
command.response_representation = Google::Apis::ComputeBeta::NodeGroupAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::NodeGroupAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -15540,10 +15819,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -15559,20 +15841,21 @@
# @return [Google::Apis::ComputeBeta::NodeGroupList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_node_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_node_groups(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)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeGroups', options)
command.response_representation = Google::Apis::ComputeBeta::NodeGroupList::Representation
command.response_class = Google::Apis::ComputeBeta::NodeGroupList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -15616,10 +15899,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -15635,21 +15921,22 @@
# @return [Google::Apis::ComputeBeta::NodeGroupsListNodes]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_node_group_nodes(project, zone, node_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_node_group_nodes(project, zone, node_group, 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)
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes', options)
command.response_representation = Google::Apis::ComputeBeta::NodeGroupsListNodes::Representation
command.response_class = Google::Apis::ComputeBeta::NodeGroupsListNodes
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['nodeGroup'] = node_group unless node_group.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -15889,10 +16176,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -15908,20 +16198,21 @@
# @return [Google::Apis::ComputeBeta::NodeTemplateAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_node_template_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_node_template_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/nodeTemplates', options)
command.response_representation = Google::Apis::ComputeBeta::NodeTemplateAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::NodeTemplateAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -16149,10 +16440,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -16168,20 +16462,21 @@
# @return [Google::Apis::ComputeBeta::NodeTemplateList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_node_templates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_node_templates(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/nodeTemplates', options)
command.response_representation = Google::Apis::ComputeBeta::NodeTemplateList::Representation
command.response_class = Google::Apis::ComputeBeta::NodeTemplateList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -16313,10 +16608,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -16332,20 +16630,21 @@
# @return [Google::Apis::ComputeBeta::NodeTypeAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_node_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_node_type_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/nodeTypes', options)
command.response_representation = Google::Apis::ComputeBeta::NodeTypeAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::NodeTypeAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -16427,10 +16726,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -16446,20 +16748,21 @@
# @return [Google::Apis::ComputeBeta::NodeTypeList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_node_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_node_types(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)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeTypes', options)
command.response_representation = Google::Apis::ComputeBeta::NodeTypeList::Representation
command.response_class = Google::Apis::ComputeBeta::NodeTypeList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -16849,10 +17152,13 @@
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
# @param [String] parent_id
# Parent ID for this request.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -16868,19 +17174,20 @@
# @return [Google::Apis::ComputeBeta::SecurityPolicyList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_organization_security_policies(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_organization_security_policies(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'locations/global/securityPolicies', options)
command.response_representation = Google::Apis::ComputeBeta::SecurityPolicyList::Representation
command.response_class = Google::Apis::ComputeBeta::SecurityPolicyList
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['parentId'] = parent_id unless parent_id.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -17203,10 +17510,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -17222,20 +17532,21 @@
# @return [Google::Apis::ComputeBeta::PacketMirroringAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_packet_mirroring_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_packet_mirroring_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/packetMirrorings', options)
command.response_representation = Google::Apis::ComputeBeta::PacketMirroringAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::PacketMirroringAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -17420,10 +17731,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -17439,20 +17753,21 @@
# @return [Google::Apis::ComputeBeta::PacketMirroringList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_packet_mirrorings(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_packet_mirrorings(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/packetMirrorings', options)
command.response_representation = Google::Apis::ComputeBeta::PacketMirroringList::Representation
command.response_class = Google::Apis::ComputeBeta::PacketMirroringList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -17846,10 +18161,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -17865,19 +18183,20 @@
# @return [Google::Apis::ComputeBeta::ProjectsGetXpnResources]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def get_project_xpn_resources(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def get_project_xpn_resources(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)
command = make_simple_command(:get, 'projects/{project}/getXpnResources', options)
command.response_representation = Google::Apis::ComputeBeta::ProjectsGetXpnResources::Representation
command.response_class = Google::Apis::ComputeBeta::ProjectsGetXpnResources
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -17918,10 +18237,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -17937,21 +18259,22 @@
# @return [Google::Apis::ComputeBeta::XpnHostList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, 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)
command = make_simple_command(:post, 'projects/{project}/listXpnHosts', options)
command.request_representation = Google::Apis::ComputeBeta::ProjectsListXpnHostsRequest::Representation
command.request_object = projects_list_xpn_hosts_request_object
command.response_representation = Google::Apis::ComputeBeta::XpnHostList::Representation
command.response_class = Google::Apis::ComputeBeta::XpnHostList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -18380,10 +18703,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -18399,20 +18725,21 @@
# @return [Google::Apis::ComputeBeta::RegionAutoscalerList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_autoscalers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_autoscalers(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/autoscalers', options)
command.response_representation = Google::Apis::ComputeBeta::RegionAutoscalerList::Representation
command.response_class = Google::Apis::ComputeBeta::RegionAutoscalerList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -18792,10 +19119,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -18811,20 +19141,21 @@
# @return [Google::Apis::ComputeBeta::BackendServiceList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_backend_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_backend_services(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/backendServices', options)
command.response_representation = Google::Apis::ComputeBeta::BackendServiceList::Representation
command.response_class = Google::Apis::ComputeBeta::BackendServiceList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -19025,10 +19356,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -19044,20 +19378,21 @@
# @return [Google::Apis::ComputeBeta::CommitmentAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_region_commitment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_region_commitment_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/commitments', options)
command.response_representation = Google::Apis::ComputeBeta::CommitmentAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::CommitmentAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -19191,10 +19526,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -19210,20 +19548,21 @@
# @return [Google::Apis::ComputeBeta::CommitmentList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_commitments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_commitments(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/commitments', options)
command.response_representation = Google::Apis::ComputeBeta::CommitmentList::Representation
command.response_class = Google::Apis::ComputeBeta::CommitmentList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -19359,10 +19698,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -19378,20 +19720,21 @@
# @return [Google::Apis::ComputeBeta::RegionDiskTypeList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_disk_types(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_disk_types(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/diskTypes', options)
command.response_representation = Google::Apis::ComputeBeta::RegionDiskTypeList::Representation
command.response_class = Google::Apis::ComputeBeta::RegionDiskTypeList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -19733,10 +20076,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -19752,20 +20098,21 @@
# @return [Google::Apis::ComputeBeta::DiskList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_disks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_disks(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/disks', options)
command.response_representation = Google::Apis::ComputeBeta::DiskList::Representation
command.response_class = Google::Apis::ComputeBeta::DiskList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -20199,10 +20546,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -20218,20 +20568,21 @@
# @return [Google::Apis::ComputeBeta::HealthCheckServicesList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_health_check_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_health_check_services(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthCheckServices', options)
command.response_representation = Google::Apis::ComputeBeta::HealthCheckServicesList::Representation
command.response_class = Google::Apis::ComputeBeta::HealthCheckServicesList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -20473,10 +20824,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -20492,20 +20846,21 @@
# @return [Google::Apis::ComputeBeta::HealthCheckList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_health_checks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_health_checks(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthChecks', options)
command.response_representation = Google::Apis::ComputeBeta::HealthCheckList::Representation
command.response_class = Google::Apis::ComputeBeta::HealthCheckList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -21079,10 +21434,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -21098,20 +21456,21 @@
# @return [Google::Apis::ComputeBeta::RegionInstanceGroupManagerList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_instance_group_managers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_instance_group_managers(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroupManagers', options)
command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagerList::Representation
command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagerList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -21158,10 +21517,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -21177,21 +21539,22 @@
# @return [Google::Apis::ComputeBeta::RegionInstanceGroupManagersListErrorsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_instance_group_manager_errors(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_instance_group_manager_errors(project, region, instance_group_manager, 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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors', options)
command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListErrorsResponse::Representation
command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListErrorsResponse
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -21237,10 +21600,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -21256,21 +21622,22 @@
# @return [Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, 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)
command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse::Representation
command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -21315,10 +21682,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -21334,21 +21704,22 @@
# @return [Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstanceConfigsResp]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, 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)
command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options)
command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstanceConfigsResp::Representation
command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstanceConfigsResp
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -21991,10 +22362,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -22010,20 +22384,21 @@
# @return [Google::Apis::ComputeBeta::RegionInstanceGroupList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_instance_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_instance_groups(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroups', options)
command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupList::Representation
command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -22071,10 +22446,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -22090,11 +22468,11 @@
# @return [Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_instance_group_instances(project, region, instance_group, region_instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_instance_group_instances(project, region, instance_group, region_instance_groups_list_instances_request_object = nil, 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)
command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options)
command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupsListInstancesRequest::Representation
command.request_object = region_instance_groups_list_instances_request_object
command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances::Representation
command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances
@@ -22103,10 +22481,11 @@
command.params['instanceGroup'] = instance_group unless instance_group.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -22394,10 +22773,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -22413,20 +22795,21 @@
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_network_endpoint_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_network_endpoint_groups(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/networkEndpointGroups', options)
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupList::Representation
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -22610,10 +22993,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -22629,20 +23015,21 @@
# @return [Google::Apis::ComputeBeta::NotificationEndpointList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_notification_endpoints(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_notification_endpoints(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/notificationEndpoints', options)
command.response_representation = Google::Apis::ComputeBeta::NotificationEndpointList::Representation
command.response_class = Google::Apis::ComputeBeta::NotificationEndpointList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -22760,10 +23147,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -22779,20 +23169,21 @@
# @return [Google::Apis::ComputeBeta::OperationList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_operations(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/operations', options)
command.response_representation = Google::Apis::ComputeBeta::OperationList::Representation
command.response_class = Google::Apis::ComputeBeta::OperationList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -23027,10 +23418,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -23046,20 +23440,21 @@
# @return [Google::Apis::ComputeBeta::SslCertificateList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_ssl_certificates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_ssl_certificates(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslCertificates', options)
command.response_representation = Google::Apis::ComputeBeta::SslCertificateList::Representation
command.response_class = Google::Apis::ComputeBeta::SslCertificateList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -23245,10 +23640,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -23264,20 +23662,21 @@
# @return [Google::Apis::ComputeBeta::TargetHttpProxyList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_target_http_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_target_http_proxies(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpProxies', options)
command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxyList::Representation
command.response_class = Google::Apis::ComputeBeta::TargetHttpProxyList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -23517,10 +23916,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -23536,20 +23938,21 @@
# @return [Google::Apis::ComputeBeta::TargetHttpsProxyList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_target_https_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_target_https_proxies(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpsProxies', options)
command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxyList::Representation
command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxyList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -23871,10 +24274,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -23890,20 +24296,21 @@
# @return [Google::Apis::ComputeBeta::UrlMapList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_region_url_maps(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_region_url_maps(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/urlMaps', options)
command.response_representation = Google::Apis::ComputeBeta::UrlMapList::Representation
command.response_class = Google::Apis::ComputeBeta::UrlMapList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -24115,10 +24522,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -24134,19 +24544,20 @@
# @return [Google::Apis::ComputeBeta::RegionList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_regions(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_regions(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)
command = make_simple_command(:get, 'projects/{project}/regions', options)
command.response_representation = Google::Apis::ComputeBeta::RegionList::Representation
command.response_class = Google::Apis::ComputeBeta::RegionList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -24193,10 +24604,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -24212,20 +24626,21 @@
# @return [Google::Apis::ComputeBeta::ReservationAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_reservation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_reservation_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/reservations', options)
command.response_representation = Google::Apis::ComputeBeta::ReservationAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::ReservationAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -24453,10 +24868,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -24472,20 +24890,21 @@
# @return [Google::Apis::ComputeBeta::ReservationList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_reservations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_reservations(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)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations', options)
command.response_representation = Google::Apis::ComputeBeta::ReservationList::Representation
command.response_class = Google::Apis::ComputeBeta::ReservationList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -24672,10 +25091,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -24691,20 +25113,21 @@
# @return [Google::Apis::ComputeBeta::ResourcePolicyAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_resource_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_resource_policy_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/resourcePolicies', options)
command.response_representation = Google::Apis::ComputeBeta::ResourcePolicyAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::ResourcePolicyAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -24931,10 +25354,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -24950,20 +25376,21 @@
# @return [Google::Apis::ComputeBeta::ResourcePolicyList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_resource_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_resource_policies(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/resourcePolicies', options)
command.response_representation = Google::Apis::ComputeBeta::ResourcePolicyList::Representation
command.response_class = Google::Apis::ComputeBeta::ResourcePolicyList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -25095,10 +25522,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -25114,20 +25544,21 @@
# @return [Google::Apis::ComputeBeta::RouterAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_aggregated_routers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_aggregated_routers(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/routers', options)
command.response_representation = Google::Apis::ComputeBeta::RouterAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::RouterAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -25267,10 +25698,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -25286,11 +25720,11 @@
# @return [Google::Apis::ComputeBeta::VmEndpointNatMappingsList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def get_router_nat_mapping_info(project, region, router, filter: nil, max_results: nil, nat_name: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def get_router_nat_mapping_info(project, region, router, filter: nil, max_results: nil, nat_name: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo', options)
command.response_representation = Google::Apis::ComputeBeta::VmEndpointNatMappingsList::Representation
command.response_class = Google::Apis::ComputeBeta::VmEndpointNatMappingsList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
@@ -25298,10 +25732,11 @@
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['natName'] = nat_name unless nat_name.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -25434,10 +25869,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -25453,20 +25891,21 @@
# @return [Google::Apis::ComputeBeta::RouterList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_routers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_routers(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers', options)
command.response_representation = Google::Apis::ComputeBeta::RouterList::Representation
command.response_class = Google::Apis::ComputeBeta::RouterList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -25838,10 +26277,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -25857,19 +26299,20 @@
# @return [Google::Apis::ComputeBeta::RouteList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_routes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_routes(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)
command = make_simple_command(:get, 'projects/{project}/global/routes', options)
command.response_representation = Google::Apis::ComputeBeta::RouteList::Representation
command.response_class = Google::Apis::ComputeBeta::RouteList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -26165,10 +26608,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -26184,19 +26630,20 @@
# @return [Google::Apis::ComputeBeta::SecurityPolicyList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_security_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_security_policies(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)
command = make_simple_command(:get, 'projects/{project}/global/securityPolicies', options)
command.response_representation = Google::Apis::ComputeBeta::SecurityPolicyList::Representation
command.response_class = Google::Apis::ComputeBeta::SecurityPolicyList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -26237,10 +26684,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -26256,19 +26706,20 @@
# @return [Google::Apis::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_security_policy_preconfigured_expression_sets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_security_policy_preconfigured_expression_sets(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)
command = make_simple_command(:get, 'projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets', options)
command.response_representation = Google::Apis::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse::Representation
command.response_class = Google::Apis::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -26614,10 +27065,59 @@
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
+ # Creates a snapshot in the specified project using the data included in the
+ # request.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [Google::Apis::ComputeBeta::Snapshot] snapshot_object
+ # @param [String] request_id
+ # An optional request ID to identify requests. Specify a unique request ID so
+ # that if you must retry your request, the server will know to ignore the
+ # request if it has already been completed.
+ # For example, consider a situation where you make an initial request and the
+ # request times out. If you make the request again with the same request ID, the
+ # server can check if original operation with the same request ID was received,
+ # and if so, will ignore the second request. This prevents clients from
+ # accidentally creating duplicate commitments.
+ # The request ID must be a valid UUID with the exception that zero UUID is not
+ # supported (00000000-0000-0000-0000-000000000000).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeBeta::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def insert_snapshot(project, snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, 'projects/{project}/global/snapshots', options)
+ command.request_representation = Google::Apis::ComputeBeta::Snapshot::Representation
+ command.request_object = snapshot_object
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
+ command.response_class = Google::Apis::ComputeBeta::Operation
+ command.params['project'] = project unless project.nil?
+ command.query['requestId'] = request_id unless request_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Retrieves the list of Snapshot resources contained within the specified
# project.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@@ -26652,10 +27152,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -26671,19 +27174,20 @@
# @return [Google::Apis::ComputeBeta::SnapshotList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_snapshots(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_snapshots(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)
command = make_simple_command(:get, 'projects/{project}/global/snapshots', options)
command.response_representation = Google::Apis::ComputeBeta::SnapshotList::Representation
command.response_class = Google::Apis::ComputeBeta::SnapshotList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -26850,10 +27354,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -26869,20 +27376,21 @@
# @return [Google::Apis::ComputeBeta::SslCertificateAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_ssl_certificate_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_ssl_certificate_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/sslCertificates', options)
command.response_representation = Google::Apis::ComputeBeta::SslCertificateAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::SslCertificateAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -27057,10 +27565,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -27076,19 +27587,20 @@
# @return [Google::Apis::ComputeBeta::SslCertificateList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_ssl_certificates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_ssl_certificates(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)
command = make_simple_command(:get, 'projects/{project}/global/sslCertificates', options)
command.response_representation = Google::Apis::ComputeBeta::SslCertificateList::Representation
command.response_class = Google::Apis::ComputeBeta::SslCertificateList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -27303,10 +27815,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -27322,19 +27837,20 @@
# @return [Google::Apis::ComputeBeta::SslPoliciesList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_ssl_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_ssl_policies(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)
command = make_simple_command(:get, 'projects/{project}/global/sslPolicies', options)
command.response_representation = Google::Apis::ComputeBeta::SslPoliciesList::Representation
command.response_class = Google::Apis::ComputeBeta::SslPoliciesList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -27375,10 +27891,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -27394,19 +27913,20 @@
# @return [Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_ssl_policy_available_features(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_ssl_policy_available_features(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)
command = make_simple_command(:get, 'projects/{project}/global/sslPolicies/listAvailableFeatures', options)
command.response_representation = Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse::Representation
command.response_class = Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -27544,10 +28064,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -27563,20 +28086,21 @@
# @return [Google::Apis::ComputeBeta::SubnetworkAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_aggregated_subnetworks(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_aggregated_subnetworks(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/subnetworks', options)
command.response_representation = Google::Apis::ComputeBeta::SubnetworkAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::SubnetworkAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -27858,10 +28382,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -27877,20 +28404,21 @@
# @return [Google::Apis::ComputeBeta::SubnetworkList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_subnetworks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_subnetworks(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/subnetworks', options)
command.response_representation = Google::Apis::ComputeBeta::SubnetworkList::Representation
command.response_class = Google::Apis::ComputeBeta::SubnetworkList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -27930,10 +28458,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -27949,19 +28480,20 @@
# @return [Google::Apis::ComputeBeta::UsableSubnetworksAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_subnetwork_usable(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)
command = make_simple_command(:get, 'projects/{project}/aggregated/subnetworks/listUsable', options)
command.response_representation = Google::Apis::ComputeBeta::UsableSubnetworksAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::UsableSubnetworksAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -28340,10 +28872,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -28359,19 +28894,20 @@
# @return [Google::Apis::ComputeBeta::TargetGrpcProxyList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_target_grpc_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_target_grpc_proxies(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)
command = make_simple_command(:get, 'projects/{project}/global/targetGrpcProxies', options)
command.response_representation = Google::Apis::ComputeBeta::TargetGrpcProxyList::Representation
command.response_class = Google::Apis::ComputeBeta::TargetGrpcProxyList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -28472,10 +29008,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -28491,20 +29030,21 @@
# @return [Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_target_http_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_target_http_proxy_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/targetHttpProxies', options)
command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -28679,10 +29219,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -28698,25 +29241,79 @@
# @return [Google::Apis::ComputeBeta::TargetHttpProxyList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_target_http_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_target_http_proxies(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)
command = make_simple_command(:get, 'projects/{project}/global/targetHttpProxies', options)
command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxyList::Representation
command.response_class = Google::Apis::ComputeBeta::TargetHttpProxyList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
+ # Patches the specified TargetHttpProxy resource with the data included in the
+ # request. This method supports PATCH semantics and uses JSON merge patch format
+ # and processing rules. (== suppress_warning http-rest-shadowed ==)
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] target_http_proxy
+ # Name of the TargetHttpProxy resource to patch.
+ # @param [Google::Apis::ComputeBeta::TargetHttpProxy] target_http_proxy_object
+ # @param [String] request_id
+ # An optional request ID to identify requests. Specify a unique request ID so
+ # that if you must retry your request, the server will know to ignore the
+ # request if it has already been completed.
+ # For example, consider a situation where you make an initial request and the
+ # request times out. If you make the request again with the same request ID, the
+ # server can check if original operation with the same request ID was received,
+ # and if so, will ignore the second request. This prevents clients from
+ # accidentally creating duplicate commitments.
+ # The request ID must be a valid UUID with the exception that zero UUID is not
+ # supported (00000000-0000-0000-0000-000000000000).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeBeta::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def patch_target_http_proxy(project, target_http_proxy, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'projects/{project}/global/targetHttpProxies/{targetHttpProxy}', options)
+ command.request_representation = Google::Apis::ComputeBeta::TargetHttpProxy::Representation
+ command.request_object = target_http_proxy_object
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
+ command.response_class = Google::Apis::ComputeBeta::Operation
+ command.params['project'] = project unless project.nil?
+ command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
+ command.query['requestId'] = request_id unless request_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Changes the URL map for TargetHttpProxy.
# @param [String] project
# Project ID for this request.
# @param [String] target_http_proxy
# Name of the TargetHttpProxy to set a URL map for.
@@ -28848,10 +29445,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -28867,20 +29467,21 @@
# @return [Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_target_https_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_target_https_proxy_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/targetHttpsProxies', options)
command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -29055,10 +29656,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -29074,19 +29678,20 @@
# @return [Google::Apis::ComputeBeta::TargetHttpsProxyList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_target_https_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_target_https_proxies(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)
command = make_simple_command(:get, 'projects/{project}/global/targetHttpsProxies', options)
command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxyList::Representation
command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxyList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -29381,10 +29986,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -29400,20 +30008,21 @@
# @return [Google::Apis::ComputeBeta::TargetInstanceAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_aggregated_target_instance(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_aggregated_target_instance(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/targetInstances', options)
command.response_representation = Google::Apis::ComputeBeta::TargetInstanceAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::TargetInstanceAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -29599,10 +30208,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -29618,20 +30230,21 @@
# @return [Google::Apis::ComputeBeta::TargetInstanceList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_target_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_target_instances(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)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/targetInstances', options)
command.response_representation = Google::Apis::ComputeBeta::TargetInstanceList::Representation
command.response_class = Google::Apis::ComputeBeta::TargetInstanceList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -29828,10 +30441,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -29847,20 +30463,21 @@
# @return [Google::Apis::ComputeBeta::TargetPoolAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_aggregated_target_pools(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_aggregated_target_pools(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/targetPools', options)
command.response_representation = Google::Apis::ComputeBeta::TargetPoolAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::TargetPoolAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -30088,10 +30705,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -30107,20 +30727,21 @@
# @return [Google::Apis::ComputeBeta::TargetPoolList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_target_pools(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_target_pools(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetPools', options)
command.response_representation = Google::Apis::ComputeBeta::TargetPoolList::Representation
command.response_class = Google::Apis::ComputeBeta::TargetPoolList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -30502,10 +31123,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -30521,19 +31145,20 @@
# @return [Google::Apis::ComputeBeta::TargetSslProxyList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_target_ssl_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_target_ssl_proxies(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)
command = make_simple_command(:get, 'projects/{project}/global/targetSslProxies', options)
command.response_representation = Google::Apis::ComputeBeta::TargetSslProxyList::Representation
command.response_class = Google::Apis::ComputeBeta::TargetSslProxyList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -30955,10 +31580,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -30974,19 +31602,20 @@
# @return [Google::Apis::ComputeBeta::TargetTcpProxyList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_target_tcp_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_target_tcp_proxies(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)
command = make_simple_command(:get, 'projects/{project}/global/targetTcpProxies', options)
command.response_representation = Google::Apis::ComputeBeta::TargetTcpProxyList::Representation
command.response_class = Google::Apis::ComputeBeta::TargetTcpProxyList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -31135,10 +31764,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -31154,20 +31786,21 @@
# @return [Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_aggregated_target_vpn_gateways(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_aggregated_target_vpn_gateways(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/targetVpnGateways', options)
command.response_representation = Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -31353,10 +31986,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -31372,20 +32008,21 @@
# @return [Google::Apis::ComputeBeta::TargetVpnGatewayList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_target_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_target_vpn_gateways(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetVpnGateways', options)
command.response_representation = Google::Apis::ComputeBeta::TargetVpnGatewayList::Representation
command.response_class = Google::Apis::ComputeBeta::TargetVpnGatewayList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -31530,10 +32167,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -31549,20 +32189,21 @@
# @return [Google::Apis::ComputeBeta::UrlMapsAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_url_map_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_url_map_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/urlMaps', options)
command.response_representation = Google::Apis::ComputeBeta::UrlMapsAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::UrlMapsAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -31788,10 +32429,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -31807,19 +32451,20 @@
# @return [Google::Apis::ComputeBeta::UrlMapList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_url_maps(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_url_maps(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)
command = make_simple_command(:get, 'projects/{project}/global/urlMaps', options)
command.response_representation = Google::Apis::ComputeBeta::UrlMapList::Representation
command.response_class = Google::Apis::ComputeBeta::UrlMapList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -32049,10 +32694,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -32068,20 +32716,21 @@
# @return [Google::Apis::ComputeBeta::VpnGatewayAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def aggregated_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def aggregated_vpn_gateway_list(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/vpnGateways', options)
command.response_representation = Google::Apis::ComputeBeta::VpnGatewayAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::VpnGatewayAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -32305,10 +32954,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -32324,20 +32976,21 @@
# @return [Google::Apis::ComputeBeta::VpnGatewayList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_vpn_gateways(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnGateways', options)
command.response_representation = Google::Apis::ComputeBeta::VpnGatewayList::Representation
command.response_class = Google::Apis::ComputeBeta::VpnGatewayList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -32439,10 +33092,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -32458,20 +33114,21 @@
# @return [Google::Apis::ComputeBeta::VpnTunnelAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_aggregated_vpn_tunnel(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_aggregated_vpn_tunnel(project, filter: nil, include_all_scopes: 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)
command = make_simple_command(:get, 'projects/{project}/aggregated/vpnTunnels', options)
command.response_representation = Google::Apis::ComputeBeta::VpnTunnelAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::VpnTunnelAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -32657,10 +33314,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -32676,20 +33336,21 @@
# @return [Google::Apis::ComputeBeta::VpnTunnelList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_vpn_tunnels(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_vpn_tunnels(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)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnTunnels', options)
command.response_representation = Google::Apis::ComputeBeta::VpnTunnelList::Representation
command.response_class = Google::Apis::ComputeBeta::VpnTunnelList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -32904,10 +33565,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -32923,20 +33587,21 @@
# @return [Google::Apis::ComputeBeta::OperationList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_zone_operations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_zone_operations(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)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/operations', options)
command.response_representation = Google::Apis::ComputeBeta::OperationList::Representation
command.response_class = Google::Apis::ComputeBeta::OperationList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -33062,10 +33727,13 @@
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
+ # @param [Boolean] return_partial_success
+ # Opt-in for partial success behavior which provides partial results in case of
+ # failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
@@ -33081,18 +33749,19 @@
# @return [Google::Apis::ComputeBeta::ZoneList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_zones(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_zones(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)
command = make_simple_command(:get, 'projects/{project}/zones', options)
command.response_representation = Google::Apis::ComputeBeta::ZoneList::Representation
command.response_class = Google::Apis::ComputeBeta::ZoneList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end