google-cloud-billing-v1 0.13.0 → 0.13.2
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/billing/v1/cloud_billing/client.rb +3 -2
- data/lib/google/cloud/billing/v1/cloud_billing/rest/client.rb +3 -2
- data/lib/google/cloud/billing/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/billing/v1/cloud_billing.rb +6 -6
- data/proto_docs/google/iam/v1/policy.rb +8 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cabb445ded8dec3cc543d7c73e78f815b579b72cc3d9b75f6ded650b49a60027
|
4
|
+
data.tar.gz: 178eafc8b2d804a6c1ff82d1d19829855f5434ef94f2a177d8193d49e5427d5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eca2812bbd6fd0191e24cb8ecbd53e743ac547c480e381d4eef2dd10de0b0747e95a170aed98f2bba6697e69d90c2faccf1015359e77a636a941493a5e53ceee
|
7
|
+
data.tar.gz: 8934805b05a9c49d67728e6ef2c684fe0aba326d282a919dc3bcff761389ed1e3ae69604f4b05707df6c99e26c0f8f929ebac18731083017345520523d1cbbbc
|
@@ -811,8 +811,9 @@ module Google
|
|
811
811
|
# information that you want to update. For example,
|
812
812
|
# `projects/tokyo-rain-123`.
|
813
813
|
# @param project_billing_info [::Google::Cloud::Billing::V1::ProjectBillingInfo, ::Hash]
|
814
|
-
# The new billing information for the project.
|
815
|
-
# thus, you can leave empty all fields except
|
814
|
+
# The new billing information for the project. Output-only fields are
|
815
|
+
# ignored; thus, you can leave empty all fields except
|
816
|
+
# `billing_account_name`.
|
816
817
|
#
|
817
818
|
# @yield [response, operation] Access the result along with the RPC operation
|
818
819
|
# @yieldparam response [::Google::Cloud::Billing::V1::ProjectBillingInfo]
|
@@ -672,8 +672,9 @@ module Google
|
|
672
672
|
# information that you want to update. For example,
|
673
673
|
# `projects/tokyo-rain-123`.
|
674
674
|
# @param project_billing_info [::Google::Cloud::Billing::V1::ProjectBillingInfo, ::Hash]
|
675
|
-
# The new billing information for the project.
|
676
|
-
# thus, you can leave empty all fields except
|
675
|
+
# The new billing information for the project. Output-only fields are
|
676
|
+
# ignored; thus, you can leave empty all fields except
|
677
|
+
# `billing_account_name`.
|
677
678
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
678
679
|
# @yieldparam result [::Google::Cloud::Billing::V1::ProjectBillingInfo]
|
679
680
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
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
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
@@ -60,13 +60,12 @@ module Google
|
|
60
60
|
# Output only. The resource name for the `ProjectBillingInfo`; has the form
|
61
61
|
# `projects/{project_id}/billingInfo`. For example, the resource name for the
|
62
62
|
# billing information for project `tokyo-rain-123` would be
|
63
|
-
# `projects/tokyo-rain-123/billingInfo`.
|
63
|
+
# `projects/tokyo-rain-123/billingInfo`.
|
64
64
|
# @!attribute [r] project_id
|
65
65
|
# @return [::String]
|
66
66
|
# Output only. The ID of the project that this `ProjectBillingInfo`
|
67
67
|
# represents, such as `tokyo-rain-123`. This is a convenience field so that
|
68
|
-
# you don't need to parse the `name` field to obtain a project ID.
|
69
|
-
# is read-only.
|
68
|
+
# you don't need to parse the `name` field to obtain a project ID.
|
70
69
|
# @!attribute [rw] billing_account_name
|
71
70
|
# @return [::String]
|
72
71
|
# The resource name of the billing account associated with the project, if
|
@@ -76,7 +75,7 @@ module Google
|
|
76
75
|
# Output only. True if the project is associated with an open billing
|
77
76
|
# account, to which usage on the project is charged. False if the project is
|
78
77
|
# associated with a closed billing account, or no billing account at all, and
|
79
|
-
# therefore cannot use paid services.
|
78
|
+
# therefore cannot use paid services.
|
80
79
|
class ProjectBillingInfo
|
81
80
|
include ::Google::Protobuf::MessageExts
|
82
81
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -211,8 +210,9 @@ module Google
|
|
211
210
|
# `projects/tokyo-rain-123`.
|
212
211
|
# @!attribute [rw] project_billing_info
|
213
212
|
# @return [::Google::Cloud::Billing::V1::ProjectBillingInfo]
|
214
|
-
# The new billing information for the project.
|
215
|
-
# thus, you can leave empty all fields except
|
213
|
+
# The new billing information for the project. Output-only fields are
|
214
|
+
# ignored; thus, you can leave empty all fields except
|
215
|
+
# `billing_account_name`.
|
216
216
|
class UpdateProjectBillingInfoRequest
|
217
217
|
include ::Google::Protobuf::MessageExts
|
218
218
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -40,6 +40,7 @@ module Google
|
|
40
40
|
#
|
41
41
|
# **JSON example:**
|
42
42
|
#
|
43
|
+
# ```
|
43
44
|
# {
|
44
45
|
# "bindings": [
|
45
46
|
# {
|
@@ -67,9 +68,11 @@ module Google
|
|
67
68
|
# "etag": "BwWWja0YfJA=",
|
68
69
|
# "version": 3
|
69
70
|
# }
|
71
|
+
# ```
|
70
72
|
#
|
71
73
|
# **YAML example:**
|
72
74
|
#
|
75
|
+
# ```
|
73
76
|
# bindings:
|
74
77
|
# - members:
|
75
78
|
# - user:mike@example.com
|
@@ -86,6 +89,7 @@ module Google
|
|
86
89
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
87
90
|
# etag: BwWWja0YfJA=
|
88
91
|
# version: 3
|
92
|
+
# ```
|
89
93
|
#
|
90
94
|
# For a description of IAM and its features, see the
|
91
95
|
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
@@ -157,7 +161,7 @@ module Google
|
|
157
161
|
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
158
162
|
# @!attribute [rw] members
|
159
163
|
# @return [::Array<::String>]
|
160
|
-
# Specifies the principals requesting access for a Cloud
|
164
|
+
# Specifies the principals requesting access for a Google Cloud resource.
|
161
165
|
# `members` can have the following values:
|
162
166
|
#
|
163
167
|
# * `allUsers`: A special identifier that represents anyone who is
|
@@ -267,8 +271,8 @@ module Google
|
|
267
271
|
# }
|
268
272
|
#
|
269
273
|
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
270
|
-
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
271
|
-
# aliya@example.com from DATA_WRITE logging.
|
274
|
+
# logging. It also exempts `jose@example.com` from DATA_READ logging, and
|
275
|
+
# `aliya@example.com` from DATA_WRITE logging.
|
272
276
|
# @!attribute [rw] service
|
273
277
|
# @return [::String]
|
274
278
|
# Specifies a service that will be enabled for audit logging.
|
@@ -356,7 +360,7 @@ module Google
|
|
356
360
|
# Required
|
357
361
|
# @!attribute [rw] member
|
358
362
|
# @return [::String]
|
359
|
-
# A single identity requesting access for a Cloud
|
363
|
+
# A single identity requesting access for a Google Cloud resource.
|
360
364
|
# Follows the same format of Binding.members.
|
361
365
|
# Required
|
362
366
|
# @!attribute [rw] condition
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-billing-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
239
|
- !ruby/object:Gem::Version
|
240
240
|
version: '0'
|
241
241
|
requirements: []
|
242
|
-
rubygems_version: 3.4.
|
242
|
+
rubygems_version: 3.4.19
|
243
243
|
signing_key:
|
244
244
|
specification_version: 4
|
245
245
|
summary: Allows developers to manage billing for their Google Cloud Platform projects
|