@@ -82,6 +82,38 @@ def get_folder_location(name, fields: nil, quota_user: nil, options: nil, &block
8282 execute_or_queue_command ( command , &block )
8383 end
8484
85+ # Get Settings
86+ # @param [String] name
87+ # Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]
88+ # /locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/
89+ # settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings"
90+ # @param [String] fields
91+ # Selector specifying which fields to include in a partial response.
92+ # @param [String] quota_user
93+ # Available to use for quota purposes for server-side applications. Can be any
94+ # arbitrary string assigned to a user, but should not exceed 40 characters.
95+ # @param [Google::Apis::RequestOptions] options
96+ # Request-specific options
97+ #
98+ # @yield [result, err] Result & error if block supplied
99+ # @yieldparam result [Google::Apis::ObservabilityV1::Settings] parsed result object
100+ # @yieldparam err [StandardError] error object if request failed
101+ #
102+ # @return [Google::Apis::ObservabilityV1::Settings]
103+ #
104+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
105+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
106+ # @raise [Google::Apis::AuthorizationError] Authorization is required
107+ def get_folder_location_settings ( name , fields : nil , quota_user : nil , options : nil , &block )
108+ command = make_simple_command ( :get , 'v1/{+name}' , options )
109+ command . response_representation = Google ::Apis ::ObservabilityV1 ::Settings ::Representation
110+ command . response_class = Google ::Apis ::ObservabilityV1 ::Settings
111+ command . params [ 'name' ] = name unless name . nil?
112+ command . query [ 'fields' ] = fields unless fields . nil?
113+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
114+ execute_or_queue_command ( command , &block )
115+ end
116+
85117 # Lists information about the supported locations for this service. This method
86118 # can be called in two ways: * **List all public locations:** Use the path `GET /
87119 # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
@@ -133,6 +165,43 @@ def list_folder_locations(name, extra_location_types: nil, filter: nil, page_siz
133165 execute_or_queue_command ( command , &block )
134166 end
135167
168+ # Update Settings
169+ # @param [String] name
170+ # Identifier. The resource name of the settings.
171+ # @param [Google::Apis::ObservabilityV1::Settings] settings_object
172+ # @param [String] update_mask
173+ # Optional. The field mask specifying which fields of the settings are to be
174+ # updated.
175+ # @param [String] fields
176+ # Selector specifying which fields to include in a partial response.
177+ # @param [String] quota_user
178+ # Available to use for quota purposes for server-side applications. Can be any
179+ # arbitrary string assigned to a user, but should not exceed 40 characters.
180+ # @param [Google::Apis::RequestOptions] options
181+ # Request-specific options
182+ #
183+ # @yield [result, err] Result & error if block supplied
184+ # @yieldparam result [Google::Apis::ObservabilityV1::Operation] parsed result object
185+ # @yieldparam err [StandardError] error object if request failed
186+ #
187+ # @return [Google::Apis::ObservabilityV1::Operation]
188+ #
189+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
190+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
191+ # @raise [Google::Apis::AuthorizationError] Authorization is required
192+ def update_folder_location_settings ( name , settings_object = nil , update_mask : nil , fields : nil , quota_user : nil , options : nil , &block )
193+ command = make_simple_command ( :patch , 'v1/{+name}' , options )
194+ command . request_representation = Google ::Apis ::ObservabilityV1 ::Settings ::Representation
195+ command . request_object = settings_object
196+ command . response_representation = Google ::Apis ::ObservabilityV1 ::Operation ::Representation
197+ command . response_class = Google ::Apis ::ObservabilityV1 ::Operation
198+ command . params [ 'name' ] = name unless name . nil?
199+ command . query [ 'updateMask' ] = update_mask unless update_mask . nil?
200+ command . query [ 'fields' ] = fields unless fields . nil?
201+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
202+ execute_or_queue_command ( command , &block )
203+ end
204+
136205 # Starts asynchronous cancellation on a long-running operation. The server makes
137206 # a best effort to cancel the operation, but success is not guaranteed. If the
138207 # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -316,6 +385,38 @@ def get_organization_location(name, fields: nil, quota_user: nil, options: nil,
316385 execute_or_queue_command ( command , &block )
317386 end
318387
388+ # Get Settings
389+ # @param [String] name
390+ # Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]
391+ # /locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/
392+ # settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings"
393+ # @param [String] fields
394+ # Selector specifying which fields to include in a partial response.
395+ # @param [String] quota_user
396+ # Available to use for quota purposes for server-side applications. Can be any
397+ # arbitrary string assigned to a user, but should not exceed 40 characters.
398+ # @param [Google::Apis::RequestOptions] options
399+ # Request-specific options
400+ #
401+ # @yield [result, err] Result & error if block supplied
402+ # @yieldparam result [Google::Apis::ObservabilityV1::Settings] parsed result object
403+ # @yieldparam err [StandardError] error object if request failed
404+ #
405+ # @return [Google::Apis::ObservabilityV1::Settings]
406+ #
407+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
408+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
409+ # @raise [Google::Apis::AuthorizationError] Authorization is required
410+ def get_organization_location_settings ( name , fields : nil , quota_user : nil , options : nil , &block )
411+ command = make_simple_command ( :get , 'v1/{+name}' , options )
412+ command . response_representation = Google ::Apis ::ObservabilityV1 ::Settings ::Representation
413+ command . response_class = Google ::Apis ::ObservabilityV1 ::Settings
414+ command . params [ 'name' ] = name unless name . nil?
415+ command . query [ 'fields' ] = fields unless fields . nil?
416+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
417+ execute_or_queue_command ( command , &block )
418+ end
419+
319420 # Lists information about the supported locations for this service. This method
320421 # can be called in two ways: * **List all public locations:** Use the path `GET /
321422 # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
@@ -367,6 +468,43 @@ def list_organization_locations(name, extra_location_types: nil, filter: nil, pa
367468 execute_or_queue_command ( command , &block )
368469 end
369470
471+ # Update Settings
472+ # @param [String] name
473+ # Identifier. The resource name of the settings.
474+ # @param [Google::Apis::ObservabilityV1::Settings] settings_object
475+ # @param [String] update_mask
476+ # Optional. The field mask specifying which fields of the settings are to be
477+ # updated.
478+ # @param [String] fields
479+ # Selector specifying which fields to include in a partial response.
480+ # @param [String] quota_user
481+ # Available to use for quota purposes for server-side applications. Can be any
482+ # arbitrary string assigned to a user, but should not exceed 40 characters.
483+ # @param [Google::Apis::RequestOptions] options
484+ # Request-specific options
485+ #
486+ # @yield [result, err] Result & error if block supplied
487+ # @yieldparam result [Google::Apis::ObservabilityV1::Operation] parsed result object
488+ # @yieldparam err [StandardError] error object if request failed
489+ #
490+ # @return [Google::Apis::ObservabilityV1::Operation]
491+ #
492+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
493+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
494+ # @raise [Google::Apis::AuthorizationError] Authorization is required
495+ def update_organization_location_settings ( name , settings_object = nil , update_mask : nil , fields : nil , quota_user : nil , options : nil , &block )
496+ command = make_simple_command ( :patch , 'v1/{+name}' , options )
497+ command . request_representation = Google ::Apis ::ObservabilityV1 ::Settings ::Representation
498+ command . request_object = settings_object
499+ command . response_representation = Google ::Apis ::ObservabilityV1 ::Operation ::Representation
500+ command . response_class = Google ::Apis ::ObservabilityV1 ::Operation
501+ command . params [ 'name' ] = name unless name . nil?
502+ command . query [ 'updateMask' ] = update_mask unless update_mask . nil?
503+ command . query [ 'fields' ] = fields unless fields . nil?
504+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
505+ execute_or_queue_command ( command , &block )
506+ end
507+
370508 # Starts asynchronous cancellation on a long-running operation. The server makes
371509 # a best effort to cancel the operation, but success is not guaranteed. If the
372510 # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -550,6 +688,38 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
550688 execute_or_queue_command ( command , &block )
551689 end
552690
691+ # Get Settings
692+ # @param [String] name
693+ # Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]
694+ # /locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/
695+ # settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings"
696+ # @param [String] fields
697+ # Selector specifying which fields to include in a partial response.
698+ # @param [String] quota_user
699+ # Available to use for quota purposes for server-side applications. Can be any
700+ # arbitrary string assigned to a user, but should not exceed 40 characters.
701+ # @param [Google::Apis::RequestOptions] options
702+ # Request-specific options
703+ #
704+ # @yield [result, err] Result & error if block supplied
705+ # @yieldparam result [Google::Apis::ObservabilityV1::Settings] parsed result object
706+ # @yieldparam err [StandardError] error object if request failed
707+ #
708+ # @return [Google::Apis::ObservabilityV1::Settings]
709+ #
710+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
711+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
712+ # @raise [Google::Apis::AuthorizationError] Authorization is required
713+ def get_project_location_settings ( name , fields : nil , quota_user : nil , options : nil , &block )
714+ command = make_simple_command ( :get , 'v1/{+name}' , options )
715+ command . response_representation = Google ::Apis ::ObservabilityV1 ::Settings ::Representation
716+ command . response_class = Google ::Apis ::ObservabilityV1 ::Settings
717+ command . params [ 'name' ] = name unless name . nil?
718+ command . query [ 'fields' ] = fields unless fields . nil?
719+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
720+ execute_or_queue_command ( command , &block )
721+ end
722+
553723 # Lists information about the supported locations for this service. This method
554724 # can be called in two ways: * **List all public locations:** Use the path `GET /
555725 # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
@@ -601,6 +771,43 @@ def list_project_locations(name, extra_location_types: nil, filter: nil, page_si
601771 execute_or_queue_command ( command , &block )
602772 end
603773
774+ # Update Settings
775+ # @param [String] name
776+ # Identifier. The resource name of the settings.
777+ # @param [Google::Apis::ObservabilityV1::Settings] settings_object
778+ # @param [String] update_mask
779+ # Optional. The field mask specifying which fields of the settings are to be
780+ # updated.
781+ # @param [String] fields
782+ # Selector specifying which fields to include in a partial response.
783+ # @param [String] quota_user
784+ # Available to use for quota purposes for server-side applications. Can be any
785+ # arbitrary string assigned to a user, but should not exceed 40 characters.
786+ # @param [Google::Apis::RequestOptions] options
787+ # Request-specific options
788+ #
789+ # @yield [result, err] Result & error if block supplied
790+ # @yieldparam result [Google::Apis::ObservabilityV1::Operation] parsed result object
791+ # @yieldparam err [StandardError] error object if request failed
792+ #
793+ # @return [Google::Apis::ObservabilityV1::Operation]
794+ #
795+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
796+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
797+ # @raise [Google::Apis::AuthorizationError] Authorization is required
798+ def update_project_location_settings ( name , settings_object = nil , update_mask : nil , fields : nil , quota_user : nil , options : nil , &block )
799+ command = make_simple_command ( :patch , 'v1/{+name}' , options )
800+ command . request_representation = Google ::Apis ::ObservabilityV1 ::Settings ::Representation
801+ command . request_object = settings_object
802+ command . response_representation = Google ::Apis ::ObservabilityV1 ::Operation ::Representation
803+ command . response_class = Google ::Apis ::ObservabilityV1 ::Operation
804+ command . params [ 'name' ] = name unless name . nil?
805+ command . query [ 'updateMask' ] = update_mask unless update_mask . nil?
806+ command . query [ 'fields' ] = fields unless fields . nil?
807+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
808+ execute_or_queue_command ( command , &block )
809+ end
810+
604811 # Get bucket resource.
605812 # @param [String] name
606813 # Required. Name of the bucket to retrieve. The format is: projects/[PROJECT_ID]/
0 commit comments