google-apis-observability_v1 0.14.0 → 0.16.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c8cef5b55a8b55d1a5cb51f13ee71748beea7ebf989ec38cc0b20b8156b151c9
|
|
4
|
+
data.tar.gz: 7c6ad926234c53a8d91bfaed348509c9c1e0d30c8281ef2177b7343d69782897
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 41ae3834c2ef2fae70ad6dda81dd89bf00434a7b614aedaa507aa7d964daccc0144f5ad783e9a2c551f2e81c41eef1e4ba4d5db9b4bd1549df45def9ad28a149
|
|
7
|
+
data.tar.gz: cb6852d9640330e8c10ae1a1752da412914acb191bd15fc60bf07abb9cb99e394076d6c04628fce435e3145437956b0934678a10f35f0a7641179b60258692a6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-observability_v1
|
|
2
2
|
|
|
3
|
+
### v0.16.0 (2026-04-19)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260409
|
|
6
|
+
|
|
7
|
+
### v0.15.0 (2026-03-01)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260220
|
|
10
|
+
|
|
3
11
|
### v0.14.0 (2026-02-08)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260129
|
|
@@ -642,6 +642,50 @@ module Google
|
|
|
642
642
|
end
|
|
643
643
|
end
|
|
644
644
|
|
|
645
|
+
# Describes the settings associated with a project, organization, or folder.
|
|
646
|
+
class Settings
|
|
647
|
+
include Google::Apis::Core::Hashable
|
|
648
|
+
|
|
649
|
+
# Optional. The location which should be used when any regional resources are
|
|
650
|
+
# provisioned by Google Cloud.
|
|
651
|
+
# Corresponds to the JSON property `defaultStorageLocation`
|
|
652
|
+
# @return [String]
|
|
653
|
+
attr_accessor :default_storage_location
|
|
654
|
+
|
|
655
|
+
# Optional. The resource name for the configured Cloud KMS key. KMS key name
|
|
656
|
+
# format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/
|
|
657
|
+
# cryptoKeys/[KEY]" For example: `"projects/my-project/locations/us-central1/
|
|
658
|
+
# keyRings/my-ring/cryptoKeys/my-key"`
|
|
659
|
+
# Corresponds to the JSON property `kmsKeyName`
|
|
660
|
+
# @return [String]
|
|
661
|
+
attr_accessor :kms_key_name
|
|
662
|
+
|
|
663
|
+
# Identifier. The resource name of the settings.
|
|
664
|
+
# Corresponds to the JSON property `name`
|
|
665
|
+
# @return [String]
|
|
666
|
+
attr_accessor :name
|
|
667
|
+
|
|
668
|
+
# Output only. The service account for the given resource container, such as
|
|
669
|
+
# project or folder. This will be used by Cloud Observability to perform actions
|
|
670
|
+
# in the container's project like access KMS keys or create Links. Always the
|
|
671
|
+
# same service account per resource container regardless of region.
|
|
672
|
+
# Corresponds to the JSON property `serviceAccountId`
|
|
673
|
+
# @return [String]
|
|
674
|
+
attr_accessor :service_account_id
|
|
675
|
+
|
|
676
|
+
def initialize(**args)
|
|
677
|
+
update!(**args)
|
|
678
|
+
end
|
|
679
|
+
|
|
680
|
+
# Update properties of this object
|
|
681
|
+
def update!(**args)
|
|
682
|
+
@default_storage_location = args[:default_storage_location] if args.key?(:default_storage_location)
|
|
683
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
|
684
|
+
@name = args[:name] if args.key?(:name)
|
|
685
|
+
@service_account_id = args[:service_account_id] if args.key?(:service_account_id)
|
|
686
|
+
end
|
|
687
|
+
end
|
|
688
|
+
|
|
645
689
|
# The `Status` type defines a logical error model that is suitable for different
|
|
646
690
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
647
691
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ObservabilityV1
|
|
18
18
|
# Version of the google-apis-observability_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.16.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260409"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -124,6 +124,12 @@ module Google
|
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
|
125
125
|
end
|
|
126
126
|
|
|
127
|
+
class Settings
|
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
+
|
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
131
|
+
end
|
|
132
|
+
|
|
127
133
|
class Status
|
|
128
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
135
|
|
|
@@ -310,6 +316,16 @@ module Google
|
|
|
310
316
|
end
|
|
311
317
|
end
|
|
312
318
|
|
|
319
|
+
class Settings
|
|
320
|
+
# @private
|
|
321
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
322
|
+
property :default_storage_location, as: 'defaultStorageLocation'
|
|
323
|
+
property :kms_key_name, as: 'kmsKeyName'
|
|
324
|
+
property :name, as: 'name'
|
|
325
|
+
property :service_account_id, as: 'serviceAccountId'
|
|
326
|
+
end
|
|
327
|
+
end
|
|
328
|
+
|
|
313
329
|
class Status
|
|
314
330
|
# @private
|
|
315
331
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -82,11 +82,48 @@ module Google
|
|
|
82
82
|
execute_or_queue_command(command, &block)
|
|
83
83
|
end
|
|
84
84
|
|
|
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
|
+
|
|
85
117
|
# Lists information about the supported locations for this service. This method
|
|
86
|
-
#
|
|
87
|
-
#
|
|
88
|
-
#
|
|
89
|
-
#
|
|
118
|
+
# lists locations based on the resource scope provided in the [
|
|
119
|
+
# ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
|
|
120
|
+
# the method lists the public locations available to all projects. * **Project-
|
|
121
|
+
# specific locations**: If `name` follows the format `projects/`project``, the
|
|
122
|
+
# method lists locations visible to that specific project. This includes public,
|
|
123
|
+
# private, or other project-specific locations enabled for the project. For gRPC
|
|
124
|
+
# and client library implementations, the resource name is passed as the `name`
|
|
125
|
+
# field. For direct service calls, the resource name is incorporated into the
|
|
126
|
+
# request path based on the specific service implementation and version.
|
|
90
127
|
# @param [String] name
|
|
91
128
|
# The resource that owns the locations collection, if applicable.
|
|
92
129
|
# @param [Array<String>, String] extra_location_types
|
|
@@ -133,6 +170,43 @@ module Google
|
|
|
133
170
|
execute_or_queue_command(command, &block)
|
|
134
171
|
end
|
|
135
172
|
|
|
173
|
+
# Update Settings
|
|
174
|
+
# @param [String] name
|
|
175
|
+
# Identifier. The resource name of the settings.
|
|
176
|
+
# @param [Google::Apis::ObservabilityV1::Settings] settings_object
|
|
177
|
+
# @param [String] update_mask
|
|
178
|
+
# Optional. The field mask specifying which fields of the settings are to be
|
|
179
|
+
# updated.
|
|
180
|
+
# @param [String] fields
|
|
181
|
+
# Selector specifying which fields to include in a partial response.
|
|
182
|
+
# @param [String] quota_user
|
|
183
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
184
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
185
|
+
# @param [Google::Apis::RequestOptions] options
|
|
186
|
+
# Request-specific options
|
|
187
|
+
#
|
|
188
|
+
# @yield [result, err] Result & error if block supplied
|
|
189
|
+
# @yieldparam result [Google::Apis::ObservabilityV1::Operation] parsed result object
|
|
190
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
191
|
+
#
|
|
192
|
+
# @return [Google::Apis::ObservabilityV1::Operation]
|
|
193
|
+
#
|
|
194
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
195
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
196
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
197
|
+
def update_folder_location_settings(name, settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
198
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
199
|
+
command.request_representation = Google::Apis::ObservabilityV1::Settings::Representation
|
|
200
|
+
command.request_object = settings_object
|
|
201
|
+
command.response_representation = Google::Apis::ObservabilityV1::Operation::Representation
|
|
202
|
+
command.response_class = Google::Apis::ObservabilityV1::Operation
|
|
203
|
+
command.params['name'] = name unless name.nil?
|
|
204
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
205
|
+
command.query['fields'] = fields unless fields.nil?
|
|
206
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
207
|
+
execute_or_queue_command(command, &block)
|
|
208
|
+
end
|
|
209
|
+
|
|
136
210
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
137
211
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
138
212
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
@@ -316,11 +390,48 @@ module Google
|
|
|
316
390
|
execute_or_queue_command(command, &block)
|
|
317
391
|
end
|
|
318
392
|
|
|
393
|
+
# Get Settings
|
|
394
|
+
# @param [String] name
|
|
395
|
+
# Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]
|
|
396
|
+
# /locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/
|
|
397
|
+
# settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings"
|
|
398
|
+
# @param [String] fields
|
|
399
|
+
# Selector specifying which fields to include in a partial response.
|
|
400
|
+
# @param [String] quota_user
|
|
401
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
402
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
403
|
+
# @param [Google::Apis::RequestOptions] options
|
|
404
|
+
# Request-specific options
|
|
405
|
+
#
|
|
406
|
+
# @yield [result, err] Result & error if block supplied
|
|
407
|
+
# @yieldparam result [Google::Apis::ObservabilityV1::Settings] parsed result object
|
|
408
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
409
|
+
#
|
|
410
|
+
# @return [Google::Apis::ObservabilityV1::Settings]
|
|
411
|
+
#
|
|
412
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
413
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
414
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
415
|
+
def get_organization_location_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
416
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
417
|
+
command.response_representation = Google::Apis::ObservabilityV1::Settings::Representation
|
|
418
|
+
command.response_class = Google::Apis::ObservabilityV1::Settings
|
|
419
|
+
command.params['name'] = name unless name.nil?
|
|
420
|
+
command.query['fields'] = fields unless fields.nil?
|
|
421
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
422
|
+
execute_or_queue_command(command, &block)
|
|
423
|
+
end
|
|
424
|
+
|
|
319
425
|
# Lists information about the supported locations for this service. This method
|
|
320
|
-
#
|
|
321
|
-
#
|
|
322
|
-
#
|
|
323
|
-
#
|
|
426
|
+
# lists locations based on the resource scope provided in the [
|
|
427
|
+
# ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
|
|
428
|
+
# the method lists the public locations available to all projects. * **Project-
|
|
429
|
+
# specific locations**: If `name` follows the format `projects/`project``, the
|
|
430
|
+
# method lists locations visible to that specific project. This includes public,
|
|
431
|
+
# private, or other project-specific locations enabled for the project. For gRPC
|
|
432
|
+
# and client library implementations, the resource name is passed as the `name`
|
|
433
|
+
# field. For direct service calls, the resource name is incorporated into the
|
|
434
|
+
# request path based on the specific service implementation and version.
|
|
324
435
|
# @param [String] name
|
|
325
436
|
# The resource that owns the locations collection, if applicable.
|
|
326
437
|
# @param [Array<String>, String] extra_location_types
|
|
@@ -367,6 +478,43 @@ module Google
|
|
|
367
478
|
execute_or_queue_command(command, &block)
|
|
368
479
|
end
|
|
369
480
|
|
|
481
|
+
# Update Settings
|
|
482
|
+
# @param [String] name
|
|
483
|
+
# Identifier. The resource name of the settings.
|
|
484
|
+
# @param [Google::Apis::ObservabilityV1::Settings] settings_object
|
|
485
|
+
# @param [String] update_mask
|
|
486
|
+
# Optional. The field mask specifying which fields of the settings are to be
|
|
487
|
+
# updated.
|
|
488
|
+
# @param [String] fields
|
|
489
|
+
# Selector specifying which fields to include in a partial response.
|
|
490
|
+
# @param [String] quota_user
|
|
491
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
492
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
493
|
+
# @param [Google::Apis::RequestOptions] options
|
|
494
|
+
# Request-specific options
|
|
495
|
+
#
|
|
496
|
+
# @yield [result, err] Result & error if block supplied
|
|
497
|
+
# @yieldparam result [Google::Apis::ObservabilityV1::Operation] parsed result object
|
|
498
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
499
|
+
#
|
|
500
|
+
# @return [Google::Apis::ObservabilityV1::Operation]
|
|
501
|
+
#
|
|
502
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
503
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
504
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
505
|
+
def update_organization_location_settings(name, settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
506
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
507
|
+
command.request_representation = Google::Apis::ObservabilityV1::Settings::Representation
|
|
508
|
+
command.request_object = settings_object
|
|
509
|
+
command.response_representation = Google::Apis::ObservabilityV1::Operation::Representation
|
|
510
|
+
command.response_class = Google::Apis::ObservabilityV1::Operation
|
|
511
|
+
command.params['name'] = name unless name.nil?
|
|
512
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
513
|
+
command.query['fields'] = fields unless fields.nil?
|
|
514
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
515
|
+
execute_or_queue_command(command, &block)
|
|
516
|
+
end
|
|
517
|
+
|
|
370
518
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
371
519
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
372
520
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
@@ -550,11 +698,48 @@ module Google
|
|
|
550
698
|
execute_or_queue_command(command, &block)
|
|
551
699
|
end
|
|
552
700
|
|
|
701
|
+
# Get Settings
|
|
702
|
+
# @param [String] name
|
|
703
|
+
# Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]
|
|
704
|
+
# /locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/
|
|
705
|
+
# settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings"
|
|
706
|
+
# @param [String] fields
|
|
707
|
+
# Selector specifying which fields to include in a partial response.
|
|
708
|
+
# @param [String] quota_user
|
|
709
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
710
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
711
|
+
# @param [Google::Apis::RequestOptions] options
|
|
712
|
+
# Request-specific options
|
|
713
|
+
#
|
|
714
|
+
# @yield [result, err] Result & error if block supplied
|
|
715
|
+
# @yieldparam result [Google::Apis::ObservabilityV1::Settings] parsed result object
|
|
716
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
717
|
+
#
|
|
718
|
+
# @return [Google::Apis::ObservabilityV1::Settings]
|
|
719
|
+
#
|
|
720
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
721
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
722
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
723
|
+
def get_project_location_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
724
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
725
|
+
command.response_representation = Google::Apis::ObservabilityV1::Settings::Representation
|
|
726
|
+
command.response_class = Google::Apis::ObservabilityV1::Settings
|
|
727
|
+
command.params['name'] = name unless name.nil?
|
|
728
|
+
command.query['fields'] = fields unless fields.nil?
|
|
729
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
730
|
+
execute_or_queue_command(command, &block)
|
|
731
|
+
end
|
|
732
|
+
|
|
553
733
|
# Lists information about the supported locations for this service. This method
|
|
554
|
-
#
|
|
555
|
-
#
|
|
556
|
-
#
|
|
557
|
-
#
|
|
734
|
+
# lists locations based on the resource scope provided in the [
|
|
735
|
+
# ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
|
|
736
|
+
# the method lists the public locations available to all projects. * **Project-
|
|
737
|
+
# specific locations**: If `name` follows the format `projects/`project``, the
|
|
738
|
+
# method lists locations visible to that specific project. This includes public,
|
|
739
|
+
# private, or other project-specific locations enabled for the project. For gRPC
|
|
740
|
+
# and client library implementations, the resource name is passed as the `name`
|
|
741
|
+
# field. For direct service calls, the resource name is incorporated into the
|
|
742
|
+
# request path based on the specific service implementation and version.
|
|
558
743
|
# @param [String] name
|
|
559
744
|
# The resource that owns the locations collection, if applicable.
|
|
560
745
|
# @param [Array<String>, String] extra_location_types
|
|
@@ -601,6 +786,43 @@ module Google
|
|
|
601
786
|
execute_or_queue_command(command, &block)
|
|
602
787
|
end
|
|
603
788
|
|
|
789
|
+
# Update Settings
|
|
790
|
+
# @param [String] name
|
|
791
|
+
# Identifier. The resource name of the settings.
|
|
792
|
+
# @param [Google::Apis::ObservabilityV1::Settings] settings_object
|
|
793
|
+
# @param [String] update_mask
|
|
794
|
+
# Optional. The field mask specifying which fields of the settings are to be
|
|
795
|
+
# updated.
|
|
796
|
+
# @param [String] fields
|
|
797
|
+
# Selector specifying which fields to include in a partial response.
|
|
798
|
+
# @param [String] quota_user
|
|
799
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
800
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
801
|
+
# @param [Google::Apis::RequestOptions] options
|
|
802
|
+
# Request-specific options
|
|
803
|
+
#
|
|
804
|
+
# @yield [result, err] Result & error if block supplied
|
|
805
|
+
# @yieldparam result [Google::Apis::ObservabilityV1::Operation] parsed result object
|
|
806
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
807
|
+
#
|
|
808
|
+
# @return [Google::Apis::ObservabilityV1::Operation]
|
|
809
|
+
#
|
|
810
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
811
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
812
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
813
|
+
def update_project_location_settings(name, settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
814
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
815
|
+
command.request_representation = Google::Apis::ObservabilityV1::Settings::Representation
|
|
816
|
+
command.request_object = settings_object
|
|
817
|
+
command.response_representation = Google::Apis::ObservabilityV1::Operation::Representation
|
|
818
|
+
command.response_class = Google::Apis::ObservabilityV1::Operation
|
|
819
|
+
command.params['name'] = name unless name.nil?
|
|
820
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
821
|
+
command.query['fields'] = fields unless fields.nil?
|
|
822
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
823
|
+
execute_or_queue_command(command, &block)
|
|
824
|
+
end
|
|
825
|
+
|
|
604
826
|
# Get bucket resource.
|
|
605
827
|
# @param [String] name
|
|
606
828
|
# Required. Name of the bucket to retrieve. The format is: projects/[PROJECT_ID]/
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-observability_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.16.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-observability_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-observability_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-observability_v1/v0.16.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-observability_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|