google-apis-cloudresourcemanager_v2 0.27.0 → 0.29.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da797907ab8c56d06bb0445be29d011faed245a681bac1038e8917eeb9163bf7
4
- data.tar.gz: 117c6ac2b987114f12956bfb83eafb666489c23d15406694b137c5ad9c54ebe9
3
+ metadata.gz: 111762777cdc0c7d47ac33b3c335df9596d2291ec3bde9b56261d528a3166bd7
4
+ data.tar.gz: 75e9ff48d38eda6d3b3f18be6449167f945a0dafa28593381359f579f8929116
5
5
  SHA512:
6
- metadata.gz: 9d036a33b89daa125f4859f9ad9e513c2b1ad10cf35d1c4206bb6a74204f00b8fbab0a367822e855df98f490f19aab18ce49cf9814959850adf5ad9ca152f88a
7
- data.tar.gz: ab5280cb3e2375eaa6049f60fd0375a799c43108bc835dc04833da827e697be72f1fd459643f4c94726a6c68e8bab91954166107f9eac004f84d1e230f63deb8
6
+ metadata.gz: 8716ca6c90cdc0c9316124c955f379a5f40819ca64f04e82c37cbe031e2d654d6c111475c7300499ba5f13d198629e2fa74f80c153e9283c575d997b5e0a737a
7
+ data.tar.gz: 633030f739748f9fd8b3839cb2b0535b4a093705e33c22acafcf342ecd0b36524dd7548ca1dc793a54e92de3512753ae2ca38fb7f54fae4b9152a4e84e3d2d81
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudresourcemanager_v2
2
2
 
3
+ ### v0.29.0 (2024-01-22)
4
+
5
+ * Regenerated from discovery document revision 20240109
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.28.0 (2023-08-13)
9
+
10
+ * Regenerated from discovery document revision 20230806
11
+
3
12
  ### v0.27.0 (2023-02-15)
4
13
 
5
14
  * Regenerated using generator version 0.12.0
@@ -132,21 +132,43 @@ module Google
132
132
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
133
133
  # email address that represents a Google group. For example, `admins@example.com`
134
134
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
135
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
136
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
137
- # representing a user that has been recently deleted. For example, `alice@
138
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
139
- # reverts to `user:`emailid`` and the recovered user retains the role in the
140
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
141
- # (plus unique identifier) representing a service account that has been recently
142
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
135
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
136
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
137
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
138
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
139
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
140
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
141
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
142
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
143
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
144
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
145
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
146
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
147
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
148
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
149
+ # googleapis.com/projects/`project_number`/locations/global/
150
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
151
+ # All identities in a workload identity pool with a certain attribute. * `
152
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
153
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
154
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
155
+ # identifier) representing a user that has been recently deleted. For example, `
156
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
157
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
158
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
159
+ # address (plus unique identifier) representing a service account that has been
160
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
143
161
  # 123456789012345678901`. If the service account is undeleted, this value
144
162
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
145
163
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
146
164
  # An email address (plus unique identifier) representing a Google group that has
147
165
  # been recently deleted. For example, `admins@example.com?uid=
148
166
  # 123456789012345678901`. If the group is recovered, this value reverts to `
149
- # group:`emailid`` and the recovered group retains the role in the binding.
167
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
168
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
169
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
170
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
171
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
150
172
  # Corresponds to the JSON property `members`
151
173
  # @return [Array<String>]
152
174
  attr_accessor :members
@@ -770,13 +792,13 @@ module Google
770
792
  # @return [String]
771
793
  attr_accessor :name
772
794
 
773
- # The normal response of the operation in case of success. If the original
774
- # method returns no data on success, such as `Delete`, the response is `google.
775
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
776
- # the response should be the resource. For other methods, the response should
777
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
778
- # example, if the original method name is `TakeSnapshot()`, the inferred
779
- # response type is `TakeSnapshotResponse`.
795
+ # The normal, successful response of the operation. If the original method
796
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
797
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
798
+ # response should be the resource. For other methods, the response should have
799
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
800
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
801
+ # `TakeSnapshotResponse`.
780
802
  # Corresponds to the JSON property `response`
781
803
  # @return [Hash<String,Object>]
782
804
  attr_accessor :response
@@ -806,22 +828,22 @@ module Google
806
828
  # evaluates to `true`. A condition can add constraints based on attributes of
807
829
  # the request, the resource, or both. To learn which resources support
808
830
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
809
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
831
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
810
832
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
811
833
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
812
834
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
813
835
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
814
836
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
815
837
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
816
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
817
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
818
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
819
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
820
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
821
- # access description: Does not grant access after Sep 2020 expression: request.
822
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
823
- # a description of IAM and its features, see the [IAM documentation](https://
824
- # cloud.google.com/iam/docs/).
838
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
839
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
840
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
841
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
842
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
843
+ # title: expirable access description: Does not grant access after Sep 2020
844
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
845
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
846
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
825
847
  class Policy
826
848
  include Google::Apis::Core::Hashable
827
849
 
@@ -1014,22 +1036,22 @@ module Google
1014
1036
  # evaluates to `true`. A condition can add constraints based on attributes of
1015
1037
  # the request, the resource, or both. To learn which resources support
1016
1038
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1017
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1039
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
1018
1040
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1019
1041
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1020
1042
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1021
1043
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1022
1044
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
1023
1045
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1024
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1025
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1026
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1027
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1028
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1029
- # access description: Does not grant access after Sep 2020 expression: request.
1030
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1031
- # a description of IAM and its features, see the [IAM documentation](https://
1032
- # cloud.google.com/iam/docs/).
1046
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
1047
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
1048
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
1049
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
1050
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
1051
+ # title: expirable access description: Does not grant access after Sep 2020
1052
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
1053
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
1054
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1033
1055
  # Corresponds to the JSON property `policy`
1034
1056
  # @return [Google::Apis::CloudresourcemanagerV2::Policy]
1035
1057
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudresourcemanagerV2
18
18
  # Version of the google-apis-cloudresourcemanager_v2 gem
19
- GEM_VERSION = "0.27.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230129"
25
+ REVISION = "20240109"
26
26
  end
27
27
  end
28
28
  end
@@ -33,6 +33,8 @@ module Google
33
33
  #
34
34
  # @see https://cloud.google.com/resource-manager
35
35
  class CloudResourceManagerService < Google::Apis::Core::BaseService
36
+ DEFAULT_ENDPOINT_TEMPLATE = "https://cloudresourcemanager.$UNIVERSE_DOMAIN$/"
37
+
36
38
  # @return [String]
37
39
  # API key. Your API key identifies your project and provides you with API access,
38
40
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -44,7 +46,7 @@ module Google
44
46
  attr_accessor :quota_user
45
47
 
46
48
  def initialize
47
- super('https://cloudresourcemanager.googleapis.com/', '',
49
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
48
50
  client_name: 'google-apis-cloudresourcemanager_v2',
49
51
  client_version: Google::Apis::CloudresourcemanagerV2::GEM_VERSION)
50
52
  @batch_path = 'batch'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudresourcemanager_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.29.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: 2023-02-19 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudresourcemanager_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v2/v0.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v2/v0.29.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudresourcemanager_v2
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -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.4.2
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Resource Manager API V2