google-cloud-service_usage-v1 1.3.0 → 1.5.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/lib/google/cloud/service_usage/v1/service_usage/operations.rb +12 -1
- data/lib/google/cloud/service_usage/v1/service_usage/rest/operations.rb +12 -1
- data/lib/google/cloud/service_usage/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/longrunning/operations.rb +18 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e479187d7ca72a6250489d2ab7802bdcb205bd4a9f3c08f1dc17fa0c6394d3bd
|
4
|
+
data.tar.gz: 7355882eeb613509ed27ec5cc26130360978e81d4f406ce865516cf42cf0df78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93bc2320b708a9db79f8a1d7eeefb76db13c7129e412a7a7e78ff2070441fd83f31b5e6648a8343c228588353a28f0e8c2487dffb337511185904af7bd728fcc
|
7
|
+
data.tar.gz: f875c531aa5db73d1d6fbf5ad950d17196f82f8e270dc40354cc5fb5fb30ce81ea1ee30576989815920af7db6d2b4be0c53b5b3e0620c2f387311ada836d4483
|
@@ -134,7 +134,7 @@ module Google
|
|
134
134
|
# @param options [::Gapic::CallOptions, ::Hash]
|
135
135
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
136
136
|
#
|
137
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
137
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
138
138
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
139
139
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
140
140
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -147,6 +147,17 @@ module Google
|
|
147
147
|
# The standard list page size.
|
148
148
|
# @param page_token [::String]
|
149
149
|
# The standard list page token.
|
150
|
+
# @param return_partial_success [::Boolean]
|
151
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
152
|
+
# and those that are unreachable are returned in the
|
153
|
+
# [ListOperationsResponse.unreachable] field.
|
154
|
+
#
|
155
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
156
|
+
# is set to `"projects/example/locations/-"`.
|
157
|
+
#
|
158
|
+
# This field is not by default supported and will result in an
|
159
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
160
|
+
# service or product specific documentation.
|
150
161
|
#
|
151
162
|
# @yield [response, operation] Access the result along with the RPC operation
|
152
163
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
# @param options [::Gapic::CallOptions, ::Hash]
|
126
126
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
127
127
|
#
|
128
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
128
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
129
129
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
130
130
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
131
131
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -138,6 +138,17 @@ module Google
|
|
138
138
|
# The standard list page size.
|
139
139
|
# @param page_token [::String]
|
140
140
|
# The standard list page token.
|
141
|
+
# @param return_partial_success [::Boolean]
|
142
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
143
|
+
# and those that are unreachable are returned in the
|
144
|
+
# [ListOperationsResponse.unreachable] field.
|
145
|
+
#
|
146
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
147
|
+
# is set to `"projects/example/locations/-"`.
|
148
|
+
#
|
149
|
+
# This field is not by default supported and will result in an
|
150
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
151
|
+
# service or product specific documentation.
|
141
152
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
142
153
|
# @yieldparam result [::Gapic::Operation]
|
143
154
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -0,0 +1,85 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Api
|
22
|
+
# An indicator of the behavior of a given field (for example, that a field
|
23
|
+
# is required in requests, or given as output but ignored as input).
|
24
|
+
# This **does not** change the behavior in protocol buffers itself; it only
|
25
|
+
# denotes the behavior and may affect how API tooling handles the field.
|
26
|
+
#
|
27
|
+
# Note: This enum **may** receive new values in the future.
|
28
|
+
module FieldBehavior
|
29
|
+
# Conventional default for enums. Do not use this.
|
30
|
+
FIELD_BEHAVIOR_UNSPECIFIED = 0
|
31
|
+
|
32
|
+
# Specifically denotes a field as optional.
|
33
|
+
# While all fields in protocol buffers are optional, this may be specified
|
34
|
+
# for emphasis if appropriate.
|
35
|
+
OPTIONAL = 1
|
36
|
+
|
37
|
+
# Denotes a field as required.
|
38
|
+
# This indicates that the field **must** be provided as part of the request,
|
39
|
+
# and failure to do so will cause an error (usually `INVALID_ARGUMENT`).
|
40
|
+
REQUIRED = 2
|
41
|
+
|
42
|
+
# Denotes a field as output only.
|
43
|
+
# This indicates that the field is provided in responses, but including the
|
44
|
+
# field in a request does nothing (the server *must* ignore it and
|
45
|
+
# *must not* throw an error as a result of the field's presence).
|
46
|
+
OUTPUT_ONLY = 3
|
47
|
+
|
48
|
+
# Denotes a field as input only.
|
49
|
+
# This indicates that the field is provided in requests, and the
|
50
|
+
# corresponding field is not included in output.
|
51
|
+
INPUT_ONLY = 4
|
52
|
+
|
53
|
+
# Denotes a field as immutable.
|
54
|
+
# This indicates that the field may be set once in a request to create a
|
55
|
+
# resource, but may not be changed thereafter.
|
56
|
+
IMMUTABLE = 5
|
57
|
+
|
58
|
+
# Denotes that a (repeated) field is an unordered list.
|
59
|
+
# This indicates that the service may provide the elements of the list
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
|
+
# provided. Additionally, the list's order may or may not be stable.
|
62
|
+
UNORDERED_LIST = 6
|
63
|
+
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
67
|
+
# non-empty value to expect.
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
@@ -83,6 +83,18 @@ module Google
|
|
83
83
|
# @!attribute [rw] page_token
|
84
84
|
# @return [::String]
|
85
85
|
# The standard list page token.
|
86
|
+
# @!attribute [rw] return_partial_success
|
87
|
+
# @return [::Boolean]
|
88
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
89
|
+
# and those that are unreachable are returned in the
|
90
|
+
# [ListOperationsResponse.unreachable] field.
|
91
|
+
#
|
92
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
93
|
+
# is set to `"projects/example/locations/-"`.
|
94
|
+
#
|
95
|
+
# This field is not by default supported and will result in an
|
96
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
97
|
+
# service or product specific documentation.
|
86
98
|
class ListOperationsRequest
|
87
99
|
include ::Google::Protobuf::MessageExts
|
88
100
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -96,6 +108,12 @@ module Google
|
|
96
108
|
# @!attribute [rw] next_page_token
|
97
109
|
# @return [::String]
|
98
110
|
# The standard List next-page token.
|
111
|
+
# @!attribute [rw] unreachable
|
112
|
+
# @return [::Array<::String>]
|
113
|
+
# Unordered list. Unreachable resources. Populated when the request sets
|
114
|
+
# `ListOperationsRequest.return_partial_success` and reads across
|
115
|
+
# collections e.g. when attempting to list all resources across all supported
|
116
|
+
# locations.
|
99
117
|
class ListOperationsResponse
|
100
118
|
include ::Google::Protobuf::MessageExts
|
101
119
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-service_usage-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -15,14 +15,14 @@ dependencies:
|
|
15
15
|
requirements:
|
16
16
|
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: '1.
|
18
|
+
version: '1.2'
|
19
19
|
type: :runtime
|
20
20
|
prerelease: false
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
22
22
|
requirements:
|
23
23
|
- - "~>"
|
24
24
|
- !ruby/object:Gem::Version
|
25
|
-
version: '1.
|
25
|
+
version: '1.2'
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: google-cloud-errors
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,6 +72,7 @@ files:
|
|
72
72
|
- proto_docs/google/api/client.rb
|
73
73
|
- proto_docs/google/api/documentation.rb
|
74
74
|
- proto_docs/google/api/endpoint.rb
|
75
|
+
- proto_docs/google/api/field_behavior.rb
|
75
76
|
- proto_docs/google/api/label.rb
|
76
77
|
- proto_docs/google/api/launch_stage.rb
|
77
78
|
- proto_docs/google/api/monitored_resource.rb
|
@@ -108,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
109
|
- !ruby/object:Gem::Version
|
109
110
|
version: '0'
|
110
111
|
requirements: []
|
111
|
-
rubygems_version: 3.6.
|
112
|
+
rubygems_version: 3.6.9
|
112
113
|
specification_version: 4
|
113
114
|
summary: Enables services that service consumers want to use on Google Cloud Platform,
|
114
115
|
lists the available or enabled services, or disables services that service consumers
|