diff --git a/docs/dyn/metastore_v1.projects.locations.services.backups.html b/docs/dyn/metastore_v1.projects.locations.services.backups.html index 2949afe443..b67a27455b 100644 --- a/docs/dyn/metastore_v1.projects.locations.services.backups.html +++ b/docs/dyn/metastore_v1.projects.locations.services.backups.html @@ -185,7 +185,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. @@ -376,7 +375,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. @@ -555,7 +553,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. diff --git a/docs/dyn/metastore_v1.projects.locations.services.html b/docs/dyn/metastore_v1.projects.locations.services.html index e77253d3da..b901b28728 100644 --- a/docs/dyn/metastore_v1.projects.locations.services.html +++ b/docs/dyn/metastore_v1.projects.locations.services.html @@ -87,6 +87,9 @@

Instance Methods

alterLocation(service, body=None, x__xgafv=None)

Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location.

+

+ alterTableProperties(service, body=None, x__xgafv=None)

+

Alter metadata table properties.

close()

Close httplib2 connections.

@@ -173,6 +176,52 @@

Method Details

} +
+ alterTableProperties(service, body=None, x__xgafv=None) +
Alter metadata table properties.
+
+Args:
+  service: string, 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}. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for DataprocMetastore.AlterTableProperties.
+  "properties": { # 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
+    "a_key": "A String",
+  },
+  "tableName": "A String", # Required. The name of the table containing the properties you're altering in the following format.databases/{database_id}/tables/{table_id}
+  "updateMask": "A String", # 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 }
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+  "done": True or False, # If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
+  "error": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+    "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+    "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+      {
+        "a_key": "", # Properties of the object. Contains field @type with type URL.
+      },
+    ],
+    "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+  },
+  "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+  "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
+  "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+}
+
+
close()
Close httplib2 connections.
@@ -251,7 +300,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. @@ -476,7 +524,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. @@ -646,7 +693,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. @@ -819,7 +865,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. diff --git a/docs/dyn/metastore_v1alpha.projects.locations.services.backups.html b/docs/dyn/metastore_v1alpha.projects.locations.services.backups.html index 136aa5aba6..4be301819f 100644 --- a/docs/dyn/metastore_v1alpha.projects.locations.services.backups.html +++ b/docs/dyn/metastore_v1alpha.projects.locations.services.backups.html @@ -196,7 +196,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. @@ -396,7 +395,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. @@ -584,7 +582,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. diff --git a/docs/dyn/metastore_v1alpha.projects.locations.services.html b/docs/dyn/metastore_v1alpha.projects.locations.services.html index 93fd61077e..d2e17ab4b2 100644 --- a/docs/dyn/metastore_v1alpha.projects.locations.services.html +++ b/docs/dyn/metastore_v1alpha.projects.locations.services.html @@ -92,6 +92,9 @@

Instance Methods

alterLocation(service, body=None, x__xgafv=None)

Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location.

+

+ alterTableProperties(service, body=None, x__xgafv=None)

+

Alter metadata table properties.

close()

Close httplib2 connections.

@@ -181,6 +184,52 @@

Method Details

}
+
+ alterTableProperties(service, body=None, x__xgafv=None) +
Alter metadata table properties.
+
+Args:
+  service: string, 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}. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for DataprocMetastore.AlterTableProperties.
+  "properties": { # 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
+    "a_key": "A String",
+  },
+  "tableName": "A String", # Required. The name of the table containing the properties you're altering in the following format.databases/{database_id}/tables/{table_id}
+  "updateMask": "A String", # 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 }
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+  "done": True or False, # If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
+  "error": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+    "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+    "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+      {
+        "a_key": "", # Properties of the object. Contains field @type with type URL.
+      },
+    ],
+    "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+  },
+  "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+  "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
+  "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+}
+
+
close()
Close httplib2 connections.
@@ -267,7 +316,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. @@ -501,7 +549,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. @@ -680,7 +727,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. @@ -862,7 +908,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. diff --git a/docs/dyn/metastore_v1beta.projects.locations.services.backups.html b/docs/dyn/metastore_v1beta.projects.locations.services.backups.html index 74ccbb82a4..2d9756cb13 100644 --- a/docs/dyn/metastore_v1beta.projects.locations.services.backups.html +++ b/docs/dyn/metastore_v1beta.projects.locations.services.backups.html @@ -196,7 +196,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. @@ -396,7 +395,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. @@ -584,7 +582,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. diff --git a/docs/dyn/metastore_v1beta.projects.locations.services.html b/docs/dyn/metastore_v1beta.projects.locations.services.html index 0c0625ca7a..78d8ca0460 100644 --- a/docs/dyn/metastore_v1beta.projects.locations.services.html +++ b/docs/dyn/metastore_v1beta.projects.locations.services.html @@ -92,6 +92,9 @@

Instance Methods

alterLocation(service, body=None, x__xgafv=None)

Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location.

+

+ alterTableProperties(service, body=None, x__xgafv=None)

+

Alter metadata table properties.

close()

Close httplib2 connections.

@@ -181,6 +184,52 @@

Method Details

}
+
+ alterTableProperties(service, body=None, x__xgafv=None) +
Alter metadata table properties.
+
+Args:
+  service: string, 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}. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for DataprocMetastore.AlterTableProperties.
+  "properties": { # 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
+    "a_key": "A String",
+  },
+  "tableName": "A String", # Required. The name of the table containing the properties you're altering in the following format.databases/{database_id}/tables/{table_id}
+  "updateMask": "A String", # 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 }
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+  "done": True or False, # If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
+  "error": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+    "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+    "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+      {
+        "a_key": "", # Properties of the object. Contains field @type with type URL.
+      },
+    ],
+    "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+  },
+  "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+  "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
+  "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+}
+
+
close()
Close httplib2 connections.
@@ -267,7 +316,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. @@ -501,7 +549,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. @@ -680,7 +727,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. @@ -862,7 +908,6 @@

Method Details

"restores": [ # Output only. The latest restores of the metastore service. { # The details of a metadata restore operation. "backup": "A String", # 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}. - "backupLocation": "A String", # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. "details": "A String", # Output only. The restore details containing the revision of the service to be restored to, in format of JSON. "endTime": "A String", # Output only. The time when the restore ended. "startTime": "A String", # Output only. The time when the restore started. diff --git a/googleapiclient/discovery_cache/documents/metastore.v1.json b/googleapiclient/discovery_cache/documents/metastore.v1.json index 470f93619a..9effee7fb3 100644 --- a/googleapiclient/discovery_cache/documents/metastore.v1.json +++ b/googleapiclient/discovery_cache/documents/metastore.v1.json @@ -599,6 +599,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "alterTableProperties": { + "description": "Alter metadata table properties.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:alterTableProperties", + "httpMethod": "POST", + "id": "metastore.projects.locations.services.alterTableProperties", + "parameterOrder": [ + "service" + ], + "parameters": { + "service": { + "description": "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}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+service}:alterTableProperties", + "request": { + "$ref": "AlterTablePropertiesRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "create": { "description": "Creates a metastore service in a project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services", @@ -1339,7 +1367,7 @@ } } }, - "revision": "20231126", + "revision": "20231205", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -1363,6 +1391,29 @@ "properties": {}, "type": "object" }, + "AlterTablePropertiesRequest": { + "description": "Request message for DataprocMetastore.AlterTableProperties.", + "id": "AlterTablePropertiesRequest", + "properties": { + "properties": { + "additionalProperties": { + "type": "string" + }, + "description": "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", + "type": "object" + }, + "tableName": { + "description": "Required. The name of the table containing the properties you're altering in the following format.databases/{database_id}/tables/{table_id}", + "type": "string" + }, + "updateMask": { + "description": "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 } ", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, "AuditConfig": { "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", "id": "AuditConfig", @@ -2426,10 +2477,6 @@ "readOnly": true, "type": "string" }, - "backupLocation": { - "description": "Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///.", - "type": "string" - }, "details": { "description": "Output only. The restore details containing the revision of the service to be restored to, in format of JSON.", "readOnly": true, diff --git a/googleapiclient/discovery_cache/documents/metastore.v1alpha.json b/googleapiclient/discovery_cache/documents/metastore.v1alpha.json index a2300ef27b..7a9f47f4e3 100644 --- a/googleapiclient/discovery_cache/documents/metastore.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/metastore.v1alpha.json @@ -599,6 +599,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "alterTableProperties": { + "description": "Alter metadata table properties.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:alterTableProperties", + "httpMethod": "POST", + "id": "metastore.projects.locations.services.alterTableProperties", + "parameterOrder": [ + "service" + ], + "parameters": { + "service": { + "description": "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}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+service}:alterTableProperties", + "request": { + "$ref": "AlterTablePropertiesRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "create": { "description": "Creates a metastore service in a project and location.", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/services", @@ -1579,7 +1607,7 @@ } } }, - "revision": "20231126", + "revision": "20231205", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -1603,6 +1631,29 @@ "properties": {}, "type": "object" }, + "AlterTablePropertiesRequest": { + "description": "Request message for DataprocMetastore.AlterTableProperties.", + "id": "AlterTablePropertiesRequest", + "properties": { + "properties": { + "additionalProperties": { + "type": "string" + }, + "description": "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", + "type": "object" + }, + "tableName": { + "description": "Required. The name of the table containing the properties you're altering in the following format.databases/{database_id}/tables/{table_id}", + "type": "string" + }, + "updateMask": { + "description": "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 } ", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, "AuditConfig": { "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", "id": "AuditConfig", @@ -2723,10 +2774,6 @@ "readOnly": true, "type": "string" }, - "backupLocation": { - "description": "Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///.", - "type": "string" - }, "details": { "description": "Output only. The restore details containing the revision of the service to be restored to, in format of JSON.", "readOnly": true, diff --git a/googleapiclient/discovery_cache/documents/metastore.v1beta.json b/googleapiclient/discovery_cache/documents/metastore.v1beta.json index b07f97372c..f2b99ab333 100644 --- a/googleapiclient/discovery_cache/documents/metastore.v1beta.json +++ b/googleapiclient/discovery_cache/documents/metastore.v1beta.json @@ -599,6 +599,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "alterTableProperties": { + "description": "Alter metadata table properties.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:alterTableProperties", + "httpMethod": "POST", + "id": "metastore.projects.locations.services.alterTableProperties", + "parameterOrder": [ + "service" + ], + "parameters": { + "service": { + "description": "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}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+service}:alterTableProperties", + "request": { + "$ref": "AlterTablePropertiesRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "create": { "description": "Creates a metastore service in a project and location.", "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services", @@ -1579,7 +1607,7 @@ } } }, - "revision": "20231126", + "revision": "20231205", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -1603,6 +1631,29 @@ "properties": {}, "type": "object" }, + "AlterTablePropertiesRequest": { + "description": "Request message for DataprocMetastore.AlterTableProperties.", + "id": "AlterTablePropertiesRequest", + "properties": { + "properties": { + "additionalProperties": { + "type": "string" + }, + "description": "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", + "type": "object" + }, + "tableName": { + "description": "Required. The name of the table containing the properties you're altering in the following format.databases/{database_id}/tables/{table_id}", + "type": "string" + }, + "updateMask": { + "description": "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 } ", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, "AuditConfig": { "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", "id": "AuditConfig", @@ -2723,10 +2774,6 @@ "readOnly": true, "type": "string" }, - "backupLocation": { - "description": "Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///.", - "type": "string" - }, "details": { "description": "Output only. The restore details containing the revision of the service to be restored to, in format of JSON.", "readOnly": true,