google-apis-servicemanagement_v1 0.15.0 → 0.19.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 +17 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/servicemanagement_v1/classes.rb +91 -70
- data/lib/google/apis/servicemanagement_v1/gem_version.rb +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a2bdb65b55efc0d3cb1a61be2c42e10abfa1e092d2c5981433daee0d14ce6dd
|
4
|
+
data.tar.gz: a612a2b2b33086c1caa64e5d2c987f3da7c3e8fb7fb9d786882c84da75ac1a3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 715202f58c1ee50b843a7fd24f5f8d4b1c9b59225f5072f92305a87d94f136c62c0e5e1d0ce1f054c13fe475c7727129d6a5cafcddec08b9e1c283bf043154a3
|
7
|
+
data.tar.gz: '019b07525855aa94a529b04453619937f1f2996a7c78159ed4b99fb5db64802257b9acf9b0eb2da7d76f7d7f3c05562448111d6ca716607addbea811c1d6d393'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-servicemanagement_v1
|
2
2
|
|
3
|
+
### v0.19.0 (2022-01-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211230
|
6
|
+
* Unspecified changes
|
7
|
+
|
8
|
+
### v0.18.0 (2021-11-10)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20211105
|
11
|
+
|
12
|
+
### v0.17.0 (2021-10-20)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211015
|
15
|
+
|
16
|
+
### v0.16.0 (2021-10-05)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211001
|
19
|
+
|
3
20
|
### v0.15.0 (2021-09-01)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210813
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/servicemanagement_v1"
|
|
51
51
|
client = Google::Apis::ServicemanagementV1::ServiceManagementService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -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 Servicemanagement service in particular.)
|
67
67
|
|
@@ -556,7 +556,7 @@ module Google
|
|
556
556
|
end
|
557
557
|
end
|
558
558
|
|
559
|
-
# Associates `members
|
559
|
+
# Associates `members`, or principals, with a `role`.
|
560
560
|
class Binding
|
561
561
|
include Google::Apis::Core::Hashable
|
562
562
|
|
@@ -579,7 +579,7 @@ module Google
|
|
579
579
|
# @return [Google::Apis::ServicemanagementV1::Expr]
|
580
580
|
attr_accessor :condition
|
581
581
|
|
582
|
-
# Specifies the
|
582
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
583
583
|
# members` can have the following values: * `allUsers`: A special identifier
|
584
584
|
# that represents anyone who is on the internet; with or without a Google
|
585
585
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -609,8 +609,8 @@ module Google
|
|
609
609
|
# @return [Array<String>]
|
610
610
|
attr_accessor :members
|
611
611
|
|
612
|
-
# Role that is assigned to `members
|
613
|
-
#
|
612
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
613
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
614
614
|
# Corresponds to the JSON property `role`
|
615
615
|
# @return [String]
|
616
616
|
attr_accessor :role
|
@@ -867,13 +867,20 @@ module Google
|
|
867
867
|
end
|
868
868
|
|
869
869
|
# Selects and configures the service controller used by the service. The service
|
870
|
-
# controller handles
|
871
|
-
#
|
870
|
+
# controller handles two things: - **What is allowed:** for each API request,
|
871
|
+
# Chemist checks the project status, activation status, abuse status, billing
|
872
|
+
# status, service status, location restrictions, VPC Service Controls,
|
873
|
+
# SuperQuota, and other policies. - **What has happened:** for each API response,
|
874
|
+
# Chemist reports the telemetry data to analytics, auditing, billing, eventing,
|
875
|
+
# logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
|
876
|
+
# not associated with API traffic, such as billing metrics. Example: control:
|
877
|
+
# environment: servicecontrol.googleapis.com
|
872
878
|
class Control
|
873
879
|
include Google::Apis::Core::Hashable
|
874
880
|
|
875
|
-
# The service
|
876
|
-
# like quota and billing) will be enabled.
|
881
|
+
# The service controller environment to use. If empty, no control plane feature (
|
882
|
+
# like quota and billing) will be enabled. The recommended value for most
|
883
|
+
# services is servicecontrol.googleapis.com
|
877
884
|
# Corresponds to the JSON property `environment`
|
878
885
|
# @return [String]
|
879
886
|
attr_accessor :environment
|
@@ -1525,13 +1532,16 @@ module Google
|
|
1525
1532
|
class GetPolicyOptions
|
1526
1533
|
include Google::Apis::Core::Hashable
|
1527
1534
|
|
1528
|
-
# Optional. The policy
|
1529
|
-
# 3. Requests specifying an invalid value will be
|
1530
|
-
# policies with any conditional bindings must
|
1531
|
-
#
|
1532
|
-
# field unset.
|
1533
|
-
#
|
1534
|
-
#
|
1535
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1536
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1537
|
+
# rejected. Requests for policies with any conditional role bindings must
|
1538
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
1539
|
+
# valid value or leave the field unset. The policy in the response might use the
|
1540
|
+
# policy version that you specified, or it might use a lower policy version. For
|
1541
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1542
|
+
# bindings, the response uses version 1. To learn which resources support
|
1543
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1544
|
+
# google.com/iam/help/conditions/resource-policies).
|
1535
1545
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
1536
1546
|
# @return [Fixnum]
|
1537
1547
|
attr_accessor :requested_policy_version
|
@@ -2811,31 +2821,31 @@ module Google
|
|
2811
2821
|
|
2812
2822
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2813
2823
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
2814
|
-
# A `binding` binds one or more `members
|
2815
|
-
# user accounts, service accounts, Google groups, and domains (
|
2816
|
-
# A `role` is a named list of permissions; each `role` can be
|
2817
|
-
# role or a user-created custom role. For some types of Google
|
2818
|
-
# a `binding` can also specify a `condition`, which is a
|
2819
|
-
# allows access to a resource only if the expression
|
2820
|
-
# condition can add constraints based on attributes of
|
2821
|
-
# or both. To learn which resources support
|
2822
|
-
# see the [IAM documentation](https://cloud.
|
2823
|
-
# resource-policies). **JSON example:** ` "
|
2824
|
-
# resourcemanager.organizationAdmin", "members": [
|
2825
|
-
# group:admins@example.com", "domain:google.com", "
|
2826
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
2827
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
2828
|
-
# title": "expirable access", "description": "Does not grant
|
2829
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2830
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2831
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
2832
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2833
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
2834
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
2835
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
2836
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2837
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
2838
|
-
# google.com/iam/docs/).
|
2824
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
2825
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
2826
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
2827
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
2828
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
2829
|
+
# logical expression that allows access to a resource only if the expression
|
2830
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
2831
|
+
# the request, the resource, or both. To learn which resources support
|
2832
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2833
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
2834
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
2835
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
2836
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
2837
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
2838
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
2839
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2840
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2841
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
2842
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2843
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
2844
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
2845
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
2846
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2847
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
2848
|
+
# cloud.google.com/iam/docs/).
|
2839
2849
|
class Policy
|
2840
2850
|
include Google::Apis::Core::Hashable
|
2841
2851
|
|
@@ -2844,9 +2854,14 @@ module Google
|
|
2844
2854
|
# @return [Array<Google::Apis::ServicemanagementV1::AuditConfig>]
|
2845
2855
|
attr_accessor :audit_configs
|
2846
2856
|
|
2847
|
-
# Associates a list of `members
|
2848
|
-
# condition` that determines how and when the `bindings` are applied.
|
2849
|
-
# the `bindings` must contain at least one
|
2857
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
2858
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
2859
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
2860
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
2861
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
2862
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
2863
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
2864
|
+
# principals to the `bindings` in the `Policy`.
|
2850
2865
|
# Corresponds to the JSON property `bindings`
|
2851
2866
|
# @return [Array<Google::Apis::ServicemanagementV1::Binding>]
|
2852
2867
|
attr_accessor :bindings
|
@@ -3243,8 +3258,14 @@ module Google
|
|
3243
3258
|
attr_accessor :context
|
3244
3259
|
|
3245
3260
|
# Selects and configures the service controller used by the service. The service
|
3246
|
-
# controller handles
|
3247
|
-
#
|
3261
|
+
# controller handles two things: - **What is allowed:** for each API request,
|
3262
|
+
# Chemist checks the project status, activation status, abuse status, billing
|
3263
|
+
# status, service status, location restrictions, VPC Service Controls,
|
3264
|
+
# SuperQuota, and other policies. - **What has happened:** for each API response,
|
3265
|
+
# Chemist reports the telemetry data to analytics, auditing, billing, eventing,
|
3266
|
+
# logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
|
3267
|
+
# not associated with API traffic, such as billing metrics. Example: control:
|
3268
|
+
# environment: servicecontrol.googleapis.com
|
3248
3269
|
# Corresponds to the JSON property `control`
|
3249
3270
|
# @return [Google::Apis::ServicemanagementV1::Control]
|
3250
3271
|
attr_accessor :control
|
@@ -3492,31 +3513,31 @@ module Google
|
|
3492
3513
|
|
3493
3514
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3494
3515
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
3495
|
-
# A `binding` binds one or more `members
|
3496
|
-
# user accounts, service accounts, Google groups, and domains (
|
3497
|
-
# A `role` is a named list of permissions; each `role` can be
|
3498
|
-
# role or a user-created custom role. For some types of Google
|
3499
|
-
# a `binding` can also specify a `condition`, which is a
|
3500
|
-
# allows access to a resource only if the expression
|
3501
|
-
# condition can add constraints based on attributes of
|
3502
|
-
# or both. To learn which resources support
|
3503
|
-
# see the [IAM documentation](https://cloud.
|
3504
|
-
# resource-policies). **JSON example:** ` "
|
3505
|
-
# resourcemanager.organizationAdmin", "members": [
|
3506
|
-
# group:admins@example.com", "domain:google.com", "
|
3507
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
3508
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
3509
|
-
# title": "expirable access", "description": "Does not grant
|
3510
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3511
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3512
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
3513
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3514
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
3515
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
3516
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
3517
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3518
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
3519
|
-
# google.com/iam/docs/).
|
3516
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
3517
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
3518
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
3519
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
3520
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
3521
|
+
# logical expression that allows access to a resource only if the expression
|
3522
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
3523
|
+
# the request, the resource, or both. To learn which resources support
|
3524
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3525
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
3526
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3527
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3528
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3529
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3530
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3531
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3532
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3533
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
3534
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3535
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
3536
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
3537
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
3538
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3539
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
3540
|
+
# cloud.google.com/iam/docs/).
|
3520
3541
|
# Corresponds to the JSON property `policy`
|
3521
3542
|
# @return [Google::Apis::ServicemanagementV1::Policy]
|
3522
3543
|
attr_accessor :policy
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServicemanagementV1
|
18
18
|
# Version of the google-apis-servicemanagement_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.19.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 = "20211230"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-servicemanagement_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.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:
|
11
|
+
date: 2022-01-10 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-servicemanagement_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-servicemanagement_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicemanagement_v1/v0.19.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicemanagement_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Service Management API V1
|