@@ -132,73 +132,6 @@ def get_billing_account_settings(name, fields: nil, quota_user: nil, options: ni
132132 execute_or_queue_command ( command , &block )
133133 end
134134
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-
202135 # Creates a new exclusion in the _Default sink in a specified parent resource.
203136 # Only log entries belonging to that resource can be excluded. You can have up
204137 # to 10 exclusions in a resource.
@@ -544,6 +477,41 @@ def delete_billing_account_location_bucket(name, fields: nil, quota_user: nil, o
544477 execute_or_queue_command ( command , &block )
545478 end
546479
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+
547515 # Lists log buckets.
548516 # @param [String] parent
549517 # Required. The parent resource whose buckets are to be listed: "projects/[
@@ -753,6 +721,38 @@ def delete_billing_account_location_bucket_view(name, fields: nil, quota_user: n
753721 execute_or_queue_command ( command , &block )
754722 end
755723
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+
756756 # Lists views on a log bucket.
757757 # @param [String] parent
758758 # Required. The bucket whose views are to be listed: "projects/[PROJECT_ID]/
@@ -934,6 +934,37 @@ def cancel_billing_account_location_operation(name, cancel_operation_request_obj
934934 execute_or_queue_command ( command , &block )
935935 end
936936
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+
937968 # Lists operations that match the specified filter in the request. If the server
938969 # doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding
939970 # allows API services to override the binding to use different resource name
@@ -1072,37 +1103,6 @@ def list_billing_account_logs(parent, page_size: nil, page_token: nil, resource_
10721103 execute_or_queue_command ( command , &block )
10731104 end
10741105
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-
11061106 # Creates a sink that exports specified log entries to a destination. The export
11071107 # of newly-ingested log entries begins immediately, unless the sink's
11081108 # writer_identity is not permitted to write to the destination. A sink can
0 commit comments