google-apis-observability_v1 0.18.0 → 0.19.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 +4 -0
- data/lib/google/apis/observability_v1/gem_version.rb +2 -2
- data/lib/google/apis/observability_v1/service.rb +74 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2aec07eb979b9154b5c1af03390475d0480869f3dbd1e72d26f461e467aa9f90
|
|
4
|
+
data.tar.gz: acab1e39bc696832e36f737fa8274844c3bf1abe51846718fc9249888a64250d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: caa538d37bd524710061b6bcf73f0d613dcd1e6014dbbbc770a62220aea1e75d8d0aad08d2fa49d8ce7662e90c2fdaa5cf908a1373153e6b28e34c0174305ec6
|
|
7
|
+
data.tar.gz: 0cec2f61eb9f720fd3f9fa83b07b7668a9c9c56165749801091e49f4d9657905e98e63bbdd0bde6db810dc1c76b97f7101528c2d29f75890ecb730c377e255b9
|
data/CHANGELOG.md
CHANGED
|
@@ -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.19.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260817"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -823,6 +823,43 @@ module Google
|
|
|
823
823
|
execute_or_queue_command(command, &block)
|
|
824
824
|
end
|
|
825
825
|
|
|
826
|
+
# Create a new bucket.
|
|
827
|
+
# @param [String] parent
|
|
828
|
+
# Required. Name of the project and location for the bucket. The format is:
|
|
829
|
+
# projects/[PROJECT_ID]/locations/[LOCATION]
|
|
830
|
+
# @param [Google::Apis::ObservabilityV1::Bucket] bucket_object
|
|
831
|
+
# @param [String] bucket_id
|
|
832
|
+
# Required. Id of the bucket to create.
|
|
833
|
+
# @param [String] fields
|
|
834
|
+
# Selector specifying which fields to include in a partial response.
|
|
835
|
+
# @param [String] quota_user
|
|
836
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
837
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
838
|
+
# @param [Google::Apis::RequestOptions] options
|
|
839
|
+
# Request-specific options
|
|
840
|
+
#
|
|
841
|
+
# @yield [result, err] Result & error if block supplied
|
|
842
|
+
# @yieldparam result [Google::Apis::ObservabilityV1::Operation] parsed result object
|
|
843
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
844
|
+
#
|
|
845
|
+
# @return [Google::Apis::ObservabilityV1::Operation]
|
|
846
|
+
#
|
|
847
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
848
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
849
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
850
|
+
def create_project_location_bucket(parent, bucket_object = nil, bucket_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
851
|
+
command = make_simple_command(:post, 'v1/{+parent}/buckets', options)
|
|
852
|
+
command.request_representation = Google::Apis::ObservabilityV1::Bucket::Representation
|
|
853
|
+
command.request_object = bucket_object
|
|
854
|
+
command.response_representation = Google::Apis::ObservabilityV1::Operation::Representation
|
|
855
|
+
command.response_class = Google::Apis::ObservabilityV1::Operation
|
|
856
|
+
command.params['parent'] = parent unless parent.nil?
|
|
857
|
+
command.query['bucketId'] = bucket_id unless bucket_id.nil?
|
|
858
|
+
command.query['fields'] = fields unless fields.nil?
|
|
859
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
860
|
+
execute_or_queue_command(command, &block)
|
|
861
|
+
end
|
|
862
|
+
|
|
826
863
|
# Get bucket resource.
|
|
827
864
|
# @param [String] name
|
|
828
865
|
# Required. Name of the bucket to retrieve. The format is: projects/[PROJECT_ID]/
|
|
@@ -897,6 +934,43 @@ module Google
|
|
|
897
934
|
execute_or_queue_command(command, &block)
|
|
898
935
|
end
|
|
899
936
|
|
|
937
|
+
# Update a bucket.
|
|
938
|
+
# @param [String] name
|
|
939
|
+
# Identifier. Name of the bucket. The format is: projects/[PROJECT_ID]/locations/
|
|
940
|
+
# [LOCATION]/buckets/[BUCKET_ID]
|
|
941
|
+
# @param [Google::Apis::ObservabilityV1::Bucket] bucket_object
|
|
942
|
+
# @param [String] update_mask
|
|
943
|
+
# Optional. The list of fields to update.
|
|
944
|
+
# @param [String] fields
|
|
945
|
+
# Selector specifying which fields to include in a partial response.
|
|
946
|
+
# @param [String] quota_user
|
|
947
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
948
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
949
|
+
# @param [Google::Apis::RequestOptions] options
|
|
950
|
+
# Request-specific options
|
|
951
|
+
#
|
|
952
|
+
# @yield [result, err] Result & error if block supplied
|
|
953
|
+
# @yieldparam result [Google::Apis::ObservabilityV1::Operation] parsed result object
|
|
954
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
955
|
+
#
|
|
956
|
+
# @return [Google::Apis::ObservabilityV1::Operation]
|
|
957
|
+
#
|
|
958
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
959
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
960
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
961
|
+
def patch_project_location_bucket(name, bucket_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
962
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
963
|
+
command.request_representation = Google::Apis::ObservabilityV1::Bucket::Representation
|
|
964
|
+
command.request_object = bucket_object
|
|
965
|
+
command.response_representation = Google::Apis::ObservabilityV1::Operation::Representation
|
|
966
|
+
command.response_class = Google::Apis::ObservabilityV1::Operation
|
|
967
|
+
command.params['name'] = name unless name.nil?
|
|
968
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
969
|
+
command.query['fields'] = fields unless fields.nil?
|
|
970
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
971
|
+
execute_or_queue_command(command, &block)
|
|
972
|
+
end
|
|
973
|
+
|
|
900
974
|
# Get a dataset.
|
|
901
975
|
# @param [String] name
|
|
902
976
|
# Required. Name of the dataset 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.19.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.19.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:
|