google-apis-cloudresourcemanager_v3 0.54.0 → 0.55.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: 1e894528a3a3083f909ea69c0f42a2634faa75bafbe26da7d8051df7c958f58a
4
- data.tar.gz: ca37a3cbd5ec8f9fd3661a45b4396d0c776a8310f51a2a42893ea67e80c73429
3
+ metadata.gz: ca9b6e1751cf6d48638e62a836016ea6257fe203a025202bf41bc99424140fa1
4
+ data.tar.gz: 21d65a9931dc20b86425c5a8fa5d4e90c8c2710562127ed881dd11e201e54aa2
5
5
  SHA512:
6
- metadata.gz: b94d346d07817ea6bc76378b45726b598cee7a23a59db075e53a727ac17d11b0784c7e279401b59dd4ec16bcabe5d03ed056f09b359fa15c3479d45dae11397a
7
- data.tar.gz: 134bfb52c1e454f6a7e35ef2e8f5e81f989a6c4b59dce3f2309415db177a7c8c1820c90f0ffe036429ab7a4b049f6a92d5820c2ecfe0573974e20951bb617ee1
6
+ metadata.gz: 4f7f833bf8a6dc3a1f8a3f22ceaa2353f23b563604ec014df314ac7523995ae1ed236ddb8c5376513759839a7951e7d91c2992e1c130513f0bc1dd4618ee256f
7
+ data.tar.gz: 80fabce17e330d65d81dfa14b6bead24596ee45b16a18c84d239f461f41db1142a4183e183b36a68cb9a8e50d9c656271a016942c6958c8d2e1a93c941da5e1c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudresourcemanager_v3
2
2
 
3
+ ### v0.55.0 (2025-04-27)
4
+
5
+ * Regenerated from discovery document revision 20250417
6
+
3
7
  ### v0.54.0 (2025-02-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20250206
@@ -194,6 +194,35 @@ module Google
194
194
  end
195
195
  end
196
196
 
197
+ # Representation of a Capability.
198
+ class Capability
199
+ include Google::Apis::Core::Hashable
200
+
201
+ # Immutable. Identifier. The resource name of the capability. Must be in the
202
+ # following form: * `folders/`folder_id`/capabilities/`capability_name`` For
203
+ # example, `folders/123/capabilities/app-management` Following are the allowed `
204
+ # capability_name` values: * `app-management`
205
+ # Corresponds to the JSON property `name`
206
+ # @return [String]
207
+ attr_accessor :name
208
+
209
+ # Required. The configured value of the capability at the given parent resource.
210
+ # Corresponds to the JSON property `value`
211
+ # @return [Boolean]
212
+ attr_accessor :value
213
+ alias_method :value?, :value
214
+
215
+ def initialize(**args)
216
+ update!(**args)
217
+ end
218
+
219
+ # Update properties of this object
220
+ def update!(**args)
221
+ @name = args[:name] if args.key?(:name)
222
+ @value = args[:value] if args.key?(:value)
223
+ end
224
+ end
225
+
197
226
  # Metadata describing a long running folder operation
198
227
  class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation
199
228
  include Google::Apis::Core::Hashable
@@ -592,6 +621,12 @@ module Google
592
621
  class Folder
593
622
  include Google::Apis::Core::Hashable
594
623
 
624
+ # Output only. Optional capabilities configured for this folder (via
625
+ # UpdateCapability API). Example: `folders/123/capabilities/app-management`.
626
+ # Corresponds to the JSON property `configuredCapabilities`
627
+ # @return [Array<String>]
628
+ attr_accessor :configured_capabilities
629
+
595
630
  # Output only. Timestamp when the folder was created.
596
631
  # Corresponds to the JSON property `createTime`
597
632
  # @return [String]
@@ -619,6 +654,12 @@ module Google
619
654
  # @return [String]
620
655
  attr_accessor :etag
621
656
 
657
+ # Output only. Management Project associated with this folder (if app-management
658
+ # capability is enabled). Example: `projects/google-mp-123` OUTPUT ONLY.
659
+ # Corresponds to the JSON property `managementProject`
660
+ # @return [String]
661
+ attr_accessor :management_project
662
+
622
663
  # Output only. The resource name of the folder. Its format is `folders/`
623
664
  # folder_id``, for example: "folders/1234".
624
665
  # Corresponds to the JSON property `name`
@@ -656,10 +697,12 @@ module Google
656
697
 
657
698
  # Update properties of this object
658
699
  def update!(**args)
700
+ @configured_capabilities = args[:configured_capabilities] if args.key?(:configured_capabilities)
659
701
  @create_time = args[:create_time] if args.key?(:create_time)
660
702
  @delete_time = args[:delete_time] if args.key?(:delete_time)
661
703
  @display_name = args[:display_name] if args.key?(:display_name)
662
704
  @etag = args[:etag] if args.key?(:etag)
705
+ @management_project = args[:management_project] if args.key?(:management_project)
663
706
  @name = args[:name] if args.key?(:name)
664
707
  @parent = args[:parent] if args.key?(:parent)
665
708
  @state = args[:state] if args.key?(:state)
@@ -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.54.0"
19
+ GEM_VERSION = "0.55.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250206"
25
+ REVISION = "20250417"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class Capability
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -421,6 +427,14 @@ module Google
421
427
  end
422
428
  end
423
429
 
430
+ class Capability
431
+ # @private
432
+ class Representation < Google::Apis::Core::JsonRepresentation
433
+ property :name, as: 'name'
434
+ property :value, as: 'value'
435
+ end
436
+ end
437
+
424
438
  class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation
425
439
  # @private
426
440
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -543,10 +557,12 @@ module Google
543
557
  class Folder
544
558
  # @private
545
559
  class Representation < Google::Apis::Core::JsonRepresentation
560
+ collection :configured_capabilities, as: 'configuredCapabilities'
546
561
  property :create_time, as: 'createTime'
547
562
  property :delete_time, as: 'deleteTime'
548
563
  property :display_name, as: 'displayName'
549
564
  property :etag, as: 'etag'
565
+ property :management_project, as: 'managementProject'
550
566
  property :name, as: 'name'
551
567
  property :parent, as: 'parent'
552
568
  property :state, as: 'state'
@@ -565,6 +565,76 @@ module Google
565
565
  execute_or_queue_command(command, &block)
566
566
  end
567
567
 
568
+ # Retrieves the Capability identified by the supplied resource name.
569
+ # @param [String] name
570
+ # Required. The name of the capability to get. For example, `folders/123/
571
+ # capabilities/app-management`
572
+ # @param [String] fields
573
+ # Selector specifying which fields to include in a partial response.
574
+ # @param [String] quota_user
575
+ # Available to use for quota purposes for server-side applications. Can be any
576
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
577
+ # @param [Google::Apis::RequestOptions] options
578
+ # Request-specific options
579
+ #
580
+ # @yield [result, err] Result & error if block supplied
581
+ # @yieldparam result [Google::Apis::CloudresourcemanagerV3::Capability] parsed result object
582
+ # @yieldparam err [StandardError] error object if request failed
583
+ #
584
+ # @return [Google::Apis::CloudresourcemanagerV3::Capability]
585
+ #
586
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
587
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
588
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
589
+ def get_folder_capability(name, fields: nil, quota_user: nil, options: nil, &block)
590
+ command = make_simple_command(:get, 'v3/{+name}', options)
591
+ command.response_representation = Google::Apis::CloudresourcemanagerV3::Capability::Representation
592
+ command.response_class = Google::Apis::CloudresourcemanagerV3::Capability
593
+ command.params['name'] = name unless name.nil?
594
+ command.query['fields'] = fields unless fields.nil?
595
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
596
+ execute_or_queue_command(command, &block)
597
+ end
598
+
599
+ # Updates the Capability.
600
+ # @param [String] name
601
+ # Immutable. Identifier. The resource name of the capability. Must be in the
602
+ # following form: * `folders/`folder_id`/capabilities/`capability_name`` For
603
+ # example, `folders/123/capabilities/app-management` Following are the allowed `
604
+ # capability_name` values: * `app-management`
605
+ # @param [Google::Apis::CloudresourcemanagerV3::Capability] capability_object
606
+ # @param [String] update_mask
607
+ # Optional. The list of fields to update. Only [Capability.value] can be updated.
608
+ # @param [String] fields
609
+ # Selector specifying which fields to include in a partial response.
610
+ # @param [String] quota_user
611
+ # Available to use for quota purposes for server-side applications. Can be any
612
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
613
+ # @param [Google::Apis::RequestOptions] options
614
+ # Request-specific options
615
+ #
616
+ # @yield [result, err] Result & error if block supplied
617
+ # @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
618
+ # @yieldparam err [StandardError] error object if request failed
619
+ #
620
+ # @return [Google::Apis::CloudresourcemanagerV3::Operation]
621
+ #
622
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
623
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
624
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
625
+ def patch_folder_capability(name, capability_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
626
+ command = make_simple_command(:patch, 'v3/{+name}', options)
627
+ command.request_representation = Google::Apis::CloudresourcemanagerV3::Capability::Representation
628
+ command.request_object = capability_object
629
+ command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
630
+ command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
631
+ command.params['name'] = name unless name.nil?
632
+ command.query['updateMask'] = update_mask unless update_mask.nil?
633
+ command.query['fields'] = fields unless fields.nil?
634
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
635
+ execute_or_queue_command(command, &block)
636
+ end
637
+
568
638
  # Create a Lien which applies to the resource denoted by the `parent` field.
569
639
  # Callers of this method will require permission on the `parent` resource. For
570
640
  # example, applying to `projects/1234` requires permission `resourcemanager.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudresourcemanager_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.54.0
4
+ version: 0.55.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-04-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.54.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v3/v0.55.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: