google-apis-cloudresourcemanager_v3 0.62.0 → 0.63.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: 1cd6c97ad107d3b3a26d38e34a8b2ae69034796d44c3d3bdca3819a1a174e220
4
- data.tar.gz: f7a22e1542041b25cf56826046bc851a61774f8ffc4a76c4866953639d5449e1
3
+ metadata.gz: e536f7eb8a363043eee71bcdfb57181c5316d2091d5160975478b5fc24a664be
4
+ data.tar.gz: 436219f018563a092f0c758519d1a21f5c98280417b8599202bbb4137f2aa743
5
5
  SHA512:
6
- metadata.gz: a96a3c0a022f420cc465fe4cf7ff84f7e058d28916481069e6a3fa2f676d706009ed83acb6e333bf7713f16493898774ffbd19a1ef1dd2652dd745986eeac9a3
7
- data.tar.gz: c331189e6a41e090adb2252950f5c800f9fcd1c4f12bd34eea71473df2973d6a70441a068497eae5a965f71bcc88e00d8c40c56b01d4f231e6061fcc144d26a1
6
+ metadata.gz: 4ec1b958f632dcff87224f86e5f618753e5fd6b8b498176d660da9c1b74a9df33113e200e24712160f9ae457ca37e9793c7656cb1b4cceeadfc41f5e712671e8
7
+ data.tar.gz: 6d04bceb06a7d47684727c033a557bd3edd5ff4f44f0a618f07447e1c99db850edafdc461893f204da9cdbd704355840db7030a8b41418ba2244c2f8f88a0926
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudresourcemanager_v3
2
2
 
3
+ ### v0.63.0 (2026-08-09)
4
+
5
+ * Regenerated from discovery document revision 20260715
6
+
3
7
  ### v0.62.0 (2026-06-14)
4
8
 
5
9
  * Regenerated using generator version 0.19.0
@@ -654,6 +654,33 @@ module Google
654
654
  end
655
655
  end
656
656
 
657
+ # Response message for FetchResourceSemantics.
658
+ class FetchResourceSemanticsResponse
659
+ include Google::Apis::Core::Hashable
660
+
661
+ # The full resource name for which semantics are returned. Examples: "//compute.
662
+ # googleapis.com/projects/123/zones/us-central1-a/instances/my-instance" "//
663
+ # storage.googleapis.com/projects/_/buckets/my_bucket"
664
+ # Corresponds to the JSON property `fullResourceName`
665
+ # @return [String]
666
+ attr_accessor :full_resource_name
667
+
668
+ # Map of resource semantics (e.g., `"ENVIRONMENT": "PRODUCTION"`).
669
+ # Corresponds to the JSON property `semantics`
670
+ # @return [Hash<String,String>]
671
+ attr_accessor :semantics
672
+
673
+ def initialize(**args)
674
+ update!(**args)
675
+ end
676
+
677
+ # Update properties of this object
678
+ def update!(**args)
679
+ @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
680
+ @semantics = args[:semantics] if args.key?(:semantics)
681
+ end
682
+ end
683
+
657
684
  # A folder in an organization's resource hierarchy, used to organize that
658
685
  # organization's resources.
659
686
  class Folder
@@ -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.62.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260218"
25
+ REVISION = "20260715"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,12 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class FetchResourceSemanticsResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
151
157
  class Folder
152
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
159
 
@@ -575,6 +581,14 @@ module Google
575
581
  end
576
582
  end
577
583
 
584
+ class FetchResourceSemanticsResponse
585
+ # @private
586
+ class Representation < Google::Apis::Core::JsonRepresentation
587
+ property :full_resource_name, as: 'fullResourceName'
588
+ hash :semantics, as: 'semantics'
589
+ end
590
+ end
591
+
578
592
  class Folder
579
593
  # @private
580
594
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2497,6 +2497,38 @@ module Google
2497
2497
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2498
2498
  execute_or_queue_command(command, &block)
2499
2499
  end
2500
+
2501
+ # Returns the semantics associated with the specified resource.
2502
+ # @param [String] full_resource_name
2503
+ # Required. The full resource name of the GCP resource to retrieve semantics for.
2504
+ # Examples: "//compute.googleapis.com/projects/123/zones/us-central1-a/
2505
+ # instances/my-instance" "//storage.googleapis.com/projects/_/buckets/my_bucket"
2506
+ # @param [String] fields
2507
+ # Selector specifying which fields to include in a partial response.
2508
+ # @param [String] quota_user
2509
+ # Available to use for quota purposes for server-side applications. Can be any
2510
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2511
+ # @param [Google::Apis::RequestOptions] options
2512
+ # Request-specific options
2513
+ #
2514
+ # @yield [result, err] Result & error if block supplied
2515
+ # @yieldparam result [Google::Apis::CloudresourcemanagerV3::FetchResourceSemanticsResponse] parsed result object
2516
+ # @yieldparam err [StandardError] error object if request failed
2517
+ #
2518
+ # @return [Google::Apis::CloudresourcemanagerV3::FetchResourceSemanticsResponse]
2519
+ #
2520
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2521
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2522
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2523
+ def fetch_resource_semantics(full_resource_name: nil, fields: nil, quota_user: nil, options: nil, &block)
2524
+ command = make_simple_command(:get, 'v3:fetchResourceSemantics', options)
2525
+ command.response_representation = Google::Apis::CloudresourcemanagerV3::FetchResourceSemanticsResponse::Representation
2526
+ command.response_class = Google::Apis::CloudresourcemanagerV3::FetchResourceSemanticsResponse
2527
+ command.query['fullResourceName'] = full_resource_name unless full_resource_name.nil?
2528
+ command.query['fields'] = fields unless fields.nil?
2529
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2530
+ execute_or_queue_command(command, &block)
2531
+ end
2500
2532
 
2501
2533
  protected
2502
2534
 
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.62.0
4
+ version: 0.63.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.62.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v3/v0.63.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: