google-apis-cloudresourcemanager_v1 0.31.0 → 0.41.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: 4c782884ac864320b8250bebbf9fcb8c15016a845afb6ee10828d39b4740bb85
4
- data.tar.gz: 33419df34df52b13775ff039761c8d998538a3eb644af79c357ce1f29b1489b7
3
+ metadata.gz: cb0c37fa42761eeb2130d0850b41ab2c591810bc82d840a9b7d3a8871c148eb2
4
+ data.tar.gz: 79dbc5dafbf01e062c044a32b312f11b634222c5f0053108a3f0fa90e4f7803f
5
5
  SHA512:
6
- metadata.gz: 594a430cd53d0b88cb80572f6df3c06ed1b2cbb7593537dfed35cdc2a6791cea7f84b68291f6184f064aac564ad02847334168fd61c1fe58997ee2ecf2d792e0
7
- data.tar.gz: 7261d8498dd550f39e7e8d3ff7155c56d1e8f493b22c09ebac6238e617a7ba85c8fd11bd688e1a24763c3052e7974061f813f0913bf86bb557d8f87f46131a20
6
+ metadata.gz: 636031e8f0bcf8099061f871a0da9c66935097f71291d929a0da3af1f68e226fc88f7e203c915ca81cfe081e0dbf350f06f3de3d0e079c3188bf02988d437400
7
+ data.tar.gz: 49741be8e9d4ac367673276a54ae011cdb63d744879bc18074ae84770043f5a0c1287cbcbba420d93093eb06575f286e56fbb0bea71a0cf05f7a47319fd8f142
data/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # Release history for google-apis-cloudresourcemanager_v1
2
2
 
3
+ ### v0.41.0 (2024-05-19)
4
+
5
+ * Regenerated using generator version 0.15.0
6
+
7
+ ### v0.40.0 (2024-03-17)
8
+
9
+ * Regenerated from discovery document revision 20240310
10
+
11
+ ### v0.39.0 (2024-03-10)
12
+
13
+ * Regenerated from discovery document revision 20240303
14
+
15
+ ### v0.38.0 (2024-02-24)
16
+
17
+ * Regenerated using generator version 0.14.0
18
+
19
+ ### v0.37.0 (2024-02-04)
20
+
21
+ * Regenerated from discovery document revision 20240128
22
+ * Regenerated using generator version 0.13.1
23
+
24
+ ### v0.36.0 (2024-01-23)
25
+
26
+ * Regenerated from discovery document revision 20240109
27
+ * Regenerated using generator version 0.13.0
28
+
29
+ ### v0.35.0 (2023-10-29)
30
+
31
+ * Regenerated from discovery document revision 20231022
32
+
33
+ ### v0.34.0 (2023-08-13)
34
+
35
+ * Regenerated from discovery document revision 20230806
36
+
37
+ ### v0.33.0 (2023-02-15)
38
+
39
+ * Regenerated using generator version 0.12.0
40
+
41
+ ### v0.32.0 (2023-02-05)
42
+
43
+ * Regenerated from discovery document revision 20230129
44
+ * Regenerated using generator version 0.11.1
45
+
3
46
  ### v0.31.0 (2022-10-28)
4
47
 
5
48
  * Regenerated using generator version 0.11.0
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/resource-manager) may provi
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -153,7 +153,27 @@ module Google
153
153
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
154
154
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
155
155
  # email address that represents a Google group. For example, `admins@example.com`
156
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
156
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
157
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
158
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
159
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
160
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
161
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
162
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
163
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
164
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
165
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
166
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
167
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
168
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
169
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
170
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
171
+ # googleapis.com/projects/`project_number`/locations/global/
172
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
173
+ # All identities in a workload identity pool with a certain attribute. * `
174
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
175
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
176
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
157
177
  # identifier) representing a user that has been recently deleted. For example, `
158
178
  # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
159
179
  # value reverts to `user:`emailid`` and the recovered user retains the role in
@@ -167,14 +187,19 @@ module Google
167
187
  # been recently deleted. For example, `admins@example.com?uid=
168
188
  # 123456789012345678901`. If the group is recovered, this value reverts to `
169
189
  # group:`emailid`` and the recovered group retains the role in the binding. * `
170
- # domain:`domain``: The G Suite domain (primary) that represents all the users
171
- # of that domain. For example, `google.com` or `example.com`.
190
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
191
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
192
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
193
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
172
194
  # Corresponds to the JSON property `members`
173
195
  # @return [Array<String>]
174
196
  attr_accessor :members
175
197
 
176
198
  # Role that is assigned to the list of `members`, or principals. For example, `
177
- # roles/viewer`, `roles/editor`, or `roles/owner`.
199
+ # roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
200
+ # roles and permissions, see the [IAM documentation](https://cloud.google.com/
201
+ # iam/docs/roles-overview). For a list of the available pre-defined roles, see [
202
+ # here](https://cloud.google.com/iam/docs/understanding-roles).
178
203
  # Corresponds to the JSON property `role`
179
204
  # @return [String]
180
205
  attr_accessor :role
@@ -1311,13 +1336,13 @@ module Google
1311
1336
  # @return [String]
1312
1337
  attr_accessor :name
1313
1338
 
1314
- # The normal response of the operation in case of success. If the original
1315
- # method returns no data on success, such as `Delete`, the response is `google.
1316
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1317
- # the response should be the resource. For other methods, the response should
1318
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
1319
- # example, if the original method name is `TakeSnapshot()`, the inferred
1320
- # response type is `TakeSnapshotResponse`.
1339
+ # The normal, successful response of the operation. If the original method
1340
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
1341
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
1342
+ # response should be the resource. For other methods, the response should have
1343
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
1344
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
1345
+ # `TakeSnapshotResponse`.
1321
1346
  # Corresponds to the JSON property `response`
1322
1347
  # @return [Hash<String,Object>]
1323
1348
  attr_accessor :response
@@ -1441,10 +1466,10 @@ module Google
1441
1466
  # @return [String]
1442
1467
  attr_accessor :creation_time
1443
1468
 
1444
- # A human-readable string that refers to the Organization in the GCP Console UI.
1445
- # This string is set by the server and cannot be changed. The string will be set
1446
- # to the primary domain (for example, "google.com") of the G Suite customer that
1447
- # owns the organization.
1469
+ # A human-readable string that refers to the Organization in the Google Cloud
1470
+ # console. This string is set by the server and cannot be changed. The string
1471
+ # will be set to the primary domain (for example, "google.com") of the G Suite
1472
+ # customer that owns the organization.
1448
1473
  # Corresponds to the JSON property `displayName`
1449
1474
  # @return [String]
1450
1475
  attr_accessor :display_name
@@ -1516,22 +1541,22 @@ module Google
1516
1541
  # evaluates to `true`. A condition can add constraints based on attributes of
1517
1542
  # the request, the resource, or both. To learn which resources support
1518
1543
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1519
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1544
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
1520
1545
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1521
1546
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1522
1547
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1523
1548
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1524
1549
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
1525
1550
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1526
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1527
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1528
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1529
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1530
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1531
- # access description: Does not grant access after Sep 2020 expression: request.
1532
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1533
- # a description of IAM and its features, see the [IAM documentation](https://
1534
- # cloud.google.com/iam/docs/).
1551
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
1552
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
1553
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
1554
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
1555
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
1556
+ # title: expirable access description: Does not grant access after Sep 2020
1557
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
1558
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
1559
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1535
1560
  class Policy
1536
1561
  include Google::Apis::Core::Hashable
1537
1562
 
@@ -1654,6 +1679,14 @@ module Google
1654
1679
  # @return [Fixnum]
1655
1680
  attr_accessor :project_number
1656
1681
 
1682
+ # Optional. Input only. Immutable. Tag keys/values directly bound to this
1683
+ # project. Each item in the map must be expressed as " : ". For example: "123/
1684
+ # environment" : "production", "123/costCenter" : "marketing" Note: Currently
1685
+ # this field is in Preview.
1686
+ # Corresponds to the JSON property `tags`
1687
+ # @return [Hash<String,String>]
1688
+ attr_accessor :tags
1689
+
1657
1690
  def initialize(**args)
1658
1691
  update!(**args)
1659
1692
  end
@@ -1667,6 +1700,7 @@ module Google
1667
1700
  @parent = args[:parent] if args.key?(:parent)
1668
1701
  @project_id = args[:project_id] if args.key?(:project_id)
1669
1702
  @project_number = args[:project_number] if args.key?(:project_number)
1703
+ @tags = args[:tags] if args.key?(:tags)
1670
1704
  end
1671
1705
  end
1672
1706
 
@@ -1841,22 +1875,22 @@ module Google
1841
1875
  # evaluates to `true`. A condition can add constraints based on attributes of
1842
1876
  # the request, the resource, or both. To learn which resources support
1843
1877
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1844
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1878
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
1845
1879
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1846
1880
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1847
1881
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1848
1882
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1849
1883
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
1850
1884
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1851
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1852
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1853
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1854
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1855
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1856
- # access description: Does not grant access after Sep 2020 expression: request.
1857
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1858
- # a description of IAM and its features, see the [IAM documentation](https://
1859
- # cloud.google.com/iam/docs/).
1885
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
1886
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
1887
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
1888
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
1889
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
1890
+ # title: expirable access description: Does not grant access after Sep 2020
1891
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
1892
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
1893
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1860
1894
  # Corresponds to the JSON property `policy`
1861
1895
  # @return [Google::Apis::CloudresourcemanagerV1::Policy]
1862
1896
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudresourcemanagerV1
18
18
  # Version of the google-apis-cloudresourcemanager_v1 gem
19
- GEM_VERSION = "0.31.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220828"
25
+ REVISION = "20240310"
26
26
  end
27
27
  end
28
28
  end
@@ -824,6 +824,7 @@ module Google
824
824
 
825
825
  property :project_id, as: 'projectId'
826
826
  property :project_number, :numeric_string => true, as: 'projectNumber'
827
+ hash :tags, as: 'tags'
827
828
  end
828
829
  end
829
830
 
@@ -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_v1',
49
51
  client_version: Google::Apis::CloudresourcemanagerV1::GEM_VERSION)
50
52
  @batch_path = 'batch'
@@ -677,7 +679,7 @@ module Google
677
679
  # specified filter. This method returns Organizations in an unspecified order.
678
680
  # New Organizations do not necessarily appear at the end of the results. Search
679
681
  # will only return organizations on which the user has the permission `
680
- # resourcemanager.organizations.get`
682
+ # resourcemanager.organizations.get` or has super admin privileges.
681
683
  # @param [Google::Apis::CloudresourcemanagerV1::SearchOrganizationsRequest] search_organizations_request_object
682
684
  # @param [String] fields
683
685
  # Selector specifying which fields to include in a partial response.
@@ -1263,16 +1265,16 @@ module Google
1263
1265
  # + A user cannot be granted the owner role using `setIamPolicy()`. The user
1264
1266
  # must be granted the owner role using the Cloud Platform Console and must
1265
1267
  # explicitly accept the invitation. + You can only grant ownership of a project
1266
- # to a member by using the GCP Console. Inviting a member will deliver an
1267
- # invitation email that they must accept. An invitation email is not generated
1268
- # if you are granting a role other than owner, or if both the member you are
1269
- # inviting and the project are part of your organization. + If the project is
1270
- # not part of an organization, there must be at least one owner who has accepted
1271
- # the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()`
1272
- # to remove the last ToS-accepted owner from the policy will fail. This
1273
- # restriction also applies to legacy projects that no longer have owners who
1274
- # have accepted the ToS. Edits to IAM policies will be rejected until the lack
1275
- # of a ToS-accepting owner is rectified. If the project is part of an
1268
+ # to a member by using the Google Cloud console. Inviting a member will deliver
1269
+ # an invitation email that they must accept. An invitation email is not
1270
+ # generated if you are granting a role other than owner, or if both the member
1271
+ # you are inviting and the project are part of your organization. + If the
1272
+ # project is not part of an organization, there must be at least one owner who
1273
+ # has accepted the Terms of Service (ToS) agreement in the policy. Calling `
1274
+ # setIamPolicy()` to remove the last ToS-accepted owner from the policy will
1275
+ # fail. This restriction also applies to legacy projects that no longer have
1276
+ # owners who have accepted the ToS. Edits to IAM policies will be rejected until
1277
+ # the lack of a ToS-accepting owner is rectified. If the project is part of an
1276
1278
  # organization, you can remove all owners, potentially making the organization
1277
1279
  # inaccessible. Authorization requires the Google IAM permission `
1278
1280
  # resourcemanager.projects.setIamPolicy` on the project
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudresourcemanager_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.41.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: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2024-05-26 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.9.1
19
+ version: 0.15.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.9.1
29
+ version: 0.15.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v1/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v1/v0.41.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudresourcemanager_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Resource Manager API V1