google-apis-cloudresourcemanager_v3 0.64.0 → 0.65.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 +4 -0
- data/lib/google/apis/cloudresourcemanager_v3/classes.rb +114 -0
- data/lib/google/apis/cloudresourcemanager_v3/gem_version.rb +2 -2
- data/lib/google/apis/cloudresourcemanager_v3/representations.rb +36 -0
- data/lib/google/apis/cloudresourcemanager_v3/service.rb +591 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c6721758e932f3241f9db877341ffada0e62a371f8bdb04065d7587d6ec57ff5
|
|
4
|
+
data.tar.gz: '014737854c7701781fa91ab528d42dc416bb3ca44c9efb77c868245b1d37b5d2'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d15270bd8086823b1edf66cbac1ae21e805070854ec24a1dcfc81ff02af29875aeb0048f4edb1b06c59c3db2c2aef83de5ab1e8518742980e525e037b509b6c6
|
|
7
|
+
data.tar.gz: 035e05c50a7b9800e81c1b6162521f9f1dfc0ad838ba89d82b66bc7e31d1a2793387f989d3e2bde971abf25e3cd4647294ed61847d2fd984c962333cee18b979
|
data/CHANGELOG.md
CHANGED
|
@@ -223,6 +223,87 @@ module Google
|
|
|
223
223
|
end
|
|
224
224
|
end
|
|
225
225
|
|
|
226
|
+
# A CapabilityConfig allows managing experiences like applications and agents on
|
|
227
|
+
# a logical administrative perimeter of Projects (Boundary).
|
|
228
|
+
class CapabilityConfig
|
|
229
|
+
include Google::Apis::Core::Hashable
|
|
230
|
+
|
|
231
|
+
# Optional. The list of Boundaries associated with this CapabilityConfig. Format:
|
|
232
|
+
# `organizations/`organization`/boundaries/`boundary`` or, `folders/`folder`/
|
|
233
|
+
# boundaries/`boundary`` or, `projects/`project`/boundaries/`boundary``
|
|
234
|
+
# Corresponds to the JSON property `boundaries`
|
|
235
|
+
# @return [Array<String>]
|
|
236
|
+
attr_accessor :boundaries
|
|
237
|
+
|
|
238
|
+
# Output only. The creation time of the CapabilityConfig.
|
|
239
|
+
# Corresponds to the JSON property `createTime`
|
|
240
|
+
# @return [String]
|
|
241
|
+
attr_accessor :create_time
|
|
242
|
+
|
|
243
|
+
# Optional. Human-readable non-unique display name of the CapabilityConfig. When
|
|
244
|
+
# present it must be between 4 to 30 characters. Allowed characters are:
|
|
245
|
+
# lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote,
|
|
246
|
+
# space, and exclamation point. Example: `My Capability Config`
|
|
247
|
+
# Corresponds to the JSON property `displayName`
|
|
248
|
+
# @return [String]
|
|
249
|
+
attr_accessor :display_name
|
|
250
|
+
|
|
251
|
+
# This checksum is computed by the server based on the value of other fields,
|
|
252
|
+
# and may be sent on update and delete requests to ensure the client has an up-
|
|
253
|
+
# to-date value before proceeding.
|
|
254
|
+
# Corresponds to the JSON property `etag`
|
|
255
|
+
# @return [String]
|
|
256
|
+
attr_accessor :etag
|
|
257
|
+
|
|
258
|
+
# Optional. Immutable. The Management Project associated with this
|
|
259
|
+
# CapabilityConfig. If not provided during creation, a management project will
|
|
260
|
+
# be automatically created. Cannot be modified after creation. Format: `projects/
|
|
261
|
+
# `project_number`` Example: `projects/123456789012`
|
|
262
|
+
# Corresponds to the JSON property `managementProject`
|
|
263
|
+
# @return [String]
|
|
264
|
+
attr_accessor :management_project
|
|
265
|
+
|
|
266
|
+
# Identifier. The unique resource name of the CapabilityConfig. Format: `
|
|
267
|
+
# organizations/`organization`/capabilityConfigs/`capabilityConfig`` or, `
|
|
268
|
+
# folders/`folder`/capabilityConfigs/`capabilityConfig`` or, `projects/`project`/
|
|
269
|
+
# capabilityConfigs/`capabilityConfig``
|
|
270
|
+
# Corresponds to the JSON property `name`
|
|
271
|
+
# @return [String]
|
|
272
|
+
attr_accessor :name
|
|
273
|
+
|
|
274
|
+
# Output only. The lifecycle state of the CapabilityConfig.
|
|
275
|
+
# Corresponds to the JSON property `state`
|
|
276
|
+
# @return [String]
|
|
277
|
+
attr_accessor :state
|
|
278
|
+
|
|
279
|
+
# Required. The CapabilityConfig types.
|
|
280
|
+
# Corresponds to the JSON property `types`
|
|
281
|
+
# @return [Array<String>]
|
|
282
|
+
attr_accessor :types
|
|
283
|
+
|
|
284
|
+
# Output only. The most recent time this CapabilityConfig was modified.
|
|
285
|
+
# Corresponds to the JSON property `updateTime`
|
|
286
|
+
# @return [String]
|
|
287
|
+
attr_accessor :update_time
|
|
288
|
+
|
|
289
|
+
def initialize(**args)
|
|
290
|
+
update!(**args)
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
# Update properties of this object
|
|
294
|
+
def update!(**args)
|
|
295
|
+
@boundaries = args[:boundaries] if args.key?(:boundaries)
|
|
296
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
297
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
298
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
299
|
+
@management_project = args[:management_project] if args.key?(:management_project)
|
|
300
|
+
@name = args[:name] if args.key?(:name)
|
|
301
|
+
@state = args[:state] if args.key?(:state)
|
|
302
|
+
@types = args[:types] if args.key?(:types)
|
|
303
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
304
|
+
end
|
|
305
|
+
end
|
|
306
|
+
|
|
226
307
|
# Metadata describing a long running folder operation
|
|
227
308
|
class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation
|
|
228
309
|
include Google::Apis::Core::Hashable
|
|
@@ -995,6 +1076,39 @@ module Google
|
|
|
995
1076
|
end
|
|
996
1077
|
end
|
|
997
1078
|
|
|
1079
|
+
# A page of the response received from the ListCapabilityConfigs method. A
|
|
1080
|
+
# paginated response where more pages are available has `next_page_token` set.
|
|
1081
|
+
# This token can be used in a subsequent request to retrieve the next page. NOTE:
|
|
1082
|
+
# A response may contain fewer elements than the request `page_size` and still
|
|
1083
|
+
# have a `next_page_token`.
|
|
1084
|
+
class ListCapabilityConfigsResponse
|
|
1085
|
+
include Google::Apis::Core::Hashable
|
|
1086
|
+
|
|
1087
|
+
# The list of CapabilityConfigs under the parent. This list can be paginated.
|
|
1088
|
+
# Corresponds to the JSON property `capabilityConfigs`
|
|
1089
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV3::CapabilityConfig>]
|
|
1090
|
+
attr_accessor :capability_configs
|
|
1091
|
+
|
|
1092
|
+
# Pagination token. If the result set is too large to fit in a single response,
|
|
1093
|
+
# this token is returned. It encodes the position of the current result cursor.
|
|
1094
|
+
# Feeding this value into a new list request with the `page_token` parameter
|
|
1095
|
+
# gives the next page of the results. When `next_page_token` is not filled in,
|
|
1096
|
+
# there is no next page and the list returned is the last page in the result set.
|
|
1097
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1098
|
+
# @return [String]
|
|
1099
|
+
attr_accessor :next_page_token
|
|
1100
|
+
|
|
1101
|
+
def initialize(**args)
|
|
1102
|
+
update!(**args)
|
|
1103
|
+
end
|
|
1104
|
+
|
|
1105
|
+
# Update properties of this object
|
|
1106
|
+
def update!(**args)
|
|
1107
|
+
@capability_configs = args[:capability_configs] if args.key?(:capability_configs)
|
|
1108
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1109
|
+
end
|
|
1110
|
+
end
|
|
1111
|
+
|
|
998
1112
|
# The response of ListEffectiveTags.
|
|
999
1113
|
class ListEffectiveTagsResponse
|
|
1000
1114
|
include Google::Apis::Core::Hashable
|
|
@@ -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.65.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 = "
|
|
25
|
+
REVISION = "20260909"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -46,6 +46,12 @@ module Google
|
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
+
class CapabilityConfig
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
49
55
|
class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation
|
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
57
|
|
|
@@ -214,6 +220,12 @@ module Google
|
|
|
214
220
|
include Google::Apis::Core::JsonObjectSupport
|
|
215
221
|
end
|
|
216
222
|
|
|
223
|
+
class ListCapabilityConfigsResponse
|
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
225
|
+
|
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
227
|
+
end
|
|
228
|
+
|
|
217
229
|
class ListEffectiveTagsResponse
|
|
218
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
231
|
|
|
@@ -495,6 +507,21 @@ module Google
|
|
|
495
507
|
end
|
|
496
508
|
end
|
|
497
509
|
|
|
510
|
+
class CapabilityConfig
|
|
511
|
+
# @private
|
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
513
|
+
collection :boundaries, as: 'boundaries'
|
|
514
|
+
property :create_time, as: 'createTime'
|
|
515
|
+
property :display_name, as: 'displayName'
|
|
516
|
+
property :etag, as: 'etag'
|
|
517
|
+
property :management_project, as: 'managementProject'
|
|
518
|
+
property :name, as: 'name'
|
|
519
|
+
property :state, as: 'state'
|
|
520
|
+
collection :types, as: 'types'
|
|
521
|
+
property :update_time, as: 'updateTime'
|
|
522
|
+
end
|
|
523
|
+
end
|
|
524
|
+
|
|
498
525
|
class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation
|
|
499
526
|
# @private
|
|
500
527
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -716,6 +743,15 @@ module Google
|
|
|
716
743
|
end
|
|
717
744
|
end
|
|
718
745
|
|
|
746
|
+
class ListCapabilityConfigsResponse
|
|
747
|
+
# @private
|
|
748
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
749
|
+
collection :capability_configs, as: 'capabilityConfigs', class: Google::Apis::CloudresourcemanagerV3::CapabilityConfig, decorator: Google::Apis::CloudresourcemanagerV3::CapabilityConfig::Representation
|
|
750
|
+
|
|
751
|
+
property :next_page_token, as: 'nextPageToken'
|
|
752
|
+
end
|
|
753
|
+
end
|
|
754
|
+
|
|
719
755
|
class ListEffectiveTagsResponse
|
|
720
756
|
# @private
|
|
721
757
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -635,6 +635,203 @@ module Google
|
|
|
635
635
|
execute_or_queue_command(command, &block)
|
|
636
636
|
end
|
|
637
637
|
|
|
638
|
+
# Creates a CapabilityConfig under a parent Organization, Folder or Project.
|
|
639
|
+
# Creating a CapabilityConfig triggers the creation of a Management Project if
|
|
640
|
+
# one is not supplied.
|
|
641
|
+
# @param [String] parent
|
|
642
|
+
# Required. The parent resource under which the CapabilityConfig will be created.
|
|
643
|
+
# Format: `organizations/`organization_id`` or `folders/`folder_id`` or `
|
|
644
|
+
# projects/`project_number``
|
|
645
|
+
# @param [Google::Apis::CloudresourcemanagerV3::CapabilityConfig] capability_config_object
|
|
646
|
+
# @param [String] capability_config_id
|
|
647
|
+
# Required. The user-assigned ID for the CapabilityConfig, which will become the
|
|
648
|
+
# final component of the CapabilityConfig's resource name. Must be unique within
|
|
649
|
+
# the parent resource. It must be 6 to 30 lowercase ASCII letters, digits, or
|
|
650
|
+
# hyphens. It must start with a letter. Trailing hyphens are prohibited. Example:
|
|
651
|
+
# `my-capability-config-123`
|
|
652
|
+
# @param [String] fields
|
|
653
|
+
# Selector specifying which fields to include in a partial response.
|
|
654
|
+
# @param [String] quota_user
|
|
655
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
656
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
657
|
+
# @param [Google::Apis::RequestOptions] options
|
|
658
|
+
# Request-specific options
|
|
659
|
+
#
|
|
660
|
+
# @yield [result, err] Result & error if block supplied
|
|
661
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
662
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
663
|
+
#
|
|
664
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
665
|
+
#
|
|
666
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
667
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
668
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
669
|
+
def create_folder_capability_config(parent, capability_config_object = nil, capability_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
670
|
+
command = make_simple_command(:post, 'v3/{+parent}/capabilityConfigs', options)
|
|
671
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV3::CapabilityConfig::Representation
|
|
672
|
+
command.request_object = capability_config_object
|
|
673
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
674
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
675
|
+
command.params['parent'] = parent unless parent.nil?
|
|
676
|
+
command.query['capabilityConfigId'] = capability_config_id unless capability_config_id.nil?
|
|
677
|
+
command.query['fields'] = fields unless fields.nil?
|
|
678
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
679
|
+
execute_or_queue_command(command, &block)
|
|
680
|
+
end
|
|
681
|
+
|
|
682
|
+
# Deletes the CapabilityConfig identified by the specified `name` (for example, `
|
|
683
|
+
# folders/123456789/capabilityConfigs/my-capability-config`).
|
|
684
|
+
# @param [String] name
|
|
685
|
+
# Required. The name of the CapabilityConfig to delete. Format: `organizations/`
|
|
686
|
+
# organization`/capabilityConfigs/`capabilityConfig`` or, `folders/`folder`/
|
|
687
|
+
# capabilityConfigs/`capabilityConfig`` or, `projects/`project`/
|
|
688
|
+
# capabilityConfigs/`capabilityConfig``
|
|
689
|
+
# @param [String] fields
|
|
690
|
+
# Selector specifying which fields to include in a partial response.
|
|
691
|
+
# @param [String] quota_user
|
|
692
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
693
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
694
|
+
# @param [Google::Apis::RequestOptions] options
|
|
695
|
+
# Request-specific options
|
|
696
|
+
#
|
|
697
|
+
# @yield [result, err] Result & error if block supplied
|
|
698
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
699
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
700
|
+
#
|
|
701
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
702
|
+
#
|
|
703
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
704
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
705
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
706
|
+
def delete_folder_capability_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
707
|
+
command = make_simple_command(:delete, 'v3/{+name}', options)
|
|
708
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
709
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
710
|
+
command.params['name'] = name unless name.nil?
|
|
711
|
+
command.query['fields'] = fields unless fields.nil?
|
|
712
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
713
|
+
execute_or_queue_command(command, &block)
|
|
714
|
+
end
|
|
715
|
+
|
|
716
|
+
# Retrieves the Capability Config identified by the specified `name` (for
|
|
717
|
+
# example, `folders/123456789/capabilityConfigs/my-capability-config`).
|
|
718
|
+
# @param [String] name
|
|
719
|
+
# Required. The name of the CapabilityConfig to retrieve. Format: `organizations/
|
|
720
|
+
# `organization`/capabilityConfigs/`capabilityConfig`` or, `folders/`folder`/
|
|
721
|
+
# capabilityConfigs/`capabilityConfig`` or, `projects/`project`/
|
|
722
|
+
# capabilityConfigs/`capabilityConfig`` Example: `folders/123456789/
|
|
723
|
+
# capabilityConfigs/my-capability-config`
|
|
724
|
+
# @param [String] fields
|
|
725
|
+
# Selector specifying which fields to include in a partial response.
|
|
726
|
+
# @param [String] quota_user
|
|
727
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
728
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
729
|
+
# @param [Google::Apis::RequestOptions] options
|
|
730
|
+
# Request-specific options
|
|
731
|
+
#
|
|
732
|
+
# @yield [result, err] Result & error if block supplied
|
|
733
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::CapabilityConfig] parsed result object
|
|
734
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
735
|
+
#
|
|
736
|
+
# @return [Google::Apis::CloudresourcemanagerV3::CapabilityConfig]
|
|
737
|
+
#
|
|
738
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
739
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
740
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
741
|
+
def get_folder_capability_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
742
|
+
command = make_simple_command(:get, 'v3/{+name}', options)
|
|
743
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::CapabilityConfig::Representation
|
|
744
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::CapabilityConfig
|
|
745
|
+
command.params['name'] = name unless name.nil?
|
|
746
|
+
command.query['fields'] = fields unless fields.nil?
|
|
747
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
748
|
+
execute_or_queue_command(command, &block)
|
|
749
|
+
end
|
|
750
|
+
|
|
751
|
+
# Lists CapabilityConfigs that are direct children of the specified organization,
|
|
752
|
+
# folder or project resource.
|
|
753
|
+
# @param [String] parent
|
|
754
|
+
# Required. The name of the parent resource whose CapabilityConfigs are being
|
|
755
|
+
# listed. Format: `organizations/`organization_id`` or `folders/`folder_id``
|
|
756
|
+
# @param [Fixnum] page_size
|
|
757
|
+
# Optional. The maximum number of CapabilityConfigs to return in the response.
|
|
758
|
+
# The service may return fewer CapabilityConfigs than requested. If unspecified,
|
|
759
|
+
# at most 100 CapabilityConfigs will be returned. The maximum value is 100;
|
|
760
|
+
# values above 100 will be coerced to 100.
|
|
761
|
+
# @param [String] page_token
|
|
762
|
+
# Optional. A pagination token received from a previous call to `
|
|
763
|
+
# ListCapabilityConfigs` that indicates from where listing should continue.
|
|
764
|
+
# Provide this to retrieve the subsequent page.
|
|
765
|
+
# @param [String] fields
|
|
766
|
+
# Selector specifying which fields to include in a partial response.
|
|
767
|
+
# @param [String] quota_user
|
|
768
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
769
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
770
|
+
# @param [Google::Apis::RequestOptions] options
|
|
771
|
+
# Request-specific options
|
|
772
|
+
#
|
|
773
|
+
# @yield [result, err] Result & error if block supplied
|
|
774
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::ListCapabilityConfigsResponse] parsed result object
|
|
775
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
776
|
+
#
|
|
777
|
+
# @return [Google::Apis::CloudresourcemanagerV3::ListCapabilityConfigsResponse]
|
|
778
|
+
#
|
|
779
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
780
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
781
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
782
|
+
def list_folder_capability_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
783
|
+
command = make_simple_command(:get, 'v3/{+parent}/capabilityConfigs', options)
|
|
784
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::ListCapabilityConfigsResponse::Representation
|
|
785
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::ListCapabilityConfigsResponse
|
|
786
|
+
command.params['parent'] = parent unless parent.nil?
|
|
787
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
788
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
789
|
+
command.query['fields'] = fields unless fields.nil?
|
|
790
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
791
|
+
execute_or_queue_command(command, &block)
|
|
792
|
+
end
|
|
793
|
+
|
|
794
|
+
# Updates the `display_name`, `types` and `boundaries` of the CapabilityConfig
|
|
795
|
+
# identified by the specified `name` (for example, `folders/123456789/
|
|
796
|
+
# capabilityConfigs/my-capability-config`).
|
|
797
|
+
# @param [String] name
|
|
798
|
+
# Identifier. The unique resource name of the CapabilityConfig. Format: `
|
|
799
|
+
# organizations/`organization`/capabilityConfigs/`capabilityConfig`` or, `
|
|
800
|
+
# folders/`folder`/capabilityConfigs/`capabilityConfig`` or, `projects/`project`/
|
|
801
|
+
# capabilityConfigs/`capabilityConfig``
|
|
802
|
+
# @param [Google::Apis::CloudresourcemanagerV3::CapabilityConfig] capability_config_object
|
|
803
|
+
# @param [String] update_mask
|
|
804
|
+
# Optional. The list of fields to update.
|
|
805
|
+
# @param [String] fields
|
|
806
|
+
# Selector specifying which fields to include in a partial response.
|
|
807
|
+
# @param [String] quota_user
|
|
808
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
809
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
810
|
+
# @param [Google::Apis::RequestOptions] options
|
|
811
|
+
# Request-specific options
|
|
812
|
+
#
|
|
813
|
+
# @yield [result, err] Result & error if block supplied
|
|
814
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
815
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
816
|
+
#
|
|
817
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
818
|
+
#
|
|
819
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
820
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
821
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
822
|
+
def patch_folder_capability_config(name, capability_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
823
|
+
command = make_simple_command(:patch, 'v3/{+name}', options)
|
|
824
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV3::CapabilityConfig::Representation
|
|
825
|
+
command.request_object = capability_config_object
|
|
826
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
827
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
828
|
+
command.params['name'] = name unless name.nil?
|
|
829
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
830
|
+
command.query['fields'] = fields unless fields.nil?
|
|
831
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
832
|
+
execute_or_queue_command(command, &block)
|
|
833
|
+
end
|
|
834
|
+
|
|
638
835
|
# Create a Lien which applies to the resource denoted by the `parent` field.
|
|
639
836
|
# Callers of this method will require permission on the `parent` resource. For
|
|
640
837
|
# example, applying to `projects/1234` requires permission `resourcemanager.
|
|
@@ -1117,6 +1314,203 @@ module Google
|
|
|
1117
1314
|
execute_or_queue_command(command, &block)
|
|
1118
1315
|
end
|
|
1119
1316
|
|
|
1317
|
+
# Creates a CapabilityConfig under a parent Organization, Folder or Project.
|
|
1318
|
+
# Creating a CapabilityConfig triggers the creation of a Management Project if
|
|
1319
|
+
# one is not supplied.
|
|
1320
|
+
# @param [String] parent
|
|
1321
|
+
# Required. The parent resource under which the CapabilityConfig will be created.
|
|
1322
|
+
# Format: `organizations/`organization_id`` or `folders/`folder_id`` or `
|
|
1323
|
+
# projects/`project_number``
|
|
1324
|
+
# @param [Google::Apis::CloudresourcemanagerV3::CapabilityConfig] capability_config_object
|
|
1325
|
+
# @param [String] capability_config_id
|
|
1326
|
+
# Required. The user-assigned ID for the CapabilityConfig, which will become the
|
|
1327
|
+
# final component of the CapabilityConfig's resource name. Must be unique within
|
|
1328
|
+
# the parent resource. It must be 6 to 30 lowercase ASCII letters, digits, or
|
|
1329
|
+
# hyphens. It must start with a letter. Trailing hyphens are prohibited. Example:
|
|
1330
|
+
# `my-capability-config-123`
|
|
1331
|
+
# @param [String] fields
|
|
1332
|
+
# Selector specifying which fields to include in a partial response.
|
|
1333
|
+
# @param [String] quota_user
|
|
1334
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1335
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1336
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1337
|
+
# Request-specific options
|
|
1338
|
+
#
|
|
1339
|
+
# @yield [result, err] Result & error if block supplied
|
|
1340
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
1341
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1342
|
+
#
|
|
1343
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
1344
|
+
#
|
|
1345
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1346
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1347
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1348
|
+
def create_organization_capability_config(parent, capability_config_object = nil, capability_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1349
|
+
command = make_simple_command(:post, 'v3/{+parent}/capabilityConfigs', options)
|
|
1350
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV3::CapabilityConfig::Representation
|
|
1351
|
+
command.request_object = capability_config_object
|
|
1352
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
1353
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
1354
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1355
|
+
command.query['capabilityConfigId'] = capability_config_id unless capability_config_id.nil?
|
|
1356
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1357
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1358
|
+
execute_or_queue_command(command, &block)
|
|
1359
|
+
end
|
|
1360
|
+
|
|
1361
|
+
# Deletes the CapabilityConfig identified by the specified `name` (for example, `
|
|
1362
|
+
# folders/123456789/capabilityConfigs/my-capability-config`).
|
|
1363
|
+
# @param [String] name
|
|
1364
|
+
# Required. The name of the CapabilityConfig to delete. Format: `organizations/`
|
|
1365
|
+
# organization`/capabilityConfigs/`capabilityConfig`` or, `folders/`folder`/
|
|
1366
|
+
# capabilityConfigs/`capabilityConfig`` or, `projects/`project`/
|
|
1367
|
+
# capabilityConfigs/`capabilityConfig``
|
|
1368
|
+
# @param [String] fields
|
|
1369
|
+
# Selector specifying which fields to include in a partial response.
|
|
1370
|
+
# @param [String] quota_user
|
|
1371
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1372
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1373
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1374
|
+
# Request-specific options
|
|
1375
|
+
#
|
|
1376
|
+
# @yield [result, err] Result & error if block supplied
|
|
1377
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
1378
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1379
|
+
#
|
|
1380
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
1381
|
+
#
|
|
1382
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1383
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1384
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1385
|
+
def delete_organization_capability_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1386
|
+
command = make_simple_command(:delete, 'v3/{+name}', options)
|
|
1387
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
1388
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
1389
|
+
command.params['name'] = name unless name.nil?
|
|
1390
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1391
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1392
|
+
execute_or_queue_command(command, &block)
|
|
1393
|
+
end
|
|
1394
|
+
|
|
1395
|
+
# Retrieves the Capability Config identified by the specified `name` (for
|
|
1396
|
+
# example, `folders/123456789/capabilityConfigs/my-capability-config`).
|
|
1397
|
+
# @param [String] name
|
|
1398
|
+
# Required. The name of the CapabilityConfig to retrieve. Format: `organizations/
|
|
1399
|
+
# `organization`/capabilityConfigs/`capabilityConfig`` or, `folders/`folder`/
|
|
1400
|
+
# capabilityConfigs/`capabilityConfig`` or, `projects/`project`/
|
|
1401
|
+
# capabilityConfigs/`capabilityConfig`` Example: `folders/123456789/
|
|
1402
|
+
# capabilityConfigs/my-capability-config`
|
|
1403
|
+
# @param [String] fields
|
|
1404
|
+
# Selector specifying which fields to include in a partial response.
|
|
1405
|
+
# @param [String] quota_user
|
|
1406
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1407
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1408
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1409
|
+
# Request-specific options
|
|
1410
|
+
#
|
|
1411
|
+
# @yield [result, err] Result & error if block supplied
|
|
1412
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::CapabilityConfig] parsed result object
|
|
1413
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1414
|
+
#
|
|
1415
|
+
# @return [Google::Apis::CloudresourcemanagerV3::CapabilityConfig]
|
|
1416
|
+
#
|
|
1417
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1418
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1419
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1420
|
+
def get_organization_capability_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1421
|
+
command = make_simple_command(:get, 'v3/{+name}', options)
|
|
1422
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::CapabilityConfig::Representation
|
|
1423
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::CapabilityConfig
|
|
1424
|
+
command.params['name'] = name unless name.nil?
|
|
1425
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1426
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1427
|
+
execute_or_queue_command(command, &block)
|
|
1428
|
+
end
|
|
1429
|
+
|
|
1430
|
+
# Lists CapabilityConfigs that are direct children of the specified organization,
|
|
1431
|
+
# folder or project resource.
|
|
1432
|
+
# @param [String] parent
|
|
1433
|
+
# Required. The name of the parent resource whose CapabilityConfigs are being
|
|
1434
|
+
# listed. Format: `organizations/`organization_id`` or `folders/`folder_id``
|
|
1435
|
+
# @param [Fixnum] page_size
|
|
1436
|
+
# Optional. The maximum number of CapabilityConfigs to return in the response.
|
|
1437
|
+
# The service may return fewer CapabilityConfigs than requested. If unspecified,
|
|
1438
|
+
# at most 100 CapabilityConfigs will be returned. The maximum value is 100;
|
|
1439
|
+
# values above 100 will be coerced to 100.
|
|
1440
|
+
# @param [String] page_token
|
|
1441
|
+
# Optional. A pagination token received from a previous call to `
|
|
1442
|
+
# ListCapabilityConfigs` that indicates from where listing should continue.
|
|
1443
|
+
# Provide this to retrieve the subsequent page.
|
|
1444
|
+
# @param [String] fields
|
|
1445
|
+
# Selector specifying which fields to include in a partial response.
|
|
1446
|
+
# @param [String] quota_user
|
|
1447
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1448
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1449
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1450
|
+
# Request-specific options
|
|
1451
|
+
#
|
|
1452
|
+
# @yield [result, err] Result & error if block supplied
|
|
1453
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::ListCapabilityConfigsResponse] parsed result object
|
|
1454
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1455
|
+
#
|
|
1456
|
+
# @return [Google::Apis::CloudresourcemanagerV3::ListCapabilityConfigsResponse]
|
|
1457
|
+
#
|
|
1458
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1459
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1460
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1461
|
+
def list_organization_capability_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1462
|
+
command = make_simple_command(:get, 'v3/{+parent}/capabilityConfigs', options)
|
|
1463
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::ListCapabilityConfigsResponse::Representation
|
|
1464
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::ListCapabilityConfigsResponse
|
|
1465
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1466
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1467
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1468
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1469
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1470
|
+
execute_or_queue_command(command, &block)
|
|
1471
|
+
end
|
|
1472
|
+
|
|
1473
|
+
# Updates the `display_name`, `types` and `boundaries` of the CapabilityConfig
|
|
1474
|
+
# identified by the specified `name` (for example, `folders/123456789/
|
|
1475
|
+
# capabilityConfigs/my-capability-config`).
|
|
1476
|
+
# @param [String] name
|
|
1477
|
+
# Identifier. The unique resource name of the CapabilityConfig. Format: `
|
|
1478
|
+
# organizations/`organization`/capabilityConfigs/`capabilityConfig`` or, `
|
|
1479
|
+
# folders/`folder`/capabilityConfigs/`capabilityConfig`` or, `projects/`project`/
|
|
1480
|
+
# capabilityConfigs/`capabilityConfig``
|
|
1481
|
+
# @param [Google::Apis::CloudresourcemanagerV3::CapabilityConfig] capability_config_object
|
|
1482
|
+
# @param [String] update_mask
|
|
1483
|
+
# Optional. The list of fields to update.
|
|
1484
|
+
# @param [String] fields
|
|
1485
|
+
# Selector specifying which fields to include in a partial response.
|
|
1486
|
+
# @param [String] quota_user
|
|
1487
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1488
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1489
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1490
|
+
# Request-specific options
|
|
1491
|
+
#
|
|
1492
|
+
# @yield [result, err] Result & error if block supplied
|
|
1493
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
1494
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1495
|
+
#
|
|
1496
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
1497
|
+
#
|
|
1498
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1499
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1500
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1501
|
+
def patch_organization_capability_config(name, capability_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1502
|
+
command = make_simple_command(:patch, 'v3/{+name}', options)
|
|
1503
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV3::CapabilityConfig::Representation
|
|
1504
|
+
command.request_object = capability_config_object
|
|
1505
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
1506
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
1507
|
+
command.params['name'] = name unless name.nil?
|
|
1508
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1509
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1510
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1511
|
+
execute_or_queue_command(command, &block)
|
|
1512
|
+
end
|
|
1513
|
+
|
|
1120
1514
|
# Request that a new project be created. The result is an `Operation` which can
|
|
1121
1515
|
# be used to track the creation process. This process usually takes a few
|
|
1122
1516
|
# seconds, but can sometimes take much longer. The tracking `Operation` is
|
|
@@ -1591,6 +1985,203 @@ module Google
|
|
|
1591
1985
|
execute_or_queue_command(command, &block)
|
|
1592
1986
|
end
|
|
1593
1987
|
|
|
1988
|
+
# Creates a CapabilityConfig under a parent Organization, Folder or Project.
|
|
1989
|
+
# Creating a CapabilityConfig triggers the creation of a Management Project if
|
|
1990
|
+
# one is not supplied.
|
|
1991
|
+
# @param [String] parent
|
|
1992
|
+
# Required. The parent resource under which the CapabilityConfig will be created.
|
|
1993
|
+
# Format: `organizations/`organization_id`` or `folders/`folder_id`` or `
|
|
1994
|
+
# projects/`project_number``
|
|
1995
|
+
# @param [Google::Apis::CloudresourcemanagerV3::CapabilityConfig] capability_config_object
|
|
1996
|
+
# @param [String] capability_config_id
|
|
1997
|
+
# Required. The user-assigned ID for the CapabilityConfig, which will become the
|
|
1998
|
+
# final component of the CapabilityConfig's resource name. Must be unique within
|
|
1999
|
+
# the parent resource. It must be 6 to 30 lowercase ASCII letters, digits, or
|
|
2000
|
+
# hyphens. It must start with a letter. Trailing hyphens are prohibited. Example:
|
|
2001
|
+
# `my-capability-config-123`
|
|
2002
|
+
# @param [String] fields
|
|
2003
|
+
# Selector specifying which fields to include in a partial response.
|
|
2004
|
+
# @param [String] quota_user
|
|
2005
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2006
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2007
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2008
|
+
# Request-specific options
|
|
2009
|
+
#
|
|
2010
|
+
# @yield [result, err] Result & error if block supplied
|
|
2011
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
2012
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2013
|
+
#
|
|
2014
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
2015
|
+
#
|
|
2016
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2017
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2018
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2019
|
+
def create_project_capability_config(parent, capability_config_object = nil, capability_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2020
|
+
command = make_simple_command(:post, 'v3/{+parent}/capabilityConfigs', options)
|
|
2021
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV3::CapabilityConfig::Representation
|
|
2022
|
+
command.request_object = capability_config_object
|
|
2023
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
2024
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
2025
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2026
|
+
command.query['capabilityConfigId'] = capability_config_id unless capability_config_id.nil?
|
|
2027
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2028
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2029
|
+
execute_or_queue_command(command, &block)
|
|
2030
|
+
end
|
|
2031
|
+
|
|
2032
|
+
# Deletes the CapabilityConfig identified by the specified `name` (for example, `
|
|
2033
|
+
# folders/123456789/capabilityConfigs/my-capability-config`).
|
|
2034
|
+
# @param [String] name
|
|
2035
|
+
# Required. The name of the CapabilityConfig to delete. Format: `organizations/`
|
|
2036
|
+
# organization`/capabilityConfigs/`capabilityConfig`` or, `folders/`folder`/
|
|
2037
|
+
# capabilityConfigs/`capabilityConfig`` or, `projects/`project`/
|
|
2038
|
+
# capabilityConfigs/`capabilityConfig``
|
|
2039
|
+
# @param [String] fields
|
|
2040
|
+
# Selector specifying which fields to include in a partial response.
|
|
2041
|
+
# @param [String] quota_user
|
|
2042
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2043
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2044
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2045
|
+
# Request-specific options
|
|
2046
|
+
#
|
|
2047
|
+
# @yield [result, err] Result & error if block supplied
|
|
2048
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
2049
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2050
|
+
#
|
|
2051
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
2052
|
+
#
|
|
2053
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2054
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2055
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2056
|
+
def delete_project_capability_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2057
|
+
command = make_simple_command(:delete, 'v3/{+name}', options)
|
|
2058
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
2059
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
2060
|
+
command.params['name'] = name unless name.nil?
|
|
2061
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2062
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2063
|
+
execute_or_queue_command(command, &block)
|
|
2064
|
+
end
|
|
2065
|
+
|
|
2066
|
+
# Retrieves the Capability Config identified by the specified `name` (for
|
|
2067
|
+
# example, `folders/123456789/capabilityConfigs/my-capability-config`).
|
|
2068
|
+
# @param [String] name
|
|
2069
|
+
# Required. The name of the CapabilityConfig to retrieve. Format: `organizations/
|
|
2070
|
+
# `organization`/capabilityConfigs/`capabilityConfig`` or, `folders/`folder`/
|
|
2071
|
+
# capabilityConfigs/`capabilityConfig`` or, `projects/`project`/
|
|
2072
|
+
# capabilityConfigs/`capabilityConfig`` Example: `folders/123456789/
|
|
2073
|
+
# capabilityConfigs/my-capability-config`
|
|
2074
|
+
# @param [String] fields
|
|
2075
|
+
# Selector specifying which fields to include in a partial response.
|
|
2076
|
+
# @param [String] quota_user
|
|
2077
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2078
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2079
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2080
|
+
# Request-specific options
|
|
2081
|
+
#
|
|
2082
|
+
# @yield [result, err] Result & error if block supplied
|
|
2083
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::CapabilityConfig] parsed result object
|
|
2084
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2085
|
+
#
|
|
2086
|
+
# @return [Google::Apis::CloudresourcemanagerV3::CapabilityConfig]
|
|
2087
|
+
#
|
|
2088
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2089
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2090
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2091
|
+
def get_project_capability_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2092
|
+
command = make_simple_command(:get, 'v3/{+name}', options)
|
|
2093
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::CapabilityConfig::Representation
|
|
2094
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::CapabilityConfig
|
|
2095
|
+
command.params['name'] = name unless name.nil?
|
|
2096
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2097
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2098
|
+
execute_or_queue_command(command, &block)
|
|
2099
|
+
end
|
|
2100
|
+
|
|
2101
|
+
# Lists CapabilityConfigs that are direct children of the specified organization,
|
|
2102
|
+
# folder or project resource.
|
|
2103
|
+
# @param [String] parent
|
|
2104
|
+
# Required. The name of the parent resource whose CapabilityConfigs are being
|
|
2105
|
+
# listed. Format: `organizations/`organization_id`` or `folders/`folder_id``
|
|
2106
|
+
# @param [Fixnum] page_size
|
|
2107
|
+
# Optional. The maximum number of CapabilityConfigs to return in the response.
|
|
2108
|
+
# The service may return fewer CapabilityConfigs than requested. If unspecified,
|
|
2109
|
+
# at most 100 CapabilityConfigs will be returned. The maximum value is 100;
|
|
2110
|
+
# values above 100 will be coerced to 100.
|
|
2111
|
+
# @param [String] page_token
|
|
2112
|
+
# Optional. A pagination token received from a previous call to `
|
|
2113
|
+
# ListCapabilityConfigs` that indicates from where listing should continue.
|
|
2114
|
+
# Provide this to retrieve the subsequent page.
|
|
2115
|
+
# @param [String] fields
|
|
2116
|
+
# Selector specifying which fields to include in a partial response.
|
|
2117
|
+
# @param [String] quota_user
|
|
2118
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2119
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2120
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2121
|
+
# Request-specific options
|
|
2122
|
+
#
|
|
2123
|
+
# @yield [result, err] Result & error if block supplied
|
|
2124
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::ListCapabilityConfigsResponse] parsed result object
|
|
2125
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2126
|
+
#
|
|
2127
|
+
# @return [Google::Apis::CloudresourcemanagerV3::ListCapabilityConfigsResponse]
|
|
2128
|
+
#
|
|
2129
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2130
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2131
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2132
|
+
def list_project_capability_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2133
|
+
command = make_simple_command(:get, 'v3/{+parent}/capabilityConfigs', options)
|
|
2134
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::ListCapabilityConfigsResponse::Representation
|
|
2135
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::ListCapabilityConfigsResponse
|
|
2136
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2137
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2138
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2139
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2140
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2141
|
+
execute_or_queue_command(command, &block)
|
|
2142
|
+
end
|
|
2143
|
+
|
|
2144
|
+
# Updates the `display_name`, `types` and `boundaries` of the CapabilityConfig
|
|
2145
|
+
# identified by the specified `name` (for example, `folders/123456789/
|
|
2146
|
+
# capabilityConfigs/my-capability-config`).
|
|
2147
|
+
# @param [String] name
|
|
2148
|
+
# Identifier. The unique resource name of the CapabilityConfig. Format: `
|
|
2149
|
+
# organizations/`organization`/capabilityConfigs/`capabilityConfig`` or, `
|
|
2150
|
+
# folders/`folder`/capabilityConfigs/`capabilityConfig`` or, `projects/`project`/
|
|
2151
|
+
# capabilityConfigs/`capabilityConfig``
|
|
2152
|
+
# @param [Google::Apis::CloudresourcemanagerV3::CapabilityConfig] capability_config_object
|
|
2153
|
+
# @param [String] update_mask
|
|
2154
|
+
# Optional. The list of fields to update.
|
|
2155
|
+
# @param [String] fields
|
|
2156
|
+
# Selector specifying which fields to include in a partial response.
|
|
2157
|
+
# @param [String] quota_user
|
|
2158
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2159
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2160
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2161
|
+
# Request-specific options
|
|
2162
|
+
#
|
|
2163
|
+
# @yield [result, err] Result & error if block supplied
|
|
2164
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
|
|
2165
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2166
|
+
#
|
|
2167
|
+
# @return [Google::Apis::CloudresourcemanagerV3::Operation]
|
|
2168
|
+
#
|
|
2169
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2170
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2171
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2172
|
+
def patch_project_capability_config(name, capability_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2173
|
+
command = make_simple_command(:patch, 'v3/{+name}', options)
|
|
2174
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV3::CapabilityConfig::Representation
|
|
2175
|
+
command.request_object = capability_config_object
|
|
2176
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
|
|
2177
|
+
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
|
|
2178
|
+
command.params['name'] = name unless name.nil?
|
|
2179
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
2180
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2181
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2182
|
+
execute_or_queue_command(command, &block)
|
|
2183
|
+
end
|
|
2184
|
+
|
|
1594
2185
|
# Creates a TagBinding between a TagValue and a Google Cloud resource.
|
|
1595
2186
|
# @param [Google::Apis::CloudresourcemanagerV3::TagBinding] tag_binding_object
|
|
1596
2187
|
# @param [Boolean] validate_only
|
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.
|
|
4
|
+
version: 0.65.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v3/v0.65.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:
|