google-apis-cloudbilling_v1 0.7.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/cloudbilling_v1/classes.rb +62 -57
- data/lib/google/apis/cloudbilling_v1/gem_version.rb +2 -2
- data/lib/google/apis/cloudbilling_v1/service.rb +10 -7
- 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: 3c747f0e84c5c4b980246a2adeca426b4fd91f01a50e86dc38dce8003295053f
|
4
|
+
data.tar.gz: cdf31efd7e779d0598961c773b2ec5957305e39f4dfae1bfadaca4b6bccac37d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e25b3d546dfd06b87162d1d71b12edd0eb44f3ebb509edebd5c9f2dfbdfdc61e14aa7fe5d1f0db91e6a2852b77eca525f5df63ecc4cf37e3623e6629a8c39875
|
7
|
+
data.tar.gz: c5d2636b4c950da5fb09a6dc7888a3eefecccdde84f6f4c8a81a1144d065f6209b4b4d14cd03968672a6c2ce635cf5bb0ebbefb93d83f002957ad016aad54263
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-cloudbilling_v1
|
2
2
|
|
3
|
+
### v0.11.0 (2021-11-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211106
|
6
|
+
|
7
|
+
### v0.10.0 (2021-10-20)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.9.0 (2021-10-12)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211007
|
14
|
+
|
15
|
+
### v0.8.0 (2021-10-05)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211004
|
18
|
+
|
3
19
|
### v0.7.0 (2021-08-31)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210827
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Cloudbilling service in particular.)
|
67
67
|
|
@@ -173,7 +173,7 @@ module Google
|
|
173
173
|
end
|
174
174
|
end
|
175
175
|
|
176
|
-
# Associates `members
|
176
|
+
# Associates `members`, or principals, with a `role`.
|
177
177
|
class Binding
|
178
178
|
include Google::Apis::Core::Hashable
|
179
179
|
|
@@ -196,7 +196,7 @@ module Google
|
|
196
196
|
# @return [Google::Apis::CloudbillingV1::Expr]
|
197
197
|
attr_accessor :condition
|
198
198
|
|
199
|
-
# Specifies the
|
199
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
200
200
|
# members` can have the following values: * `allUsers`: A special identifier
|
201
201
|
# that represents anyone who is on the internet; with or without a Google
|
202
202
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -226,8 +226,8 @@ module Google
|
|
226
226
|
# @return [Array<String>]
|
227
227
|
attr_accessor :members
|
228
228
|
|
229
|
-
# Role that is assigned to `members
|
230
|
-
#
|
229
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
230
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
231
231
|
# Corresponds to the JSON property `role`
|
232
232
|
# @return [String]
|
233
233
|
attr_accessor :role
|
@@ -511,31 +511,31 @@ module Google
|
|
511
511
|
|
512
512
|
# An Identity and Access Management (IAM) policy, which specifies access
|
513
513
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
514
|
-
# A `binding` binds one or more `members
|
515
|
-
# user accounts, service accounts, Google groups, and domains (
|
516
|
-
# A `role` is a named list of permissions; each `role` can be
|
517
|
-
# role or a user-created custom role. For some types of Google
|
518
|
-
# a `binding` can also specify a `condition`, which is a
|
519
|
-
# allows access to a resource only if the expression
|
520
|
-
# condition can add constraints based on attributes of
|
521
|
-
# or both. To learn which resources support
|
522
|
-
# see the [IAM documentation](https://cloud.
|
523
|
-
# resource-policies). **JSON example:** ` "
|
524
|
-
# resourcemanager.organizationAdmin", "members": [
|
525
|
-
# group:admins@example.com", "domain:google.com", "
|
526
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
527
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
528
|
-
# title": "expirable access", "description": "Does not grant
|
529
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
530
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
531
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
532
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
533
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
534
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
535
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
536
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
537
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
538
|
-
# google.com/iam/docs/).
|
514
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
515
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
516
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
517
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
518
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
519
|
+
# logical expression that allows access to a resource only if the expression
|
520
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
521
|
+
# the request, the resource, or both. To learn which resources support
|
522
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
523
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
524
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
525
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
526
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
527
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
528
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
529
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
530
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
531
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
532
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
533
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
534
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
535
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
536
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
537
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
538
|
+
# cloud.google.com/iam/docs/).
|
539
539
|
class Policy
|
540
540
|
include Google::Apis::Core::Hashable
|
541
541
|
|
@@ -544,9 +544,14 @@ module Google
|
|
544
544
|
# @return [Array<Google::Apis::CloudbillingV1::AuditConfig>]
|
545
545
|
attr_accessor :audit_configs
|
546
546
|
|
547
|
-
# Associates a list of `members
|
548
|
-
# condition` that determines how and when the `bindings` are applied.
|
549
|
-
# the `bindings` must contain at least one
|
547
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
548
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
549
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
550
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
551
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
552
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
553
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
554
|
+
# principals to the `bindings` in the `Policy`.
|
550
555
|
# Corresponds to the JSON property `bindings`
|
551
556
|
# @return [Array<Google::Apis::CloudbillingV1::Binding>]
|
552
557
|
attr_accessor :bindings
|
@@ -819,31 +824,31 @@ module Google
|
|
819
824
|
|
820
825
|
# An Identity and Access Management (IAM) policy, which specifies access
|
821
826
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
822
|
-
# A `binding` binds one or more `members
|
823
|
-
# user accounts, service accounts, Google groups, and domains (
|
824
|
-
# A `role` is a named list of permissions; each `role` can be
|
825
|
-
# role or a user-created custom role. For some types of Google
|
826
|
-
# a `binding` can also specify a `condition`, which is a
|
827
|
-
# allows access to a resource only if the expression
|
828
|
-
# condition can add constraints based on attributes of
|
829
|
-
# or both. To learn which resources support
|
830
|
-
# see the [IAM documentation](https://cloud.
|
831
|
-
# resource-policies). **JSON example:** ` "
|
832
|
-
# resourcemanager.organizationAdmin", "members": [
|
833
|
-
# group:admins@example.com", "domain:google.com", "
|
834
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
835
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
836
|
-
# title": "expirable access", "description": "Does not grant
|
837
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
838
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
839
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
840
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
841
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
842
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
843
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
844
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
845
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
846
|
-
# google.com/iam/docs/).
|
827
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
828
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
829
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
830
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
831
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
832
|
+
# logical expression that allows access to a resource only if the expression
|
833
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
834
|
+
# the request, the resource, or both. To learn which resources support
|
835
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
836
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
837
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
838
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
839
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
840
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
841
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
842
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
843
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
844
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
845
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
846
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
847
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
848
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
849
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
850
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
851
|
+
# cloud.google.com/iam/docs/).
|
847
852
|
# Corresponds to the JSON property `policy`
|
848
853
|
# @return [Google::Apis::CloudbillingV1::Policy]
|
849
854
|
attr_accessor :policy
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudbillingV1
|
18
18
|
# Version of the google-apis-cloudbilling_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211106"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -131,13 +131,16 @@ module Google
|
|
131
131
|
# REQUIRED: The resource for which the policy is being requested. See the
|
132
132
|
# operation documentation for the appropriate value for this field.
|
133
133
|
# @param [Fixnum] options_requested_policy_version
|
134
|
-
# Optional. The policy
|
135
|
-
# 3. Requests specifying an invalid value will be
|
136
|
-
# policies with any conditional bindings must
|
137
|
-
#
|
138
|
-
# field unset.
|
139
|
-
#
|
140
|
-
#
|
134
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
135
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
136
|
+
# rejected. Requests for policies with any conditional role bindings must
|
137
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
138
|
+
# valid value or leave the field unset. The policy in the response might use the
|
139
|
+
# policy version that you specified, or it might use a lower policy version. For
|
140
|
+
# example, if you specify version 3, but the policy has no conditional role
|
141
|
+
# bindings, the response uses version 1. To learn which resources support
|
142
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
143
|
+
# google.com/iam/help/conditions/resource-policies).
|
141
144
|
# @param [String] fields
|
142
145
|
# Selector specifying which fields to include in a partial response.
|
143
146
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudbilling_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.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: 2021-
|
11
|
+
date: 2021-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbilling_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbilling_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbilling_v1/v0.11.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbilling_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|