google-apis-servicedirectory_v1 0.12.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79b1467a871a919ab9b2d74894e59e3f59a9c390fbbaf2c11f97b9b3235d3e91
4
- data.tar.gz: e8e9b5b09b3b86f67e875c50f8e8c273fa9745fb3414241272c2893388fb018a
3
+ metadata.gz: a5edb435070da69d7953d32e976d56fc744fbf9cab7d05613736032047bce0e2
4
+ data.tar.gz: 9f8ae653e32da530dddf7365a863f8fe5b35b80246b1e2e9a12857c7e133bfd5
5
5
  SHA512:
6
- metadata.gz: a1b6a708ad4c8096f5f86034808e4f23a7889aa99056c8a132fc581bd61cbb2dabe8fe8d879c1c8aadb060cc5099d210b0ff2485b85738be47357ab2c7d0c014
7
- data.tar.gz: 2d5c4877740356db0ad8916fa4f463d6bd64e3806cc03a9683d4dd7746dc05b5e6f1fc25396db7603bae7e41046bcf46c627f47dacd5726f73d1a670fe6d92da
6
+ metadata.gz: 501ff8474bdb2360cddad038284a8b7adf1e867a8bf2c6af122b3afef37c5d80ccaa4998fc1db11fbf1eb789aaf0dfa9890dd878634f4f569e635646c689e5ee
7
+ data.tar.gz: d7d48e7ce0eefed73cc974531f2151a506176ae30e526b721675aee24bf8a594cf65c4eed6c5ac2378e59f382c15f6cef45ffefb5c3d01cbf8232d6a944ab231
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release history for google-apis-servicedirectory_v1
2
2
 
3
+ ### v0.16.0 (2022-01-15)
4
+
5
+ * Regenerated from discovery document revision 20220111
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.15.0 (2021-12-16)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.14.0 (2021-11-14)
13
+
14
+ * Regenerated from discovery document revision 20211103
15
+
16
+ ### v0.13.0 (2021-10-26)
17
+
18
+ * Regenerated from discovery document revision 20211015
19
+ * Unspecified changes
20
+
3
21
  ### v0.12.0 (2021-08-22)
4
22
 
5
23
  * Regenerated from discovery document revision 20210811
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/servicedirectory_v1"
51
51
  client = Google::Apis::ServicedirectoryV1::ServiceDirectoryService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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` with a `role`.
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 identities requesting access for a Cloud Platform resource. `
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`. For example, `roles/viewer`, `roles/editor`
79
- # , or `roles/owner`.
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
@@ -145,6 +145,15 @@ module Google
145
145
  # @return [String]
146
146
  attr_accessor :name
147
147
 
148
+ # Immutable. The Google Compute Engine network (VPC) of the endpoint in the
149
+ # format `projects//locations/global/networks/*`. The project must be specified
150
+ # by project number (project id is rejected). Incorrectly formatted networks are
151
+ # rejected, we also check to make sure that you have the servicedirectory.
152
+ # networks.attach permission on the project specified.
153
+ # Corresponds to the JSON property `network`
154
+ # @return [String]
155
+ attr_accessor :network
156
+
148
157
  # Optional. Service Directory rejects values outside of `[0, 65535]`.
149
158
  # Corresponds to the JSON property `port`
150
159
  # @return [Fixnum]
@@ -159,6 +168,7 @@ module Google
159
168
  @address = args[:address] if args.key?(:address)
160
169
  @annotations = args[:annotations] if args.key?(:annotations)
161
170
  @name = args[:name] if args.key?(:name)
171
+ @network = args[:network] if args.key?(:network)
162
172
  @port = args[:port] if args.key?(:port)
163
173
  end
164
174
  end
@@ -240,13 +250,16 @@ module Google
240
250
  class GetPolicyOptions
241
251
  include Google::Apis::Core::Hashable
242
252
 
243
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
244
- # 3. Requests specifying an invalid value will be rejected. Requests for
245
- # policies with any conditional bindings must specify version 3. Policies
246
- # without any conditional bindings may specify any valid value or leave the
247
- # field unset. To learn which resources support conditions in their IAM policies,
248
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
249
- # resource-policies).
253
+ # Optional. The maximum policy version that will be used to format the policy.
254
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
255
+ # rejected. Requests for policies with any conditional role bindings must
256
+ # specify version 3. Policies with no conditional role bindings may specify any
257
+ # valid value or leave the field unset. The policy in the response might use the
258
+ # policy version that you specified, or it might use a lower policy version. For
259
+ # example, if you specify version 3, but the policy has no conditional role
260
+ # bindings, the response uses version 1. To learn which resources support
261
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
262
+ # google.com/iam/help/conditions/resource-policies).
250
263
  # Corresponds to the JSON property `requestedPolicyVersion`
251
264
  # @return [Fixnum]
252
265
  attr_accessor :requested_policy_version
@@ -442,37 +455,42 @@ module Google
442
455
 
443
456
  # An Identity and Access Management (IAM) policy, which specifies access
444
457
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
445
- # A `binding` binds one or more `members` to a single `role`. Members can be
446
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
447
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
448
- # role or a user-created custom role. For some types of Google Cloud resources,
449
- # a `binding` can also specify a `condition`, which is a logical expression that
450
- # allows access to a resource only if the expression evaluates to `true`. A
451
- # condition can add constraints based on attributes of the request, the resource,
452
- # or both. To learn which resources support conditions in their IAM policies,
453
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
454
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
455
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
456
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
457
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
458
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
459
- # title": "expirable access", "description": "Does not grant access after Sep
460
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
461
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
462
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
463
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
464
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
465
- # roles/resourcemanager.organizationViewer condition: title: expirable access
466
- # description: Does not grant access after Sep 2020 expression: request.time <
467
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
468
- # description of IAM and its features, see the [IAM documentation](https://cloud.
469
- # google.com/iam/docs/).
458
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
459
+ # Principals can be user accounts, service accounts, Google groups, and domains (
460
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
461
+ # an IAM predefined role or a user-created custom role. For some types of Google
462
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
463
+ # logical expression that allows access to a resource only if the expression
464
+ # evaluates to `true`. A condition can add constraints based on attributes of
465
+ # the request, the resource, or both. To learn which resources support
466
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
467
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
468
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
469
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
470
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
471
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
472
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
473
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
474
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
475
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
476
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
477
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
478
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
479
+ # access description: Does not grant access after Sep 2020 expression: request.
480
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
481
+ # a description of IAM and its features, see the [IAM documentation](https://
482
+ # cloud.google.com/iam/docs/).
470
483
  class Policy
471
484
  include Google::Apis::Core::Hashable
472
485
 
473
- # Associates a list of `members` to a `role`. Optionally, may specify a `
474
- # condition` that determines how and when the `bindings` are applied. Each of
475
- # the `bindings` must contain at least one member.
486
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
487
+ # specify a `condition` that determines how and when the `bindings` are applied.
488
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
489
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
490
+ # can be Google groups. Each occurrence of a principal counts towards these
491
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
492
+ # example.com`, and not to any other principal, then you can add another 1,450
493
+ # principals to the `bindings` in the `Policy`.
476
494
  # Corresponds to the JSON property `bindings`
477
495
  # @return [Array<Google::Apis::ServicedirectoryV1::Binding>]
478
496
  attr_accessor :bindings
@@ -643,31 +661,31 @@ module Google
643
661
 
644
662
  # An Identity and Access Management (IAM) policy, which specifies access
645
663
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
646
- # A `binding` binds one or more `members` to a single `role`. Members can be
647
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
648
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
649
- # role or a user-created custom role. For some types of Google Cloud resources,
650
- # a `binding` can also specify a `condition`, which is a logical expression that
651
- # allows access to a resource only if the expression evaluates to `true`. A
652
- # condition can add constraints based on attributes of the request, the resource,
653
- # or both. To learn which resources support conditions in their IAM policies,
654
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
655
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
656
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
657
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
658
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
659
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
660
- # title": "expirable access", "description": "Does not grant access after Sep
661
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
662
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
663
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
664
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
665
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
666
- # roles/resourcemanager.organizationViewer condition: title: expirable access
667
- # description: Does not grant access after Sep 2020 expression: request.time <
668
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
669
- # description of IAM and its features, see the [IAM documentation](https://cloud.
670
- # google.com/iam/docs/).
664
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
665
+ # Principals can be user accounts, service accounts, Google groups, and domains (
666
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
667
+ # an IAM predefined role or a user-created custom role. For some types of Google
668
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
669
+ # logical expression that allows access to a resource only if the expression
670
+ # evaluates to `true`. A condition can add constraints based on attributes of
671
+ # the request, the resource, or both. To learn which resources support
672
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
673
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
674
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
675
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
676
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
677
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
678
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
679
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
680
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
681
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
682
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
683
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
684
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
685
+ # access description: Does not grant access after Sep 2020 expression: request.
686
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
687
+ # a description of IAM and its features, see the [IAM documentation](https://
688
+ # cloud.google.com/iam/docs/).
671
689
  # Corresponds to the JSON property `policy`
672
690
  # @return [Google::Apis::ServicedirectoryV1::Policy]
673
691
  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.12.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210811"
25
+ REVISION = "20220111"
26
26
  end
27
27
  end
28
28
  end
@@ -158,6 +158,7 @@ module Google
158
158
  property :address, as: 'address'
159
159
  hash :annotations, as: 'annotations'
160
160
  property :name, as: 'name'
161
+ property :network, as: 'network'
161
162
  property :port, as: 'port'
162
163
  end
163
164
  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.12.0
4
+ version: 0.16.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-08-23 00:00:00.000000000 Z
11
+ date: 2022-01-17 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/master/generated/google-apis-servicedirectory_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicedirectory_v1/v0.12.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicedirectory_v1
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.16.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:
@@ -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.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Service Directory API V1