google-apis-cloudresourcemanager_v3 0.57.0 → 0.59.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: f236a808512fa5fae3438fdae10483fde053a0adc7985718ca93a45c58e15dd2
4
- data.tar.gz: f905a8318b3539f94850429b7a62d148de01c93fda89e704d6ee19dd419aa974
3
+ metadata.gz: 1a2edf9c64ac064777a89adba28a713d668730bb3ee9b0dd68c22c4702db8e9d
4
+ data.tar.gz: 2f955f40f14bb027900c368e027402e0bea5ad2219f9686451879c4e35472243
5
5
  SHA512:
6
- metadata.gz: 187e82945e00ab2d42184795d32b16dad66512b28203ade1d0cda7fe6d4cbc9a7dc086c768c11b7479e37fc64dca425e2f483e0f8346b601243e62e612a6f9fb
7
- data.tar.gz: d8529401599cb54da91938ed0573382385ebf25a38b72d2844523edef4a9bd74515722604bdbac10d37b01db34f3fe3cd8c440705705cc04fa339b05f1ebb25b
6
+ metadata.gz: 00af7399b4ce12c624998c86dbf144dcb474d2aa7321abd40b0597a6661332728eb2b69b4be1ca0e4b7254c7dc498e41083e8ad55f50a1eb1e259dfc7a2971f0
7
+ data.tar.gz: f85ede551967709338e7abecd2cb46d7e7edca983553e9daf439c156accfd20de63401babdae593b6e61dc2688460195fb51ace6c113889cf06df9ef31e6dcc0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudresourcemanager_v3
2
2
 
3
+ ### v0.59.0 (2025-06-15)
4
+
5
+ * Regenerated from discovery document revision 20250606
6
+
7
+ ### v0.58.0 (2025-06-01)
8
+
9
+ * Regenerated from discovery document revision 20250522
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.57.0 (2025-05-18)
4
13
 
5
14
  * Regenerated from discovery document revision 20250508
@@ -546,6 +546,44 @@ module Google
546
546
  end
547
547
  end
548
548
 
549
+ # Represents a collection of effective tag bindings for a GCP resource.
550
+ class EffectiveTagBindingCollection
551
+ include Google::Apis::Core::Hashable
552
+
553
+ # Tag keys/values effectively bound to this resource, specified in namespaced
554
+ # format. For example: "123/environment": "production"
555
+ # Corresponds to the JSON property `effectiveTags`
556
+ # @return [Hash<String,String>]
557
+ attr_accessor :effective_tags
558
+
559
+ # The full resource name of the resource the TagBindings are bound to. E.g. `//
560
+ # cloudresourcemanager.googleapis.com/projects/123`
561
+ # Corresponds to the JSON property `fullResourceName`
562
+ # @return [String]
563
+ attr_accessor :full_resource_name
564
+
565
+ # Identifier. The name of the EffectiveTagBindingCollection, following the
566
+ # convention: `locations/`location`/effectiveTagBindingCollections/`encoded-full-
567
+ # resource-name`` where the encoded-full-resource-name is the UTF-8 encoded name
568
+ # of the GCP resource the TagBindings are bound to. E.g. "locations/global/
569
+ # effectiveTagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%
570
+ # 2fprojects%2f123"
571
+ # Corresponds to the JSON property `name`
572
+ # @return [String]
573
+ attr_accessor :name
574
+
575
+ def initialize(**args)
576
+ update!(**args)
577
+ end
578
+
579
+ # Update properties of this object
580
+ def update!(**args)
581
+ @effective_tags = args[:effective_tags] if args.key?(:effective_tags)
582
+ @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
583
+ @name = args[:name] if args.key?(:name)
584
+ end
585
+ end
586
+
549
587
  # A generic empty message that you can re-use to avoid defining duplicated empty
550
588
  # messages in your APIs. A typical example is to use it as the request or the
551
589
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1421,6 +1459,14 @@ module Google
1421
1459
  class Project
1422
1460
  include Google::Apis::Core::Hashable
1423
1461
 
1462
+ # Output only. If this project is a Management Project, list of capabilities
1463
+ # configured on the parent folder. Note, presence of any capability implies that
1464
+ # this is a Management Project. Example: `folders/123/capabilities/app-
1465
+ # management`. OUTPUT ONLY.
1466
+ # Corresponds to the JSON property `configuredCapabilities`
1467
+ # @return [Array<String>]
1468
+ attr_accessor :configured_capabilities
1469
+
1424
1470
  # Output only. Creation time.
1425
1471
  # Corresponds to the JSON property `createTime`
1426
1472
  # @return [String]
@@ -1501,6 +1547,7 @@ module Google
1501
1547
 
1502
1548
  # Update properties of this object
1503
1549
  def update!(**args)
1550
+ @configured_capabilities = args[:configured_capabilities] if args.key?(:configured_capabilities)
1504
1551
  @create_time = args[:create_time] if args.key?(:create_time)
1505
1552
  @delete_time = args[:delete_time] if args.key?(:delete_time)
1506
1553
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -1776,6 +1823,50 @@ module Google
1776
1823
  end
1777
1824
  end
1778
1825
 
1826
+ # Represents a collection of tags directly bound to a GCP resource.
1827
+ class TagBindingCollection
1828
+ include Google::Apis::Core::Hashable
1829
+
1830
+ # Optional. A checksum based on the current bindings which can be passed to
1831
+ # prevent race conditions. This field is always set in server responses.
1832
+ # Corresponds to the JSON property `etag`
1833
+ # @return [String]
1834
+ attr_accessor :etag
1835
+
1836
+ # The full resource name of the resource the TagBindings are bound to. E.g. `//
1837
+ # cloudresourcemanager.googleapis.com/projects/123`
1838
+ # Corresponds to the JSON property `fullResourceName`
1839
+ # @return [String]
1840
+ attr_accessor :full_resource_name
1841
+
1842
+ # Identifier. The name of the TagBindingCollection, following the convention: `
1843
+ # locations/`location`/tagBindingCollections/`encoded-full-resource-name`` where
1844
+ # the encoded-full-resource-name is the UTF-8 encoded name of the GCP resource
1845
+ # the TagBindings are bound to. "locations/global/tagBindingCollections/%2f%
1846
+ # 2fcloudresourcemanager.googleapis.com%2fprojects%2f123"
1847
+ # Corresponds to the JSON property `name`
1848
+ # @return [String]
1849
+ attr_accessor :name
1850
+
1851
+ # Tag keys/values directly bound to this resource, specified in namespaced
1852
+ # format. For example: "123/environment": "production"
1853
+ # Corresponds to the JSON property `tags`
1854
+ # @return [Hash<String,String>]
1855
+ attr_accessor :tags
1856
+
1857
+ def initialize(**args)
1858
+ update!(**args)
1859
+ end
1860
+
1861
+ # Update properties of this object
1862
+ def update!(**args)
1863
+ @etag = args[:etag] if args.key?(:etag)
1864
+ @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
1865
+ @name = args[:name] if args.key?(:name)
1866
+ @tags = args[:tags] if args.key?(:tags)
1867
+ end
1868
+ end
1869
+
1779
1870
  # A TagHold represents the use of a TagValue that is not captured by TagBindings.
1780
1871
  # If a TagValue has any TagHolds, deletion will be blocked. This resource is
1781
1872
  # intended to be created in the same cloud location as the `holder`.
@@ -1888,8 +1979,8 @@ module Google
1888
1979
 
1889
1980
  # Required. Immutable. The user friendly name for a TagKey. The short name
1890
1981
  # should be unique for TagKeys within the same tag namespace. The short name
1891
- # must be 1-63 characters, beginning and ending with an alphanumeric character ([
1892
- # a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics
1982
+ # must be 1-256 characters, beginning and ending with an alphanumeric character (
1983
+ # [a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics
1893
1984
  # between.
1894
1985
  # Corresponds to the JSON property `shortName`
1895
1986
  # @return [String]
@@ -1962,7 +2053,7 @@ module Google
1962
2053
 
1963
2054
  # Required. Immutable. User-assigned short name for TagValue. The short name
1964
2055
  # should be unique for TagValues within the same parent TagKey. The short name
1965
- # must be 63 characters or less, beginning and ending with an alphanumeric
2056
+ # must be 256 characters or less, beginning and ending with an alphanumeric
1966
2057
  # character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and
1967
2058
  # alphanumerics between.
1968
2059
  # Corresponds to the JSON property `shortName`
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudresourcemanagerV3
18
18
  # Version of the google-apis-cloudresourcemanager_v3 gem
19
- GEM_VERSION = "0.57.0"
19
+ GEM_VERSION = "0.59.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250508"
25
+ REVISION = "20250606"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,12 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class EffectiveTagBindingCollection
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
133
139
  class Empty
134
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
141
 
@@ -316,6 +322,12 @@ module Google
316
322
  include Google::Apis::Core::JsonObjectSupport
317
323
  end
318
324
 
325
+ class TagBindingCollection
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
319
331
  class TagHold
320
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
333
 
@@ -538,6 +550,15 @@ module Google
538
550
  end
539
551
  end
540
552
 
553
+ class EffectiveTagBindingCollection
554
+ # @private
555
+ class Representation < Google::Apis::Core::JsonRepresentation
556
+ hash :effective_tags, as: 'effectiveTags'
557
+ property :full_resource_name, as: 'fullResourceName'
558
+ property :name, as: 'name'
559
+ end
560
+ end
561
+
541
562
  class Empty
542
563
  # @private
543
564
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -757,6 +778,7 @@ module Google
757
778
  class Project
758
779
  # @private
759
780
  class Representation < Google::Apis::Core::JsonRepresentation
781
+ collection :configured_capabilities, as: 'configuredCapabilities'
760
782
  property :create_time, as: 'createTime'
761
783
  property :delete_time, as: 'deleteTime'
762
784
  property :display_name, as: 'displayName'
@@ -835,6 +857,16 @@ module Google
835
857
  end
836
858
  end
837
859
 
860
+ class TagBindingCollection
861
+ # @private
862
+ class Representation < Google::Apis::Core::JsonRepresentation
863
+ property :etag, as: 'etag'
864
+ property :full_resource_name, as: 'fullResourceName'
865
+ property :name, as: 'name'
866
+ hash :tags, as: 'tags'
867
+ end
868
+ end
869
+
838
870
  class TagHold
839
871
  # @private
840
872
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -776,6 +776,112 @@ module Google
776
776
  execute_or_queue_command(command, &block)
777
777
  end
778
778
 
779
+ # Returns effective tag bindings on a GCP resource.
780
+ # @param [String] name
781
+ # Required. The full name of the EffectiveTagBindingCollection in format: `
782
+ # locations/`location`/effectiveTagBindingCollections/`encoded-full-resource-
783
+ # name`` where the encoded-full-resource-name is the UTF-8 encoded name of the
784
+ # resource the TagBindings are bound to. E.g. "locations/global/
785
+ # effectiveTagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%
786
+ # 2fprojects%2f123"
787
+ # @param [String] fields
788
+ # Selector specifying which fields to include in a partial response.
789
+ # @param [String] quota_user
790
+ # Available to use for quota purposes for server-side applications. Can be any
791
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
792
+ # @param [Google::Apis::RequestOptions] options
793
+ # Request-specific options
794
+ #
795
+ # @yield [result, err] Result & error if block supplied
796
+ # @yieldparam result [Google::Apis::CloudresourcemanagerV3::EffectiveTagBindingCollection] parsed result object
797
+ # @yieldparam err [StandardError] error object if request failed
798
+ #
799
+ # @return [Google::Apis::CloudresourcemanagerV3::EffectiveTagBindingCollection]
800
+ #
801
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
802
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
803
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
804
+ def get_location_effective_tag_binding_collection(name, fields: nil, quota_user: nil, options: nil, &block)
805
+ command = make_simple_command(:get, 'v3/{+name}', options)
806
+ command.response_representation = Google::Apis::CloudresourcemanagerV3::EffectiveTagBindingCollection::Representation
807
+ command.response_class = Google::Apis::CloudresourcemanagerV3::EffectiveTagBindingCollection
808
+ command.params['name'] = name unless name.nil?
809
+ command.query['fields'] = fields unless fields.nil?
810
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
811
+ execute_or_queue_command(command, &block)
812
+ end
813
+
814
+ # Returns tag bindings directly attached to a GCP resource.
815
+ # @param [String] name
816
+ # Required. The full name of the TagBindingCollection in format: `locations/`
817
+ # location`/tagBindingCollections/`encoded-full-resource-name`` where the enoded-
818
+ # full-resource-name is the UTF-8 encoded name of the resource the TagBindings
819
+ # are bound to. E.g. "locations/global/tagBindingCollections/%2f%
820
+ # 2fcloudresourcemanager.googleapis.com%2fprojects%2f123"
821
+ # @param [String] fields
822
+ # Selector specifying which fields to include in a partial response.
823
+ # @param [String] quota_user
824
+ # Available to use for quota purposes for server-side applications. Can be any
825
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
826
+ # @param [Google::Apis::RequestOptions] options
827
+ # Request-specific options
828
+ #
829
+ # @yield [result, err] Result & error if block supplied
830
+ # @yieldparam result [Google::Apis::CloudresourcemanagerV3::TagBindingCollection] parsed result object
831
+ # @yieldparam err [StandardError] error object if request failed
832
+ #
833
+ # @return [Google::Apis::CloudresourcemanagerV3::TagBindingCollection]
834
+ #
835
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
836
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
837
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
838
+ def get_location_tag_binding_collection(name, fields: nil, quota_user: nil, options: nil, &block)
839
+ command = make_simple_command(:get, 'v3/{+name}', options)
840
+ command.response_representation = Google::Apis::CloudresourcemanagerV3::TagBindingCollection::Representation
841
+ command.response_class = Google::Apis::CloudresourcemanagerV3::TagBindingCollection
842
+ command.params['name'] = name unless name.nil?
843
+ command.query['fields'] = fields unless fields.nil?
844
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
845
+ execute_or_queue_command(command, &block)
846
+ end
847
+
848
+ # Updates tag bindings directly attached to a GCP resource.
849
+ # @param [String] name
850
+ # Identifier. The name of the TagBindingCollection, following the convention: `
851
+ # locations/`location`/tagBindingCollections/`encoded-full-resource-name`` where
852
+ # the encoded-full-resource-name is the UTF-8 encoded name of the GCP resource
853
+ # the TagBindings are bound to. "locations/global/tagBindingCollections/%2f%
854
+ # 2fcloudresourcemanager.googleapis.com%2fprojects%2f123"
855
+ # @param [Google::Apis::CloudresourcemanagerV3::TagBindingCollection] tag_binding_collection_object
856
+ # @param [String] fields
857
+ # Selector specifying which fields to include in a partial response.
858
+ # @param [String] quota_user
859
+ # Available to use for quota purposes for server-side applications. Can be any
860
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
861
+ # @param [Google::Apis::RequestOptions] options
862
+ # Request-specific options
863
+ #
864
+ # @yield [result, err] Result & error if block supplied
865
+ # @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
866
+ # @yieldparam err [StandardError] error object if request failed
867
+ #
868
+ # @return [Google::Apis::CloudresourcemanagerV3::Operation]
869
+ #
870
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
871
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
872
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
873
+ def update_location_tag_binding_collection(name, tag_binding_collection_object = nil, fields: nil, quota_user: nil, options: nil, &block)
874
+ command = make_simple_command(:put, 'v3/{+name}', options)
875
+ command.request_representation = Google::Apis::CloudresourcemanagerV3::TagBindingCollection::Representation
876
+ command.request_object = tag_binding_collection_object
877
+ command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
878
+ command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
879
+ command.params['name'] = name unless name.nil?
880
+ command.query['fields'] = fields unless fields.nil?
881
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
882
+ execute_or_queue_command(command, &block)
883
+ end
884
+
779
885
  # Gets the latest state of a long-running operation. Clients can use this method
780
886
  # to poll the operation result at intervals as recommended by the API service.
781
887
  # @param [String] name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudresourcemanager_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.57.0
4
+ version: 0.59.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudresourcemanager_v3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v3/v0.57.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v3/v0.59.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudresourcemanager_v3
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud Resource Manager API V3
79
79
  test_files: []