google-apis-cloudresourcemanager_v3 0.53.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/cloudresourcemanager_v3/classes.rb +43 -0
- data/lib/google/apis/cloudresourcemanager_v3/gem_version.rb +3 -3
- data/lib/google/apis/cloudresourcemanager_v3/representations.rb +16 -0
- data/lib/google/apis/cloudresourcemanager_v3/service.rb +73 -4
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca9b6e1751cf6d48638e62a836016ea6257fe203a025202bf41bc99424140fa1
|
4
|
+
data.tar.gz: 21d65a9931dc20b86425c5a8fa5d4e90c8c2710562127ed881dd11e201e54aa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f7f833bf8a6dc3a1f8a3f22ceaa2353f23b563604ec014df314ac7523995ae1ed236ddb8c5376513759839a7951e7d91c2992e1c130513f0bc1dd4618ee256f
|
7
|
+
data.tar.gz: 80fabce17e330d65d81dfa14b6bead24596ee45b16a18c84d239f461f41db1142a4183e183b36a68cb9a8e50d9c656271a016942c6958c8d2e1a93c941da5e1c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
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
|
+
|
7
|
+
### v0.54.0 (2025-02-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250206
|
10
|
+
* Regenerated using generator version 0.16.0
|
11
|
+
|
3
12
|
### v0.53.0 (2024-05-19)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.15.0
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.55.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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.
|
@@ -979,10 +1049,9 @@ module Google
|
|
979
1049
|
# completes, you can check the lifecycle state checked by retrieving the project
|
980
1050
|
# with GetProject, and the project remains visible to ListProjects. However, you
|
981
1051
|
# cannot update the project. After the deletion completes, the project is not
|
982
|
-
# retrievable by the GetProject, ListProjects, and SearchProjects methods.
|
983
|
-
#
|
984
|
-
#
|
985
|
-
# resourcemanager.projects.delete` permissions for this project.
|
1052
|
+
# retrievable by the GetProject, ListProjects, and SearchProjects methods. The
|
1053
|
+
# caller must have `resourcemanager.projects.delete` permissions for this
|
1054
|
+
# project.
|
986
1055
|
# @param [String] name
|
987
1056
|
# Required. The name of the Project (for example, `projects/415104041262`).
|
988
1057
|
# @param [String] fields
|
metadata
CHANGED
@@ -1,14 +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.
|
4
|
+
version: 0.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-04-27 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudresourcemanager_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v3/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v3/v0.55.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudresourcemanager_v3
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Cloud Resource Manager API V3
|
82
79
|
test_files: []
|