google-apis-servicedirectory_v1 0.12.0 → 0.13.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 +5 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/servicedirectory_v1/classes.rb +62 -57
- data/lib/google/apis/servicedirectory_v1/gem_version.rb +2 -2
- 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: f0228ffcf3e38b60a9ea7e4f15a93984a066700be2c0bcb31ef87908084a0aad
|
4
|
+
data.tar.gz: 6227f73718c7aaa56c7959b02c7aa608d89cc95c53d0f590229b56c027d21d22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc8e208934b707bab7dcbdd191f87692b459a79a479d7d69f58573d9698bd5b7f1ecedb21465ec8a883cb0674bb117a23b8821f38d65c0980a8f7e852947328e
|
7
|
+
data.tar.gz: 2c4541b8c6bec8cc0a1d3855f2fe527ac5b12f1bcb709c6eb6ba1e850a1809c6285cdfbbeb451849f9e59f0aedd051bedb1827ba0cb3523753bc4980393f9ac0
|
data/CHANGELOG.md
CHANGED
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 Servicedirectory service in particular.)
|
67
67
|
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ServicedirectoryV1
|
24
24
|
|
25
|
-
# Associates `members
|
25
|
+
# Associates `members`, or principals, with a `role`.
|
26
26
|
class Binding
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
@@ -45,7 +45,7 @@ module Google
|
|
45
45
|
# @return [Google::Apis::ServicedirectoryV1::Expr]
|
46
46
|
attr_accessor :condition
|
47
47
|
|
48
|
-
# Specifies the
|
48
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
49
49
|
# members` can have the following values: * `allUsers`: A special identifier
|
50
50
|
# that represents anyone who is on the internet; with or without a Google
|
51
51
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -75,8 +75,8 @@ module Google
|
|
75
75
|
# @return [Array<String>]
|
76
76
|
attr_accessor :members
|
77
77
|
|
78
|
-
# Role that is assigned to `members
|
79
|
-
#
|
78
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
79
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
80
80
|
# Corresponds to the JSON property `role`
|
81
81
|
# @return [String]
|
82
82
|
attr_accessor :role
|
@@ -442,37 +442,42 @@ module Google
|
|
442
442
|
|
443
443
|
# An Identity and Access Management (IAM) policy, which specifies access
|
444
444
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
445
|
-
# A `binding` binds one or more `members
|
446
|
-
# user accounts, service accounts, Google groups, and domains (
|
447
|
-
# A `role` is a named list of permissions; each `role` can be
|
448
|
-
# role or a user-created custom role. For some types of Google
|
449
|
-
# a `binding` can also specify a `condition`, which is a
|
450
|
-
# allows access to a resource only if the expression
|
451
|
-
# condition can add constraints based on attributes of
|
452
|
-
# or both. To learn which resources support
|
453
|
-
# see the [IAM documentation](https://cloud.
|
454
|
-
# resource-policies). **JSON example:** ` "
|
455
|
-
# resourcemanager.organizationAdmin", "members": [
|
456
|
-
# group:admins@example.com", "domain:google.com", "
|
457
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
458
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
459
|
-
# title": "expirable access", "description": "Does not grant
|
460
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
461
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
462
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
463
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
464
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
465
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
466
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
467
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
468
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
469
|
-
# google.com/iam/docs/).
|
445
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
446
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
447
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
448
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
449
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
450
|
+
# logical expression that allows access to a resource only if the expression
|
451
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
452
|
+
# the request, the resource, or both. To learn which resources support
|
453
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
454
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
455
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
456
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
457
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
458
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
459
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
460
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
461
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
462
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
463
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
464
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
465
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
466
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
467
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
468
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
469
|
+
# cloud.google.com/iam/docs/).
|
470
470
|
class Policy
|
471
471
|
include Google::Apis::Core::Hashable
|
472
472
|
|
473
|
-
# Associates a list of `members
|
474
|
-
# condition` that determines how and when the `bindings` are applied.
|
475
|
-
# the `bindings` must contain at least one
|
473
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
474
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
475
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
476
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
477
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
478
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
479
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
480
|
+
# principals to the `bindings` in the `Policy`.
|
476
481
|
# Corresponds to the JSON property `bindings`
|
477
482
|
# @return [Array<Google::Apis::ServicedirectoryV1::Binding>]
|
478
483
|
attr_accessor :bindings
|
@@ -643,31 +648,31 @@ module Google
|
|
643
648
|
|
644
649
|
# An Identity and Access Management (IAM) policy, which specifies access
|
645
650
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
646
|
-
# A `binding` binds one or more `members
|
647
|
-
# user accounts, service accounts, Google groups, and domains (
|
648
|
-
# A `role` is a named list of permissions; each `role` can be
|
649
|
-
# role or a user-created custom role. For some types of Google
|
650
|
-
# a `binding` can also specify a `condition`, which is a
|
651
|
-
# allows access to a resource only if the expression
|
652
|
-
# condition can add constraints based on attributes of
|
653
|
-
# or both. To learn which resources support
|
654
|
-
# see the [IAM documentation](https://cloud.
|
655
|
-
# resource-policies). **JSON example:** ` "
|
656
|
-
# resourcemanager.organizationAdmin", "members": [
|
657
|
-
# group:admins@example.com", "domain:google.com", "
|
658
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
659
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
660
|
-
# title": "expirable access", "description": "Does not grant
|
661
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
662
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
663
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
664
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
665
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
666
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
667
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
668
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
669
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
670
|
-
# google.com/iam/docs/).
|
651
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
652
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
653
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
654
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
655
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
656
|
+
# logical expression that allows access to a resource only if the expression
|
657
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
658
|
+
# the request, the resource, or both. To learn which resources support
|
659
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
660
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
661
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
662
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
663
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
664
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
665
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
666
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
667
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
668
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
669
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
670
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
671
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
672
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
673
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
674
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
675
|
+
# cloud.google.com/iam/docs/).
|
671
676
|
# Corresponds to the JSON property `policy`
|
672
677
|
# @return [Google::Apis::ServicedirectoryV1::Policy]
|
673
678
|
attr_accessor :policy
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServicedirectoryV1
|
18
18
|
# Version of the google-apis-servicedirectory_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.13.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 = "20211015"
|
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-servicedirectory_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.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-10-27 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-servicedirectory_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-servicedirectory_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicedirectory_v1/v0.13.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicedirectory_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|