@maxim_mazurok/gapi.client.metastore-v1alpha 0.0.20231126 → 0.0.20231214
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 +68 -4
- 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://metastore.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20231214
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -35,6 +35,14 @@ declare namespace gapi.client {
|
|
|
35
35
|
resourceName?: string;
|
|
36
36
|
}
|
|
37
37
|
interface AlterMetadataResourceLocationResponse {}
|
|
38
|
+
interface AlterTablePropertiesRequest {
|
|
39
|
+
/** A map that describes the desired values to mutate. If update_mask is empty, the properties will not update. Otherwise, the properties only alters the value whose associated paths exist in the update mask */
|
|
40
|
+
properties?: {[P in string]: string};
|
|
41
|
+
/** Required. The name of the table containing the properties you're altering in the following format.databases/{database_id}/tables/{table_id} */
|
|
42
|
+
tableName?: string;
|
|
43
|
+
/** A field mask that specifies the metadata table properties that are overwritten by the update. Fields specified in the update_mask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.For example, given the target properties: properties { a: 1 b: 2 } And an update properties: properties { a: 2 b: 3 c: 4 } then if the field mask is:paths: "properties.b", "properties.c"then the result will be: properties { a: 1 b: 3 c: 4 } */
|
|
44
|
+
updateMask?: string;
|
|
45
|
+
}
|
|
38
46
|
interface AuditConfig {
|
|
39
47
|
/** The configuration for logging of each type of permission. */
|
|
40
48
|
auditLogConfigs?: AuditLogConfig[];
|
|
@@ -80,7 +88,7 @@ declare namespace gapi.client {
|
|
|
80
88
|
interface Binding {
|
|
81
89
|
/** The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
82
90
|
condition?: Expr;
|
|
83
|
-
/** Specifies the principals requesting access for a Google Cloud resource. members can have the following values: allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account. allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a Google service account. For example, my-other-app@appspot.gserviceaccount.com. serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An identifier for a Kubernetes service account (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:{emailid}: An email address that represents a Google group. For example, admins@example.com. domain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com. deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding. */
|
|
91
|
+
/** Specifies the principals requesting access for a Google Cloud resource. members can have the following values: allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account. allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a Google service account. For example, my-other-app@appspot.gserviceaccount.com. serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An identifier for a Kubernetes service account (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:{emailid}: An email address that represents a Google group. For example, admins@example.com. domain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com. principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: A single identity in a workforce identity pool. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}: All workforce identities in a group. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}: All workforce identities with a specific attribute value. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*: All identities in a workforce identity pool. principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}: A single identity in a workload identity pool. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}: A workload identity pool group. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}: All identities in a workload identity pool with a certain attribute. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*: All identities in a workload identity pool. deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding. deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: Deleted single identity in a workforce identity pool. For example, deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value. */
|
|
84
92
|
members?: string[];
|
|
85
93
|
/** Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/owner. */
|
|
86
94
|
role?: string;
|
|
@@ -375,8 +383,6 @@ declare namespace gapi.client {
|
|
|
375
383
|
interface Restore {
|
|
376
384
|
/** Output only. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}. */
|
|
377
385
|
backup?: string;
|
|
378
|
-
/** Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. */
|
|
379
|
-
backupLocation?: string;
|
|
380
386
|
/** Output only. The restore details containing the revision of the service to be restored to, in format of JSON. */
|
|
381
387
|
details?: string;
|
|
382
388
|
/** Output only. The time when the restore ended. */
|
|
@@ -1625,6 +1631,64 @@ declare namespace gapi.client {
|
|
|
1625
1631
|
},
|
|
1626
1632
|
body: AlterMetadataResourceLocationRequest
|
|
1627
1633
|
): Request<Operation>;
|
|
1634
|
+
/** Alter metadata table properties. */
|
|
1635
|
+
alterTableProperties(request: {
|
|
1636
|
+
/** V1 error format. */
|
|
1637
|
+
'$.xgafv'?: string;
|
|
1638
|
+
/** OAuth access token. */
|
|
1639
|
+
access_token?: string;
|
|
1640
|
+
/** Data format for response. */
|
|
1641
|
+
alt?: string;
|
|
1642
|
+
/** JSONP */
|
|
1643
|
+
callback?: string;
|
|
1644
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1645
|
+
fields?: string;
|
|
1646
|
+
/** 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. */
|
|
1647
|
+
key?: string;
|
|
1648
|
+
/** OAuth 2.0 token for the current user. */
|
|
1649
|
+
oauth_token?: string;
|
|
1650
|
+
/** Returns response with indentations and line breaks. */
|
|
1651
|
+
prettyPrint?: boolean;
|
|
1652
|
+
/** 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. */
|
|
1653
|
+
quotaUser?: string;
|
|
1654
|
+
/** Required. The relative resource name of the Dataproc Metastore service that's being used to mutate metadata table properties, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}. */
|
|
1655
|
+
service: string;
|
|
1656
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1657
|
+
upload_protocol?: string;
|
|
1658
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1659
|
+
uploadType?: string;
|
|
1660
|
+
/** Request body */
|
|
1661
|
+
resource: AlterTablePropertiesRequest;
|
|
1662
|
+
}): Request<Operation>;
|
|
1663
|
+
alterTableProperties(
|
|
1664
|
+
request: {
|
|
1665
|
+
/** V1 error format. */
|
|
1666
|
+
'$.xgafv'?: string;
|
|
1667
|
+
/** OAuth access token. */
|
|
1668
|
+
access_token?: string;
|
|
1669
|
+
/** Data format for response. */
|
|
1670
|
+
alt?: string;
|
|
1671
|
+
/** JSONP */
|
|
1672
|
+
callback?: string;
|
|
1673
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1674
|
+
fields?: string;
|
|
1675
|
+
/** 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. */
|
|
1676
|
+
key?: string;
|
|
1677
|
+
/** OAuth 2.0 token for the current user. */
|
|
1678
|
+
oauth_token?: string;
|
|
1679
|
+
/** Returns response with indentations and line breaks. */
|
|
1680
|
+
prettyPrint?: boolean;
|
|
1681
|
+
/** 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. */
|
|
1682
|
+
quotaUser?: string;
|
|
1683
|
+
/** Required. The relative resource name of the Dataproc Metastore service that's being used to mutate metadata table properties, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}. */
|
|
1684
|
+
service: string;
|
|
1685
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1686
|
+
upload_protocol?: string;
|
|
1687
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1688
|
+
uploadType?: string;
|
|
1689
|
+
},
|
|
1690
|
+
body: AlterTablePropertiesRequest
|
|
1691
|
+
): Request<Operation>;
|
|
1628
1692
|
/** Creates a metastore service in a project and location. */
|
|
1629
1693
|
create(request: {
|
|
1630
1694
|
/** V1 error format. */
|