@@ -84,6 +84,9 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
84
84
# Lists information about the supported locations for this service.
85
85
# @param [String] name
86
86
# The resource that owns the locations collection, if applicable.
87
+ # @param [Array<String>, String] extra_location_types
88
+ # Optional. A list of extra location types that should be used as conditions for
89
+ # controlling the visibility of the locations.
87
90
# @param [String] filter
88
91
# A filter to narrow down results to a preferred subset. The filtering language
89
92
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -111,11 +114,12 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
111
114
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
112
115
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
113
116
# @raise [Google::Apis::AuthorizationError] Authorization is required
114
- def list_project_locations ( name , filter : nil , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , &block )
117
+ def list_project_locations ( name , extra_location_types : nil , filter : nil , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , &block )
115
118
command = make_simple_command ( :get , 'v1alpha/{+name}/locations' , options )
116
119
command . response_representation = Google ::Apis ::ApimV1alpha ::ListLocationsResponse ::Representation
117
120
command . response_class = Google ::Apis ::ApimV1alpha ::ListLocationsResponse
118
121
command . params [ 'name' ] = name unless name . nil?
122
+ command . query [ 'extraLocationTypes' ] = extra_location_types unless extra_location_types . nil?
119
123
command . query [ 'filter' ] = filter unless filter . nil?
120
124
command . query [ 'pageSize' ] = page_size unless page_size . nil?
121
125
command . query [ 'pageToken' ] = page_token unless page_token . nil?
@@ -746,8 +750,8 @@ def list_project_location_observation_sources(parent, page_size: nil, page_token
746
750
# Clients can use Operations.GetOperation or other methods to check whether the
747
751
# cancellation succeeded or whether the operation completed despite cancellation.
748
752
# On successful cancellation, the operation is not deleted; instead, it becomes
749
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
750
- # corresponding to `Code.CANCELLED`.
753
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
754
+ # , corresponding to `Code.CANCELLED`.
751
755
# @param [String] name
752
756
# The name of the operation resource to be cancelled.
753
757
# @param [Google::Apis::ApimV1alpha::CancelOperationRequest] cancel_operation_request_object
0 commit comments