Class ProjectsResource.LocationsResource.ServicesResource
The "services" collection of methods.
Inherited Members
Namespace: Google.Apis.DataprocMetastore.v1beta
Assembly: Google.Apis.DataprocMetastore.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.ServicesResource
Constructors
ServicesResource(IClientService)
Constructs a new resource.
Declaration
public ServicesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
Backups
Gets the Backups resource.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.BackupsResource Backups { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.BackupsResource |
Databases
Gets the Databases resource.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.DatabasesResource Databases { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.DatabasesResource |
MetadataImports
Gets the MetadataImports resource.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.MetadataImportsResource MetadataImports { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.MetadataImportsResource |
MigrationExecutions
Gets the MigrationExecutions resource.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.MigrationExecutionsResource MigrationExecutions { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.MigrationExecutionsResource |
Methods
AlterLocation(AlterMetadataResourceLocationRequest, string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.AlterLocationRequest AlterLocation(AlterMetadataResourceLocationRequest body, string service)
Parameters
| Type | Name | Description |
|---|---|---|
| AlterMetadataResourceLocationRequest | body | The body of the request. |
| string | service | Required. The relative resource name of the metastore service to mutate metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.AlterLocationRequest |
AlterTableProperties(AlterTablePropertiesRequest, string)
Alter metadata table properties.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.AlterTablePropertiesRequest AlterTableProperties(AlterTablePropertiesRequest body, string service)
Parameters
| Type | Name | Description |
|---|---|---|
| AlterTablePropertiesRequest | body | The body of the request. |
| string | service | 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}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.AlterTablePropertiesRequest |
CancelMigration(CancelMigrationRequest, string)
Cancels the ongoing Managed Migration process.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.CancelMigrationRequest CancelMigration(CancelMigrationRequest body, string service)
Parameters
| Type | Name | Description |
|---|---|---|
| CancelMigrationRequest | body | The body of the request. |
| string | service | Required. The relative resource name of the metastore service to cancel the ongoing migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.CancelMigrationRequest |
CompleteMigration(CompleteMigrationRequest, string)
Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.CompleteMigrationRequest CompleteMigration(CompleteMigrationRequest body, string service)
Parameters
| Type | Name | Description |
|---|---|---|
| CompleteMigrationRequest | body | The body of the request. |
| string | service | Required. The relative resource name of the metastore service to complete the migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.CompleteMigrationRequest |
Create(Service, string)
Creates a metastore service in a project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.CreateRequest Create(Service body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| Service | body | The body of the request. |
| string | parent | Required. The relative resource name of the location in which to create a metastore service, in the following form:projects/{project_number}/locations/{location_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.CreateRequest |
Delete(string)
Deletes a single service.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The relative resource name of the metastore service to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.DeleteRequest |
ExportMetadata(ExportMetadataRequest, string)
Exports metadata from a service.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.ExportMetadataRequest ExportMetadata(ExportMetadataRequest body, string service)
Parameters
| Type | Name | Description |
|---|---|---|
| ExportMetadataRequest | body | The body of the request. |
| string | service | Required. The relative resource name of the metastore service to run export, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.ExportMetadataRequest |
Get(string)
Gets the details of a single service.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The relative resource name of the metastore service to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.GetRequest |
GetIamPolicy(string)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| string | resource | 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. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.GetIamPolicyRequest |
List(string)
Lists services in a project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The relative resource name of the location of metastore services to list, in the following form:projects/{project_number}/locations/{location_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.ListRequest |
MoveTableToDatabase(MoveTableToDatabaseRequest, string)
Move a table to another database.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.MoveTableToDatabaseRequest MoveTableToDatabase(MoveTableToDatabaseRequest body, string service)
Parameters
| Type | Name | Description |
|---|---|---|
| MoveTableToDatabaseRequest | body | The body of the request. |
| string | service | Required. The relative resource name of the metastore service to mutate metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.MoveTableToDatabaseRequest |
Patch(Service, string)
Updates the parameters of a single service.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.PatchRequest Patch(Service body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Service | body | The body of the request. |
| string | name | Immutable. Identifier. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.PatchRequest |
QueryMetadata(QueryMetadataRequest, string)
Query Dataproc Metastore metadata.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.QueryMetadataRequest QueryMetadata(QueryMetadataRequest body, string service)
Parameters
| Type | Name | Description |
|---|---|---|
| QueryMetadataRequest | body | The body of the request. |
| string | service | Required. The relative resource name of the metastore service to query metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.QueryMetadataRequest |
RemoveIamPolicy(RemoveIamPolicyRequest, string)
Removes the attached IAM policies for a resource
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.RemoveIamPolicyRequest RemoveIamPolicy(RemoveIamPolicyRequest body, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| RemoveIamPolicyRequest | body | The body of the request. |
| string | resource | Required. The relative resource name of the dataplane resource to remove IAM policy, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id} or projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}/tables/{table_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.RemoveIamPolicyRequest |
Restore(RestoreServiceRequest, string)
Restores a service from a backup.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.RestoreRequest Restore(RestoreServiceRequest body, string service)
Parameters
| Type | Name | Description |
|---|---|---|
| RestoreServiceRequest | body | The body of the request. |
| string | service | Required. The relative resource name of the metastore service to run restore, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.RestoreRequest |
SetIamPolicy(SetIamPolicyRequest, string)
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| SetIamPolicyRequest | body | The body of the request. |
| string | resource | 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. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.SetIamPolicyRequest |
StartMigration(StartMigrationRequest, string)
Starts the Managed Migration process.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.StartMigrationRequest StartMigration(StartMigrationRequest body, string service)
Parameters
| Type | Name | Description |
|---|---|---|
| StartMigrationRequest | body | The body of the request. |
| string | service | Required. The relative resource name of the metastore service to start migrating to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.StartMigrationRequest |
TestIamPermissions(TestIamPermissionsRequest, string)
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| TestIamPermissionsRequest | body | The body of the request. |
| string | resource | REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.TestIamPermissionsRequest |