google-apis-compute_v1 0.117.0 → 0.119.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/compute_v1/classes.rb +2477 -316
- data/lib/google/apis/compute_v1/gem_version.rb +3 -3
- data/lib/google/apis/compute_v1/representations.rb +976 -114
- data/lib/google/apis/compute_v1/service.rb +1386 -126
- metadata +5 -5
@@ -15693,6 +15693,442 @@ module Google
|
|
15693
15693
|
execute_or_queue_command(command, &block)
|
15694
15694
|
end
|
15695
15695
|
|
15696
|
+
# Deletes the specified InterconnectAttachmentGroup in the given scope
|
15697
|
+
# @param [String] project
|
15698
|
+
# Project ID for this request.
|
15699
|
+
# @param [String] interconnect_attachment_group
|
15700
|
+
# Name of the InterconnectAttachmentGroup resource to delete.
|
15701
|
+
# @param [String] request_id
|
15702
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
15703
|
+
# that if you must retry your request, the server will know to ignore the
|
15704
|
+
# request if it has already been completed. For example, consider a situation
|
15705
|
+
# where you make an initial request and the request times out. If you make the
|
15706
|
+
# request again with the same request ID, the server can check if original
|
15707
|
+
# operation with the same request ID was received, and if so, will ignore the
|
15708
|
+
# second request. This prevents clients from accidentally creating duplicate
|
15709
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
15710
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
15711
|
+
# MixerMutationRequestBuilder
|
15712
|
+
# @param [String] fields
|
15713
|
+
# Selector specifying which fields to include in a partial response.
|
15714
|
+
# @param [String] quota_user
|
15715
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
15716
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
15717
|
+
# @param [String] user_ip
|
15718
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
15719
|
+
# @param [Google::Apis::RequestOptions] options
|
15720
|
+
# Request-specific options
|
15721
|
+
#
|
15722
|
+
# @yield [result, err] Result & error if block supplied
|
15723
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
15724
|
+
# @yieldparam err [StandardError] error object if request failed
|
15725
|
+
#
|
15726
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
15727
|
+
#
|
15728
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15729
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15730
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15731
|
+
def delete_interconnect_attachment_group(project, interconnect_attachment_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15732
|
+
command = make_simple_command(:delete, 'projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}', options)
|
15733
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
15734
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
15735
|
+
command.params['project'] = project unless project.nil?
|
15736
|
+
command.params['interconnectAttachmentGroup'] = interconnect_attachment_group unless interconnect_attachment_group.nil?
|
15737
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
15738
|
+
command.query['fields'] = fields unless fields.nil?
|
15739
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15740
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
15741
|
+
execute_or_queue_command(command, &block)
|
15742
|
+
end
|
15743
|
+
|
15744
|
+
# Returns the specified InterconnectAttachmentGroup resource in the given scope.
|
15745
|
+
# @param [String] project
|
15746
|
+
# Project ID for this request.
|
15747
|
+
# @param [String] interconnect_attachment_group
|
15748
|
+
# Name of the InterconnectAttachmentGroup resource to return.
|
15749
|
+
# @param [String] fields
|
15750
|
+
# Selector specifying which fields to include in a partial response.
|
15751
|
+
# @param [String] quota_user
|
15752
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
15753
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
15754
|
+
# @param [String] user_ip
|
15755
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
15756
|
+
# @param [Google::Apis::RequestOptions] options
|
15757
|
+
# Request-specific options
|
15758
|
+
#
|
15759
|
+
# @yield [result, err] Result & error if block supplied
|
15760
|
+
# @yieldparam result [Google::Apis::ComputeV1::InterconnectAttachmentGroup] parsed result object
|
15761
|
+
# @yieldparam err [StandardError] error object if request failed
|
15762
|
+
#
|
15763
|
+
# @return [Google::Apis::ComputeV1::InterconnectAttachmentGroup]
|
15764
|
+
#
|
15765
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15766
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15767
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15768
|
+
def get_interconnect_attachment_group(project, interconnect_attachment_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15769
|
+
command = make_simple_command(:get, 'projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}', options)
|
15770
|
+
command.response_representation = Google::Apis::ComputeV1::InterconnectAttachmentGroup::Representation
|
15771
|
+
command.response_class = Google::Apis::ComputeV1::InterconnectAttachmentGroup
|
15772
|
+
command.params['project'] = project unless project.nil?
|
15773
|
+
command.params['interconnectAttachmentGroup'] = interconnect_attachment_group unless interconnect_attachment_group.nil?
|
15774
|
+
command.query['fields'] = fields unless fields.nil?
|
15775
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15776
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
15777
|
+
execute_or_queue_command(command, &block)
|
15778
|
+
end
|
15779
|
+
|
15780
|
+
# Gets the access control policy for a resource. May be empty if no such policy
|
15781
|
+
# or resource exists.
|
15782
|
+
# @param [String] project
|
15783
|
+
# Project ID for this request.
|
15784
|
+
# @param [String] resource
|
15785
|
+
# Name or id of the resource for this request.
|
15786
|
+
# @param [Fixnum] options_requested_policy_version
|
15787
|
+
# Requested IAM Policy version.
|
15788
|
+
# @param [String] fields
|
15789
|
+
# Selector specifying which fields to include in a partial response.
|
15790
|
+
# @param [String] quota_user
|
15791
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
15792
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
15793
|
+
# @param [String] user_ip
|
15794
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
15795
|
+
# @param [Google::Apis::RequestOptions] options
|
15796
|
+
# Request-specific options
|
15797
|
+
#
|
15798
|
+
# @yield [result, err] Result & error if block supplied
|
15799
|
+
# @yieldparam result [Google::Apis::ComputeV1::Policy] parsed result object
|
15800
|
+
# @yieldparam err [StandardError] error object if request failed
|
15801
|
+
#
|
15802
|
+
# @return [Google::Apis::ComputeV1::Policy]
|
15803
|
+
#
|
15804
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15805
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15806
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15807
|
+
def get_interconnect_attachment_group_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15808
|
+
command = make_simple_command(:get, 'projects/{project}/global/interconnectAttachmentGroups/{resource}/getIamPolicy', options)
|
15809
|
+
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
15810
|
+
command.response_class = Google::Apis::ComputeV1::Policy
|
15811
|
+
command.params['project'] = project unless project.nil?
|
15812
|
+
command.params['resource'] = resource unless resource.nil?
|
15813
|
+
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
15814
|
+
command.query['fields'] = fields unless fields.nil?
|
15815
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15816
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
15817
|
+
execute_or_queue_command(command, &block)
|
15818
|
+
end
|
15819
|
+
|
15820
|
+
# Returns the InterconnectAttachmentStatuses for the specified
|
15821
|
+
# InterconnectAttachmentGroup resource.
|
15822
|
+
# @param [String] project
|
15823
|
+
# Project ID for this request.
|
15824
|
+
# @param [String] interconnect_attachment_group
|
15825
|
+
# Name of the interconnectAttachmentGroup resource to query.
|
15826
|
+
# @param [String] fields
|
15827
|
+
# Selector specifying which fields to include in a partial response.
|
15828
|
+
# @param [String] quota_user
|
15829
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
15830
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
15831
|
+
# @param [String] user_ip
|
15832
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
15833
|
+
# @param [Google::Apis::RequestOptions] options
|
15834
|
+
# Request-specific options
|
15835
|
+
#
|
15836
|
+
# @yield [result, err] Result & error if block supplied
|
15837
|
+
# @yieldparam result [Google::Apis::ComputeV1::InterconnectAttachmentGroupsGetOperationalStatusResponse] parsed result object
|
15838
|
+
# @yieldparam err [StandardError] error object if request failed
|
15839
|
+
#
|
15840
|
+
# @return [Google::Apis::ComputeV1::InterconnectAttachmentGroupsGetOperationalStatusResponse]
|
15841
|
+
#
|
15842
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15843
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15844
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15845
|
+
def get_interconnect_attachment_group_operational_status(project, interconnect_attachment_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15846
|
+
command = make_simple_command(:get, 'projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}/getOperationalStatus', options)
|
15847
|
+
command.response_representation = Google::Apis::ComputeV1::InterconnectAttachmentGroupsGetOperationalStatusResponse::Representation
|
15848
|
+
command.response_class = Google::Apis::ComputeV1::InterconnectAttachmentGroupsGetOperationalStatusResponse
|
15849
|
+
command.params['project'] = project unless project.nil?
|
15850
|
+
command.params['interconnectAttachmentGroup'] = interconnect_attachment_group unless interconnect_attachment_group.nil?
|
15851
|
+
command.query['fields'] = fields unless fields.nil?
|
15852
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15853
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
15854
|
+
execute_or_queue_command(command, &block)
|
15855
|
+
end
|
15856
|
+
|
15857
|
+
# Creates a InterconnectAttachmentGroup in the specified project in the given
|
15858
|
+
# scope using the parameters that are included in the request.
|
15859
|
+
# @param [String] project
|
15860
|
+
# Project ID for this request.
|
15861
|
+
# @param [Google::Apis::ComputeV1::InterconnectAttachmentGroup] interconnect_attachment_group_object
|
15862
|
+
# @param [String] request_id
|
15863
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
15864
|
+
# that if you must retry your request, the server will know to ignore the
|
15865
|
+
# request if it has already been completed. For example, consider a situation
|
15866
|
+
# where you make an initial request and the request times out. If you make the
|
15867
|
+
# request again with the same request ID, the server can check if original
|
15868
|
+
# operation with the same request ID was received, and if so, will ignore the
|
15869
|
+
# second request. This prevents clients from accidentally creating duplicate
|
15870
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
15871
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
15872
|
+
# MixerMutationRequestBuilder
|
15873
|
+
# @param [String] fields
|
15874
|
+
# Selector specifying which fields to include in a partial response.
|
15875
|
+
# @param [String] quota_user
|
15876
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
15877
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
15878
|
+
# @param [String] user_ip
|
15879
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
15880
|
+
# @param [Google::Apis::RequestOptions] options
|
15881
|
+
# Request-specific options
|
15882
|
+
#
|
15883
|
+
# @yield [result, err] Result & error if block supplied
|
15884
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
15885
|
+
# @yieldparam err [StandardError] error object if request failed
|
15886
|
+
#
|
15887
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
15888
|
+
#
|
15889
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15890
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15891
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15892
|
+
def insert_interconnect_attachment_group(project, interconnect_attachment_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15893
|
+
command = make_simple_command(:post, 'projects/{project}/global/interconnectAttachmentGroups', options)
|
15894
|
+
command.request_representation = Google::Apis::ComputeV1::InterconnectAttachmentGroup::Representation
|
15895
|
+
command.request_object = interconnect_attachment_group_object
|
15896
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
15897
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
15898
|
+
command.params['project'] = project unless project.nil?
|
15899
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
15900
|
+
command.query['fields'] = fields unless fields.nil?
|
15901
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15902
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
15903
|
+
execute_or_queue_command(command, &block)
|
15904
|
+
end
|
15905
|
+
|
15906
|
+
# Lists the InterconnectAttachmentGroups for a project in the given scope.
|
15907
|
+
# @param [String] project
|
15908
|
+
# Project ID for this request.
|
15909
|
+
# @param [String] filter
|
15910
|
+
# A filter expression that filters resources listed in the response. Most
|
15911
|
+
# Compute resources support two types of filter expressions: expressions that
|
15912
|
+
# support regular expressions and expressions that follow API improvement
|
15913
|
+
# proposal AIP-160. These two types of filter expressions cannot be mixed in one
|
15914
|
+
# request. If you want to use AIP-160, your expression must specify the field
|
15915
|
+
# name, an operator, and the value that you want to use for filtering. The value
|
15916
|
+
# must be a string, a number, or a boolean. The operator must be either `=`, `!=`
|
15917
|
+
# , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
15918
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
15919
|
+
# specifying `name != example-instance`. The `:*` comparison can be used to test
|
15920
|
+
# whether a key has been defined. For example, to find all objects with `owner`
|
15921
|
+
# label use: ``` labels.owner:* ``` You can also filter nested fields. For
|
15922
|
+
# example, you could specify `scheduling.automaticRestart = false` to include
|
15923
|
+
# instances only if they are not scheduled for automatic restarts. You can use
|
15924
|
+
# filtering on nested fields to filter based on resource labels. To filter on
|
15925
|
+
# multiple expressions, provide each separate expression within parentheses. For
|
15926
|
+
# example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
|
15927
|
+
# Skylake") ``` By default, each expression is an `AND` expression. However, you
|
15928
|
+
# can include `AND` and `OR` expressions explicitly. For example: ``` (
|
15929
|
+
# cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
|
15930
|
+
# scheduling.automaticRestart = true) ``` If you want to use a regular
|
15931
|
+
# expression, use the `eq` (equal) or `ne` (not equal) operator against a single
|
15932
|
+
# un-parenthesized expression with or without quotes or against multiple
|
15933
|
+
# parenthesized expressions. Examples: `fieldname eq unquoted literal` `
|
15934
|
+
# fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
|
15935
|
+
# fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
|
15936
|
+
# interpreted as a regular expression using Google RE2 library syntax. The
|
15937
|
+
# literal value must match the entire field. For example, to filter for
|
15938
|
+
# instances that do not end with name "instance", you would use `name ne .*
|
15939
|
+
# instance`. You cannot combine constraints on multiple fields using regular
|
15940
|
+
# expressions.
|
15941
|
+
# @param [Fixnum] max_results
|
15942
|
+
# The maximum number of results per page that should be returned. If the number
|
15943
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
15944
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
15945
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
15946
|
+
# @param [String] order_by
|
15947
|
+
# Sorts list results by a certain order. By default, results are returned in
|
15948
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
15949
|
+
# descending order based on the creation timestamp using `orderBy="
|
15950
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
15951
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
15952
|
+
# resources like operations so that the newest operation is returned first.
|
15953
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
15954
|
+
# @param [String] page_token
|
15955
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
15956
|
+
# by a previous list request to get the next page of results.
|
15957
|
+
# @param [Boolean] return_partial_success
|
15958
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
15959
|
+
# failure. The default value is false. For example, when partial success
|
15960
|
+
# behavior is enabled, aggregatedList for a single zone scope either returns all
|
15961
|
+
# resources in the zone or no resources, with an error code.
|
15962
|
+
# @param [String] fields
|
15963
|
+
# Selector specifying which fields to include in a partial response.
|
15964
|
+
# @param [String] quota_user
|
15965
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
15966
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
15967
|
+
# @param [String] user_ip
|
15968
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
15969
|
+
# @param [Google::Apis::RequestOptions] options
|
15970
|
+
# Request-specific options
|
15971
|
+
#
|
15972
|
+
# @yield [result, err] Result & error if block supplied
|
15973
|
+
# @yieldparam result [Google::Apis::ComputeV1::InterconnectAttachmentGroupsListResponse] parsed result object
|
15974
|
+
# @yieldparam err [StandardError] error object if request failed
|
15975
|
+
#
|
15976
|
+
# @return [Google::Apis::ComputeV1::InterconnectAttachmentGroupsListResponse]
|
15977
|
+
#
|
15978
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15979
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15980
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15981
|
+
def list_interconnect_attachment_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)
|
15982
|
+
command = make_simple_command(:get, 'projects/{project}/global/interconnectAttachmentGroups', options)
|
15983
|
+
command.response_representation = Google::Apis::ComputeV1::InterconnectAttachmentGroupsListResponse::Representation
|
15984
|
+
command.response_class = Google::Apis::ComputeV1::InterconnectAttachmentGroupsListResponse
|
15985
|
+
command.params['project'] = project unless project.nil?
|
15986
|
+
command.query['filter'] = filter unless filter.nil?
|
15987
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
15988
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
15989
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
15990
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
15991
|
+
command.query['fields'] = fields unless fields.nil?
|
15992
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15993
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
15994
|
+
execute_or_queue_command(command, &block)
|
15995
|
+
end
|
15996
|
+
|
15997
|
+
# Patches the specified InterconnectAttachmentGroup resource with the data
|
15998
|
+
# included in the request. This method supports PATCH semantics and uses JSON
|
15999
|
+
# merge patch format and processing rules.
|
16000
|
+
# @param [String] project
|
16001
|
+
# Project ID for this request.
|
16002
|
+
# @param [String] interconnect_attachment_group
|
16003
|
+
# Name of the InterconnectAttachmentGroup resource to patch.
|
16004
|
+
# @param [Google::Apis::ComputeV1::InterconnectAttachmentGroup] interconnect_attachment_group_object
|
16005
|
+
# @param [String] request_id
|
16006
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
16007
|
+
# that if you must retry your request, the server will know to ignore the
|
16008
|
+
# request if it has already been completed. For example, consider a situation
|
16009
|
+
# where you make an initial request and the request times out. If you make the
|
16010
|
+
# request again with the same request ID, the server can check if original
|
16011
|
+
# operation with the same request ID was received, and if so, will ignore the
|
16012
|
+
# second request. This prevents clients from accidentally creating duplicate
|
16013
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
16014
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
16015
|
+
# MixerMutationRequestBuilder
|
16016
|
+
# @param [String] update_mask
|
16017
|
+
# The list of fields to update.
|
16018
|
+
# @param [String] fields
|
16019
|
+
# Selector specifying which fields to include in a partial response.
|
16020
|
+
# @param [String] quota_user
|
16021
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16022
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16023
|
+
# @param [String] user_ip
|
16024
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
16025
|
+
# @param [Google::Apis::RequestOptions] options
|
16026
|
+
# Request-specific options
|
16027
|
+
#
|
16028
|
+
# @yield [result, err] Result & error if block supplied
|
16029
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
16030
|
+
# @yieldparam err [StandardError] error object if request failed
|
16031
|
+
#
|
16032
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
16033
|
+
#
|
16034
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16035
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16036
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16037
|
+
def patch_interconnect_attachment_group(project, interconnect_attachment_group, interconnect_attachment_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16038
|
+
command = make_simple_command(:patch, 'projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}', options)
|
16039
|
+
command.request_representation = Google::Apis::ComputeV1::InterconnectAttachmentGroup::Representation
|
16040
|
+
command.request_object = interconnect_attachment_group_object
|
16041
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16042
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
16043
|
+
command.params['project'] = project unless project.nil?
|
16044
|
+
command.params['interconnectAttachmentGroup'] = interconnect_attachment_group unless interconnect_attachment_group.nil?
|
16045
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
16046
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
16047
|
+
command.query['fields'] = fields unless fields.nil?
|
16048
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16049
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16050
|
+
execute_or_queue_command(command, &block)
|
16051
|
+
end
|
16052
|
+
|
16053
|
+
# Sets the access control policy on the specified resource. Replaces any
|
16054
|
+
# existing policy.
|
16055
|
+
# @param [String] project
|
16056
|
+
# Project ID for this request.
|
16057
|
+
# @param [String] resource
|
16058
|
+
# Name or id of the resource for this request.
|
16059
|
+
# @param [Google::Apis::ComputeV1::GlobalSetPolicyRequest] global_set_policy_request_object
|
16060
|
+
# @param [String] fields
|
16061
|
+
# Selector specifying which fields to include in a partial response.
|
16062
|
+
# @param [String] quota_user
|
16063
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16064
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16065
|
+
# @param [String] user_ip
|
16066
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
16067
|
+
# @param [Google::Apis::RequestOptions] options
|
16068
|
+
# Request-specific options
|
16069
|
+
#
|
16070
|
+
# @yield [result, err] Result & error if block supplied
|
16071
|
+
# @yieldparam result [Google::Apis::ComputeV1::Policy] parsed result object
|
16072
|
+
# @yieldparam err [StandardError] error object if request failed
|
16073
|
+
#
|
16074
|
+
# @return [Google::Apis::ComputeV1::Policy]
|
16075
|
+
#
|
16076
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16077
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16078
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16079
|
+
def set_interconnect_attachment_group_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16080
|
+
command = make_simple_command(:post, 'projects/{project}/global/interconnectAttachmentGroups/{resource}/setIamPolicy', options)
|
16081
|
+
command.request_representation = Google::Apis::ComputeV1::GlobalSetPolicyRequest::Representation
|
16082
|
+
command.request_object = global_set_policy_request_object
|
16083
|
+
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
16084
|
+
command.response_class = Google::Apis::ComputeV1::Policy
|
16085
|
+
command.params['project'] = project unless project.nil?
|
16086
|
+
command.params['resource'] = resource unless resource.nil?
|
16087
|
+
command.query['fields'] = fields unless fields.nil?
|
16088
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16089
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16090
|
+
execute_or_queue_command(command, &block)
|
16091
|
+
end
|
16092
|
+
|
16093
|
+
# Returns permissions that a caller has on the specified resource.
|
16094
|
+
# @param [String] project
|
16095
|
+
# Project ID for this request.
|
16096
|
+
# @param [String] resource
|
16097
|
+
# Name or id of the resource for this request.
|
16098
|
+
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
16099
|
+
# @param [String] fields
|
16100
|
+
# Selector specifying which fields to include in a partial response.
|
16101
|
+
# @param [String] quota_user
|
16102
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16103
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16104
|
+
# @param [String] user_ip
|
16105
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
16106
|
+
# @param [Google::Apis::RequestOptions] options
|
16107
|
+
# Request-specific options
|
16108
|
+
#
|
16109
|
+
# @yield [result, err] Result & error if block supplied
|
16110
|
+
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
16111
|
+
# @yieldparam err [StandardError] error object if request failed
|
16112
|
+
#
|
16113
|
+
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
16114
|
+
#
|
16115
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16116
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16117
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16118
|
+
def test_interconnect_attachment_group_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16119
|
+
command = make_simple_command(:post, 'projects/{project}/global/interconnectAttachmentGroups/{resource}/testIamPermissions', options)
|
16120
|
+
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
16121
|
+
command.request_object = test_permissions_request_object
|
16122
|
+
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
16123
|
+
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
16124
|
+
command.params['project'] = project unless project.nil?
|
16125
|
+
command.params['resource'] = resource unless resource.nil?
|
16126
|
+
command.query['fields'] = fields unless fields.nil?
|
16127
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16128
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16129
|
+
execute_or_queue_command(command, &block)
|
16130
|
+
end
|
16131
|
+
|
15696
16132
|
# Retrieves an aggregated list of interconnect attachments. To prevent failure,
|
15697
16133
|
# Google recommends that you set the `returnPartialSuccess` parameter to `true`.
|
15698
16134
|
# @param [String] project
|
@@ -15729,13 +16165,255 @@ module Google
|
|
15729
16165
|
# instances that do not end with name "instance", you would use `name ne .*
|
15730
16166
|
# instance`. You cannot combine constraints on multiple fields using regular
|
15731
16167
|
# expressions.
|
15732
|
-
# @param [Boolean] include_all_scopes
|
15733
|
-
# Indicates whether every visible scope for each scope type (zone, region,
|
15734
|
-
# global) should be included in the response. For new resource types added after
|
15735
|
-
# this field, the flag has no effect as new resource types will always include
|
15736
|
-
# every visible scope for each scope type in response. For resource types which
|
15737
|
-
# predate this field, if this flag is omitted or false, only scopes of the scope
|
15738
|
-
# types where the resource type is expected to be found will be included.
|
16168
|
+
# @param [Boolean] include_all_scopes
|
16169
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
16170
|
+
# global) should be included in the response. For new resource types added after
|
16171
|
+
# this field, the flag has no effect as new resource types will always include
|
16172
|
+
# every visible scope for each scope type in response. For resource types which
|
16173
|
+
# predate this field, if this flag is omitted or false, only scopes of the scope
|
16174
|
+
# types where the resource type is expected to be found will be included.
|
16175
|
+
# @param [Fixnum] max_results
|
16176
|
+
# The maximum number of results per page that should be returned. If the number
|
16177
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
16178
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
16179
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
16180
|
+
# @param [String] order_by
|
16181
|
+
# Sorts list results by a certain order. By default, results are returned in
|
16182
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
16183
|
+
# descending order based on the creation timestamp using `orderBy="
|
16184
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
16185
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
16186
|
+
# resources like operations so that the newest operation is returned first.
|
16187
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
16188
|
+
# @param [String] page_token
|
16189
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
16190
|
+
# by a previous list request to get the next page of results.
|
16191
|
+
# @param [Boolean] return_partial_success
|
16192
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
16193
|
+
# failure. The default value is false. For example, when partial success
|
16194
|
+
# behavior is enabled, aggregatedList for a single zone scope either returns all
|
16195
|
+
# resources in the zone or no resources, with an error code.
|
16196
|
+
# @param [Fixnum] service_project_number
|
16197
|
+
# The Shared VPC service project id or service project number for which
|
16198
|
+
# aggregated list request is invoked for subnetworks list-usable api.
|
16199
|
+
# @param [String] fields
|
16200
|
+
# Selector specifying which fields to include in a partial response.
|
16201
|
+
# @param [String] quota_user
|
16202
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16203
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16204
|
+
# @param [String] user_ip
|
16205
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
16206
|
+
# @param [Google::Apis::RequestOptions] options
|
16207
|
+
# Request-specific options
|
16208
|
+
#
|
16209
|
+
# @yield [result, err] Result & error if block supplied
|
16210
|
+
# @yieldparam result [Google::Apis::ComputeV1::InterconnectAttachmentAggregatedList] parsed result object
|
16211
|
+
# @yieldparam err [StandardError] error object if request failed
|
16212
|
+
#
|
16213
|
+
# @return [Google::Apis::ComputeV1::InterconnectAttachmentAggregatedList]
|
16214
|
+
#
|
16215
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16216
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16217
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16218
|
+
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, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16219
|
+
command = make_simple_command(:get, 'projects/{project}/aggregated/interconnectAttachments', options)
|
16220
|
+
command.response_representation = Google::Apis::ComputeV1::InterconnectAttachmentAggregatedList::Representation
|
16221
|
+
command.response_class = Google::Apis::ComputeV1::InterconnectAttachmentAggregatedList
|
16222
|
+
command.params['project'] = project unless project.nil?
|
16223
|
+
command.query['filter'] = filter unless filter.nil?
|
16224
|
+
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
|
16225
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
16226
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
16227
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
16228
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
16229
|
+
command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
|
16230
|
+
command.query['fields'] = fields unless fields.nil?
|
16231
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16232
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16233
|
+
execute_or_queue_command(command, &block)
|
16234
|
+
end
|
16235
|
+
|
16236
|
+
# Deletes the specified interconnect attachment.
|
16237
|
+
# @param [String] project
|
16238
|
+
# Project ID for this request.
|
16239
|
+
# @param [String] region
|
16240
|
+
# Name of the region for this request.
|
16241
|
+
# @param [String] interconnect_attachment
|
16242
|
+
# Name of the interconnect attachment to delete.
|
16243
|
+
# @param [String] request_id
|
16244
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
16245
|
+
# that if you must retry your request, the server will know to ignore the
|
16246
|
+
# request if it has already been completed. For example, consider a situation
|
16247
|
+
# where you make an initial request and the request times out. If you make the
|
16248
|
+
# request again with the same request ID, the server can check if original
|
16249
|
+
# operation with the same request ID was received, and if so, will ignore the
|
16250
|
+
# second request. This prevents clients from accidentally creating duplicate
|
16251
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
16252
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
16253
|
+
# @param [String] fields
|
16254
|
+
# Selector specifying which fields to include in a partial response.
|
16255
|
+
# @param [String] quota_user
|
16256
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16257
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16258
|
+
# @param [String] user_ip
|
16259
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
16260
|
+
# @param [Google::Apis::RequestOptions] options
|
16261
|
+
# Request-specific options
|
16262
|
+
#
|
16263
|
+
# @yield [result, err] Result & error if block supplied
|
16264
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
16265
|
+
# @yieldparam err [StandardError] error object if request failed
|
16266
|
+
#
|
16267
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
16268
|
+
#
|
16269
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16270
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16271
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16272
|
+
def delete_interconnect_attachment(project, region, interconnect_attachment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16273
|
+
command = make_simple_command(:delete, 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options)
|
16274
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16275
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
16276
|
+
command.params['project'] = project unless project.nil?
|
16277
|
+
command.params['region'] = region unless region.nil?
|
16278
|
+
command.params['interconnectAttachment'] = interconnect_attachment unless interconnect_attachment.nil?
|
16279
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
16280
|
+
command.query['fields'] = fields unless fields.nil?
|
16281
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16282
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16283
|
+
execute_or_queue_command(command, &block)
|
16284
|
+
end
|
16285
|
+
|
16286
|
+
# Returns the specified interconnect attachment.
|
16287
|
+
# @param [String] project
|
16288
|
+
# Project ID for this request.
|
16289
|
+
# @param [String] region
|
16290
|
+
# Name of the region for this request.
|
16291
|
+
# @param [String] interconnect_attachment
|
16292
|
+
# Name of the interconnect attachment to return.
|
16293
|
+
# @param [String] fields
|
16294
|
+
# Selector specifying which fields to include in a partial response.
|
16295
|
+
# @param [String] quota_user
|
16296
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16297
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16298
|
+
# @param [String] user_ip
|
16299
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
16300
|
+
# @param [Google::Apis::RequestOptions] options
|
16301
|
+
# Request-specific options
|
16302
|
+
#
|
16303
|
+
# @yield [result, err] Result & error if block supplied
|
16304
|
+
# @yieldparam result [Google::Apis::ComputeV1::InterconnectAttachment] parsed result object
|
16305
|
+
# @yieldparam err [StandardError] error object if request failed
|
16306
|
+
#
|
16307
|
+
# @return [Google::Apis::ComputeV1::InterconnectAttachment]
|
16308
|
+
#
|
16309
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16310
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16311
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16312
|
+
def get_interconnect_attachment(project, region, interconnect_attachment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16313
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options)
|
16314
|
+
command.response_representation = Google::Apis::ComputeV1::InterconnectAttachment::Representation
|
16315
|
+
command.response_class = Google::Apis::ComputeV1::InterconnectAttachment
|
16316
|
+
command.params['project'] = project unless project.nil?
|
16317
|
+
command.params['region'] = region unless region.nil?
|
16318
|
+
command.params['interconnectAttachment'] = interconnect_attachment unless interconnect_attachment.nil?
|
16319
|
+
command.query['fields'] = fields unless fields.nil?
|
16320
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16321
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16322
|
+
execute_or_queue_command(command, &block)
|
16323
|
+
end
|
16324
|
+
|
16325
|
+
# Creates an InterconnectAttachment in the specified project using the data
|
16326
|
+
# included in the request.
|
16327
|
+
# @param [String] project
|
16328
|
+
# Project ID for this request.
|
16329
|
+
# @param [String] region
|
16330
|
+
# Name of the region for this request.
|
16331
|
+
# @param [Google::Apis::ComputeV1::InterconnectAttachment] interconnect_attachment_object
|
16332
|
+
# @param [String] request_id
|
16333
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
16334
|
+
# that if you must retry your request, the server will know to ignore the
|
16335
|
+
# request if it has already been completed. For example, consider a situation
|
16336
|
+
# where you make an initial request and the request times out. If you make the
|
16337
|
+
# request again with the same request ID, the server can check if original
|
16338
|
+
# operation with the same request ID was received, and if so, will ignore the
|
16339
|
+
# second request. This prevents clients from accidentally creating duplicate
|
16340
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
16341
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
16342
|
+
# @param [Boolean] validate_only
|
16343
|
+
# If true, the request will not be committed.
|
16344
|
+
# @param [String] fields
|
16345
|
+
# Selector specifying which fields to include in a partial response.
|
16346
|
+
# @param [String] quota_user
|
16347
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16348
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16349
|
+
# @param [String] user_ip
|
16350
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
16351
|
+
# @param [Google::Apis::RequestOptions] options
|
16352
|
+
# Request-specific options
|
16353
|
+
#
|
16354
|
+
# @yield [result, err] Result & error if block supplied
|
16355
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
16356
|
+
# @yieldparam err [StandardError] error object if request failed
|
16357
|
+
#
|
16358
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
16359
|
+
#
|
16360
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16361
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16362
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16363
|
+
def insert_interconnect_attachment(project, region, interconnect_attachment_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16364
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/interconnectAttachments', options)
|
16365
|
+
command.request_representation = Google::Apis::ComputeV1::InterconnectAttachment::Representation
|
16366
|
+
command.request_object = interconnect_attachment_object
|
16367
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16368
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
16369
|
+
command.params['project'] = project unless project.nil?
|
16370
|
+
command.params['region'] = region unless region.nil?
|
16371
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
16372
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
16373
|
+
command.query['fields'] = fields unless fields.nil?
|
16374
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16375
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16376
|
+
execute_or_queue_command(command, &block)
|
16377
|
+
end
|
16378
|
+
|
16379
|
+
# Retrieves the list of interconnect attachments contained within the specified
|
16380
|
+
# region.
|
16381
|
+
# @param [String] project
|
16382
|
+
# Project ID for this request.
|
16383
|
+
# @param [String] region
|
16384
|
+
# Name of the region for this request.
|
16385
|
+
# @param [String] filter
|
16386
|
+
# A filter expression that filters resources listed in the response. Most
|
16387
|
+
# Compute resources support two types of filter expressions: expressions that
|
16388
|
+
# support regular expressions and expressions that follow API improvement
|
16389
|
+
# proposal AIP-160. These two types of filter expressions cannot be mixed in one
|
16390
|
+
# request. If you want to use AIP-160, your expression must specify the field
|
16391
|
+
# name, an operator, and the value that you want to use for filtering. The value
|
16392
|
+
# must be a string, a number, or a boolean. The operator must be either `=`, `!=`
|
16393
|
+
# , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
16394
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
16395
|
+
# specifying `name != example-instance`. The `:*` comparison can be used to test
|
16396
|
+
# whether a key has been defined. For example, to find all objects with `owner`
|
16397
|
+
# label use: ``` labels.owner:* ``` You can also filter nested fields. For
|
16398
|
+
# example, you could specify `scheduling.automaticRestart = false` to include
|
16399
|
+
# instances only if they are not scheduled for automatic restarts. You can use
|
16400
|
+
# filtering on nested fields to filter based on resource labels. To filter on
|
16401
|
+
# multiple expressions, provide each separate expression within parentheses. For
|
16402
|
+
# example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
|
16403
|
+
# Skylake") ``` By default, each expression is an `AND` expression. However, you
|
16404
|
+
# can include `AND` and `OR` expressions explicitly. For example: ``` (
|
16405
|
+
# cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
|
16406
|
+
# scheduling.automaticRestart = true) ``` If you want to use a regular
|
16407
|
+
# expression, use the `eq` (equal) or `ne` (not equal) operator against a single
|
16408
|
+
# un-parenthesized expression with or without quotes or against multiple
|
16409
|
+
# parenthesized expressions. Examples: `fieldname eq unquoted literal` `
|
16410
|
+
# fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
|
16411
|
+
# fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
|
16412
|
+
# interpreted as a regular expression using Google RE2 library syntax. The
|
16413
|
+
# literal value must match the entire field. For example, to filter for
|
16414
|
+
# instances that do not end with name "instance", you would use `name ne .*
|
16415
|
+
# instance`. You cannot combine constraints on multiple fields using regular
|
16416
|
+
# expressions.
|
15739
16417
|
# @param [Fixnum] max_results
|
15740
16418
|
# The maximum number of results per page that should be returned. If the number
|
15741
16419
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
@@ -15757,9 +16435,6 @@ module Google
|
|
15757
16435
|
# failure. The default value is false. For example, when partial success
|
15758
16436
|
# behavior is enabled, aggregatedList for a single zone scope either returns all
|
15759
16437
|
# resources in the zone or no resources, with an error code.
|
15760
|
-
# @param [Fixnum] service_project_number
|
15761
|
-
# The Shared VPC service project id or service project number for which
|
15762
|
-
# aggregated list request is invoked for subnetworks list-usable api.
|
15763
16438
|
# @param [String] fields
|
15764
16439
|
# Selector specifying which fields to include in a partial response.
|
15765
16440
|
# @param [String] quota_user
|
@@ -15771,49 +16446,233 @@ module Google
|
|
15771
16446
|
# Request-specific options
|
15772
16447
|
#
|
15773
16448
|
# @yield [result, err] Result & error if block supplied
|
15774
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
16449
|
+
# @yieldparam result [Google::Apis::ComputeV1::InterconnectAttachmentList] parsed result object
|
16450
|
+
# @yieldparam err [StandardError] error object if request failed
|
16451
|
+
#
|
16452
|
+
# @return [Google::Apis::ComputeV1::InterconnectAttachmentList]
|
16453
|
+
#
|
16454
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16455
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16456
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16457
|
+
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)
|
16458
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/interconnectAttachments', options)
|
16459
|
+
command.response_representation = Google::Apis::ComputeV1::InterconnectAttachmentList::Representation
|
16460
|
+
command.response_class = Google::Apis::ComputeV1::InterconnectAttachmentList
|
16461
|
+
command.params['project'] = project unless project.nil?
|
16462
|
+
command.params['region'] = region unless region.nil?
|
16463
|
+
command.query['filter'] = filter unless filter.nil?
|
16464
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
16465
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
16466
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
16467
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
16468
|
+
command.query['fields'] = fields unless fields.nil?
|
16469
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16470
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16471
|
+
execute_or_queue_command(command, &block)
|
16472
|
+
end
|
16473
|
+
|
16474
|
+
# Updates the specified interconnect attachment with the data included in the
|
16475
|
+
# request. This method supports PATCH semantics and uses the JSON merge patch
|
16476
|
+
# format and processing rules.
|
16477
|
+
# @param [String] project
|
16478
|
+
# Project ID for this request.
|
16479
|
+
# @param [String] region
|
16480
|
+
# Name of the region scoping this request.
|
16481
|
+
# @param [String] interconnect_attachment
|
16482
|
+
# Name of the interconnect attachment to patch.
|
16483
|
+
# @param [Google::Apis::ComputeV1::InterconnectAttachment] interconnect_attachment_object
|
16484
|
+
# @param [String] request_id
|
16485
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
16486
|
+
# that if you must retry your request, the server will know to ignore the
|
16487
|
+
# request if it has already been completed. For example, consider a situation
|
16488
|
+
# where you make an initial request and the request times out. If you make the
|
16489
|
+
# request again with the same request ID, the server can check if original
|
16490
|
+
# operation with the same request ID was received, and if so, will ignore the
|
16491
|
+
# second request. This prevents clients from accidentally creating duplicate
|
16492
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
16493
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
16494
|
+
# @param [String] fields
|
16495
|
+
# Selector specifying which fields to include in a partial response.
|
16496
|
+
# @param [String] quota_user
|
16497
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16498
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16499
|
+
# @param [String] user_ip
|
16500
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
16501
|
+
# @param [Google::Apis::RequestOptions] options
|
16502
|
+
# Request-specific options
|
16503
|
+
#
|
16504
|
+
# @yield [result, err] Result & error if block supplied
|
16505
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
16506
|
+
# @yieldparam err [StandardError] error object if request failed
|
16507
|
+
#
|
16508
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
16509
|
+
#
|
16510
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16511
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16512
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16513
|
+
def patch_interconnect_attachment(project, region, interconnect_attachment, interconnect_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16514
|
+
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options)
|
16515
|
+
command.request_representation = Google::Apis::ComputeV1::InterconnectAttachment::Representation
|
16516
|
+
command.request_object = interconnect_attachment_object
|
16517
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16518
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
16519
|
+
command.params['project'] = project unless project.nil?
|
16520
|
+
command.params['region'] = region unless region.nil?
|
16521
|
+
command.params['interconnectAttachment'] = interconnect_attachment unless interconnect_attachment.nil?
|
16522
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
16523
|
+
command.query['fields'] = fields unless fields.nil?
|
16524
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16525
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16526
|
+
execute_or_queue_command(command, &block)
|
16527
|
+
end
|
16528
|
+
|
16529
|
+
# Sets the labels on an InterconnectAttachment. To learn more about labels, read
|
16530
|
+
# the Labeling Resources documentation.
|
16531
|
+
# @param [String] project
|
16532
|
+
# Project ID for this request.
|
16533
|
+
# @param [String] region
|
16534
|
+
# The region for this request.
|
16535
|
+
# @param [String] resource
|
16536
|
+
# Name or id of the resource for this request.
|
16537
|
+
# @param [Google::Apis::ComputeV1::RegionSetLabelsRequest] region_set_labels_request_object
|
16538
|
+
# @param [String] request_id
|
16539
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
16540
|
+
# that if you must retry your request, the server will know to ignore the
|
16541
|
+
# request if it has already been completed. For example, consider a situation
|
16542
|
+
# where you make an initial request and the request times out. If you make the
|
16543
|
+
# request again with the same request ID, the server can check if original
|
16544
|
+
# operation with the same request ID was received, and if so, will ignore the
|
16545
|
+
# second request. This prevents clients from accidentally creating duplicate
|
16546
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
16547
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
16548
|
+
# @param [String] fields
|
16549
|
+
# Selector specifying which fields to include in a partial response.
|
16550
|
+
# @param [String] quota_user
|
16551
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16552
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16553
|
+
# @param [String] user_ip
|
16554
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
16555
|
+
# @param [Google::Apis::RequestOptions] options
|
16556
|
+
# Request-specific options
|
16557
|
+
#
|
16558
|
+
# @yield [result, err] Result & error if block supplied
|
16559
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
16560
|
+
# @yieldparam err [StandardError] error object if request failed
|
16561
|
+
#
|
16562
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
16563
|
+
#
|
16564
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16565
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16566
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16567
|
+
def set_interconnect_attachment_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16568
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels', options)
|
16569
|
+
command.request_representation = Google::Apis::ComputeV1::RegionSetLabelsRequest::Representation
|
16570
|
+
command.request_object = region_set_labels_request_object
|
16571
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16572
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
16573
|
+
command.params['project'] = project unless project.nil?
|
16574
|
+
command.params['region'] = region unless region.nil?
|
16575
|
+
command.params['resource'] = resource unless resource.nil?
|
16576
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
16577
|
+
command.query['fields'] = fields unless fields.nil?
|
16578
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16579
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16580
|
+
execute_or_queue_command(command, &block)
|
16581
|
+
end
|
16582
|
+
|
16583
|
+
# Create Interconnects with redundancy by creating them in a specified
|
16584
|
+
# interconnect group.
|
16585
|
+
# @param [String] project
|
16586
|
+
# Project ID for this request.
|
16587
|
+
# @param [String] interconnect_group
|
16588
|
+
# Name of the group resource to create members for.
|
16589
|
+
# @param [Google::Apis::ComputeV1::InterconnectGroupsCreateMembersRequest] interconnect_groups_create_members_request_object
|
16590
|
+
# @param [String] fields
|
16591
|
+
# Selector specifying which fields to include in a partial response.
|
16592
|
+
# @param [String] quota_user
|
16593
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16594
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16595
|
+
# @param [String] user_ip
|
16596
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
16597
|
+
# @param [Google::Apis::RequestOptions] options
|
16598
|
+
# Request-specific options
|
16599
|
+
#
|
16600
|
+
# @yield [result, err] Result & error if block supplied
|
16601
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
16602
|
+
# @yieldparam err [StandardError] error object if request failed
|
16603
|
+
#
|
16604
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
16605
|
+
#
|
16606
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16607
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16608
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16609
|
+
def create_interconnect_group_members(project, interconnect_group, interconnect_groups_create_members_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16610
|
+
command = make_simple_command(:post, 'projects/{project}/global/interconnectGroups/{interconnectGroup}/createMembers', options)
|
16611
|
+
command.request_representation = Google::Apis::ComputeV1::InterconnectGroupsCreateMembersRequest::Representation
|
16612
|
+
command.request_object = interconnect_groups_create_members_request_object
|
16613
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16614
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
16615
|
+
command.params['project'] = project unless project.nil?
|
16616
|
+
command.params['interconnectGroup'] = interconnect_group unless interconnect_group.nil?
|
16617
|
+
command.query['fields'] = fields unless fields.nil?
|
16618
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16619
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16620
|
+
execute_or_queue_command(command, &block)
|
16621
|
+
end
|
16622
|
+
|
16623
|
+
# Deletes the specified InterconnectGroup in the given scope
|
16624
|
+
# @param [String] project
|
16625
|
+
# Project ID for this request.
|
16626
|
+
# @param [String] interconnect_group
|
16627
|
+
# Name of the InterconnectGroup resource to delete.
|
16628
|
+
# @param [String] request_id
|
16629
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
16630
|
+
# that if you must retry your request, the server will know to ignore the
|
16631
|
+
# request if it has already been completed. For example, consider a situation
|
16632
|
+
# where you make an initial request and the request times out. If you make the
|
16633
|
+
# request again with the same request ID, the server can check if original
|
16634
|
+
# operation with the same request ID was received, and if so, will ignore the
|
16635
|
+
# second request. This prevents clients from accidentally creating duplicate
|
16636
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
16637
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
16638
|
+
# MixerMutationRequestBuilder
|
16639
|
+
# @param [String] fields
|
16640
|
+
# Selector specifying which fields to include in a partial response.
|
16641
|
+
# @param [String] quota_user
|
16642
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16643
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16644
|
+
# @param [String] user_ip
|
16645
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
16646
|
+
# @param [Google::Apis::RequestOptions] options
|
16647
|
+
# Request-specific options
|
16648
|
+
#
|
16649
|
+
# @yield [result, err] Result & error if block supplied
|
16650
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
15775
16651
|
# @yieldparam err [StandardError] error object if request failed
|
15776
16652
|
#
|
15777
|
-
# @return [Google::Apis::ComputeV1::
|
16653
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
15778
16654
|
#
|
15779
16655
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15780
16656
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15781
16657
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15782
|
-
def
|
15783
|
-
command = make_simple_command(:
|
15784
|
-
command.response_representation = Google::Apis::ComputeV1::
|
15785
|
-
command.response_class = Google::Apis::ComputeV1::
|
16658
|
+
def delete_interconnect_group(project, interconnect_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16659
|
+
command = make_simple_command(:delete, 'projects/{project}/global/interconnectGroups/{interconnectGroup}', options)
|
16660
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16661
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
15786
16662
|
command.params['project'] = project unless project.nil?
|
15787
|
-
command.
|
15788
|
-
command.query['
|
15789
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
15790
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
15791
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
15792
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
15793
|
-
command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
|
16663
|
+
command.params['interconnectGroup'] = interconnect_group unless interconnect_group.nil?
|
16664
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
15794
16665
|
command.query['fields'] = fields unless fields.nil?
|
15795
16666
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15796
16667
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
15797
16668
|
execute_or_queue_command(command, &block)
|
15798
16669
|
end
|
15799
16670
|
|
15800
|
-
#
|
16671
|
+
# Returns the specified InterconnectGroup resource in the given scope.
|
15801
16672
|
# @param [String] project
|
15802
16673
|
# Project ID for this request.
|
15803
|
-
# @param [String]
|
15804
|
-
# Name of the
|
15805
|
-
# @param [String] interconnect_attachment
|
15806
|
-
# Name of the interconnect attachment to delete.
|
15807
|
-
# @param [String] request_id
|
15808
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
15809
|
-
# that if you must retry your request, the server will know to ignore the
|
15810
|
-
# request if it has already been completed. For example, consider a situation
|
15811
|
-
# where you make an initial request and the request times out. If you make the
|
15812
|
-
# request again with the same request ID, the server can check if original
|
15813
|
-
# operation with the same request ID was received, and if so, will ignore the
|
15814
|
-
# second request. This prevents clients from accidentally creating duplicate
|
15815
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
15816
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
16674
|
+
# @param [String] interconnect_group
|
16675
|
+
# Name of the InterconnectGroup resource to return.
|
15817
16676
|
# @param [String] fields
|
15818
16677
|
# Selector specifying which fields to include in a partial response.
|
15819
16678
|
# @param [String] quota_user
|
@@ -15825,35 +16684,34 @@ module Google
|
|
15825
16684
|
# Request-specific options
|
15826
16685
|
#
|
15827
16686
|
# @yield [result, err] Result & error if block supplied
|
15828
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
16687
|
+
# @yieldparam result [Google::Apis::ComputeV1::InterconnectGroup] parsed result object
|
15829
16688
|
# @yieldparam err [StandardError] error object if request failed
|
15830
16689
|
#
|
15831
|
-
# @return [Google::Apis::ComputeV1::
|
16690
|
+
# @return [Google::Apis::ComputeV1::InterconnectGroup]
|
15832
16691
|
#
|
15833
16692
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15834
16693
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15835
16694
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15836
|
-
def
|
15837
|
-
command = make_simple_command(:
|
15838
|
-
command.response_representation = Google::Apis::ComputeV1::
|
15839
|
-
command.response_class = Google::Apis::ComputeV1::
|
16695
|
+
def get_interconnect_group(project, interconnect_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16696
|
+
command = make_simple_command(:get, 'projects/{project}/global/interconnectGroups/{interconnectGroup}', options)
|
16697
|
+
command.response_representation = Google::Apis::ComputeV1::InterconnectGroup::Representation
|
16698
|
+
command.response_class = Google::Apis::ComputeV1::InterconnectGroup
|
15840
16699
|
command.params['project'] = project unless project.nil?
|
15841
|
-
command.params['
|
15842
|
-
command.params['interconnectAttachment'] = interconnect_attachment unless interconnect_attachment.nil?
|
15843
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
16700
|
+
command.params['interconnectGroup'] = interconnect_group unless interconnect_group.nil?
|
15844
16701
|
command.query['fields'] = fields unless fields.nil?
|
15845
16702
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15846
16703
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
15847
16704
|
execute_or_queue_command(command, &block)
|
15848
16705
|
end
|
15849
16706
|
|
15850
|
-
#
|
16707
|
+
# Gets the access control policy for a resource. May be empty if no such policy
|
16708
|
+
# or resource exists.
|
15851
16709
|
# @param [String] project
|
15852
16710
|
# Project ID for this request.
|
15853
|
-
# @param [String]
|
15854
|
-
# Name of the
|
15855
|
-
# @param [
|
15856
|
-
#
|
16711
|
+
# @param [String] resource
|
16712
|
+
# Name or id of the resource for this request.
|
16713
|
+
# @param [Fixnum] options_requested_policy_version
|
16714
|
+
# Requested IAM Policy version.
|
15857
16715
|
# @param [String] fields
|
15858
16716
|
# Selector specifying which fields to include in a partial response.
|
15859
16717
|
# @param [String] quota_user
|
@@ -15865,34 +16723,68 @@ module Google
|
|
15865
16723
|
# Request-specific options
|
15866
16724
|
#
|
15867
16725
|
# @yield [result, err] Result & error if block supplied
|
15868
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
16726
|
+
# @yieldparam result [Google::Apis::ComputeV1::Policy] parsed result object
|
15869
16727
|
# @yieldparam err [StandardError] error object if request failed
|
15870
16728
|
#
|
15871
|
-
# @return [Google::Apis::ComputeV1::
|
16729
|
+
# @return [Google::Apis::ComputeV1::Policy]
|
15872
16730
|
#
|
15873
16731
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15874
16732
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15875
16733
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15876
|
-
def
|
15877
|
-
command = make_simple_command(:get, 'projects/{project}/
|
15878
|
-
command.response_representation = Google::Apis::ComputeV1::
|
15879
|
-
command.response_class = Google::Apis::ComputeV1::
|
16734
|
+
def get_interconnect_group_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16735
|
+
command = make_simple_command(:get, 'projects/{project}/global/interconnectGroups/{resource}/getIamPolicy', options)
|
16736
|
+
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
16737
|
+
command.response_class = Google::Apis::ComputeV1::Policy
|
15880
16738
|
command.params['project'] = project unless project.nil?
|
15881
|
-
command.params['
|
15882
|
-
command.
|
16739
|
+
command.params['resource'] = resource unless resource.nil?
|
16740
|
+
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
15883
16741
|
command.query['fields'] = fields unless fields.nil?
|
15884
16742
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15885
16743
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
15886
16744
|
execute_or_queue_command(command, &block)
|
15887
16745
|
end
|
15888
16746
|
|
15889
|
-
#
|
15890
|
-
# included in the request.
|
16747
|
+
# Returns the interconnectStatuses for the specified InterconnectGroup.
|
15891
16748
|
# @param [String] project
|
15892
16749
|
# Project ID for this request.
|
15893
|
-
# @param [String]
|
15894
|
-
# Name of the
|
15895
|
-
# @param [
|
16750
|
+
# @param [String] interconnect_group
|
16751
|
+
# Name of the interconnectGroup resource to query.
|
16752
|
+
# @param [String] fields
|
16753
|
+
# Selector specifying which fields to include in a partial response.
|
16754
|
+
# @param [String] quota_user
|
16755
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16756
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16757
|
+
# @param [String] user_ip
|
16758
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
16759
|
+
# @param [Google::Apis::RequestOptions] options
|
16760
|
+
# Request-specific options
|
16761
|
+
#
|
16762
|
+
# @yield [result, err] Result & error if block supplied
|
16763
|
+
# @yieldparam result [Google::Apis::ComputeV1::InterconnectGroupsGetOperationalStatusResponse] parsed result object
|
16764
|
+
# @yieldparam err [StandardError] error object if request failed
|
16765
|
+
#
|
16766
|
+
# @return [Google::Apis::ComputeV1::InterconnectGroupsGetOperationalStatusResponse]
|
16767
|
+
#
|
16768
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16769
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16770
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16771
|
+
def get_interconnect_group_operational_status(project, interconnect_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16772
|
+
command = make_simple_command(:get, 'projects/{project}/global/interconnectGroups/{interconnectGroup}/getOperationalStatus', options)
|
16773
|
+
command.response_representation = Google::Apis::ComputeV1::InterconnectGroupsGetOperationalStatusResponse::Representation
|
16774
|
+
command.response_class = Google::Apis::ComputeV1::InterconnectGroupsGetOperationalStatusResponse
|
16775
|
+
command.params['project'] = project unless project.nil?
|
16776
|
+
command.params['interconnectGroup'] = interconnect_group unless interconnect_group.nil?
|
16777
|
+
command.query['fields'] = fields unless fields.nil?
|
16778
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16779
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16780
|
+
execute_or_queue_command(command, &block)
|
16781
|
+
end
|
16782
|
+
|
16783
|
+
# Creates a InterconnectGroup in the specified project in the given scope using
|
16784
|
+
# the parameters that are included in the request.
|
16785
|
+
# @param [String] project
|
16786
|
+
# Project ID for this request.
|
16787
|
+
# @param [Google::Apis::ComputeV1::InterconnectGroup] interconnect_group_object
|
15896
16788
|
# @param [String] request_id
|
15897
16789
|
# An optional request ID to identify requests. Specify a unique request ID so
|
15898
16790
|
# that if you must retry your request, the server will know to ignore the
|
@@ -15902,9 +16794,8 @@ module Google
|
|
15902
16794
|
# operation with the same request ID was received, and if so, will ignore the
|
15903
16795
|
# second request. This prevents clients from accidentally creating duplicate
|
15904
16796
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
15905
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
15906
|
-
#
|
15907
|
-
# If true, the request will not be committed.
|
16797
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
16798
|
+
# MixerMutationRequestBuilder
|
15908
16799
|
# @param [String] fields
|
15909
16800
|
# Selector specifying which fields to include in a partial response.
|
15910
16801
|
# @param [String] quota_user
|
@@ -15924,28 +16815,23 @@ module Google
|
|
15924
16815
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15925
16816
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15926
16817
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15927
|
-
def
|
15928
|
-
command = make_simple_command(:post, 'projects/{project}/
|
15929
|
-
command.request_representation = Google::Apis::ComputeV1::
|
15930
|
-
command.request_object =
|
16818
|
+
def insert_interconnect_group(project, interconnect_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16819
|
+
command = make_simple_command(:post, 'projects/{project}/global/interconnectGroups', options)
|
16820
|
+
command.request_representation = Google::Apis::ComputeV1::InterconnectGroup::Representation
|
16821
|
+
command.request_object = interconnect_group_object
|
15931
16822
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
15932
16823
|
command.response_class = Google::Apis::ComputeV1::Operation
|
15933
16824
|
command.params['project'] = project unless project.nil?
|
15934
|
-
command.params['region'] = region unless region.nil?
|
15935
16825
|
command.query['requestId'] = request_id unless request_id.nil?
|
15936
|
-
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
15937
16826
|
command.query['fields'] = fields unless fields.nil?
|
15938
16827
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15939
16828
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
15940
16829
|
execute_or_queue_command(command, &block)
|
15941
16830
|
end
|
15942
16831
|
|
15943
|
-
#
|
15944
|
-
# region.
|
16832
|
+
# Lists the InterconnectGroups for a project in the given scope.
|
15945
16833
|
# @param [String] project
|
15946
16834
|
# Project ID for this request.
|
15947
|
-
# @param [String] region
|
15948
|
-
# Name of the region for this request.
|
15949
16835
|
# @param [String] filter
|
15950
16836
|
# A filter expression that filters resources listed in the response. Most
|
15951
16837
|
# Compute resources support two types of filter expressions: expressions that
|
@@ -16010,20 +16896,19 @@ module Google
|
|
16010
16896
|
# Request-specific options
|
16011
16897
|
#
|
16012
16898
|
# @yield [result, err] Result & error if block supplied
|
16013
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
16899
|
+
# @yieldparam result [Google::Apis::ComputeV1::InterconnectGroupsListResponse] parsed result object
|
16014
16900
|
# @yieldparam err [StandardError] error object if request failed
|
16015
16901
|
#
|
16016
|
-
# @return [Google::Apis::ComputeV1::
|
16902
|
+
# @return [Google::Apis::ComputeV1::InterconnectGroupsListResponse]
|
16017
16903
|
#
|
16018
16904
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16019
16905
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16020
16906
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16021
|
-
def
|
16022
|
-
command = make_simple_command(:get, 'projects/{project}/
|
16023
|
-
command.response_representation = Google::Apis::ComputeV1::
|
16024
|
-
command.response_class = Google::Apis::ComputeV1::
|
16907
|
+
def list_interconnect_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)
|
16908
|
+
command = make_simple_command(:get, 'projects/{project}/global/interconnectGroups', options)
|
16909
|
+
command.response_representation = Google::Apis::ComputeV1::InterconnectGroupsListResponse::Representation
|
16910
|
+
command.response_class = Google::Apis::ComputeV1::InterconnectGroupsListResponse
|
16025
16911
|
command.params['project'] = project unless project.nil?
|
16026
|
-
command.params['region'] = region unless region.nil?
|
16027
16912
|
command.query['filter'] = filter unless filter.nil?
|
16028
16913
|
command.query['maxResults'] = max_results unless max_results.nil?
|
16029
16914
|
command.query['orderBy'] = order_by unless order_by.nil?
|
@@ -16035,16 +16920,14 @@ module Google
|
|
16035
16920
|
execute_or_queue_command(command, &block)
|
16036
16921
|
end
|
16037
16922
|
|
16038
|
-
#
|
16039
|
-
# request. This method supports PATCH semantics and uses
|
16040
|
-
#
|
16923
|
+
# Patches the specified InterconnectGroup resource with the data included in the
|
16924
|
+
# request. This method supports PATCH semantics and uses JSON merge patch format
|
16925
|
+
# and processing rules.
|
16041
16926
|
# @param [String] project
|
16042
16927
|
# Project ID for this request.
|
16043
|
-
# @param [String]
|
16044
|
-
# Name of the
|
16045
|
-
# @param [
|
16046
|
-
# Name of the interconnect attachment to patch.
|
16047
|
-
# @param [Google::Apis::ComputeV1::InterconnectAttachment] interconnect_attachment_object
|
16928
|
+
# @param [String] interconnect_group
|
16929
|
+
# Name of the InterconnectGroup resource to patch.
|
16930
|
+
# @param [Google::Apis::ComputeV1::InterconnectGroup] interconnect_group_object
|
16048
16931
|
# @param [String] request_id
|
16049
16932
|
# An optional request ID to identify requests. Specify a unique request ID so
|
16050
16933
|
# that if you must retry your request, the server will know to ignore the
|
@@ -16054,7 +16937,10 @@ module Google
|
|
16054
16937
|
# operation with the same request ID was received, and if so, will ignore the
|
16055
16938
|
# second request. This prevents clients from accidentally creating duplicate
|
16056
16939
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
16057
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
16940
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
16941
|
+
# MixerMutationRequestBuilder
|
16942
|
+
# @param [String] update_mask
|
16943
|
+
# The list of fields to update.
|
16058
16944
|
# @param [String] fields
|
16059
16945
|
# Selector specifying which fields to include in a partial response.
|
16060
16946
|
# @param [String] quota_user
|
@@ -16074,41 +16960,29 @@ module Google
|
|
16074
16960
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16075
16961
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16076
16962
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16077
|
-
def
|
16078
|
-
command = make_simple_command(:patch, 'projects/{project}/
|
16079
|
-
command.request_representation = Google::Apis::ComputeV1::
|
16080
|
-
command.request_object =
|
16963
|
+
def patch_interconnect_group(project, interconnect_group, interconnect_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16964
|
+
command = make_simple_command(:patch, 'projects/{project}/global/interconnectGroups/{interconnectGroup}', options)
|
16965
|
+
command.request_representation = Google::Apis::ComputeV1::InterconnectGroup::Representation
|
16966
|
+
command.request_object = interconnect_group_object
|
16081
16967
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16082
16968
|
command.response_class = Google::Apis::ComputeV1::Operation
|
16083
16969
|
command.params['project'] = project unless project.nil?
|
16084
|
-
command.params['
|
16085
|
-
command.params['interconnectAttachment'] = interconnect_attachment unless interconnect_attachment.nil?
|
16970
|
+
command.params['interconnectGroup'] = interconnect_group unless interconnect_group.nil?
|
16086
16971
|
command.query['requestId'] = request_id unless request_id.nil?
|
16972
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
16087
16973
|
command.query['fields'] = fields unless fields.nil?
|
16088
16974
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16089
16975
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
16090
16976
|
execute_or_queue_command(command, &block)
|
16091
16977
|
end
|
16092
16978
|
|
16093
|
-
# Sets the
|
16094
|
-
#
|
16979
|
+
# Sets the access control policy on the specified resource. Replaces any
|
16980
|
+
# existing policy.
|
16095
16981
|
# @param [String] project
|
16096
16982
|
# Project ID for this request.
|
16097
|
-
# @param [String] region
|
16098
|
-
# The region for this request.
|
16099
16983
|
# @param [String] resource
|
16100
16984
|
# Name or id of the resource for this request.
|
16101
|
-
# @param [Google::Apis::ComputeV1::
|
16102
|
-
# @param [String] request_id
|
16103
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
16104
|
-
# that if you must retry your request, the server will know to ignore the
|
16105
|
-
# request if it has already been completed. For example, consider a situation
|
16106
|
-
# where you make an initial request and the request times out. If you make the
|
16107
|
-
# request again with the same request ID, the server can check if original
|
16108
|
-
# operation with the same request ID was received, and if so, will ignore the
|
16109
|
-
# second request. This prevents clients from accidentally creating duplicate
|
16110
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
16111
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
16985
|
+
# @param [Google::Apis::ComputeV1::GlobalSetPolicyRequest] global_set_policy_request_object
|
16112
16986
|
# @param [String] fields
|
16113
16987
|
# Selector specifying which fields to include in a partial response.
|
16114
16988
|
# @param [String] quota_user
|
@@ -16120,24 +16994,61 @@ module Google
|
|
16120
16994
|
# Request-specific options
|
16121
16995
|
#
|
16122
16996
|
# @yield [result, err] Result & error if block supplied
|
16123
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
16997
|
+
# @yieldparam result [Google::Apis::ComputeV1::Policy] parsed result object
|
16124
16998
|
# @yieldparam err [StandardError] error object if request failed
|
16125
16999
|
#
|
16126
|
-
# @return [Google::Apis::ComputeV1::
|
17000
|
+
# @return [Google::Apis::ComputeV1::Policy]
|
16127
17001
|
#
|
16128
17002
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16129
17003
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16130
17004
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16131
|
-
def
|
16132
|
-
command = make_simple_command(:post, 'projects/{project}/
|
16133
|
-
command.request_representation = Google::Apis::ComputeV1::
|
16134
|
-
command.request_object =
|
16135
|
-
command.response_representation = Google::Apis::ComputeV1::
|
16136
|
-
command.response_class = Google::Apis::ComputeV1::
|
17005
|
+
def set_interconnect_group_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17006
|
+
command = make_simple_command(:post, 'projects/{project}/global/interconnectGroups/{resource}/setIamPolicy', options)
|
17007
|
+
command.request_representation = Google::Apis::ComputeV1::GlobalSetPolicyRequest::Representation
|
17008
|
+
command.request_object = global_set_policy_request_object
|
17009
|
+
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
17010
|
+
command.response_class = Google::Apis::ComputeV1::Policy
|
17011
|
+
command.params['project'] = project unless project.nil?
|
17012
|
+
command.params['resource'] = resource unless resource.nil?
|
17013
|
+
command.query['fields'] = fields unless fields.nil?
|
17014
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17015
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
17016
|
+
execute_or_queue_command(command, &block)
|
17017
|
+
end
|
17018
|
+
|
17019
|
+
# Returns permissions that a caller has on the specified resource.
|
17020
|
+
# @param [String] project
|
17021
|
+
# Project ID for this request.
|
17022
|
+
# @param [String] resource
|
17023
|
+
# Name or id of the resource for this request.
|
17024
|
+
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
17025
|
+
# @param [String] fields
|
17026
|
+
# Selector specifying which fields to include in a partial response.
|
17027
|
+
# @param [String] quota_user
|
17028
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
17029
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
17030
|
+
# @param [String] user_ip
|
17031
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
17032
|
+
# @param [Google::Apis::RequestOptions] options
|
17033
|
+
# Request-specific options
|
17034
|
+
#
|
17035
|
+
# @yield [result, err] Result & error if block supplied
|
17036
|
+
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
17037
|
+
# @yieldparam err [StandardError] error object if request failed
|
17038
|
+
#
|
17039
|
+
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
17040
|
+
#
|
17041
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17042
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17043
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17044
|
+
def test_interconnect_group_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17045
|
+
command = make_simple_command(:post, 'projects/{project}/global/interconnectGroups/{resource}/testIamPermissions', options)
|
17046
|
+
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
17047
|
+
command.request_object = test_permissions_request_object
|
17048
|
+
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
17049
|
+
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
16137
17050
|
command.params['project'] = project unless project.nil?
|
16138
|
-
command.params['region'] = region unless region.nil?
|
16139
17051
|
command.params['resource'] = resource unless resource.nil?
|
16140
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
16141
17052
|
command.query['fields'] = fields unless fields.nil?
|
16142
17053
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16143
17054
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -17221,7 +18132,62 @@ module Google
|
|
17221
18132
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
17222
18133
|
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
17223
18134
|
command.params['project'] = project unless project.nil?
|
17224
|
-
command.params['resource'] = resource unless resource.nil?
|
18135
|
+
command.params['resource'] = resource unless resource.nil?
|
18136
|
+
command.query['fields'] = fields unless fields.nil?
|
18137
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18138
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
18139
|
+
execute_or_queue_command(command, &block)
|
18140
|
+
end
|
18141
|
+
|
18142
|
+
# Updates a License resource in the specified project. *Caution* This resource
|
18143
|
+
# is intended for use only by third-party partners who are creating Cloud
|
18144
|
+
# Marketplace images.
|
18145
|
+
# @param [String] project
|
18146
|
+
# Project ID for this request.
|
18147
|
+
# @param [String] license
|
18148
|
+
# The license name for this request.
|
18149
|
+
# @param [Google::Apis::ComputeV1::License] license_object
|
18150
|
+
# @param [String] request_id
|
18151
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
18152
|
+
# that if you must retry your request, the server will know to ignore the
|
18153
|
+
# request if it has already been completed. For example, consider a situation
|
18154
|
+
# where you make an initial request and the request times out. If you make the
|
18155
|
+
# request again with the same request ID, the server can check if original
|
18156
|
+
# operation with the same request ID was received, and if so, will ignore the
|
18157
|
+
# second request. This prevents clients from accidentally creating duplicate
|
18158
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
18159
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
18160
|
+
# @param [String] update_mask
|
18161
|
+
# update_mask indicates fields to be updated as part of this request.
|
18162
|
+
# @param [String] fields
|
18163
|
+
# Selector specifying which fields to include in a partial response.
|
18164
|
+
# @param [String] quota_user
|
18165
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18166
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18167
|
+
# @param [String] user_ip
|
18168
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
18169
|
+
# @param [Google::Apis::RequestOptions] options
|
18170
|
+
# Request-specific options
|
18171
|
+
#
|
18172
|
+
# @yield [result, err] Result & error if block supplied
|
18173
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
18174
|
+
# @yieldparam err [StandardError] error object if request failed
|
18175
|
+
#
|
18176
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
18177
|
+
#
|
18178
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18179
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18180
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18181
|
+
def update_license(project, license, license_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
18182
|
+
command = make_simple_command(:patch, 'projects/{project}/global/licenses/{license}', options)
|
18183
|
+
command.request_representation = Google::Apis::ComputeV1::License::Representation
|
18184
|
+
command.request_object = license_object
|
18185
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
18186
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
18187
|
+
command.params['project'] = project unless project.nil?
|
18188
|
+
command.params['license'] = license unless license.nil?
|
18189
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
18190
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
17225
18191
|
command.query['fields'] = fields unless fields.nil?
|
17226
18192
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17227
18193
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -17537,6 +18503,46 @@ module Google
|
|
17537
18503
|
execute_or_queue_command(command, &block)
|
17538
18504
|
end
|
17539
18505
|
|
18506
|
+
# Sets the labels on a machine image. To learn more about labels, read the
|
18507
|
+
# Labeling Resources documentation.
|
18508
|
+
# @param [String] project
|
18509
|
+
# Project ID for this request.
|
18510
|
+
# @param [String] resource
|
18511
|
+
# Name or id of the resource for this request.
|
18512
|
+
# @param [Google::Apis::ComputeV1::GlobalSetLabelsRequest] global_set_labels_request_object
|
18513
|
+
# @param [String] fields
|
18514
|
+
# Selector specifying which fields to include in a partial response.
|
18515
|
+
# @param [String] quota_user
|
18516
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18517
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18518
|
+
# @param [String] user_ip
|
18519
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
18520
|
+
# @param [Google::Apis::RequestOptions] options
|
18521
|
+
# Request-specific options
|
18522
|
+
#
|
18523
|
+
# @yield [result, err] Result & error if block supplied
|
18524
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
18525
|
+
# @yieldparam err [StandardError] error object if request failed
|
18526
|
+
#
|
18527
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
18528
|
+
#
|
18529
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18530
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18531
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18532
|
+
def set_machine_image_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
18533
|
+
command = make_simple_command(:post, 'projects/{project}/global/machineImages/{resource}/setLabels', options)
|
18534
|
+
command.request_representation = Google::Apis::ComputeV1::GlobalSetLabelsRequest::Representation
|
18535
|
+
command.request_object = global_set_labels_request_object
|
18536
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
18537
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
18538
|
+
command.params['project'] = project unless project.nil?
|
18539
|
+
command.params['resource'] = resource unless resource.nil?
|
18540
|
+
command.query['fields'] = fields unless fields.nil?
|
18541
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18542
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
18543
|
+
execute_or_queue_command(command, &block)
|
18544
|
+
end
|
18545
|
+
|
17540
18546
|
# Returns permissions that a caller has on the specified resource.
|
17541
18547
|
# @param [String] project
|
17542
18548
|
# Project ID for this request.
|
@@ -34663,6 +35669,206 @@ module Google
|
|
34663
35669
|
execute_or_queue_command(command, &block)
|
34664
35670
|
end
|
34665
35671
|
|
35672
|
+
# Retrieves information about the specified reservation block.
|
35673
|
+
# @param [String] project
|
35674
|
+
# Project ID for this request.
|
35675
|
+
# @param [String] zone
|
35676
|
+
# Name of the zone for this request. Zone name should conform to RFC1035.
|
35677
|
+
# @param [String] reservation
|
35678
|
+
# The name of the reservation. Name should conform to RFC1035 or be a resource
|
35679
|
+
# ID.
|
35680
|
+
# @param [String] reservation_block
|
35681
|
+
# The name of the reservation block. Name should conform to RFC1035 or be a
|
35682
|
+
# resource ID.
|
35683
|
+
# @param [String] fields
|
35684
|
+
# Selector specifying which fields to include in a partial response.
|
35685
|
+
# @param [String] quota_user
|
35686
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
35687
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
35688
|
+
# @param [String] user_ip
|
35689
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
35690
|
+
# @param [Google::Apis::RequestOptions] options
|
35691
|
+
# Request-specific options
|
35692
|
+
#
|
35693
|
+
# @yield [result, err] Result & error if block supplied
|
35694
|
+
# @yieldparam result [Google::Apis::ComputeV1::ReservationBlocksGetResponse] parsed result object
|
35695
|
+
# @yieldparam err [StandardError] error object if request failed
|
35696
|
+
#
|
35697
|
+
# @return [Google::Apis::ComputeV1::ReservationBlocksGetResponse]
|
35698
|
+
#
|
35699
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
35700
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
35701
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
35702
|
+
def get_reservation_block(project, zone, reservation, reservation_block, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
35703
|
+
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}', options)
|
35704
|
+
command.response_representation = Google::Apis::ComputeV1::ReservationBlocksGetResponse::Representation
|
35705
|
+
command.response_class = Google::Apis::ComputeV1::ReservationBlocksGetResponse
|
35706
|
+
command.params['project'] = project unless project.nil?
|
35707
|
+
command.params['zone'] = zone unless zone.nil?
|
35708
|
+
command.params['reservation'] = reservation unless reservation.nil?
|
35709
|
+
command.params['reservationBlock'] = reservation_block unless reservation_block.nil?
|
35710
|
+
command.query['fields'] = fields unless fields.nil?
|
35711
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
35712
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
35713
|
+
execute_or_queue_command(command, &block)
|
35714
|
+
end
|
35715
|
+
|
35716
|
+
# Retrieves a list of reservation blocks under a single reservation.
|
35717
|
+
# @param [String] project
|
35718
|
+
# Project ID for this request.
|
35719
|
+
# @param [String] zone
|
35720
|
+
# Name of the zone for this request. Zone name should conform to RFC1035.
|
35721
|
+
# @param [String] reservation
|
35722
|
+
# The name of the reservation. Name should conform to RFC1035 or be a resource
|
35723
|
+
# ID.
|
35724
|
+
# @param [String] filter
|
35725
|
+
# A filter expression that filters resources listed in the response. Most
|
35726
|
+
# Compute resources support two types of filter expressions: expressions that
|
35727
|
+
# support regular expressions and expressions that follow API improvement
|
35728
|
+
# proposal AIP-160. These two types of filter expressions cannot be mixed in one
|
35729
|
+
# request. If you want to use AIP-160, your expression must specify the field
|
35730
|
+
# name, an operator, and the value that you want to use for filtering. The value
|
35731
|
+
# must be a string, a number, or a boolean. The operator must be either `=`, `!=`
|
35732
|
+
# , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
35733
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
35734
|
+
# specifying `name != example-instance`. The `:*` comparison can be used to test
|
35735
|
+
# whether a key has been defined. For example, to find all objects with `owner`
|
35736
|
+
# label use: ``` labels.owner:* ``` You can also filter nested fields. For
|
35737
|
+
# example, you could specify `scheduling.automaticRestart = false` to include
|
35738
|
+
# instances only if they are not scheduled for automatic restarts. You can use
|
35739
|
+
# filtering on nested fields to filter based on resource labels. To filter on
|
35740
|
+
# multiple expressions, provide each separate expression within parentheses. For
|
35741
|
+
# example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
|
35742
|
+
# Skylake") ``` By default, each expression is an `AND` expression. However, you
|
35743
|
+
# can include `AND` and `OR` expressions explicitly. For example: ``` (
|
35744
|
+
# cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
|
35745
|
+
# scheduling.automaticRestart = true) ``` If you want to use a regular
|
35746
|
+
# expression, use the `eq` (equal) or `ne` (not equal) operator against a single
|
35747
|
+
# un-parenthesized expression with or without quotes or against multiple
|
35748
|
+
# parenthesized expressions. Examples: `fieldname eq unquoted literal` `
|
35749
|
+
# fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
|
35750
|
+
# fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
|
35751
|
+
# interpreted as a regular expression using Google RE2 library syntax. The
|
35752
|
+
# literal value must match the entire field. For example, to filter for
|
35753
|
+
# instances that do not end with name "instance", you would use `name ne .*
|
35754
|
+
# instance`. You cannot combine constraints on multiple fields using regular
|
35755
|
+
# expressions.
|
35756
|
+
# @param [Fixnum] max_results
|
35757
|
+
# The maximum number of results per page that should be returned. If the number
|
35758
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
35759
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
35760
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
35761
|
+
# @param [String] order_by
|
35762
|
+
# Sorts list results by a certain order. By default, results are returned in
|
35763
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
35764
|
+
# descending order based on the creation timestamp using `orderBy="
|
35765
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
35766
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
35767
|
+
# resources like operations so that the newest operation is returned first.
|
35768
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
35769
|
+
# @param [String] page_token
|
35770
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
35771
|
+
# by a previous list request to get the next page of results.
|
35772
|
+
# @param [Boolean] return_partial_success
|
35773
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
35774
|
+
# failure. The default value is false. For example, when partial success
|
35775
|
+
# behavior is enabled, aggregatedList for a single zone scope either returns all
|
35776
|
+
# resources in the zone or no resources, with an error code.
|
35777
|
+
# @param [String] fields
|
35778
|
+
# Selector specifying which fields to include in a partial response.
|
35779
|
+
# @param [String] quota_user
|
35780
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
35781
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
35782
|
+
# @param [String] user_ip
|
35783
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
35784
|
+
# @param [Google::Apis::RequestOptions] options
|
35785
|
+
# Request-specific options
|
35786
|
+
#
|
35787
|
+
# @yield [result, err] Result & error if block supplied
|
35788
|
+
# @yieldparam result [Google::Apis::ComputeV1::ReservationBlocksListResponse] parsed result object
|
35789
|
+
# @yieldparam err [StandardError] error object if request failed
|
35790
|
+
#
|
35791
|
+
# @return [Google::Apis::ComputeV1::ReservationBlocksListResponse]
|
35792
|
+
#
|
35793
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
35794
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
35795
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
35796
|
+
def list_reservation_blocks(project, zone, reservation, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
35797
|
+
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks', options)
|
35798
|
+
command.response_representation = Google::Apis::ComputeV1::ReservationBlocksListResponse::Representation
|
35799
|
+
command.response_class = Google::Apis::ComputeV1::ReservationBlocksListResponse
|
35800
|
+
command.params['project'] = project unless project.nil?
|
35801
|
+
command.params['zone'] = zone unless zone.nil?
|
35802
|
+
command.params['reservation'] = reservation unless reservation.nil?
|
35803
|
+
command.query['filter'] = filter unless filter.nil?
|
35804
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
35805
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
35806
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
35807
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
35808
|
+
command.query['fields'] = fields unless fields.nil?
|
35809
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
35810
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
35811
|
+
execute_or_queue_command(command, &block)
|
35812
|
+
end
|
35813
|
+
|
35814
|
+
# Allows customers to perform maintenance on a reservation block
|
35815
|
+
# @param [String] project
|
35816
|
+
# Project ID for this request.
|
35817
|
+
# @param [String] zone
|
35818
|
+
# Name of the zone for this request. Zone name should conform to RFC1035.
|
35819
|
+
# @param [String] reservation
|
35820
|
+
# The name of the reservation. Name should conform to RFC1035 or be a resource
|
35821
|
+
# ID.
|
35822
|
+
# @param [String] reservation_block
|
35823
|
+
# The name of the reservation block. Name should conform to RFC1035 or be a
|
35824
|
+
# resource ID.
|
35825
|
+
# @param [Google::Apis::ComputeV1::ReservationsBlocksPerformMaintenanceRequest] reservations_blocks_perform_maintenance_request_object
|
35826
|
+
# @param [String] request_id
|
35827
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
35828
|
+
# that if you must retry your request, the server will know to ignore the
|
35829
|
+
# request if it has already been completed. For example, consider a situation
|
35830
|
+
# where you make an initial request and the request times out. If you make the
|
35831
|
+
# request again with the same request ID, the server can check if original
|
35832
|
+
# operation with the same request ID was received, and if so, will ignore the
|
35833
|
+
# second request. This prevents clients from accidentally creating duplicate
|
35834
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
35835
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
35836
|
+
# @param [String] fields
|
35837
|
+
# Selector specifying which fields to include in a partial response.
|
35838
|
+
# @param [String] quota_user
|
35839
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
35840
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
35841
|
+
# @param [String] user_ip
|
35842
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
35843
|
+
# @param [Google::Apis::RequestOptions] options
|
35844
|
+
# Request-specific options
|
35845
|
+
#
|
35846
|
+
# @yield [result, err] Result & error if block supplied
|
35847
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
35848
|
+
# @yieldparam err [StandardError] error object if request failed
|
35849
|
+
#
|
35850
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
35851
|
+
#
|
35852
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
35853
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
35854
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
35855
|
+
def perform_reservation_block_maintenance(project, zone, reservation, reservation_block, reservations_blocks_perform_maintenance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
35856
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}/performMaintenance', options)
|
35857
|
+
command.request_representation = Google::Apis::ComputeV1::ReservationsBlocksPerformMaintenanceRequest::Representation
|
35858
|
+
command.request_object = reservations_blocks_perform_maintenance_request_object
|
35859
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
35860
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
35861
|
+
command.params['project'] = project unless project.nil?
|
35862
|
+
command.params['zone'] = zone unless zone.nil?
|
35863
|
+
command.params['reservation'] = reservation unless reservation.nil?
|
35864
|
+
command.params['reservationBlock'] = reservation_block unless reservation_block.nil?
|
35865
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
35866
|
+
command.query['fields'] = fields unless fields.nil?
|
35867
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
35868
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
35869
|
+
execute_or_queue_command(command, &block)
|
35870
|
+
end
|
35871
|
+
|
34666
35872
|
# Retrieves an aggregated list of reservations. To prevent failure, Google
|
34667
35873
|
# recommends that you set the `returnPartialSuccess` parameter to `true`.
|
34668
35874
|
# @param [String] project
|
@@ -35045,6 +36251,60 @@ module Google
|
|
35045
36251
|
execute_or_queue_command(command, &block)
|
35046
36252
|
end
|
35047
36253
|
|
36254
|
+
# Perform maintenance on an extended reservation
|
36255
|
+
# @param [String] project
|
36256
|
+
# Project ID for this request.
|
36257
|
+
# @param [String] zone
|
36258
|
+
# Name of the zone for this request. Zone name should conform to RFC1035.
|
36259
|
+
# @param [String] reservation
|
36260
|
+
# The name of the reservation. Name should conform to RFC1035 or be a resource
|
36261
|
+
# ID.
|
36262
|
+
# @param [Google::Apis::ComputeV1::ReservationsPerformMaintenanceRequest] reservations_perform_maintenance_request_object
|
36263
|
+
# @param [String] request_id
|
36264
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
36265
|
+
# that if you must retry your request, the server will know to ignore the
|
36266
|
+
# request if it has already been completed. For example, consider a situation
|
36267
|
+
# where you make an initial request and the request times out. If you make the
|
36268
|
+
# request again with the same request ID, the server can check if original
|
36269
|
+
# operation with the same request ID was received, and if so, will ignore the
|
36270
|
+
# second request. This prevents clients from accidentally creating duplicate
|
36271
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
36272
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
36273
|
+
# @param [String] fields
|
36274
|
+
# Selector specifying which fields to include in a partial response.
|
36275
|
+
# @param [String] quota_user
|
36276
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
36277
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
36278
|
+
# @param [String] user_ip
|
36279
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
36280
|
+
# @param [Google::Apis::RequestOptions] options
|
36281
|
+
# Request-specific options
|
36282
|
+
#
|
36283
|
+
# @yield [result, err] Result & error if block supplied
|
36284
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
36285
|
+
# @yieldparam err [StandardError] error object if request failed
|
36286
|
+
#
|
36287
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
36288
|
+
#
|
36289
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
36290
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
36291
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
36292
|
+
def perform_reservation_maintenance(project, zone, reservation, reservations_perform_maintenance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
36293
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations/{reservation}/performMaintenance', options)
|
36294
|
+
command.request_representation = Google::Apis::ComputeV1::ReservationsPerformMaintenanceRequest::Representation
|
36295
|
+
command.request_object = reservations_perform_maintenance_request_object
|
36296
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
36297
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
36298
|
+
command.params['project'] = project unless project.nil?
|
36299
|
+
command.params['zone'] = zone unless zone.nil?
|
36300
|
+
command.params['reservation'] = reservation unless reservation.nil?
|
36301
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
36302
|
+
command.query['fields'] = fields unless fields.nil?
|
36303
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
36304
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
36305
|
+
execute_or_queue_command(command, &block)
|
36306
|
+
end
|
36307
|
+
|
35048
36308
|
# Resizes the reservation (applicable to standalone reservations only). For more
|
35049
36309
|
# information, read Modifying reservations.
|
35050
36310
|
# @param [String] project
|