@maxim_mazurok/gapi.client.cloudresourcemanager-v3 0.3.20260820 → 0.3.20260917
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 +717 -55
- package/package.json +1 -1
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: 20260917
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -55,6 +55,26 @@ declare namespace gapi.client {
|
|
|
55
55
|
/** Required. The configured value of the capability at the given parent resource. */
|
|
56
56
|
value?: boolean;
|
|
57
57
|
}
|
|
58
|
+
interface CapabilityConfig {
|
|
59
|
+
/** Optional. The list of Boundaries associated with this CapabilityConfig. Format: `organizations/{organization}/boundaries/{boundary}` or, `folders/{folder}/boundaries/{boundary}` or, `projects/{project}/boundaries/{boundary}` */
|
|
60
|
+
boundaries?: string[];
|
|
61
|
+
/** Output only. The creation time of the CapabilityConfig. */
|
|
62
|
+
createTime?: string;
|
|
63
|
+
/** Optional. Human-readable non-unique display name of the CapabilityConfig. 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 CapabilityConfig` */
|
|
64
|
+
displayName?: string;
|
|
65
|
+
/** 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. */
|
|
66
|
+
etag?: string;
|
|
67
|
+
/** Optional. Immutable. The Management Project associated with this CapabilityConfig. If not provided during creation, a management project will be automatically created. Cannot be modified after creation. Format: `projects/{project_number}` Example: `projects/123456789012` */
|
|
68
|
+
managementProject?: string;
|
|
69
|
+
/** Identifier. The unique resource name of the CapabilityConfig. Format: `organizations/{organization}/capabilityConfigs/{capabilityConfig}` or, `folders/{folder}/capabilityConfigs/{capabilityConfig}` or, `projects/{project}/capabilityConfigs/{capabilityConfig}` */
|
|
70
|
+
name?: string;
|
|
71
|
+
/** Output only. The lifecycle state of the CapabilityConfig. */
|
|
72
|
+
state?: 'STATE_UNSPECIFIED' | 'ACTIVE';
|
|
73
|
+
/** Required. The CapabilityConfig types. */
|
|
74
|
+
types?: 'TYPE_UNSPECIFIED' | 'APP_MANAGEMENT' | 'AGENT_MANAGEMENT'[];
|
|
75
|
+
/** Output only. The most recent time this CapabilityConfig was modified. */
|
|
76
|
+
updateTime?: string;
|
|
77
|
+
}
|
|
58
78
|
interface CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation {
|
|
59
79
|
/** The resource name of the folder or organization we are either creating the folder under or moving the folder to. */
|
|
60
80
|
destinationParent?: string;
|
|
@@ -212,6 +232,12 @@ declare namespace gapi.client {
|
|
|
212
232
|
/** 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'] */
|
|
213
233
|
restrictions?: string[];
|
|
214
234
|
}
|
|
235
|
+
interface ListCapabilityConfigsResponse {
|
|
236
|
+
/** The list of CapabilityConfigs under the parent. This list can be paginated. */
|
|
237
|
+
capabilityConfigs?: CapabilityConfig[];
|
|
238
|
+
/** 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. */
|
|
239
|
+
nextPageToken?: string;
|
|
240
|
+
}
|
|
215
241
|
interface ListEffectiveTagsResponse {
|
|
216
242
|
/** A possibly paginated list of effective tags for the specified resource. */
|
|
217
243
|
effectiveTags?: EffectiveTag[];
|
|
@@ -603,6 +629,217 @@ declare namespace gapi.client {
|
|
|
603
629
|
body: Capability,
|
|
604
630
|
): Request<Operation>;
|
|
605
631
|
}
|
|
632
|
+
interface CapabilityConfigsResource {
|
|
633
|
+
/** 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. */
|
|
634
|
+
create(request: {
|
|
635
|
+
/** V1 error format. */
|
|
636
|
+
'$.xgafv'?: '1' | '2';
|
|
637
|
+
/** OAuth access token. */
|
|
638
|
+
access_token?: string;
|
|
639
|
+
/** Data format for response. */
|
|
640
|
+
alt?: 'json' | 'media' | 'proto';
|
|
641
|
+
/** JSONP */
|
|
642
|
+
callback?: string;
|
|
643
|
+
/** Required. The user-assigned ID for the CapabilityConfig, which will become the final component of the CapabilityConfig'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-capability-config-123` */
|
|
644
|
+
capabilityConfigId?: string;
|
|
645
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
646
|
+
fields?: string;
|
|
647
|
+
/** 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. */
|
|
648
|
+
key?: string;
|
|
649
|
+
/** OAuth 2.0 token for the current user. */
|
|
650
|
+
oauth_token?: string;
|
|
651
|
+
/** Required. The parent resource under which the CapabilityConfig will be created. Format: `organizations/{organization_id}` or `folders/{folder_id}` or `projects/{project_number}` */
|
|
652
|
+
parent: string;
|
|
653
|
+
/** Returns response with indentations and line breaks. */
|
|
654
|
+
prettyPrint?: boolean;
|
|
655
|
+
/** 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. */
|
|
656
|
+
quotaUser?: string;
|
|
657
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
658
|
+
upload_protocol?: string;
|
|
659
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
660
|
+
uploadType?: string;
|
|
661
|
+
/** Request body */
|
|
662
|
+
resource: CapabilityConfig;
|
|
663
|
+
}): Request<Operation>;
|
|
664
|
+
create(
|
|
665
|
+
request: {
|
|
666
|
+
/** V1 error format. */
|
|
667
|
+
'$.xgafv'?: '1' | '2';
|
|
668
|
+
/** OAuth access token. */
|
|
669
|
+
access_token?: string;
|
|
670
|
+
/** Data format for response. */
|
|
671
|
+
alt?: 'json' | 'media' | 'proto';
|
|
672
|
+
/** JSONP */
|
|
673
|
+
callback?: string;
|
|
674
|
+
/** Required. The user-assigned ID for the CapabilityConfig, which will become the final component of the CapabilityConfig'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-capability-config-123` */
|
|
675
|
+
capabilityConfigId?: string;
|
|
676
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
677
|
+
fields?: string;
|
|
678
|
+
/** 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. */
|
|
679
|
+
key?: string;
|
|
680
|
+
/** OAuth 2.0 token for the current user. */
|
|
681
|
+
oauth_token?: string;
|
|
682
|
+
/** Required. The parent resource under which the CapabilityConfig will be created. Format: `organizations/{organization_id}` or `folders/{folder_id}` or `projects/{project_number}` */
|
|
683
|
+
parent: string;
|
|
684
|
+
/** Returns response with indentations and line breaks. */
|
|
685
|
+
prettyPrint?: boolean;
|
|
686
|
+
/** 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. */
|
|
687
|
+
quotaUser?: string;
|
|
688
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
689
|
+
upload_protocol?: string;
|
|
690
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
691
|
+
uploadType?: string;
|
|
692
|
+
},
|
|
693
|
+
body: CapabilityConfig,
|
|
694
|
+
): Request<Operation>;
|
|
695
|
+
/** Deletes the CapabilityConfig identified by the specified `name` (for example, `folders/123456789/capabilityConfigs/my-capability-config`). */
|
|
696
|
+
delete(request?: {
|
|
697
|
+
/** V1 error format. */
|
|
698
|
+
'$.xgafv'?: '1' | '2';
|
|
699
|
+
/** OAuth access token. */
|
|
700
|
+
access_token?: string;
|
|
701
|
+
/** Data format for response. */
|
|
702
|
+
alt?: 'json' | 'media' | 'proto';
|
|
703
|
+
/** JSONP */
|
|
704
|
+
callback?: string;
|
|
705
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
706
|
+
fields?: string;
|
|
707
|
+
/** 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. */
|
|
708
|
+
key?: string;
|
|
709
|
+
/** Required. The name of the CapabilityConfig to delete. Format: `organizations/{organization}/capabilityConfigs/{capabilityConfig}` or, `folders/{folder}/capabilityConfigs/{capabilityConfig}` or, `projects/{project}/capabilityConfigs/{capabilityConfig}` */
|
|
710
|
+
name: string;
|
|
711
|
+
/** OAuth 2.0 token for the current user. */
|
|
712
|
+
oauth_token?: string;
|
|
713
|
+
/** Returns response with indentations and line breaks. */
|
|
714
|
+
prettyPrint?: boolean;
|
|
715
|
+
/** 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. */
|
|
716
|
+
quotaUser?: string;
|
|
717
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
718
|
+
upload_protocol?: string;
|
|
719
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
720
|
+
uploadType?: string;
|
|
721
|
+
}): Request<Operation>;
|
|
722
|
+
/** Retrieves the CapabilityConfig identified by the specified `name` (for example, `folders/123456789/capabilityConfigs/my-capability-config`). */
|
|
723
|
+
get(request?: {
|
|
724
|
+
/** V1 error format. */
|
|
725
|
+
'$.xgafv'?: '1' | '2';
|
|
726
|
+
/** OAuth access token. */
|
|
727
|
+
access_token?: string;
|
|
728
|
+
/** Data format for response. */
|
|
729
|
+
alt?: 'json' | 'media' | 'proto';
|
|
730
|
+
/** JSONP */
|
|
731
|
+
callback?: string;
|
|
732
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
733
|
+
fields?: string;
|
|
734
|
+
/** 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. */
|
|
735
|
+
key?: string;
|
|
736
|
+
/** Required. The name of the CapabilityConfig to retrieve. Format: `organizations/{organization}/capabilityConfigs/{capabilityConfig}` or, `folders/{folder}/capabilityConfigs/{capabilityConfig}` or, `projects/{project}/capabilityConfigs/{capabilityConfig}` Example: `folders/123456789/capabilityConfigs/my-capability-config` */
|
|
737
|
+
name: string;
|
|
738
|
+
/** OAuth 2.0 token for the current user. */
|
|
739
|
+
oauth_token?: string;
|
|
740
|
+
/** Returns response with indentations and line breaks. */
|
|
741
|
+
prettyPrint?: boolean;
|
|
742
|
+
/** 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. */
|
|
743
|
+
quotaUser?: string;
|
|
744
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
745
|
+
upload_protocol?: string;
|
|
746
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
747
|
+
uploadType?: string;
|
|
748
|
+
}): Request<CapabilityConfig>;
|
|
749
|
+
/** Lists CapabilityConfigs that are direct children of the specified organization, folder or project resource. */
|
|
750
|
+
list(request?: {
|
|
751
|
+
/** V1 error format. */
|
|
752
|
+
'$.xgafv'?: '1' | '2';
|
|
753
|
+
/** OAuth access token. */
|
|
754
|
+
access_token?: string;
|
|
755
|
+
/** Data format for response. */
|
|
756
|
+
alt?: 'json' | 'media' | 'proto';
|
|
757
|
+
/** JSONP */
|
|
758
|
+
callback?: string;
|
|
759
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
760
|
+
fields?: string;
|
|
761
|
+
/** 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. */
|
|
762
|
+
key?: string;
|
|
763
|
+
/** OAuth 2.0 token for the current user. */
|
|
764
|
+
oauth_token?: string;
|
|
765
|
+
/** Optional. The maximum number of CapabilityConfigs to return in the response. The service may return fewer CapabilityConfigs than requested. If unspecified, at most 100 CapabilityConfigs will be returned. The maximum value is 100; values above 100 will be coerced to 100. */
|
|
766
|
+
pageSize?: number;
|
|
767
|
+
/** Optional. A pagination token received from a previous call to `ListCapabilityConfigs` that indicates from where listing should continue. Provide this to retrieve the subsequent page. */
|
|
768
|
+
pageToken?: string;
|
|
769
|
+
/** Required. The name of the parent resource whose CapabilityConfigs are being listed. Format: `organizations/{organization_id}` or `folders/{folder_id}` */
|
|
770
|
+
parent: string;
|
|
771
|
+
/** Returns response with indentations and line breaks. */
|
|
772
|
+
prettyPrint?: boolean;
|
|
773
|
+
/** 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. */
|
|
774
|
+
quotaUser?: string;
|
|
775
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
776
|
+
upload_protocol?: string;
|
|
777
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
778
|
+
uploadType?: string;
|
|
779
|
+
}): Request<ListCapabilityConfigsResponse>;
|
|
780
|
+
/** Updates the `display_name`, `types` and `boundaries` of the CapabilityConfig identified by the specified `name` (for example, `folders/123456789/capabilityConfigs/my-capability-config`). */
|
|
781
|
+
patch(request: {
|
|
782
|
+
/** V1 error format. */
|
|
783
|
+
'$.xgafv'?: '1' | '2';
|
|
784
|
+
/** OAuth access token. */
|
|
785
|
+
access_token?: string;
|
|
786
|
+
/** Data format for response. */
|
|
787
|
+
alt?: 'json' | 'media' | 'proto';
|
|
788
|
+
/** JSONP */
|
|
789
|
+
callback?: string;
|
|
790
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
791
|
+
fields?: string;
|
|
792
|
+
/** 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. */
|
|
793
|
+
key?: string;
|
|
794
|
+
/** Identifier. The unique resource name of the CapabilityConfig. Format: `organizations/{organization}/capabilityConfigs/{capabilityConfig}` or, `folders/{folder}/capabilityConfigs/{capabilityConfig}` or, `projects/{project}/capabilityConfigs/{capabilityConfig}` */
|
|
795
|
+
name: string;
|
|
796
|
+
/** OAuth 2.0 token for the current user. */
|
|
797
|
+
oauth_token?: string;
|
|
798
|
+
/** Returns response with indentations and line breaks. */
|
|
799
|
+
prettyPrint?: boolean;
|
|
800
|
+
/** 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. */
|
|
801
|
+
quotaUser?: string;
|
|
802
|
+
/** Optional. The list of fields to update. */
|
|
803
|
+
updateMask?: string;
|
|
804
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
805
|
+
upload_protocol?: string;
|
|
806
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
807
|
+
uploadType?: string;
|
|
808
|
+
/** Request body */
|
|
809
|
+
resource: CapabilityConfig;
|
|
810
|
+
}): Request<Operation>;
|
|
811
|
+
patch(
|
|
812
|
+
request: {
|
|
813
|
+
/** V1 error format. */
|
|
814
|
+
'$.xgafv'?: '1' | '2';
|
|
815
|
+
/** OAuth access token. */
|
|
816
|
+
access_token?: string;
|
|
817
|
+
/** Data format for response. */
|
|
818
|
+
alt?: 'json' | 'media' | 'proto';
|
|
819
|
+
/** JSONP */
|
|
820
|
+
callback?: string;
|
|
821
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
822
|
+
fields?: string;
|
|
823
|
+
/** 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. */
|
|
824
|
+
key?: string;
|
|
825
|
+
/** Identifier. The unique resource name of the CapabilityConfig. Format: `organizations/{organization}/capabilityConfigs/{capabilityConfig}` or, `folders/{folder}/capabilityConfigs/{capabilityConfig}` or, `projects/{project}/capabilityConfigs/{capabilityConfig}` */
|
|
826
|
+
name: string;
|
|
827
|
+
/** OAuth 2.0 token for the current user. */
|
|
828
|
+
oauth_token?: string;
|
|
829
|
+
/** Returns response with indentations and line breaks. */
|
|
830
|
+
prettyPrint?: boolean;
|
|
831
|
+
/** 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. */
|
|
832
|
+
quotaUser?: string;
|
|
833
|
+
/** Optional. The list of fields to update. */
|
|
834
|
+
updateMask?: string;
|
|
835
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
836
|
+
upload_protocol?: string;
|
|
837
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
838
|
+
uploadType?: string;
|
|
839
|
+
},
|
|
840
|
+
body: CapabilityConfig,
|
|
841
|
+
): Request<Operation>;
|
|
842
|
+
}
|
|
606
843
|
interface FoldersResource {
|
|
607
844
|
/** Creates a folder in the resource hierarchy. Returns an `Operation` which can be used to track the progress of the folder creation workflow. Upon success, the `Operation.response` field will be populated with the created Folder. In order to succeed, the addition of this new folder must not violate the folder naming, height, or fanout constraints. + The folder's `display_name` must be distinct from all other folders that share its parent. + The addition of the folder must not cause the active folder hierarchy to exceed a height of 10. Note, the full active + deleted folder hierarchy is allowed to reach a height of 20; this provides additional headroom when moving folders that contain deleted folders. + The addition of the folder must not cause the total number of folders under its parent to exceed 300. If the operation fails due to a folder constraint violation, some errors may be returned by the `CreateFolder` request, with status code `FAILED_PRECONDITION` and an error description. Other folder constraint violations will be communicated in the `Operation`, with the specific `PreconditionFailure` returned in the details list in the `Operation.error` field. The caller must have `resourcemanager.folders.create` permission on the identified parent. */
|
|
608
845
|
create(request: {
|
|
@@ -1045,6 +1282,7 @@ declare namespace gapi.client {
|
|
|
1045
1282
|
body: UndeleteFolderRequest,
|
|
1046
1283
|
): Request<Operation>;
|
|
1047
1284
|
capabilities: CapabilitiesResource;
|
|
1285
|
+
capabilityConfigs: CapabilityConfigsResource;
|
|
1048
1286
|
}
|
|
1049
1287
|
interface LiensResource {
|
|
1050
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. */
|
|
@@ -1340,9 +1578,9 @@ declare namespace gapi.client {
|
|
|
1340
1578
|
uploadType?: string;
|
|
1341
1579
|
}): Request<Operation>;
|
|
1342
1580
|
}
|
|
1343
|
-
interface
|
|
1344
|
-
/**
|
|
1345
|
-
|
|
1581
|
+
interface CapabilityConfigsResource {
|
|
1582
|
+
/** 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
|
+
create(request: {
|
|
1346
1584
|
/** V1 error format. */
|
|
1347
1585
|
'$.xgafv'?: '1' | '2';
|
|
1348
1586
|
/** OAuth access token. */
|
|
@@ -1351,14 +1589,16 @@ declare namespace gapi.client {
|
|
|
1351
1589
|
alt?: 'json' | 'media' | 'proto';
|
|
1352
1590
|
/** JSONP */
|
|
1353
1591
|
callback?: string;
|
|
1592
|
+
/** Required. The user-assigned ID for the CapabilityConfig, which will become the final component of the CapabilityConfig'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-capability-config-123` */
|
|
1593
|
+
capabilityConfigId?: string;
|
|
1354
1594
|
/** Selector specifying which fields to include in a partial response. */
|
|
1355
1595
|
fields?: string;
|
|
1356
1596
|
/** 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. */
|
|
1357
1597
|
key?: string;
|
|
1358
|
-
/** Required. The resource name of the Organization to fetch. This is the organization's relative path in the API, formatted as "organizations/[organizationId]". For example, "organizations/1234". */
|
|
1359
|
-
name: string;
|
|
1360
1598
|
/** OAuth 2.0 token for the current user. */
|
|
1361
1599
|
oauth_token?: string;
|
|
1600
|
+
/** Required. The parent resource under which the CapabilityConfig will be created. Format: `organizations/{organization_id}` or `folders/{folder_id}` or `projects/{project_number}` */
|
|
1601
|
+
parent: string;
|
|
1362
1602
|
/** Returns response with indentations and line breaks. */
|
|
1363
1603
|
prettyPrint?: boolean;
|
|
1364
1604
|
/** 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. */
|
|
@@ -1367,9 +1607,10 @@ declare namespace gapi.client {
|
|
|
1367
1607
|
upload_protocol?: string;
|
|
1368
1608
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1369
1609
|
uploadType?: string;
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1610
|
+
/** Request body */
|
|
1611
|
+
resource: CapabilityConfig;
|
|
1612
|
+
}): Request<Operation>;
|
|
1613
|
+
create(
|
|
1373
1614
|
request: {
|
|
1374
1615
|
/** V1 error format. */
|
|
1375
1616
|
'$.xgafv'?: '1' | '2';
|
|
@@ -1379,27 +1620,29 @@ declare namespace gapi.client {
|
|
|
1379
1620
|
alt?: 'json' | 'media' | 'proto';
|
|
1380
1621
|
/** JSONP */
|
|
1381
1622
|
callback?: string;
|
|
1623
|
+
/** Required. The user-assigned ID for the CapabilityConfig, which will become the final component of the CapabilityConfig'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-capability-config-123` */
|
|
1624
|
+
capabilityConfigId?: string;
|
|
1382
1625
|
/** Selector specifying which fields to include in a partial response. */
|
|
1383
1626
|
fields?: string;
|
|
1384
1627
|
/** 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. */
|
|
1385
1628
|
key?: string;
|
|
1386
1629
|
/** OAuth 2.0 token for the current user. */
|
|
1387
1630
|
oauth_token?: string;
|
|
1631
|
+
/** Required. The parent resource under which the CapabilityConfig will be created. Format: `organizations/{organization_id}` or `folders/{folder_id}` or `projects/{project_number}` */
|
|
1632
|
+
parent: string;
|
|
1388
1633
|
/** Returns response with indentations and line breaks. */
|
|
1389
1634
|
prettyPrint?: boolean;
|
|
1390
1635
|
/** 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. */
|
|
1391
1636
|
quotaUser?: string;
|
|
1392
|
-
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1393
|
-
resource: string;
|
|
1394
1637
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1395
1638
|
upload_protocol?: string;
|
|
1396
1639
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1397
1640
|
uploadType?: string;
|
|
1398
1641
|
},
|
|
1399
|
-
body:
|
|
1400
|
-
): Request<
|
|
1401
|
-
/**
|
|
1402
|
-
|
|
1642
|
+
body: CapabilityConfig,
|
|
1643
|
+
): Request<Operation>;
|
|
1644
|
+
/** Deletes the CapabilityConfig identified by the specified `name` (for example, `folders/123456789/capabilityConfigs/my-capability-config`). */
|
|
1645
|
+
delete(request?: {
|
|
1403
1646
|
/** V1 error format. */
|
|
1404
1647
|
'$.xgafv'?: '1' | '2';
|
|
1405
1648
|
/** OAuth access token. */
|
|
@@ -1412,56 +1655,262 @@ declare namespace gapi.client {
|
|
|
1412
1655
|
fields?: string;
|
|
1413
1656
|
/** 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. */
|
|
1414
1657
|
key?: string;
|
|
1658
|
+
/** Required. The name of the CapabilityConfig to delete. Format: `organizations/{organization}/capabilityConfigs/{capabilityConfig}` or, `folders/{folder}/capabilityConfigs/{capabilityConfig}` or, `projects/{project}/capabilityConfigs/{capabilityConfig}` */
|
|
1659
|
+
name: string;
|
|
1415
1660
|
/** OAuth 2.0 token for the current user. */
|
|
1416
1661
|
oauth_token?: string;
|
|
1417
|
-
/** Optional. The maximum number of organizations to return in the response. The server can return fewer organizations than requested. If unspecified, server picks an appropriate default. */
|
|
1418
|
-
pageSize?: number;
|
|
1419
|
-
/** Optional. A pagination token returned from a previous call to `SearchOrganizations` that indicates from where listing should continue. */
|
|
1420
|
-
pageToken?: string;
|
|
1421
1662
|
/** Returns response with indentations and line breaks. */
|
|
1422
1663
|
prettyPrint?: boolean;
|
|
1423
|
-
/** Optional. An optional query string used to filter the Organizations to return in the response. Query rules are case-insensitive. ``` | Field | Description | |------------------|--------------------------------------------| | directoryCustomerId, owner.directoryCustomerId | Filters by directory customer id. | | domain | Filters by domain. | ``` Organizations may be queried by `directoryCustomerId` or by `domain`, where the domain is a G Suite domain, for example: * Query `directorycustomerid:123456789` returns Organization resources with `owner.directory_customer_id` equal to `123456789`. * Query `domain:google.com` returns Organization resources corresponding to the domain `google.com`. */
|
|
1424
|
-
query?: string;
|
|
1425
1664
|
/** 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. */
|
|
1426
1665
|
quotaUser?: string;
|
|
1427
1666
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1428
1667
|
upload_protocol?: string;
|
|
1429
1668
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1430
1669
|
uploadType?: string;
|
|
1431
|
-
}): Request<
|
|
1432
|
-
/**
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1670
|
+
}): Request<Operation>;
|
|
1671
|
+
/** Retrieves the CapabilityConfig identified by the specified `name` (for example, `folders/123456789/capabilityConfigs/my-capability-config`). */
|
|
1672
|
+
get(request?: {
|
|
1673
|
+
/** V1 error format. */
|
|
1674
|
+
'$.xgafv'?: '1' | '2';
|
|
1675
|
+
/** OAuth access token. */
|
|
1676
|
+
access_token?: string;
|
|
1677
|
+
/** Data format for response. */
|
|
1678
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1679
|
+
/** JSONP */
|
|
1680
|
+
callback?: string;
|
|
1681
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1682
|
+
fields?: string;
|
|
1683
|
+
/** 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. */
|
|
1684
|
+
key?: string;
|
|
1685
|
+
/** Required. The name of the CapabilityConfig to retrieve. Format: `organizations/{organization}/capabilityConfigs/{capabilityConfig}` or, `folders/{folder}/capabilityConfigs/{capabilityConfig}` or, `projects/{project}/capabilityConfigs/{capabilityConfig}` Example: `folders/123456789/capabilityConfigs/my-capability-config` */
|
|
1686
|
+
name: string;
|
|
1687
|
+
/** OAuth 2.0 token for the current user. */
|
|
1688
|
+
oauth_token?: string;
|
|
1689
|
+
/** Returns response with indentations and line breaks. */
|
|
1690
|
+
prettyPrint?: boolean;
|
|
1691
|
+
/** 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. */
|
|
1692
|
+
quotaUser?: string;
|
|
1693
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1694
|
+
upload_protocol?: string;
|
|
1695
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1696
|
+
uploadType?: string;
|
|
1697
|
+
}): Request<CapabilityConfig>;
|
|
1698
|
+
/** Lists CapabilityConfigs that are direct children of the specified organization, folder or project resource. */
|
|
1699
|
+
list(request?: {
|
|
1700
|
+
/** V1 error format. */
|
|
1701
|
+
'$.xgafv'?: '1' | '2';
|
|
1702
|
+
/** OAuth access token. */
|
|
1703
|
+
access_token?: string;
|
|
1704
|
+
/** Data format for response. */
|
|
1705
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1706
|
+
/** JSONP */
|
|
1707
|
+
callback?: string;
|
|
1708
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1709
|
+
fields?: string;
|
|
1710
|
+
/** 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. */
|
|
1711
|
+
key?: string;
|
|
1712
|
+
/** OAuth 2.0 token for the current user. */
|
|
1713
|
+
oauth_token?: string;
|
|
1714
|
+
/** Optional. The maximum number of CapabilityConfigs to return in the response. The service may return fewer CapabilityConfigs than requested. If unspecified, at most 100 CapabilityConfigs will be returned. The maximum value is 100; values above 100 will be coerced to 100. */
|
|
1715
|
+
pageSize?: number;
|
|
1716
|
+
/** Optional. A pagination token received from a previous call to `ListCapabilityConfigs` that indicates from where listing should continue. Provide this to retrieve the subsequent page. */
|
|
1717
|
+
pageToken?: string;
|
|
1718
|
+
/** Required. The name of the parent resource whose CapabilityConfigs are being listed. Format: `organizations/{organization_id}` or `folders/{folder_id}` */
|
|
1719
|
+
parent: string;
|
|
1720
|
+
/** Returns response with indentations and line breaks. */
|
|
1721
|
+
prettyPrint?: boolean;
|
|
1722
|
+
/** 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. */
|
|
1723
|
+
quotaUser?: string;
|
|
1724
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1725
|
+
upload_protocol?: string;
|
|
1726
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1727
|
+
uploadType?: string;
|
|
1728
|
+
}): Request<ListCapabilityConfigsResponse>;
|
|
1729
|
+
/** Updates the `display_name`, `types` and `boundaries` of the CapabilityConfig identified by the specified `name` (for example, `folders/123456789/capabilityConfigs/my-capability-config`). */
|
|
1730
|
+
patch(request: {
|
|
1731
|
+
/** V1 error format. */
|
|
1732
|
+
'$.xgafv'?: '1' | '2';
|
|
1733
|
+
/** OAuth access token. */
|
|
1734
|
+
access_token?: string;
|
|
1735
|
+
/** Data format for response. */
|
|
1736
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1737
|
+
/** JSONP */
|
|
1738
|
+
callback?: string;
|
|
1739
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1740
|
+
fields?: string;
|
|
1741
|
+
/** 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. */
|
|
1742
|
+
key?: string;
|
|
1743
|
+
/** Identifier. The unique resource name of the CapabilityConfig. Format: `organizations/{organization}/capabilityConfigs/{capabilityConfig}` or, `folders/{folder}/capabilityConfigs/{capabilityConfig}` or, `projects/{project}/capabilityConfigs/{capabilityConfig}` */
|
|
1744
|
+
name: string;
|
|
1745
|
+
/** OAuth 2.0 token for the current user. */
|
|
1746
|
+
oauth_token?: string;
|
|
1747
|
+
/** Returns response with indentations and line breaks. */
|
|
1748
|
+
prettyPrint?: boolean;
|
|
1749
|
+
/** 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. */
|
|
1750
|
+
quotaUser?: string;
|
|
1751
|
+
/** Optional. The list of fields to update. */
|
|
1752
|
+
updateMask?: string;
|
|
1753
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1754
|
+
upload_protocol?: string;
|
|
1755
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1756
|
+
uploadType?: string;
|
|
1757
|
+
/** Request body */
|
|
1758
|
+
resource: CapabilityConfig;
|
|
1759
|
+
}): Request<Operation>;
|
|
1760
|
+
patch(
|
|
1761
|
+
request: {
|
|
1762
|
+
/** V1 error format. */
|
|
1763
|
+
'$.xgafv'?: '1' | '2';
|
|
1764
|
+
/** OAuth access token. */
|
|
1765
|
+
access_token?: string;
|
|
1766
|
+
/** Data format for response. */
|
|
1767
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1768
|
+
/** JSONP */
|
|
1769
|
+
callback?: string;
|
|
1770
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1771
|
+
fields?: string;
|
|
1772
|
+
/** 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. */
|
|
1773
|
+
key?: string;
|
|
1774
|
+
/** Identifier. The unique resource name of the CapabilityConfig. Format: `organizations/{organization}/capabilityConfigs/{capabilityConfig}` or, `folders/{folder}/capabilityConfigs/{capabilityConfig}` or, `projects/{project}/capabilityConfigs/{capabilityConfig}` */
|
|
1775
|
+
name: string;
|
|
1776
|
+
/** OAuth 2.0 token for the current user. */
|
|
1777
|
+
oauth_token?: string;
|
|
1778
|
+
/** Returns response with indentations and line breaks. */
|
|
1779
|
+
prettyPrint?: boolean;
|
|
1780
|
+
/** 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. */
|
|
1781
|
+
quotaUser?: string;
|
|
1782
|
+
/** Optional. The list of fields to update. */
|
|
1783
|
+
updateMask?: string;
|
|
1784
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1785
|
+
upload_protocol?: string;
|
|
1786
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1787
|
+
uploadType?: string;
|
|
1788
|
+
},
|
|
1789
|
+
body: CapabilityConfig,
|
|
1790
|
+
): Request<Operation>;
|
|
1791
|
+
}
|
|
1792
|
+
interface OrganizationsResource {
|
|
1793
|
+
/** Fetches an organization resource identified by the specified resource name. */
|
|
1794
|
+
get(request?: {
|
|
1795
|
+
/** V1 error format. */
|
|
1796
|
+
'$.xgafv'?: '1' | '2';
|
|
1797
|
+
/** OAuth access token. */
|
|
1798
|
+
access_token?: string;
|
|
1799
|
+
/** Data format for response. */
|
|
1800
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1801
|
+
/** JSONP */
|
|
1802
|
+
callback?: string;
|
|
1803
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1804
|
+
fields?: string;
|
|
1805
|
+
/** 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. */
|
|
1806
|
+
key?: string;
|
|
1807
|
+
/** Required. The resource name of the Organization to fetch. This is the organization's relative path in the API, formatted as "organizations/[organizationId]". For example, "organizations/1234". */
|
|
1808
|
+
name: string;
|
|
1809
|
+
/** OAuth 2.0 token for the current user. */
|
|
1810
|
+
oauth_token?: string;
|
|
1811
|
+
/** Returns response with indentations and line breaks. */
|
|
1812
|
+
prettyPrint?: boolean;
|
|
1813
|
+
/** 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. */
|
|
1814
|
+
quotaUser?: string;
|
|
1815
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1816
|
+
upload_protocol?: string;
|
|
1817
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1818
|
+
uploadType?: string;
|
|
1819
|
+
}): Request<Organization>;
|
|
1820
|
+
/** 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
|
+
getIamPolicy(
|
|
1822
|
+
request: {
|
|
1823
|
+
/** V1 error format. */
|
|
1824
|
+
'$.xgafv'?: '1' | '2';
|
|
1825
|
+
/** OAuth access token. */
|
|
1826
|
+
access_token?: string;
|
|
1827
|
+
/** Data format for response. */
|
|
1828
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1829
|
+
/** JSONP */
|
|
1830
|
+
callback?: string;
|
|
1831
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1832
|
+
fields?: string;
|
|
1833
|
+
/** 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. */
|
|
1834
|
+
key?: string;
|
|
1835
|
+
/** OAuth 2.0 token for the current user. */
|
|
1836
|
+
oauth_token?: string;
|
|
1837
|
+
/** Returns response with indentations and line breaks. */
|
|
1838
|
+
prettyPrint?: boolean;
|
|
1839
|
+
/** 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. */
|
|
1840
|
+
quotaUser?: string;
|
|
1841
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1842
|
+
resource: string;
|
|
1843
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1844
|
+
upload_protocol?: string;
|
|
1845
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1846
|
+
uploadType?: string;
|
|
1847
|
+
},
|
|
1848
|
+
body: GetIamPolicyRequest,
|
|
1849
|
+
): Request<Policy>;
|
|
1850
|
+
/** Searches organization resources that are visible to the user and satisfy the specified filter. This method returns organizations in an unspecified order. New organizations do not necessarily appear at the end of the results, and may take a small amount of time to appear. Search will only return organizations on which the user has the permission `resourcemanager.organizations.get` or has super admin privileges. */
|
|
1851
|
+
search(request?: {
|
|
1852
|
+
/** V1 error format. */
|
|
1853
|
+
'$.xgafv'?: '1' | '2';
|
|
1854
|
+
/** OAuth access token. */
|
|
1855
|
+
access_token?: string;
|
|
1856
|
+
/** Data format for response. */
|
|
1857
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1858
|
+
/** JSONP */
|
|
1859
|
+
callback?: string;
|
|
1860
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1861
|
+
fields?: string;
|
|
1862
|
+
/** 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. */
|
|
1863
|
+
key?: string;
|
|
1864
|
+
/** OAuth 2.0 token for the current user. */
|
|
1865
|
+
oauth_token?: string;
|
|
1866
|
+
/** Optional. The maximum number of organizations to return in the response. The server can return fewer organizations than requested. If unspecified, server picks an appropriate default. */
|
|
1867
|
+
pageSize?: number;
|
|
1868
|
+
/** Optional. A pagination token returned from a previous call to `SearchOrganizations` that indicates from where listing should continue. */
|
|
1869
|
+
pageToken?: string;
|
|
1870
|
+
/** Returns response with indentations and line breaks. */
|
|
1871
|
+
prettyPrint?: boolean;
|
|
1872
|
+
/** Optional. An optional query string used to filter the Organizations to return in the response. Query rules are case-insensitive. ``` | Field | Description | |------------------|--------------------------------------------| | directoryCustomerId, owner.directoryCustomerId | Filters by directory customer id. | | domain | Filters by domain. | ``` Organizations may be queried by `directoryCustomerId` or by `domain`, where the domain is a G Suite domain, for example: * Query `directorycustomerid:123456789` returns Organization resources with `owner.directory_customer_id` equal to `123456789`. * Query `domain:google.com` returns Organization resources corresponding to the domain `google.com`. */
|
|
1873
|
+
query?: string;
|
|
1874
|
+
/** 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. */
|
|
1875
|
+
quotaUser?: string;
|
|
1876
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1877
|
+
upload_protocol?: string;
|
|
1878
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1879
|
+
uploadType?: string;
|
|
1880
|
+
}): Request<SearchOrganizationsResponse>;
|
|
1881
|
+
/** Sets the access control policy on an organization resource. Replaces any existing policy. The `resource` field should be the organization's resource name, for example: "organizations/123". Authorization requires the IAM permission `resourcemanager.organizations.setIamPolicy` on the specified organization. */
|
|
1882
|
+
setIamPolicy(
|
|
1883
|
+
request: {
|
|
1884
|
+
/** V1 error format. */
|
|
1885
|
+
'$.xgafv'?: '1' | '2';
|
|
1886
|
+
/** OAuth access token. */
|
|
1887
|
+
access_token?: string;
|
|
1888
|
+
/** Data format for response. */
|
|
1889
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1890
|
+
/** JSONP */
|
|
1891
|
+
callback?: string;
|
|
1892
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1893
|
+
fields?: string;
|
|
1894
|
+
/** 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. */
|
|
1895
|
+
key?: string;
|
|
1896
|
+
/** OAuth 2.0 token for the current user. */
|
|
1897
|
+
oauth_token?: string;
|
|
1898
|
+
/** Returns response with indentations and line breaks. */
|
|
1899
|
+
prettyPrint?: boolean;
|
|
1900
|
+
/** 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. */
|
|
1901
|
+
quotaUser?: string;
|
|
1902
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1903
|
+
resource: string;
|
|
1904
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1905
|
+
upload_protocol?: string;
|
|
1906
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1907
|
+
uploadType?: string;
|
|
1908
|
+
},
|
|
1909
|
+
body: SetIamPolicyRequest,
|
|
1910
|
+
): Request<Policy>;
|
|
1911
|
+
/** Returns the permissions that a caller has on the specified organization. The `resource` field should be the organization's resource name, for example: "organizations/123". There are no permissions required for making this API call. */
|
|
1912
|
+
testIamPermissions(
|
|
1913
|
+
request: {
|
|
1465
1914
|
/** V1 error format. */
|
|
1466
1915
|
'$.xgafv'?: '1' | '2';
|
|
1467
1916
|
/** OAuth access token. */
|
|
@@ -1489,6 +1938,218 @@ declare namespace gapi.client {
|
|
|
1489
1938
|
},
|
|
1490
1939
|
body: TestIamPermissionsRequest,
|
|
1491
1940
|
): Request<TestIamPermissionsResponse>;
|
|
1941
|
+
capabilityConfigs: CapabilityConfigsResource;
|
|
1942
|
+
}
|
|
1943
|
+
interface CapabilityConfigsResource {
|
|
1944
|
+
/** 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. */
|
|
1945
|
+
create(request: {
|
|
1946
|
+
/** V1 error format. */
|
|
1947
|
+
'$.xgafv'?: '1' | '2';
|
|
1948
|
+
/** OAuth access token. */
|
|
1949
|
+
access_token?: string;
|
|
1950
|
+
/** Data format for response. */
|
|
1951
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1952
|
+
/** JSONP */
|
|
1953
|
+
callback?: string;
|
|
1954
|
+
/** Required. The user-assigned ID for the CapabilityConfig, which will become the final component of the CapabilityConfig'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-capability-config-123` */
|
|
1955
|
+
capabilityConfigId?: string;
|
|
1956
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1957
|
+
fields?: string;
|
|
1958
|
+
/** 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. */
|
|
1959
|
+
key?: string;
|
|
1960
|
+
/** OAuth 2.0 token for the current user. */
|
|
1961
|
+
oauth_token?: string;
|
|
1962
|
+
/** Required. The parent resource under which the CapabilityConfig will be created. Format: `organizations/{organization_id}` or `folders/{folder_id}` or `projects/{project_number}` */
|
|
1963
|
+
parent: string;
|
|
1964
|
+
/** Returns response with indentations and line breaks. */
|
|
1965
|
+
prettyPrint?: boolean;
|
|
1966
|
+
/** 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. */
|
|
1967
|
+
quotaUser?: string;
|
|
1968
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1969
|
+
upload_protocol?: string;
|
|
1970
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1971
|
+
uploadType?: string;
|
|
1972
|
+
/** Request body */
|
|
1973
|
+
resource: CapabilityConfig;
|
|
1974
|
+
}): Request<Operation>;
|
|
1975
|
+
create(
|
|
1976
|
+
request: {
|
|
1977
|
+
/** V1 error format. */
|
|
1978
|
+
'$.xgafv'?: '1' | '2';
|
|
1979
|
+
/** OAuth access token. */
|
|
1980
|
+
access_token?: string;
|
|
1981
|
+
/** Data format for response. */
|
|
1982
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1983
|
+
/** JSONP */
|
|
1984
|
+
callback?: string;
|
|
1985
|
+
/** Required. The user-assigned ID for the CapabilityConfig, which will become the final component of the CapabilityConfig'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-capability-config-123` */
|
|
1986
|
+
capabilityConfigId?: string;
|
|
1987
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1988
|
+
fields?: string;
|
|
1989
|
+
/** 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. */
|
|
1990
|
+
key?: string;
|
|
1991
|
+
/** OAuth 2.0 token for the current user. */
|
|
1992
|
+
oauth_token?: string;
|
|
1993
|
+
/** Required. The parent resource under which the CapabilityConfig will be created. Format: `organizations/{organization_id}` or `folders/{folder_id}` or `projects/{project_number}` */
|
|
1994
|
+
parent: string;
|
|
1995
|
+
/** Returns response with indentations and line breaks. */
|
|
1996
|
+
prettyPrint?: boolean;
|
|
1997
|
+
/** 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. */
|
|
1998
|
+
quotaUser?: string;
|
|
1999
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2000
|
+
upload_protocol?: string;
|
|
2001
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2002
|
+
uploadType?: string;
|
|
2003
|
+
},
|
|
2004
|
+
body: CapabilityConfig,
|
|
2005
|
+
): Request<Operation>;
|
|
2006
|
+
/** Deletes the CapabilityConfig identified by the specified `name` (for example, `folders/123456789/capabilityConfigs/my-capability-config`). */
|
|
2007
|
+
delete(request?: {
|
|
2008
|
+
/** V1 error format. */
|
|
2009
|
+
'$.xgafv'?: '1' | '2';
|
|
2010
|
+
/** OAuth access token. */
|
|
2011
|
+
access_token?: string;
|
|
2012
|
+
/** Data format for response. */
|
|
2013
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2014
|
+
/** JSONP */
|
|
2015
|
+
callback?: string;
|
|
2016
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2017
|
+
fields?: string;
|
|
2018
|
+
/** 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. */
|
|
2019
|
+
key?: string;
|
|
2020
|
+
/** Required. The name of the CapabilityConfig to delete. Format: `organizations/{organization}/capabilityConfigs/{capabilityConfig}` or, `folders/{folder}/capabilityConfigs/{capabilityConfig}` or, `projects/{project}/capabilityConfigs/{capabilityConfig}` */
|
|
2021
|
+
name: string;
|
|
2022
|
+
/** OAuth 2.0 token for the current user. */
|
|
2023
|
+
oauth_token?: string;
|
|
2024
|
+
/** Returns response with indentations and line breaks. */
|
|
2025
|
+
prettyPrint?: boolean;
|
|
2026
|
+
/** 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. */
|
|
2027
|
+
quotaUser?: string;
|
|
2028
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2029
|
+
upload_protocol?: string;
|
|
2030
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2031
|
+
uploadType?: string;
|
|
2032
|
+
}): Request<Operation>;
|
|
2033
|
+
/** Retrieves the CapabilityConfig identified by the specified `name` (for example, `folders/123456789/capabilityConfigs/my-capability-config`). */
|
|
2034
|
+
get(request?: {
|
|
2035
|
+
/** V1 error format. */
|
|
2036
|
+
'$.xgafv'?: '1' | '2';
|
|
2037
|
+
/** OAuth access token. */
|
|
2038
|
+
access_token?: string;
|
|
2039
|
+
/** Data format for response. */
|
|
2040
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2041
|
+
/** JSONP */
|
|
2042
|
+
callback?: string;
|
|
2043
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2044
|
+
fields?: string;
|
|
2045
|
+
/** 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. */
|
|
2046
|
+
key?: string;
|
|
2047
|
+
/** Required. The name of the CapabilityConfig to retrieve. Format: `organizations/{organization}/capabilityConfigs/{capabilityConfig}` or, `folders/{folder}/capabilityConfigs/{capabilityConfig}` or, `projects/{project}/capabilityConfigs/{capabilityConfig}` Example: `folders/123456789/capabilityConfigs/my-capability-config` */
|
|
2048
|
+
name: string;
|
|
2049
|
+
/** OAuth 2.0 token for the current user. */
|
|
2050
|
+
oauth_token?: string;
|
|
2051
|
+
/** Returns response with indentations and line breaks. */
|
|
2052
|
+
prettyPrint?: boolean;
|
|
2053
|
+
/** 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. */
|
|
2054
|
+
quotaUser?: string;
|
|
2055
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2056
|
+
upload_protocol?: string;
|
|
2057
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2058
|
+
uploadType?: string;
|
|
2059
|
+
}): Request<CapabilityConfig>;
|
|
2060
|
+
/** Lists CapabilityConfigs that are direct children of the specified organization, folder or project resource. */
|
|
2061
|
+
list(request?: {
|
|
2062
|
+
/** V1 error format. */
|
|
2063
|
+
'$.xgafv'?: '1' | '2';
|
|
2064
|
+
/** OAuth access token. */
|
|
2065
|
+
access_token?: string;
|
|
2066
|
+
/** Data format for response. */
|
|
2067
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2068
|
+
/** JSONP */
|
|
2069
|
+
callback?: string;
|
|
2070
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2071
|
+
fields?: string;
|
|
2072
|
+
/** 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. */
|
|
2073
|
+
key?: string;
|
|
2074
|
+
/** OAuth 2.0 token for the current user. */
|
|
2075
|
+
oauth_token?: string;
|
|
2076
|
+
/** Optional. The maximum number of CapabilityConfigs to return in the response. The service may return fewer CapabilityConfigs than requested. If unspecified, at most 100 CapabilityConfigs will be returned. The maximum value is 100; values above 100 will be coerced to 100. */
|
|
2077
|
+
pageSize?: number;
|
|
2078
|
+
/** Optional. A pagination token received from a previous call to `ListCapabilityConfigs` that indicates from where listing should continue. Provide this to retrieve the subsequent page. */
|
|
2079
|
+
pageToken?: string;
|
|
2080
|
+
/** Required. The name of the parent resource whose CapabilityConfigs are being listed. Format: `organizations/{organization_id}` or `folders/{folder_id}` */
|
|
2081
|
+
parent: string;
|
|
2082
|
+
/** Returns response with indentations and line breaks. */
|
|
2083
|
+
prettyPrint?: boolean;
|
|
2084
|
+
/** 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. */
|
|
2085
|
+
quotaUser?: string;
|
|
2086
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2087
|
+
upload_protocol?: string;
|
|
2088
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2089
|
+
uploadType?: string;
|
|
2090
|
+
}): Request<ListCapabilityConfigsResponse>;
|
|
2091
|
+
/** Updates the `display_name`, `types` and `boundaries` of the CapabilityConfig identified by the specified `name` (for example, `folders/123456789/capabilityConfigs/my-capability-config`). */
|
|
2092
|
+
patch(request: {
|
|
2093
|
+
/** V1 error format. */
|
|
2094
|
+
'$.xgafv'?: '1' | '2';
|
|
2095
|
+
/** OAuth access token. */
|
|
2096
|
+
access_token?: string;
|
|
2097
|
+
/** Data format for response. */
|
|
2098
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2099
|
+
/** JSONP */
|
|
2100
|
+
callback?: string;
|
|
2101
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2102
|
+
fields?: string;
|
|
2103
|
+
/** 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. */
|
|
2104
|
+
key?: string;
|
|
2105
|
+
/** Identifier. The unique resource name of the CapabilityConfig. Format: `organizations/{organization}/capabilityConfigs/{capabilityConfig}` or, `folders/{folder}/capabilityConfigs/{capabilityConfig}` or, `projects/{project}/capabilityConfigs/{capabilityConfig}` */
|
|
2106
|
+
name: string;
|
|
2107
|
+
/** OAuth 2.0 token for the current user. */
|
|
2108
|
+
oauth_token?: string;
|
|
2109
|
+
/** Returns response with indentations and line breaks. */
|
|
2110
|
+
prettyPrint?: boolean;
|
|
2111
|
+
/** 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. */
|
|
2112
|
+
quotaUser?: string;
|
|
2113
|
+
/** Optional. The list of fields to update. */
|
|
2114
|
+
updateMask?: string;
|
|
2115
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2116
|
+
upload_protocol?: string;
|
|
2117
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2118
|
+
uploadType?: string;
|
|
2119
|
+
/** Request body */
|
|
2120
|
+
resource: CapabilityConfig;
|
|
2121
|
+
}): Request<Operation>;
|
|
2122
|
+
patch(
|
|
2123
|
+
request: {
|
|
2124
|
+
/** V1 error format. */
|
|
2125
|
+
'$.xgafv'?: '1' | '2';
|
|
2126
|
+
/** OAuth access token. */
|
|
2127
|
+
access_token?: string;
|
|
2128
|
+
/** Data format for response. */
|
|
2129
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2130
|
+
/** JSONP */
|
|
2131
|
+
callback?: string;
|
|
2132
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2133
|
+
fields?: string;
|
|
2134
|
+
/** 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. */
|
|
2135
|
+
key?: string;
|
|
2136
|
+
/** Identifier. The unique resource name of the CapabilityConfig. Format: `organizations/{organization}/capabilityConfigs/{capabilityConfig}` or, `folders/{folder}/capabilityConfigs/{capabilityConfig}` or, `projects/{project}/capabilityConfigs/{capabilityConfig}` */
|
|
2137
|
+
name: string;
|
|
2138
|
+
/** OAuth 2.0 token for the current user. */
|
|
2139
|
+
oauth_token?: string;
|
|
2140
|
+
/** Returns response with indentations and line breaks. */
|
|
2141
|
+
prettyPrint?: boolean;
|
|
2142
|
+
/** 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. */
|
|
2143
|
+
quotaUser?: string;
|
|
2144
|
+
/** Optional. The list of fields to update. */
|
|
2145
|
+
updateMask?: string;
|
|
2146
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2147
|
+
upload_protocol?: string;
|
|
2148
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2149
|
+
uploadType?: string;
|
|
2150
|
+
},
|
|
2151
|
+
body: CapabilityConfig,
|
|
2152
|
+
): Request<Operation>;
|
|
1492
2153
|
}
|
|
1493
2154
|
interface ProjectsResource {
|
|
1494
2155
|
/** 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`. */
|
|
@@ -1931,6 +2592,7 @@ declare namespace gapi.client {
|
|
|
1931
2592
|
},
|
|
1932
2593
|
body: UndeleteProjectRequest,
|
|
1933
2594
|
): Request<Operation>;
|
|
2595
|
+
capabilityConfigs: CapabilityConfigsResource;
|
|
1934
2596
|
}
|
|
1935
2597
|
interface TagBindingsResource {
|
|
1936
2598
|
/** Creates a TagBinding between a TagValue and a Google Cloud resource. */
|