google-apis-logging_v2 0.31.0 → 0.32.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 +5 -0
- data/lib/google/apis/logging_v2/classes.rb +4 -3
- data/lib/google/apis/logging_v2/gem_version.rb +3 -3
- data/lib/google/apis/logging_v2/service.rb +98 -98
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df222dd979dcf4c04097823f8df3ee72deca2f0ed1fe191c1ec6edd34a853e43
|
4
|
+
data.tar.gz: aad0b90183b11cc629ad656abe61718e43a5dc12282b5ea9b709585b021e80ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae27b8e9f2fd1727203230d79955ec021ae87cc561935ebcbb28b84ecb626d23188102e989fac5b595ac4570df0673b83254ec3ece3b16d58abb355f2759d889
|
7
|
+
data.tar.gz: 627883ca6bcf1fae294de2508f7351690c1e9e7ae3c43c2879f6803ac1cfaf7aaa2f48db90d86bdbdbb3da819eea254ecf2138bb148d2785fb3e65e049f17bff
|
data/CHANGELOG.md
CHANGED
@@ -2777,9 +2777,10 @@ module Google
|
|
2777
2777
|
# Optional. Whether a batch's valid entries should be written even if some other
|
2778
2778
|
# entry failed due to a permanent error such as INVALID_ARGUMENT or
|
2779
2779
|
# PERMISSION_DENIED. If any entry failed, then the response status is the
|
2780
|
-
# response status
|
2781
|
-
#
|
2782
|
-
#
|
2780
|
+
# response status of one of the failed entries. The response will include error
|
2781
|
+
# details in WriteLogEntriesPartialErrors.log_entry_errors keyed by the entries'
|
2782
|
+
# zero-based index in the entries. Failed requests for which no entries are
|
2783
|
+
# written will not include per-entry errors.
|
2783
2784
|
# Corresponds to the JSON property `partialSuccess`
|
2784
2785
|
# @return [Boolean]
|
2785
2786
|
attr_accessor :partial_success
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module LoggingV2
|
18
18
|
# Version of the google-apis-logging_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.32.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.8.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220624"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -132,73 +132,6 @@ module Google
|
|
132
132
|
execute_or_queue_command(command, &block)
|
133
133
|
end
|
134
134
|
|
135
|
-
# Gets a log bucket.
|
136
|
-
# @param [String] name
|
137
|
-
# Required. The resource name of the bucket: "projects/[PROJECT_ID]/locations/[
|
138
|
-
# LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[
|
139
|
-
# LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/
|
140
|
-
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[
|
141
|
-
# LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/
|
142
|
-
# global/buckets/my-bucket"
|
143
|
-
# @param [String] fields
|
144
|
-
# Selector specifying which fields to include in a partial response.
|
145
|
-
# @param [String] quota_user
|
146
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
147
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
148
|
-
# @param [Google::Apis::RequestOptions] options
|
149
|
-
# Request-specific options
|
150
|
-
#
|
151
|
-
# @yield [result, err] Result & error if block supplied
|
152
|
-
# @yieldparam result [Google::Apis::LoggingV2::LogBucket] parsed result object
|
153
|
-
# @yieldparam err [StandardError] error object if request failed
|
154
|
-
#
|
155
|
-
# @return [Google::Apis::LoggingV2::LogBucket]
|
156
|
-
#
|
157
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
158
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
159
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
160
|
-
def get_billing_account_bucket(name, fields: nil, quota_user: nil, options: nil, &block)
|
161
|
-
command = make_simple_command(:get, 'v2/{+name}', options)
|
162
|
-
command.response_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
163
|
-
command.response_class = Google::Apis::LoggingV2::LogBucket
|
164
|
-
command.params['name'] = name unless name.nil?
|
165
|
-
command.query['fields'] = fields unless fields.nil?
|
166
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
167
|
-
execute_or_queue_command(command, &block)
|
168
|
-
end
|
169
|
-
|
170
|
-
# Gets a view on a log bucket..
|
171
|
-
# @param [String] name
|
172
|
-
# Required. The resource name of the policy: "projects/[PROJECT_ID]/locations/[
|
173
|
-
# LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"projects/my-
|
174
|
-
# project/locations/global/buckets/my-bucket/views/my-view"
|
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::LoggingV2::LogView] parsed result object
|
185
|
-
# @yieldparam err [StandardError] error object if request failed
|
186
|
-
#
|
187
|
-
# @return [Google::Apis::LoggingV2::LogView]
|
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 get_billing_account_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
193
|
-
command = make_simple_command(:get, 'v2/{+name}', options)
|
194
|
-
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
195
|
-
command.response_class = Google::Apis::LoggingV2::LogView
|
196
|
-
command.params['name'] = name unless name.nil?
|
197
|
-
command.query['fields'] = fields unless fields.nil?
|
198
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
199
|
-
execute_or_queue_command(command, &block)
|
200
|
-
end
|
201
|
-
|
202
135
|
# Creates a new exclusion in the _Default sink in a specified parent resource.
|
203
136
|
# Only log entries belonging to that resource can be excluded. You can have up
|
204
137
|
# to 10 exclusions in a resource.
|
@@ -544,6 +477,41 @@ module Google
|
|
544
477
|
execute_or_queue_command(command, &block)
|
545
478
|
end
|
546
479
|
|
480
|
+
# Gets a log bucket.
|
481
|
+
# @param [String] name
|
482
|
+
# Required. The resource name of the bucket: "projects/[PROJECT_ID]/locations/[
|
483
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[
|
484
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/
|
485
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[
|
486
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/
|
487
|
+
# global/buckets/my-bucket"
|
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::LoggingV2::LogBucket] parsed result object
|
498
|
+
# @yieldparam err [StandardError] error object if request failed
|
499
|
+
#
|
500
|
+
# @return [Google::Apis::LoggingV2::LogBucket]
|
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 get_billing_account_location_bucket(name, fields: nil, quota_user: nil, options: nil, &block)
|
506
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
507
|
+
command.response_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
508
|
+
command.response_class = Google::Apis::LoggingV2::LogBucket
|
509
|
+
command.params['name'] = name unless name.nil?
|
510
|
+
command.query['fields'] = fields unless fields.nil?
|
511
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
512
|
+
execute_or_queue_command(command, &block)
|
513
|
+
end
|
514
|
+
|
547
515
|
# Lists log buckets.
|
548
516
|
# @param [String] parent
|
549
517
|
# Required. The parent resource whose buckets are to be listed: "projects/[
|
@@ -753,6 +721,38 @@ module Google
|
|
753
721
|
execute_or_queue_command(command, &block)
|
754
722
|
end
|
755
723
|
|
724
|
+
# Gets a view on a log bucket..
|
725
|
+
# @param [String] name
|
726
|
+
# Required. The resource name of the policy: "projects/[PROJECT_ID]/locations/[
|
727
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"projects/my-
|
728
|
+
# project/locations/global/buckets/my-bucket/views/my-view"
|
729
|
+
# @param [String] fields
|
730
|
+
# Selector specifying which fields to include in a partial response.
|
731
|
+
# @param [String] quota_user
|
732
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
733
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
734
|
+
# @param [Google::Apis::RequestOptions] options
|
735
|
+
# Request-specific options
|
736
|
+
#
|
737
|
+
# @yield [result, err] Result & error if block supplied
|
738
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
|
739
|
+
# @yieldparam err [StandardError] error object if request failed
|
740
|
+
#
|
741
|
+
# @return [Google::Apis::LoggingV2::LogView]
|
742
|
+
#
|
743
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
744
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
745
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
746
|
+
def get_billing_account_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
747
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
748
|
+
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
749
|
+
command.response_class = Google::Apis::LoggingV2::LogView
|
750
|
+
command.params['name'] = name unless name.nil?
|
751
|
+
command.query['fields'] = fields unless fields.nil?
|
752
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
753
|
+
execute_or_queue_command(command, &block)
|
754
|
+
end
|
755
|
+
|
756
756
|
# Lists views on a log bucket.
|
757
757
|
# @param [String] parent
|
758
758
|
# Required. The bucket whose views are to be listed: "projects/[PROJECT_ID]/
|
@@ -934,6 +934,37 @@ module Google
|
|
934
934
|
execute_or_queue_command(command, &block)
|
935
935
|
end
|
936
936
|
|
937
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
938
|
+
# to poll the operation result at intervals as recommended by the API service.
|
939
|
+
# @param [String] name
|
940
|
+
# The name of the operation resource.
|
941
|
+
# @param [String] fields
|
942
|
+
# Selector specifying which fields to include in a partial response.
|
943
|
+
# @param [String] quota_user
|
944
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
945
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
946
|
+
# @param [Google::Apis::RequestOptions] options
|
947
|
+
# Request-specific options
|
948
|
+
#
|
949
|
+
# @yield [result, err] Result & error if block supplied
|
950
|
+
# @yieldparam result [Google::Apis::LoggingV2::Operation] parsed result object
|
951
|
+
# @yieldparam err [StandardError] error object if request failed
|
952
|
+
#
|
953
|
+
# @return [Google::Apis::LoggingV2::Operation]
|
954
|
+
#
|
955
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
956
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
957
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
958
|
+
def get_billing_account_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
959
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
960
|
+
command.response_representation = Google::Apis::LoggingV2::Operation::Representation
|
961
|
+
command.response_class = Google::Apis::LoggingV2::Operation
|
962
|
+
command.params['name'] = name unless name.nil?
|
963
|
+
command.query['fields'] = fields unless fields.nil?
|
964
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
965
|
+
execute_or_queue_command(command, &block)
|
966
|
+
end
|
967
|
+
|
937
968
|
# Lists operations that match the specified filter in the request. If the server
|
938
969
|
# doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding
|
939
970
|
# allows API services to override the binding to use different resource name
|
@@ -1072,37 +1103,6 @@ module Google
|
|
1072
1103
|
execute_or_queue_command(command, &block)
|
1073
1104
|
end
|
1074
1105
|
|
1075
|
-
# Gets the latest state of a long-running operation. Clients can use this method
|
1076
|
-
# to poll the operation result at intervals as recommended by the API service.
|
1077
|
-
# @param [String] name
|
1078
|
-
# The name of the operation resource.
|
1079
|
-
# @param [String] fields
|
1080
|
-
# Selector specifying which fields to include in a partial response.
|
1081
|
-
# @param [String] quota_user
|
1082
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1083
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1084
|
-
# @param [Google::Apis::RequestOptions] options
|
1085
|
-
# Request-specific options
|
1086
|
-
#
|
1087
|
-
# @yield [result, err] Result & error if block supplied
|
1088
|
-
# @yieldparam result [Google::Apis::LoggingV2::Operation] parsed result object
|
1089
|
-
# @yieldparam err [StandardError] error object if request failed
|
1090
|
-
#
|
1091
|
-
# @return [Google::Apis::LoggingV2::Operation]
|
1092
|
-
#
|
1093
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1094
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1095
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1096
|
-
def get_billing_account_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1097
|
-
command = make_simple_command(:get, 'v2/{+name}', options)
|
1098
|
-
command.response_representation = Google::Apis::LoggingV2::Operation::Representation
|
1099
|
-
command.response_class = Google::Apis::LoggingV2::Operation
|
1100
|
-
command.params['name'] = name unless name.nil?
|
1101
|
-
command.query['fields'] = fields unless fields.nil?
|
1102
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1103
|
-
execute_or_queue_command(command, &block)
|
1104
|
-
end
|
1105
|
-
|
1106
1106
|
# Creates a sink that exports specified log entries to a destination. The export
|
1107
1107
|
# of newly-ingested log entries begins immediately, unless the sink's
|
1108
1108
|
# writer_identity is not permitted to write to the destination. A sink can
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-logging_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.32.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-logging_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.32.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-logging_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|