@maxim_mazurok/gapi.client.securesourcemanager-v1 0.19.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +21 -19
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ declare namespace gapi.client {
|
|
|
79
79
|
minimumApprovalsCount?: number;
|
|
80
80
|
/** Optional. The minimum number of reviews required for the branch rule to be matched. */
|
|
81
81
|
minimumReviewsCount?: number;
|
|
82
|
-
/**
|
|
82
|
+
/** Identifier. A unique identifier for a BranchRule. The name should be of the format: `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}` */
|
|
83
83
|
name?: string;
|
|
84
84
|
/** Optional. Determines if require comments resolved before merging to the branch. */
|
|
85
85
|
requireCommentsResolved?: boolean;
|
|
@@ -210,7 +210,7 @@ declare namespace gapi.client {
|
|
|
210
210
|
kmsKey?: string;
|
|
211
211
|
/** Optional. Labels as key value pairs. Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. For more information, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/best-practices-labels#label_encoding). */
|
|
212
212
|
labels?: {[P in string]: string};
|
|
213
|
-
/**
|
|
213
|
+
/** Identifier. A unique identifier for an instance. The name should be of the format: `projects/{project_number}/locations/{location_id}/instances/{instance_id}` `project_number`: Maps to a unique int64 id assigned to each project. `location_id`: Refers to the region where the instance will be deployed. Since Secure Source Manager is a regional service, it must be one of the valid GCP regions. `instance_id`: User provided name for the instance, must be unique for a project_number and location_id combination. */
|
|
214
214
|
name?: string;
|
|
215
215
|
/** Optional. Private settings for private instance. */
|
|
216
216
|
privateConfig?: PrivateConfig;
|
|
@@ -406,7 +406,7 @@ declare namespace gapi.client {
|
|
|
406
406
|
createTime?: string;
|
|
407
407
|
/** Immutable. The branch containing the changes to be merged. */
|
|
408
408
|
head?: Branch;
|
|
409
|
-
/** Output only. A unique identifier for a PullRequest. The number appended at the end is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` */
|
|
409
|
+
/** Output only. Identifier. A unique identifier for a PullRequest. The number appended at the end is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` */
|
|
410
410
|
name?: string;
|
|
411
411
|
/** Output only. State of the pull request (open, closed or merged). */
|
|
412
412
|
state?: string;
|
|
@@ -444,7 +444,7 @@ declare namespace gapi.client {
|
|
|
444
444
|
initialConfig?: InitialConfig;
|
|
445
445
|
/** Optional. The name of the instance in which the repository is hosted, formatted as `projects/{project_number}/locations/{location_id}/instances/{instance_id}` When creating repository via securesourcemanager.googleapis.com, this field is used as input. When creating repository via *.sourcemanager.dev, this field is output only. */
|
|
446
446
|
instance?: string;
|
|
447
|
-
/**
|
|
447
|
+
/** Identifier. A unique identifier for a repository. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}` */
|
|
448
448
|
name?: string;
|
|
449
449
|
/** Output only. Unique identifier of the repository. */
|
|
450
450
|
uid?: string;
|
|
@@ -606,6 +606,8 @@ declare namespace gapi.client {
|
|
|
606
606
|
callback?: string;
|
|
607
607
|
/** Selector specifying which fields to include in a partial response. */
|
|
608
608
|
fields?: string;
|
|
609
|
+
/** Optional. If set to true, will force the deletion of the instance. */
|
|
610
|
+
force?: boolean;
|
|
609
611
|
/** 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. */
|
|
610
612
|
key?: string;
|
|
611
613
|
/** Required. Name of the resource. */
|
|
@@ -691,17 +693,17 @@ declare namespace gapi.client {
|
|
|
691
693
|
callback?: string;
|
|
692
694
|
/** Selector specifying which fields to include in a partial response. */
|
|
693
695
|
fields?: string;
|
|
694
|
-
/** Filter for filtering results. */
|
|
696
|
+
/** Optional. Filter for filtering results. */
|
|
695
697
|
filter?: string;
|
|
696
698
|
/** 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. */
|
|
697
699
|
key?: string;
|
|
698
700
|
/** OAuth 2.0 token for the current user. */
|
|
699
701
|
oauth_token?: string;
|
|
700
|
-
/** Hint for how to order the results. */
|
|
702
|
+
/** Optional. Hint for how to order the results. */
|
|
701
703
|
orderBy?: string;
|
|
702
|
-
/** Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
|
|
704
|
+
/** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
|
|
703
705
|
pageSize?: number;
|
|
704
|
-
/** A token identifying a page of results the server should return. */
|
|
706
|
+
/** Optional. A token identifying a page of results the server should return. */
|
|
705
707
|
pageToken?: string;
|
|
706
708
|
/** Required. Parent value for ListInstancesRequest. */
|
|
707
709
|
parent: string;
|
|
@@ -1082,7 +1084,7 @@ declare namespace gapi.client {
|
|
|
1082
1084
|
fields?: string;
|
|
1083
1085
|
/** 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. */
|
|
1084
1086
|
key?: string;
|
|
1085
|
-
/**
|
|
1087
|
+
/** Identifier. A unique identifier for a BranchRule. The name should be of the format: `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}` */
|
|
1086
1088
|
name: string;
|
|
1087
1089
|
/** OAuth 2.0 token for the current user. */
|
|
1088
1090
|
oauth_token?: string;
|
|
@@ -1090,7 +1092,7 @@ declare namespace gapi.client {
|
|
|
1090
1092
|
prettyPrint?: boolean;
|
|
1091
1093
|
/** 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. */
|
|
1092
1094
|
quotaUser?: string;
|
|
1093
|
-
/**
|
|
1095
|
+
/** Optional. Field mask is used to specify the fields to be overwritten in the branchRule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. */
|
|
1094
1096
|
updateMask?: string;
|
|
1095
1097
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1096
1098
|
upload_protocol?: string;
|
|
@@ -1115,7 +1117,7 @@ declare namespace gapi.client {
|
|
|
1115
1117
|
fields?: string;
|
|
1116
1118
|
/** 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. */
|
|
1117
1119
|
key?: string;
|
|
1118
|
-
/**
|
|
1120
|
+
/** Identifier. A unique identifier for a BranchRule. The name should be of the format: `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}` */
|
|
1119
1121
|
name: string;
|
|
1120
1122
|
/** OAuth 2.0 token for the current user. */
|
|
1121
1123
|
oauth_token?: string;
|
|
@@ -1123,7 +1125,7 @@ declare namespace gapi.client {
|
|
|
1123
1125
|
prettyPrint?: boolean;
|
|
1124
1126
|
/** 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. */
|
|
1125
1127
|
quotaUser?: string;
|
|
1126
|
-
/**
|
|
1128
|
+
/** Optional. Field mask is used to specify the fields to be overwritten in the branchRule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. */
|
|
1127
1129
|
updateMask?: string;
|
|
1128
1130
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1129
1131
|
upload_protocol?: string;
|
|
@@ -1305,7 +1307,7 @@ declare namespace gapi.client {
|
|
|
1305
1307
|
prettyPrint?: boolean;
|
|
1306
1308
|
/** 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
1309
|
quotaUser?: string;
|
|
1308
|
-
/**
|
|
1310
|
+
/** Optional. Field mask is used to specify the fields to be overwritten in the hook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. */
|
|
1309
1311
|
updateMask?: string;
|
|
1310
1312
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1311
1313
|
upload_protocol?: string;
|
|
@@ -1336,7 +1338,7 @@ declare namespace gapi.client {
|
|
|
1336
1338
|
prettyPrint?: boolean;
|
|
1337
1339
|
/** 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. */
|
|
1338
1340
|
quotaUser?: string;
|
|
1339
|
-
/**
|
|
1341
|
+
/** Optional. Field mask is used to specify the fields to be overwritten in the hook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. */
|
|
1340
1342
|
updateMask?: string;
|
|
1341
1343
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1342
1344
|
upload_protocol?: string;
|
|
@@ -2598,7 +2600,7 @@ declare namespace gapi.client {
|
|
|
2598
2600
|
fields?: string;
|
|
2599
2601
|
/** 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. */
|
|
2600
2602
|
key?: string;
|
|
2601
|
-
/** Output only. A unique identifier for a PullRequest. The number appended at the end is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` */
|
|
2603
|
+
/** Output only. Identifier. A unique identifier for a PullRequest. The number appended at the end is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` */
|
|
2602
2604
|
name: string;
|
|
2603
2605
|
/** OAuth 2.0 token for the current user. */
|
|
2604
2606
|
oauth_token?: string;
|
|
@@ -2629,7 +2631,7 @@ declare namespace gapi.client {
|
|
|
2629
2631
|
fields?: string;
|
|
2630
2632
|
/** 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. */
|
|
2631
2633
|
key?: string;
|
|
2632
|
-
/** Output only. A unique identifier for a PullRequest. The number appended at the end is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` */
|
|
2634
|
+
/** Output only. Identifier. A unique identifier for a PullRequest. The number appended at the end is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` */
|
|
2633
2635
|
name: string;
|
|
2634
2636
|
/** OAuth 2.0 token for the current user. */
|
|
2635
2637
|
oauth_token?: string;
|
|
@@ -2882,7 +2884,7 @@ declare namespace gapi.client {
|
|
|
2882
2884
|
oauth_token?: string;
|
|
2883
2885
|
/** Optional. Requested page size. If unspecified, a default size of 30 will be used. The maximum value is 100; values above 100 will be coerced to 100. */
|
|
2884
2886
|
pageSize?: number;
|
|
2885
|
-
/** A token identifying a page of results the server should return. */
|
|
2887
|
+
/** Optional. A token identifying a page of results the server should return. */
|
|
2886
2888
|
pageToken?: string;
|
|
2887
2889
|
/** Required. Parent value for ListRepositoriesRequest. */
|
|
2888
2890
|
parent: string;
|
|
@@ -2909,7 +2911,7 @@ declare namespace gapi.client {
|
|
|
2909
2911
|
fields?: string;
|
|
2910
2912
|
/** 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. */
|
|
2911
2913
|
key?: string;
|
|
2912
|
-
/**
|
|
2914
|
+
/** Identifier. A unique identifier for a repository. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}` */
|
|
2913
2915
|
name: string;
|
|
2914
2916
|
/** OAuth 2.0 token for the current user. */
|
|
2915
2917
|
oauth_token?: string;
|
|
@@ -2942,7 +2944,7 @@ declare namespace gapi.client {
|
|
|
2942
2944
|
fields?: string;
|
|
2943
2945
|
/** 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. */
|
|
2944
2946
|
key?: string;
|
|
2945
|
-
/**
|
|
2947
|
+
/** Identifier. A unique identifier for a repository. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}` */
|
|
2946
2948
|
name: string;
|
|
2947
2949
|
/** OAuth 2.0 token for the current user. */
|
|
2948
2950
|
oauth_token?: string;
|