@maxim_mazurok/gapi.client.cloudresourcemanager-v3 0.3.20260924 → 0.3.20261018
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.
- package/index.d.ts +664 -14
- package/package.json +1 -1
- package/readme.md +28 -0
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v3
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20261018
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -49,6 +49,34 @@ declare namespace gapi.client {
|
|
|
49
49
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). */
|
|
50
50
|
role?: string;
|
|
51
51
|
}
|
|
52
|
+
interface Boundary {
|
|
53
|
+
/** Output only. The creation time of the Boundary. */
|
|
54
|
+
createTime?: string;
|
|
55
|
+
/** Optional. Human-readable display name of the Boundary. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `My Production Boundary` */
|
|
56
|
+
displayName?: string;
|
|
57
|
+
/** This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */
|
|
58
|
+
etag?: string;
|
|
59
|
+
/** Output only. The Management Project of the CapabilityConfig this Boundary is associated with. Will be empty if the Boundary is not associated with any CapabilityConfig. Format: `projects/{project_number}` Example: `projects/123456789012` */
|
|
60
|
+
managementProject?: string;
|
|
61
|
+
/** Identifier. The unique resource name of the Boundary. Format: - `organizations/{organization_id}/boundaries/{boundary_id}` - `folders/{folder_id}/boundaries/{boundary_id}` Example: `folders/123456789/boundaries/my-boundary` */
|
|
62
|
+
name?: string;
|
|
63
|
+
/** Optional. The filter defining the criteria for descendant projects to be included in the Boundary. Descendant projects are dynamically included in the Boundary based on this filter. */
|
|
64
|
+
resourceFilter?: ResourceFilter;
|
|
65
|
+
/** Output only. The lifecycle state of the Boundary. */
|
|
66
|
+
state?: 'STATE_UNSPECIFIED' | 'CREATING' | 'ACTIVE';
|
|
67
|
+
/** Output only. The most recent time this Boundary was modified. */
|
|
68
|
+
updateTime?: string;
|
|
69
|
+
}
|
|
70
|
+
interface BoundaryConfig {
|
|
71
|
+
/** This checksum is computed by the server based on the value of other fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding. */
|
|
72
|
+
etag?: string;
|
|
73
|
+
/** Identifier. The unique resource name of the BoundaryConfig. Format: - `organizations/{organization}/boundaryConfig` - `folders/{folder}/boundaryConfig` Example: `folders/123456789/boundaryConfig` */
|
|
74
|
+
name?: string;
|
|
75
|
+
/** Optional. The namespaced name of the tag key. Format: `{parent_id}/{tag_key_short_name}` Example: `123456789012/env` (where 123456789012 is the organization ID). */
|
|
76
|
+
tagKey?: string;
|
|
77
|
+
/** Output only. The most recent time this BoundaryConfig was modified. */
|
|
78
|
+
updateTime?: string;
|
|
79
|
+
}
|
|
52
80
|
interface Capability {
|
|
53
81
|
/** Immutable. Identifier. The resource name of the capability. Must be in the following form: * `folders/{folder_id}/capabilities/{capability_name}` For example, `folders/123/capabilities/app-management` Following are the allowed {capability_name} values: * `app-management` */
|
|
54
82
|
name?: string;
|
|
@@ -111,6 +139,8 @@ declare namespace gapi.client {
|
|
|
111
139
|
/** True if the project creation process is complete. */
|
|
112
140
|
ready?: boolean;
|
|
113
141
|
}
|
|
142
|
+
interface CreateSemanticTagBindingMetadata {}
|
|
143
|
+
interface CreateSemanticTagValueMetadata {}
|
|
114
144
|
interface CreateTagBindingMetadata {}
|
|
115
145
|
interface CreateTagKeyMetadata {}
|
|
116
146
|
interface CreateTagValueMetadata {}
|
|
@@ -119,6 +149,8 @@ declare namespace gapi.client {
|
|
|
119
149
|
interface DeleteFolderMetadata {}
|
|
120
150
|
interface DeleteOrganizationMetadata {}
|
|
121
151
|
interface DeleteProjectMetadata {}
|
|
152
|
+
interface DeleteSemanticTagBindingMetadata {}
|
|
153
|
+
interface DeleteSemanticTagValueMetadata {}
|
|
122
154
|
interface DeleteTagBindingMetadata {}
|
|
123
155
|
interface DeleteTagKeyMetadata {}
|
|
124
156
|
interface DeleteTagValueMetadata {}
|
|
@@ -232,6 +264,12 @@ declare namespace gapi.client {
|
|
|
232
264
|
/** The types of operations which should be blocked as a result of this Lien. Each value should correspond to an IAM permission. The server will validate the permissions against those for which Liens are supported. An empty list is meaningless and will be rejected. Example: ['resourcemanager.projects.delete'] */
|
|
233
265
|
restrictions?: string[];
|
|
234
266
|
}
|
|
267
|
+
interface ListBoundariesResponse {
|
|
268
|
+
/** The list of Boundaries under the parent. This list can be paginated. */
|
|
269
|
+
boundaries?: Boundary[];
|
|
270
|
+
/** Pagination token. If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the `page_token` parameter gives the next page of the results. When `next_page_token` is not filled in, there is no next page and the list returned is the last page in the result set. */
|
|
271
|
+
nextPageToken?: string;
|
|
272
|
+
}
|
|
235
273
|
interface ListCapabilityConfigsResponse {
|
|
236
274
|
/** The list of CapabilityConfigs under the parent. This list can be paginated. */
|
|
237
275
|
capabilityConfigs?: CapabilityConfig[];
|
|
@@ -379,6 +417,10 @@ declare namespace gapi.client {
|
|
|
379
417
|
/** True if the project creation process is complete. */
|
|
380
418
|
ready?: boolean;
|
|
381
419
|
}
|
|
420
|
+
interface ResourceFilter {
|
|
421
|
+
/** A tag based filter. A project must match it to be included. */
|
|
422
|
+
tagFilter?: TagFilter;
|
|
423
|
+
}
|
|
382
424
|
interface SearchFoldersResponse {
|
|
383
425
|
/** A possibly paginated folder search results. the specified parent resource. */
|
|
384
426
|
folders?: Folder[];
|
|
@@ -431,6 +473,12 @@ declare namespace gapi.client {
|
|
|
431
473
|
/** Tag keys/values directly bound to this resource, specified in namespaced format. For example: "123/environment": "production" */
|
|
432
474
|
tags?: {[P in string]: string};
|
|
433
475
|
}
|
|
476
|
+
interface TagFilter {
|
|
477
|
+
/** Required. Immutable. The namespaced name of the tag key. Format: `{parent_id}/{tag_key_short_name}` Example: `123456789012/env` (where 123456789012 is the organization ID). */
|
|
478
|
+
tagKey?: string;
|
|
479
|
+
/** Required. The allowed value for the tag key. A project matches this tag filter if its effective tag value for the given `tag_key` matches this value. Format: short name of the tag value. Example: `production` or `staging`. */
|
|
480
|
+
tagValue?: string;
|
|
481
|
+
}
|
|
434
482
|
interface TagHold {
|
|
435
483
|
/** Output only. The time this TagHold was created. */
|
|
436
484
|
createTime?: string;
|
|
@@ -538,6 +586,217 @@ declare namespace gapi.client {
|
|
|
538
586
|
uploadType?: string;
|
|
539
587
|
}): Request<ListEffectiveTagsResponse>;
|
|
540
588
|
}
|
|
589
|
+
interface BoundariesResource {
|
|
590
|
+
/** Creates a Boundary under a parent Folder or Organization. Creating a Boundary triggers the creation of a Management Project if one is not supplied. */
|
|
591
|
+
create(request: {
|
|
592
|
+
/** V1 error format. */
|
|
593
|
+
'$.xgafv'?: '1' | '2';
|
|
594
|
+
/** OAuth access token. */
|
|
595
|
+
access_token?: string;
|
|
596
|
+
/** Data format for response. */
|
|
597
|
+
alt?: 'json' | 'media' | 'proto';
|
|
598
|
+
/** Required. The user-assigned ID for the Boundary, which will become the final component of the Boundary's resource name. Must be unique within the parent resource. It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: `my-boundary-123` */
|
|
599
|
+
boundaryId?: string;
|
|
600
|
+
/** JSONP */
|
|
601
|
+
callback?: string;
|
|
602
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
603
|
+
fields?: string;
|
|
604
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
605
|
+
key?: string;
|
|
606
|
+
/** OAuth 2.0 token for the current user. */
|
|
607
|
+
oauth_token?: string;
|
|
608
|
+
/** Required. The parent resource under which the Boundary will be created. Format: `organizations/{organization_id}` or `folders/{folder_id}` */
|
|
609
|
+
parent: string;
|
|
610
|
+
/** Returns response with indentations and line breaks. */
|
|
611
|
+
prettyPrint?: boolean;
|
|
612
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
613
|
+
quotaUser?: string;
|
|
614
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
615
|
+
upload_protocol?: string;
|
|
616
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
617
|
+
uploadType?: string;
|
|
618
|
+
/** Request body */
|
|
619
|
+
resource: Boundary;
|
|
620
|
+
}): Request<Operation>;
|
|
621
|
+
create(
|
|
622
|
+
request: {
|
|
623
|
+
/** V1 error format. */
|
|
624
|
+
'$.xgafv'?: '1' | '2';
|
|
625
|
+
/** OAuth access token. */
|
|
626
|
+
access_token?: string;
|
|
627
|
+
/** Data format for response. */
|
|
628
|
+
alt?: 'json' | 'media' | 'proto';
|
|
629
|
+
/** Required. The user-assigned ID for the Boundary, which will become the final component of the Boundary's resource name. Must be unique within the parent resource. It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: `my-boundary-123` */
|
|
630
|
+
boundaryId?: string;
|
|
631
|
+
/** JSONP */
|
|
632
|
+
callback?: string;
|
|
633
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
634
|
+
fields?: string;
|
|
635
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
636
|
+
key?: string;
|
|
637
|
+
/** OAuth 2.0 token for the current user. */
|
|
638
|
+
oauth_token?: string;
|
|
639
|
+
/** Required. The parent resource under which the Boundary will be created. Format: `organizations/{organization_id}` or `folders/{folder_id}` */
|
|
640
|
+
parent: string;
|
|
641
|
+
/** Returns response with indentations and line breaks. */
|
|
642
|
+
prettyPrint?: boolean;
|
|
643
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
644
|
+
quotaUser?: string;
|
|
645
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
646
|
+
upload_protocol?: string;
|
|
647
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
648
|
+
uploadType?: string;
|
|
649
|
+
},
|
|
650
|
+
body: Boundary,
|
|
651
|
+
): Request<Operation>;
|
|
652
|
+
/** Deletes the Boundary identified by the specified `name` (for example, `folders/123456789/boundaries/my-boundary`). */
|
|
653
|
+
delete(request?: {
|
|
654
|
+
/** V1 error format. */
|
|
655
|
+
'$.xgafv'?: '1' | '2';
|
|
656
|
+
/** OAuth access token. */
|
|
657
|
+
access_token?: string;
|
|
658
|
+
/** Data format for response. */
|
|
659
|
+
alt?: 'json' | 'media' | 'proto';
|
|
660
|
+
/** JSONP */
|
|
661
|
+
callback?: string;
|
|
662
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
663
|
+
fields?: string;
|
|
664
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
665
|
+
key?: string;
|
|
666
|
+
/** Required. The name of the Boundary to delete. Format: `organizations/{organization_id}/boundaries/{boundary_id}` or `folders/{folder_id}/boundaries/{boundary_id}` */
|
|
667
|
+
name: string;
|
|
668
|
+
/** OAuth 2.0 token for the current user. */
|
|
669
|
+
oauth_token?: string;
|
|
670
|
+
/** Returns response with indentations and line breaks. */
|
|
671
|
+
prettyPrint?: boolean;
|
|
672
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
673
|
+
quotaUser?: string;
|
|
674
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
675
|
+
upload_protocol?: string;
|
|
676
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
677
|
+
uploadType?: string;
|
|
678
|
+
}): Request<Operation>;
|
|
679
|
+
/** Retrieves the Boundary identified by the specified `name` (for example, `folders/123456789/boundaries/my-boundary`). */
|
|
680
|
+
get(request?: {
|
|
681
|
+
/** V1 error format. */
|
|
682
|
+
'$.xgafv'?: '1' | '2';
|
|
683
|
+
/** OAuth access token. */
|
|
684
|
+
access_token?: string;
|
|
685
|
+
/** Data format for response. */
|
|
686
|
+
alt?: 'json' | 'media' | 'proto';
|
|
687
|
+
/** JSONP */
|
|
688
|
+
callback?: string;
|
|
689
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
690
|
+
fields?: string;
|
|
691
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
692
|
+
key?: string;
|
|
693
|
+
/** Required. The name of the Boundary to retrieve. Format: `organizations/{organization_id}/boundaries/{boundary_id}` or `folders/{folder_id}/boundaries/{boundary_id}` Example: `folders/123456789/boundaries/my-boundary` */
|
|
694
|
+
name: string;
|
|
695
|
+
/** OAuth 2.0 token for the current user. */
|
|
696
|
+
oauth_token?: string;
|
|
697
|
+
/** Returns response with indentations and line breaks. */
|
|
698
|
+
prettyPrint?: boolean;
|
|
699
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
700
|
+
quotaUser?: string;
|
|
701
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
702
|
+
upload_protocol?: string;
|
|
703
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
704
|
+
uploadType?: string;
|
|
705
|
+
}): Request<Boundary>;
|
|
706
|
+
/** Lists Boundaries that are direct children of the specified organization or folder resource. */
|
|
707
|
+
list(request?: {
|
|
708
|
+
/** V1 error format. */
|
|
709
|
+
'$.xgafv'?: '1' | '2';
|
|
710
|
+
/** OAuth access token. */
|
|
711
|
+
access_token?: string;
|
|
712
|
+
/** Data format for response. */
|
|
713
|
+
alt?: 'json' | 'media' | 'proto';
|
|
714
|
+
/** JSONP */
|
|
715
|
+
callback?: string;
|
|
716
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
717
|
+
fields?: string;
|
|
718
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
719
|
+
key?: string;
|
|
720
|
+
/** OAuth 2.0 token for the current user. */
|
|
721
|
+
oauth_token?: string;
|
|
722
|
+
/** Optional. The maximum number of Boundaries to return in the response. The service may return fewer Boundaries than requested. If unspecified, at most 100 Boundaries will be returned. The maximum value is 100; values above 100 will be coerced to 100. */
|
|
723
|
+
pageSize?: number;
|
|
724
|
+
/** Optional. A pagination token received from a previous call to `ListBoundaries` that indicates from where listing should continue. Provide this to retrieve the subsequent page. */
|
|
725
|
+
pageToken?: string;
|
|
726
|
+
/** Required. The name of the parent resource whose Boundaries are being listed. Format: `organizations/{organization_id}` or `folders/{folder_id}` */
|
|
727
|
+
parent: string;
|
|
728
|
+
/** Returns response with indentations and line breaks. */
|
|
729
|
+
prettyPrint?: boolean;
|
|
730
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
731
|
+
quotaUser?: string;
|
|
732
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
733
|
+
upload_protocol?: string;
|
|
734
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
735
|
+
uploadType?: string;
|
|
736
|
+
}): Request<ListBoundariesResponse>;
|
|
737
|
+
/** Updates the `display_name` and `resource_filter.tag_filter.tag_value` of the Boundary identified by the specified `name` (for example, `folders/123456789/boundaries/my-boundary`). */
|
|
738
|
+
patch(request: {
|
|
739
|
+
/** V1 error format. */
|
|
740
|
+
'$.xgafv'?: '1' | '2';
|
|
741
|
+
/** OAuth access token. */
|
|
742
|
+
access_token?: string;
|
|
743
|
+
/** Data format for response. */
|
|
744
|
+
alt?: 'json' | 'media' | 'proto';
|
|
745
|
+
/** JSONP */
|
|
746
|
+
callback?: string;
|
|
747
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
748
|
+
fields?: string;
|
|
749
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
750
|
+
key?: string;
|
|
751
|
+
/** Identifier. The unique resource name of the Boundary. Format: - `organizations/{organization_id}/boundaries/{boundary_id}` - `folders/{folder_id}/boundaries/{boundary_id}` Example: `folders/123456789/boundaries/my-boundary` */
|
|
752
|
+
name: string;
|
|
753
|
+
/** OAuth 2.0 token for the current user. */
|
|
754
|
+
oauth_token?: string;
|
|
755
|
+
/** Returns response with indentations and line breaks. */
|
|
756
|
+
prettyPrint?: boolean;
|
|
757
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
758
|
+
quotaUser?: string;
|
|
759
|
+
/** Optional. The list of fields to update. */
|
|
760
|
+
updateMask?: string;
|
|
761
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
762
|
+
upload_protocol?: string;
|
|
763
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
764
|
+
uploadType?: string;
|
|
765
|
+
/** Request body */
|
|
766
|
+
resource: Boundary;
|
|
767
|
+
}): Request<Operation>;
|
|
768
|
+
patch(
|
|
769
|
+
request: {
|
|
770
|
+
/** V1 error format. */
|
|
771
|
+
'$.xgafv'?: '1' | '2';
|
|
772
|
+
/** OAuth access token. */
|
|
773
|
+
access_token?: string;
|
|
774
|
+
/** Data format for response. */
|
|
775
|
+
alt?: 'json' | 'media' | 'proto';
|
|
776
|
+
/** JSONP */
|
|
777
|
+
callback?: string;
|
|
778
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
779
|
+
fields?: string;
|
|
780
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
781
|
+
key?: string;
|
|
782
|
+
/** Identifier. The unique resource name of the Boundary. Format: - `organizations/{organization_id}/boundaries/{boundary_id}` - `folders/{folder_id}/boundaries/{boundary_id}` Example: `folders/123456789/boundaries/my-boundary` */
|
|
783
|
+
name: string;
|
|
784
|
+
/** OAuth 2.0 token for the current user. */
|
|
785
|
+
oauth_token?: string;
|
|
786
|
+
/** Returns response with indentations and line breaks. */
|
|
787
|
+
prettyPrint?: boolean;
|
|
788
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
789
|
+
quotaUser?: string;
|
|
790
|
+
/** Optional. The list of fields to update. */
|
|
791
|
+
updateMask?: string;
|
|
792
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
793
|
+
upload_protocol?: string;
|
|
794
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
795
|
+
uploadType?: string;
|
|
796
|
+
},
|
|
797
|
+
body: Boundary,
|
|
798
|
+
): Request<Operation>;
|
|
799
|
+
}
|
|
541
800
|
interface CapabilitiesResource {
|
|
542
801
|
/** Retrieves the Capability identified by the supplied resource name. */
|
|
543
802
|
get(request?: {
|
|
@@ -949,6 +1208,33 @@ declare namespace gapi.client {
|
|
|
949
1208
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
950
1209
|
uploadType?: string;
|
|
951
1210
|
}): Request<Folder>;
|
|
1211
|
+
/** Retrieves the BoundaryConfig identified by the specified `name` (for example, `folders/123456789/boundaryConfig`). */
|
|
1212
|
+
getBoundaryConfig(request?: {
|
|
1213
|
+
/** V1 error format. */
|
|
1214
|
+
'$.xgafv'?: '1' | '2';
|
|
1215
|
+
/** OAuth access token. */
|
|
1216
|
+
access_token?: string;
|
|
1217
|
+
/** Data format for response. */
|
|
1218
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1219
|
+
/** JSONP */
|
|
1220
|
+
callback?: string;
|
|
1221
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1222
|
+
fields?: string;
|
|
1223
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1224
|
+
key?: string;
|
|
1225
|
+
/** Required. The name of the BoundaryConfig to retrieve. Format: `organizations/{organization}/boundaryConfig` or `folders/{folder}/boundaryConfig` Example: `folders/123456789/boundaryConfig` */
|
|
1226
|
+
name: string;
|
|
1227
|
+
/** OAuth 2.0 token for the current user. */
|
|
1228
|
+
oauth_token?: string;
|
|
1229
|
+
/** Returns response with indentations and line breaks. */
|
|
1230
|
+
prettyPrint?: boolean;
|
|
1231
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1232
|
+
quotaUser?: string;
|
|
1233
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1234
|
+
upload_protocol?: string;
|
|
1235
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1236
|
+
uploadType?: string;
|
|
1237
|
+
}): Request<BoundaryConfig>;
|
|
952
1238
|
/** Gets the access control policy for a folder. The returned policy may be empty if no such policy or resource exists. The `resource` field should be the folder's resource name, for example: "folders/1234". The caller must have `resourcemanager.folders.getIamPolicy` permission on the identified folder. */
|
|
953
1239
|
getIamPolicy(
|
|
954
1240
|
request: {
|
|
@@ -1281,12 +1567,8 @@ declare namespace gapi.client {
|
|
|
1281
1567
|
},
|
|
1282
1568
|
body: UndeleteFolderRequest,
|
|
1283
1569
|
): Request<Operation>;
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
}
|
|
1287
|
-
interface LiensResource {
|
|
1288
|
-
/** Create a Lien which applies to the resource denoted by the `parent` field. Callers of this method will require permission on the `parent` resource. For example, applying to `projects/1234` requires permission `resourcemanager.projects.updateLiens`. NOTE: Some resources may limit the number of Liens which may be applied. */
|
|
1289
|
-
create(request: {
|
|
1570
|
+
/** Updates the BoundaryConfig identified by the specified `name` (for example, `folders/123456789/boundaryConfig`). */
|
|
1571
|
+
updateBoundaryConfig(request: {
|
|
1290
1572
|
/** V1 error format. */
|
|
1291
1573
|
'$.xgafv'?: '1' | '2';
|
|
1292
1574
|
/** OAuth access token. */
|
|
@@ -1299,20 +1581,24 @@ declare namespace gapi.client {
|
|
|
1299
1581
|
fields?: string;
|
|
1300
1582
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1301
1583
|
key?: string;
|
|
1584
|
+
/** Identifier. The unique resource name of the BoundaryConfig. Format: - `organizations/{organization}/boundaryConfig` - `folders/{folder}/boundaryConfig` Example: `folders/123456789/boundaryConfig` */
|
|
1585
|
+
name: string;
|
|
1302
1586
|
/** OAuth 2.0 token for the current user. */
|
|
1303
1587
|
oauth_token?: string;
|
|
1304
1588
|
/** Returns response with indentations and line breaks. */
|
|
1305
1589
|
prettyPrint?: boolean;
|
|
1306
1590
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1307
1591
|
quotaUser?: string;
|
|
1592
|
+
/** Optional. The list of fields to update. */
|
|
1593
|
+
updateMask?: string;
|
|
1308
1594
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1309
1595
|
upload_protocol?: string;
|
|
1310
1596
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1311
1597
|
uploadType?: string;
|
|
1312
1598
|
/** Request body */
|
|
1313
|
-
resource:
|
|
1314
|
-
}): Request<
|
|
1315
|
-
|
|
1599
|
+
resource: BoundaryConfig;
|
|
1600
|
+
}): Request<Operation>;
|
|
1601
|
+
updateBoundaryConfig(
|
|
1316
1602
|
request: {
|
|
1317
1603
|
/** V1 error format. */
|
|
1318
1604
|
'$.xgafv'?: '1' | '2';
|
|
@@ -1326,21 +1612,84 @@ declare namespace gapi.client {
|
|
|
1326
1612
|
fields?: string;
|
|
1327
1613
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1328
1614
|
key?: string;
|
|
1615
|
+
/** Identifier. The unique resource name of the BoundaryConfig. Format: - `organizations/{organization}/boundaryConfig` - `folders/{folder}/boundaryConfig` Example: `folders/123456789/boundaryConfig` */
|
|
1616
|
+
name: string;
|
|
1329
1617
|
/** OAuth 2.0 token for the current user. */
|
|
1330
1618
|
oauth_token?: string;
|
|
1331
1619
|
/** Returns response with indentations and line breaks. */
|
|
1332
1620
|
prettyPrint?: boolean;
|
|
1333
1621
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1334
1622
|
quotaUser?: string;
|
|
1623
|
+
/** Optional. The list of fields to update. */
|
|
1624
|
+
updateMask?: string;
|
|
1335
1625
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1336
1626
|
upload_protocol?: string;
|
|
1337
1627
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1338
1628
|
uploadType?: string;
|
|
1339
1629
|
},
|
|
1340
|
-
body:
|
|
1341
|
-
): Request<
|
|
1342
|
-
|
|
1343
|
-
|
|
1630
|
+
body: BoundaryConfig,
|
|
1631
|
+
): Request<Operation>;
|
|
1632
|
+
boundaries: BoundariesResource;
|
|
1633
|
+
capabilities: CapabilitiesResource;
|
|
1634
|
+
capabilityConfigs: CapabilityConfigsResource;
|
|
1635
|
+
}
|
|
1636
|
+
interface LiensResource {
|
|
1637
|
+
/** Create a Lien which applies to the resource denoted by the `parent` field. Callers of this method will require permission on the `parent` resource. For example, applying to `projects/1234` requires permission `resourcemanager.projects.updateLiens`. NOTE: Some resources may limit the number of Liens which may be applied. */
|
|
1638
|
+
create(request: {
|
|
1639
|
+
/** V1 error format. */
|
|
1640
|
+
'$.xgafv'?: '1' | '2';
|
|
1641
|
+
/** OAuth access token. */
|
|
1642
|
+
access_token?: string;
|
|
1643
|
+
/** Data format for response. */
|
|
1644
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1645
|
+
/** JSONP */
|
|
1646
|
+
callback?: string;
|
|
1647
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1648
|
+
fields?: string;
|
|
1649
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1650
|
+
key?: string;
|
|
1651
|
+
/** OAuth 2.0 token for the current user. */
|
|
1652
|
+
oauth_token?: string;
|
|
1653
|
+
/** Returns response with indentations and line breaks. */
|
|
1654
|
+
prettyPrint?: boolean;
|
|
1655
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1656
|
+
quotaUser?: string;
|
|
1657
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1658
|
+
upload_protocol?: string;
|
|
1659
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1660
|
+
uploadType?: string;
|
|
1661
|
+
/** Request body */
|
|
1662
|
+
resource: Lien;
|
|
1663
|
+
}): Request<Lien>;
|
|
1664
|
+
create(
|
|
1665
|
+
request: {
|
|
1666
|
+
/** V1 error format. */
|
|
1667
|
+
'$.xgafv'?: '1' | '2';
|
|
1668
|
+
/** OAuth access token. */
|
|
1669
|
+
access_token?: string;
|
|
1670
|
+
/** Data format for response. */
|
|
1671
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1672
|
+
/** JSONP */
|
|
1673
|
+
callback?: string;
|
|
1674
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1675
|
+
fields?: string;
|
|
1676
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1677
|
+
key?: string;
|
|
1678
|
+
/** OAuth 2.0 token for the current user. */
|
|
1679
|
+
oauth_token?: string;
|
|
1680
|
+
/** Returns response with indentations and line breaks. */
|
|
1681
|
+
prettyPrint?: boolean;
|
|
1682
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1683
|
+
quotaUser?: string;
|
|
1684
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1685
|
+
upload_protocol?: string;
|
|
1686
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1687
|
+
uploadType?: string;
|
|
1688
|
+
},
|
|
1689
|
+
body: Lien,
|
|
1690
|
+
): Request<Lien>;
|
|
1691
|
+
/** Delete a Lien by `name`. Callers of this method will require permission on the `parent` resource. For example, a Lien with a `parent` of `projects/1234` requires permission `resourcemanager.projects.updateLiens`. */
|
|
1692
|
+
delete(request?: {
|
|
1344
1693
|
/** V1 error format. */
|
|
1345
1694
|
'$.xgafv'?: '1' | '2';
|
|
1346
1695
|
/** OAuth access token. */
|
|
@@ -1578,6 +1927,217 @@ declare namespace gapi.client {
|
|
|
1578
1927
|
uploadType?: string;
|
|
1579
1928
|
}): Request<Operation>;
|
|
1580
1929
|
}
|
|
1930
|
+
interface BoundariesResource {
|
|
1931
|
+
/** Creates a Boundary under a parent Folder or Organization. Creating a Boundary triggers the creation of a Management Project if one is not supplied. */
|
|
1932
|
+
create(request: {
|
|
1933
|
+
/** V1 error format. */
|
|
1934
|
+
'$.xgafv'?: '1' | '2';
|
|
1935
|
+
/** OAuth access token. */
|
|
1936
|
+
access_token?: string;
|
|
1937
|
+
/** Data format for response. */
|
|
1938
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1939
|
+
/** Required. The user-assigned ID for the Boundary, which will become the final component of the Boundary's resource name. Must be unique within the parent resource. It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: `my-boundary-123` */
|
|
1940
|
+
boundaryId?: string;
|
|
1941
|
+
/** JSONP */
|
|
1942
|
+
callback?: string;
|
|
1943
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1944
|
+
fields?: string;
|
|
1945
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1946
|
+
key?: string;
|
|
1947
|
+
/** OAuth 2.0 token for the current user. */
|
|
1948
|
+
oauth_token?: string;
|
|
1949
|
+
/** Required. The parent resource under which the Boundary will be created. Format: `organizations/{organization_id}` or `folders/{folder_id}` */
|
|
1950
|
+
parent: string;
|
|
1951
|
+
/** Returns response with indentations and line breaks. */
|
|
1952
|
+
prettyPrint?: boolean;
|
|
1953
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1954
|
+
quotaUser?: string;
|
|
1955
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1956
|
+
upload_protocol?: string;
|
|
1957
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1958
|
+
uploadType?: string;
|
|
1959
|
+
/** Request body */
|
|
1960
|
+
resource: Boundary;
|
|
1961
|
+
}): Request<Operation>;
|
|
1962
|
+
create(
|
|
1963
|
+
request: {
|
|
1964
|
+
/** V1 error format. */
|
|
1965
|
+
'$.xgafv'?: '1' | '2';
|
|
1966
|
+
/** OAuth access token. */
|
|
1967
|
+
access_token?: string;
|
|
1968
|
+
/** Data format for response. */
|
|
1969
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1970
|
+
/** Required. The user-assigned ID for the Boundary, which will become the final component of the Boundary's resource name. Must be unique within the parent resource. It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: `my-boundary-123` */
|
|
1971
|
+
boundaryId?: string;
|
|
1972
|
+
/** JSONP */
|
|
1973
|
+
callback?: string;
|
|
1974
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1975
|
+
fields?: string;
|
|
1976
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1977
|
+
key?: string;
|
|
1978
|
+
/** OAuth 2.0 token for the current user. */
|
|
1979
|
+
oauth_token?: string;
|
|
1980
|
+
/** Required. The parent resource under which the Boundary will be created. Format: `organizations/{organization_id}` or `folders/{folder_id}` */
|
|
1981
|
+
parent: string;
|
|
1982
|
+
/** Returns response with indentations and line breaks. */
|
|
1983
|
+
prettyPrint?: boolean;
|
|
1984
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1985
|
+
quotaUser?: string;
|
|
1986
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1987
|
+
upload_protocol?: string;
|
|
1988
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1989
|
+
uploadType?: string;
|
|
1990
|
+
},
|
|
1991
|
+
body: Boundary,
|
|
1992
|
+
): Request<Operation>;
|
|
1993
|
+
/** Deletes the Boundary identified by the specified `name` (for example, `folders/123456789/boundaries/my-boundary`). */
|
|
1994
|
+
delete(request?: {
|
|
1995
|
+
/** V1 error format. */
|
|
1996
|
+
'$.xgafv'?: '1' | '2';
|
|
1997
|
+
/** OAuth access token. */
|
|
1998
|
+
access_token?: string;
|
|
1999
|
+
/** Data format for response. */
|
|
2000
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2001
|
+
/** JSONP */
|
|
2002
|
+
callback?: string;
|
|
2003
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2004
|
+
fields?: string;
|
|
2005
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2006
|
+
key?: string;
|
|
2007
|
+
/** Required. The name of the Boundary to delete. Format: `organizations/{organization_id}/boundaries/{boundary_id}` or `folders/{folder_id}/boundaries/{boundary_id}` */
|
|
2008
|
+
name: string;
|
|
2009
|
+
/** OAuth 2.0 token for the current user. */
|
|
2010
|
+
oauth_token?: string;
|
|
2011
|
+
/** Returns response with indentations and line breaks. */
|
|
2012
|
+
prettyPrint?: boolean;
|
|
2013
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2014
|
+
quotaUser?: string;
|
|
2015
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2016
|
+
upload_protocol?: string;
|
|
2017
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2018
|
+
uploadType?: string;
|
|
2019
|
+
}): Request<Operation>;
|
|
2020
|
+
/** Retrieves the Boundary identified by the specified `name` (for example, `folders/123456789/boundaries/my-boundary`). */
|
|
2021
|
+
get(request?: {
|
|
2022
|
+
/** V1 error format. */
|
|
2023
|
+
'$.xgafv'?: '1' | '2';
|
|
2024
|
+
/** OAuth access token. */
|
|
2025
|
+
access_token?: string;
|
|
2026
|
+
/** Data format for response. */
|
|
2027
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2028
|
+
/** JSONP */
|
|
2029
|
+
callback?: string;
|
|
2030
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2031
|
+
fields?: string;
|
|
2032
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2033
|
+
key?: string;
|
|
2034
|
+
/** Required. The name of the Boundary to retrieve. Format: `organizations/{organization_id}/boundaries/{boundary_id}` or `folders/{folder_id}/boundaries/{boundary_id}` Example: `folders/123456789/boundaries/my-boundary` */
|
|
2035
|
+
name: string;
|
|
2036
|
+
/** OAuth 2.0 token for the current user. */
|
|
2037
|
+
oauth_token?: string;
|
|
2038
|
+
/** Returns response with indentations and line breaks. */
|
|
2039
|
+
prettyPrint?: boolean;
|
|
2040
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2041
|
+
quotaUser?: string;
|
|
2042
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2043
|
+
upload_protocol?: string;
|
|
2044
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2045
|
+
uploadType?: string;
|
|
2046
|
+
}): Request<Boundary>;
|
|
2047
|
+
/** Lists Boundaries that are direct children of the specified organization or folder resource. */
|
|
2048
|
+
list(request?: {
|
|
2049
|
+
/** V1 error format. */
|
|
2050
|
+
'$.xgafv'?: '1' | '2';
|
|
2051
|
+
/** OAuth access token. */
|
|
2052
|
+
access_token?: string;
|
|
2053
|
+
/** Data format for response. */
|
|
2054
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2055
|
+
/** JSONP */
|
|
2056
|
+
callback?: string;
|
|
2057
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2058
|
+
fields?: string;
|
|
2059
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2060
|
+
key?: string;
|
|
2061
|
+
/** OAuth 2.0 token for the current user. */
|
|
2062
|
+
oauth_token?: string;
|
|
2063
|
+
/** Optional. The maximum number of Boundaries to return in the response. The service may return fewer Boundaries than requested. If unspecified, at most 100 Boundaries will be returned. The maximum value is 100; values above 100 will be coerced to 100. */
|
|
2064
|
+
pageSize?: number;
|
|
2065
|
+
/** Optional. A pagination token received from a previous call to `ListBoundaries` that indicates from where listing should continue. Provide this to retrieve the subsequent page. */
|
|
2066
|
+
pageToken?: string;
|
|
2067
|
+
/** Required. The name of the parent resource whose Boundaries are being listed. Format: `organizations/{organization_id}` or `folders/{folder_id}` */
|
|
2068
|
+
parent: string;
|
|
2069
|
+
/** Returns response with indentations and line breaks. */
|
|
2070
|
+
prettyPrint?: boolean;
|
|
2071
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2072
|
+
quotaUser?: string;
|
|
2073
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2074
|
+
upload_protocol?: string;
|
|
2075
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2076
|
+
uploadType?: string;
|
|
2077
|
+
}): Request<ListBoundariesResponse>;
|
|
2078
|
+
/** Updates the `display_name` and `resource_filter.tag_filter.tag_value` of the Boundary identified by the specified `name` (for example, `folders/123456789/boundaries/my-boundary`). */
|
|
2079
|
+
patch(request: {
|
|
2080
|
+
/** V1 error format. */
|
|
2081
|
+
'$.xgafv'?: '1' | '2';
|
|
2082
|
+
/** OAuth access token. */
|
|
2083
|
+
access_token?: string;
|
|
2084
|
+
/** Data format for response. */
|
|
2085
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2086
|
+
/** JSONP */
|
|
2087
|
+
callback?: string;
|
|
2088
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2089
|
+
fields?: string;
|
|
2090
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2091
|
+
key?: string;
|
|
2092
|
+
/** Identifier. The unique resource name of the Boundary. Format: - `organizations/{organization_id}/boundaries/{boundary_id}` - `folders/{folder_id}/boundaries/{boundary_id}` Example: `folders/123456789/boundaries/my-boundary` */
|
|
2093
|
+
name: string;
|
|
2094
|
+
/** OAuth 2.0 token for the current user. */
|
|
2095
|
+
oauth_token?: string;
|
|
2096
|
+
/** Returns response with indentations and line breaks. */
|
|
2097
|
+
prettyPrint?: boolean;
|
|
2098
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2099
|
+
quotaUser?: string;
|
|
2100
|
+
/** Optional. The list of fields to update. */
|
|
2101
|
+
updateMask?: string;
|
|
2102
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2103
|
+
upload_protocol?: string;
|
|
2104
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2105
|
+
uploadType?: string;
|
|
2106
|
+
/** Request body */
|
|
2107
|
+
resource: Boundary;
|
|
2108
|
+
}): Request<Operation>;
|
|
2109
|
+
patch(
|
|
2110
|
+
request: {
|
|
2111
|
+
/** V1 error format. */
|
|
2112
|
+
'$.xgafv'?: '1' | '2';
|
|
2113
|
+
/** OAuth access token. */
|
|
2114
|
+
access_token?: string;
|
|
2115
|
+
/** Data format for response. */
|
|
2116
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2117
|
+
/** JSONP */
|
|
2118
|
+
callback?: string;
|
|
2119
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2120
|
+
fields?: string;
|
|
2121
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2122
|
+
key?: string;
|
|
2123
|
+
/** Identifier. The unique resource name of the Boundary. Format: - `organizations/{organization_id}/boundaries/{boundary_id}` - `folders/{folder_id}/boundaries/{boundary_id}` Example: `folders/123456789/boundaries/my-boundary` */
|
|
2124
|
+
name: string;
|
|
2125
|
+
/** OAuth 2.0 token for the current user. */
|
|
2126
|
+
oauth_token?: string;
|
|
2127
|
+
/** Returns response with indentations and line breaks. */
|
|
2128
|
+
prettyPrint?: boolean;
|
|
2129
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2130
|
+
quotaUser?: string;
|
|
2131
|
+
/** Optional. The list of fields to update. */
|
|
2132
|
+
updateMask?: string;
|
|
2133
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2134
|
+
upload_protocol?: string;
|
|
2135
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2136
|
+
uploadType?: string;
|
|
2137
|
+
},
|
|
2138
|
+
body: Boundary,
|
|
2139
|
+
): Request<Operation>;
|
|
2140
|
+
}
|
|
1581
2141
|
interface CapabilityConfigsResource {
|
|
1582
2142
|
/** Creates a CapabilityConfig under a parent Organization, Folder or Project. Creating a CapabilityConfig triggers the creation of a Management Project if one is not supplied. */
|
|
1583
2143
|
create(request: {
|
|
@@ -1817,6 +2377,33 @@ declare namespace gapi.client {
|
|
|
1817
2377
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1818
2378
|
uploadType?: string;
|
|
1819
2379
|
}): Request<Organization>;
|
|
2380
|
+
/** Retrieves the BoundaryConfig identified by the specified `name` (for example, `folders/123456789/boundaryConfig`). */
|
|
2381
|
+
getBoundaryConfig(request?: {
|
|
2382
|
+
/** V1 error format. */
|
|
2383
|
+
'$.xgafv'?: '1' | '2';
|
|
2384
|
+
/** OAuth access token. */
|
|
2385
|
+
access_token?: string;
|
|
2386
|
+
/** Data format for response. */
|
|
2387
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2388
|
+
/** JSONP */
|
|
2389
|
+
callback?: string;
|
|
2390
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2391
|
+
fields?: string;
|
|
2392
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2393
|
+
key?: string;
|
|
2394
|
+
/** Required. The name of the BoundaryConfig to retrieve. Format: `organizations/{organization}/boundaryConfig` or `folders/{folder}/boundaryConfig` Example: `folders/123456789/boundaryConfig` */
|
|
2395
|
+
name: string;
|
|
2396
|
+
/** OAuth 2.0 token for the current user. */
|
|
2397
|
+
oauth_token?: string;
|
|
2398
|
+
/** Returns response with indentations and line breaks. */
|
|
2399
|
+
prettyPrint?: boolean;
|
|
2400
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2401
|
+
quotaUser?: string;
|
|
2402
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2403
|
+
upload_protocol?: string;
|
|
2404
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2405
|
+
uploadType?: string;
|
|
2406
|
+
}): Request<BoundaryConfig>;
|
|
1820
2407
|
/** Gets the access control policy for an organization resource. The policy may be empty if no such policy or resource exists. The `resource` field should be the organization's resource name, for example: "organizations/123". Authorization requires the IAM permission `resourcemanager.organizations.getIamPolicy` on the specified organization. */
|
|
1821
2408
|
getIamPolicy(
|
|
1822
2409
|
request: {
|
|
@@ -1938,6 +2525,69 @@ declare namespace gapi.client {
|
|
|
1938
2525
|
},
|
|
1939
2526
|
body: TestIamPermissionsRequest,
|
|
1940
2527
|
): Request<TestIamPermissionsResponse>;
|
|
2528
|
+
/** Updates the BoundaryConfig identified by the specified `name` (for example, `folders/123456789/boundaryConfig`). */
|
|
2529
|
+
updateBoundaryConfig(request: {
|
|
2530
|
+
/** V1 error format. */
|
|
2531
|
+
'$.xgafv'?: '1' | '2';
|
|
2532
|
+
/** OAuth access token. */
|
|
2533
|
+
access_token?: string;
|
|
2534
|
+
/** Data format for response. */
|
|
2535
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2536
|
+
/** JSONP */
|
|
2537
|
+
callback?: string;
|
|
2538
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2539
|
+
fields?: string;
|
|
2540
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2541
|
+
key?: string;
|
|
2542
|
+
/** Identifier. The unique resource name of the BoundaryConfig. Format: - `organizations/{organization}/boundaryConfig` - `folders/{folder}/boundaryConfig` Example: `folders/123456789/boundaryConfig` */
|
|
2543
|
+
name: string;
|
|
2544
|
+
/** OAuth 2.0 token for the current user. */
|
|
2545
|
+
oauth_token?: string;
|
|
2546
|
+
/** Returns response with indentations and line breaks. */
|
|
2547
|
+
prettyPrint?: boolean;
|
|
2548
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2549
|
+
quotaUser?: string;
|
|
2550
|
+
/** Optional. The list of fields to update. */
|
|
2551
|
+
updateMask?: string;
|
|
2552
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2553
|
+
upload_protocol?: string;
|
|
2554
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2555
|
+
uploadType?: string;
|
|
2556
|
+
/** Request body */
|
|
2557
|
+
resource: BoundaryConfig;
|
|
2558
|
+
}): Request<Operation>;
|
|
2559
|
+
updateBoundaryConfig(
|
|
2560
|
+
request: {
|
|
2561
|
+
/** V1 error format. */
|
|
2562
|
+
'$.xgafv'?: '1' | '2';
|
|
2563
|
+
/** OAuth access token. */
|
|
2564
|
+
access_token?: string;
|
|
2565
|
+
/** Data format for response. */
|
|
2566
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2567
|
+
/** JSONP */
|
|
2568
|
+
callback?: string;
|
|
2569
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2570
|
+
fields?: string;
|
|
2571
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2572
|
+
key?: string;
|
|
2573
|
+
/** Identifier. The unique resource name of the BoundaryConfig. Format: - `organizations/{organization}/boundaryConfig` - `folders/{folder}/boundaryConfig` Example: `folders/123456789/boundaryConfig` */
|
|
2574
|
+
name: string;
|
|
2575
|
+
/** OAuth 2.0 token for the current user. */
|
|
2576
|
+
oauth_token?: string;
|
|
2577
|
+
/** Returns response with indentations and line breaks. */
|
|
2578
|
+
prettyPrint?: boolean;
|
|
2579
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2580
|
+
quotaUser?: string;
|
|
2581
|
+
/** Optional. The list of fields to update. */
|
|
2582
|
+
updateMask?: string;
|
|
2583
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2584
|
+
upload_protocol?: string;
|
|
2585
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2586
|
+
uploadType?: string;
|
|
2587
|
+
},
|
|
2588
|
+
body: BoundaryConfig,
|
|
2589
|
+
): Request<Operation>;
|
|
2590
|
+
boundaries: BoundariesResource;
|
|
1941
2591
|
capabilityConfigs: CapabilityConfigsResource;
|
|
1942
2592
|
}
|
|
1943
2593
|
interface CapabilityConfigsResource {
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -109,6 +109,13 @@ Retrieves a folder identified by the supplied resource name. Valid folder resour
|
|
|
109
109
|
*/
|
|
110
110
|
await gapi.client.cloudresourcemanager.folders.get({name: 'name'});
|
|
111
111
|
|
|
112
|
+
/*
|
|
113
|
+
Retrieves the BoundaryConfig identified by the specified `name` (for example, `folders/123456789/boundaryConfig`).
|
|
114
|
+
*/
|
|
115
|
+
await gapi.client.cloudresourcemanager.folders.getBoundaryConfig({
|
|
116
|
+
name: 'name',
|
|
117
|
+
});
|
|
118
|
+
|
|
112
119
|
/*
|
|
113
120
|
Gets the access control policy for a folder. The returned policy may be empty if no such policy or resource exists. The `resource` field should be the folder's resource name, for example: "folders/1234". The caller must have `resourcemanager.folders.getIamPolicy` permission on the identified folder.
|
|
114
121
|
*/
|
|
@@ -155,6 +162,13 @@ Cancels the deletion request for a folder. This method may be called on a folder
|
|
|
155
162
|
*/
|
|
156
163
|
await gapi.client.cloudresourcemanager.folders.undelete({name: 'name'});
|
|
157
164
|
|
|
165
|
+
/*
|
|
166
|
+
Updates the BoundaryConfig identified by the specified `name` (for example, `folders/123456789/boundaryConfig`).
|
|
167
|
+
*/
|
|
168
|
+
await gapi.client.cloudresourcemanager.folders.updateBoundaryConfig({
|
|
169
|
+
name: 'name',
|
|
170
|
+
});
|
|
171
|
+
|
|
158
172
|
/*
|
|
159
173
|
Create a Lien which applies to the resource denoted by the `parent` field. Callers of this method will require permission on the `parent` resource. For example, applying to `projects/1234` requires permission `resourcemanager.projects.updateLiens`. NOTE: Some resources may limit the number of Liens which may be applied.
|
|
160
174
|
*/
|
|
@@ -185,6 +199,13 @@ Fetches an organization resource identified by the specified resource name.
|
|
|
185
199
|
*/
|
|
186
200
|
await gapi.client.cloudresourcemanager.organizations.get({name: 'name'});
|
|
187
201
|
|
|
202
|
+
/*
|
|
203
|
+
Retrieves the BoundaryConfig identified by the specified `name` (for example, `folders/123456789/boundaryConfig`).
|
|
204
|
+
*/
|
|
205
|
+
await gapi.client.cloudresourcemanager.organizations.getBoundaryConfig({
|
|
206
|
+
name: 'name',
|
|
207
|
+
});
|
|
208
|
+
|
|
188
209
|
/*
|
|
189
210
|
Gets the access control policy for an organization resource. The policy may be empty if no such policy or resource exists. The `resource` field should be the organization's resource name, for example: "organizations/123". Authorization requires the IAM permission `resourcemanager.organizations.getIamPolicy` on the specified organization.
|
|
190
211
|
*/
|
|
@@ -211,6 +232,13 @@ await gapi.client.cloudresourcemanager.organizations.testIamPermissions({
|
|
|
211
232
|
resource: 'resource',
|
|
212
233
|
});
|
|
213
234
|
|
|
235
|
+
/*
|
|
236
|
+
Updates the BoundaryConfig identified by the specified `name` (for example, `folders/123456789/boundaryConfig`).
|
|
237
|
+
*/
|
|
238
|
+
await gapi.client.cloudresourcemanager.organizations.updateBoundaryConfig({
|
|
239
|
+
name: 'name',
|
|
240
|
+
});
|
|
241
|
+
|
|
214
242
|
/*
|
|
215
243
|
Request that a new project be created. The result is an `Operation` which can be used to track the creation process. This process usually takes a few seconds, but can sometimes take much longer. The tracking `Operation` is automatically deleted after a few hours, so there is no need to call `DeleteOperation`.
|
|
216
244
|
*/
|