google-apis-serviceusage_v1 0.28.0 → 0.71.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.
@@ -34,6 +34,8 @@ module Google
34
34
  #
35
35
  # @see https://cloud.google.com/service-usage/
36
36
  class ServiceUsageService < Google::Apis::Core::BaseService
37
+ DEFAULT_ENDPOINT_TEMPLATE = "https://serviceusage.$UNIVERSE_DOMAIN$/"
38
+
37
39
  # @return [String]
38
40
  # API key. Your API key identifies your project and provides you with API access,
39
41
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -45,7 +47,7 @@ module Google
45
47
  attr_accessor :quota_user
46
48
 
47
49
  def initialize
48
- super('https://serviceusage.googleapis.com/', '',
50
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
49
51
  client_name: 'google-apis-serviceusage_v1',
50
52
  client_version: Google::Apis::ServiceusageV1::GEM_VERSION)
51
53
  @batch_path = 'batch'
@@ -57,8 +59,8 @@ module Google
57
59
  # Clients can use Operations.GetOperation or other methods to check whether the
58
60
  # cancellation succeeded or whether the operation completed despite cancellation.
59
61
  # On successful cancellation, the operation is not deleted; instead, it becomes
60
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
61
- # corresponding to `Code.CANCELLED`.
62
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
63
+ # , corresponding to `Code.CANCELLED`.
62
64
  # @param [String] name
63
65
  # The name of the operation resource to be cancelled.
64
66
  # @param [Google::Apis::ServiceusageV1::CancelOperationRequest] cancel_operation_request_object
@@ -156,13 +158,7 @@ module Google
156
158
  end
157
159
 
158
160
  # Lists operations that match the specified filter in the request. If the server
159
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
160
- # binding allows API services to override the binding to use different resource
161
- # name schemes, such as `users/*/operations`. To override the binding, API
162
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
163
- # service configuration. For backwards compatibility, the default name includes
164
- # the operations collection id, however overriding users must ensure the name
165
- # binding is the parent resource, without the operations collection id.
161
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
166
162
  # @param [String] filter
167
163
  # The standard list filter.
168
164
  # @param [String] name
@@ -171,6 +167,13 @@ module Google
171
167
  # The standard list page size.
172
168
  # @param [String] page_token
173
169
  # The standard list page token.
170
+ # @param [Boolean] return_partial_success
171
+ # When set to `true`, operations that are reachable are returned as normal, and
172
+ # those that are unreachable are returned in the [ListOperationsResponse.
173
+ # unreachable] field. This can only be `true` when reading across collections e.
174
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
175
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
176
+ # explicitly documented otherwise in service or product specific documentation.
174
177
  # @param [String] fields
175
178
  # Selector specifying which fields to include in a partial response.
176
179
  # @param [String] quota_user
@@ -188,7 +191,7 @@ module Google
188
191
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
189
192
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
190
193
  # @raise [Google::Apis::AuthorizationError] Authorization is required
191
- def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
194
+ def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
192
195
  command = make_simple_command(:get, 'v1/operations', options)
193
196
  command.response_representation = Google::Apis::ServiceusageV1::ListOperationsResponse::Representation
194
197
  command.response_class = Google::Apis::ServiceusageV1::ListOperationsResponse
@@ -196,6 +199,7 @@ module Google
196
199
  command.query['name'] = name unless name.nil?
197
200
  command.query['pageSize'] = page_size unless page_size.nil?
198
201
  command.query['pageToken'] = page_token unless page_token.nil?
202
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
199
203
  command.query['fields'] = fields unless fields.nil?
200
204
  command.query['quotaUser'] = quota_user unless quota_user.nil?
201
205
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.71.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2022-12-12 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.9.1
18
+ version: 0.15.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.9.1
28
+ version: 0.15.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.28.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.71.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -68,15 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
66
  requirements:
69
67
  - - ">="
70
68
  - !ruby/object:Gem::Version
71
- version: '2.5'
69
+ version: '3.1'
72
70
  required_rubygems_version: !ruby/object:Gem::Requirement
73
71
  requirements:
74
72
  - - ">="
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.3.14
79
- signing_key:
76
+ rubygems_version: 3.6.9
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Service Usage API V1
82
79
  test_files: []