metastore
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package metastore provides access to the Dataproc Metastore API.
For product documentation, see:https://cloud.google.com/dataproc-metastore/docs
Library status¶
These client libraries are officially supported by Google. However, thislibrary is considered complete and is in maintenance mode. This meansthat we will address critical bugs and security issues but will not addany new features.
When possible, we recommend using our newer[Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go)that are still actively being worked and iterated on.
Creating a client¶
Usage example:
import "google.golang.org/api/metastore/v2beta"...ctx := context.Background()metastoreService, err := metastore.NewService(ctx)
In this example, Google Application Default Credentials are used forauthentication. For information on how to create and obtain ApplicationDefault Credentials, seehttps://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options¶
To use an API key for authentication (note: some APIs do not support APIkeys), usegoogle.golang.org/api/option.WithAPIKey:
metastoreService, err := metastore.NewService(ctx, option.WithAPIKey("AIza..."))To use an OAuth token (e.g., a user token obtained via a three-legged OAuthflow, usegoogle.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...}// ...token, err := config.Exchange(ctx, ...)metastoreService, err := metastore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))Seegoogle.golang.org/api/option.ClientOption for details on options.
Index¶
- Constants
- type GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse
- type GoogleCloudMetastoreV1CustomRegionMetadata
- type GoogleCloudMetastoreV1ErrorDetails
- type GoogleCloudMetastoreV1HiveMetastoreVersion
- type GoogleCloudMetastoreV1LocationMetadata
- type GoogleCloudMetastoreV1MoveTableToDatabaseResponse
- type GoogleCloudMetastoreV1MultiRegionMetadata
- type GoogleCloudMetastoreV1OperationMetadata
- type GoogleCloudMetastoreV1QueryMetadataResponse
- type GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse
- type GoogleCloudMetastoreV1alphaCancelMigrationResponse
- type GoogleCloudMetastoreV1alphaCompleteMigrationResponse
- type GoogleCloudMetastoreV1alphaCustomRegionMetadata
- type GoogleCloudMetastoreV1alphaErrorDetails
- type GoogleCloudMetastoreV1alphaHiveMetastoreVersion
- type GoogleCloudMetastoreV1alphaLocationMetadata
- type GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse
- type GoogleCloudMetastoreV1alphaMultiRegionMetadata
- type GoogleCloudMetastoreV1alphaOperationMetadata
- type GoogleCloudMetastoreV1alphaQueryMetadataResponse
- type GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse
- type GoogleCloudMetastoreV1betaCancelMigrationResponse
- type GoogleCloudMetastoreV1betaCompleteMigrationResponse
- type GoogleCloudMetastoreV1betaCustomRegionMetadata
- type GoogleCloudMetastoreV1betaErrorDetails
- type GoogleCloudMetastoreV1betaHiveMetastoreVersion
- type GoogleCloudMetastoreV1betaLocationMetadata
- type GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse
- type GoogleCloudMetastoreV1betaMultiRegionMetadata
- type GoogleCloudMetastoreV1betaOperationMetadata
- type GoogleCloudMetastoreV1betaQueryMetadataResponse
- type GoogleCloudMetastoreV2betaAlterMetadataResourceLocationRequest
- type GoogleCloudMetastoreV2betaAlterTablePropertiesRequest
- type GoogleCloudMetastoreV2betaAutoscalingConfig
- type GoogleCloudMetastoreV2betaAuxiliaryVersionConfig
- type GoogleCloudMetastoreV2betaBackup
- type GoogleCloudMetastoreV2betaCancelMigrationRequest
- type GoogleCloudMetastoreV2betaCdcConfig
- type GoogleCloudMetastoreV2betaCloudSQLConnectionConfig
- type GoogleCloudMetastoreV2betaCloudSQLMigrationConfig
- type GoogleCloudMetastoreV2betaCompleteMigrationRequest
- type GoogleCloudMetastoreV2betaDataCatalogConfig
- type GoogleCloudMetastoreV2betaDatabaseDump
- type GoogleCloudMetastoreV2betaEncryptionConfig
- type GoogleCloudMetastoreV2betaEndpoint
- type GoogleCloudMetastoreV2betaExportMetadataRequest
- type GoogleCloudMetastoreV2betaHiveMetastoreConfig
- type GoogleCloudMetastoreV2betaImportMetadataRequest
- type GoogleCloudMetastoreV2betaLatestBackup
- type GoogleCloudMetastoreV2betaLimitConfig
- type GoogleCloudMetastoreV2betaListBackupsResponse
- type GoogleCloudMetastoreV2betaListMigrationExecutionsResponse
- type GoogleCloudMetastoreV2betaListServicesResponse
- type GoogleCloudMetastoreV2betaMetadataIntegration
- type GoogleCloudMetastoreV2betaMigrationExecution
- type GoogleCloudMetastoreV2betaMoveTableToDatabaseRequest
- type GoogleCloudMetastoreV2betaQueryMetadataRequest
- type GoogleCloudMetastoreV2betaRemoveIamPolicyRequest
- type GoogleCloudMetastoreV2betaRemoveIamPolicyResponse
- type GoogleCloudMetastoreV2betaRestoreServiceRequest
- type GoogleCloudMetastoreV2betaScalingConfig
- type GoogleCloudMetastoreV2betaScheduledBackup
- type GoogleCloudMetastoreV2betaService
- type GoogleCloudMetastoreV2betaStartMigrationRequest
- type GoogleLongrunningOperation
- type GoogleRpcStatus
- type ProjectsLocationsService
- type ProjectsLocationsServicesAlterLocationCall
- func (c *ProjectsLocationsServicesAlterLocationCall) Context(ctx context.Context) *ProjectsLocationsServicesAlterLocationCall
- func (c *ProjectsLocationsServicesAlterLocationCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsServicesAlterLocationCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesAlterLocationCall
- func (c *ProjectsLocationsServicesAlterLocationCall) Header() http.Header
- type ProjectsLocationsServicesAlterTablePropertiesCall
- func (c *ProjectsLocationsServicesAlterTablePropertiesCall) Context(ctx context.Context) *ProjectsLocationsServicesAlterTablePropertiesCall
- func (c *ProjectsLocationsServicesAlterTablePropertiesCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsServicesAlterTablePropertiesCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesAlterTablePropertiesCall
- func (c *ProjectsLocationsServicesAlterTablePropertiesCall) Header() http.Header
- type ProjectsLocationsServicesBackupsCreateCall
- func (c *ProjectsLocationsServicesBackupsCreateCall) BackupId(backupId string) *ProjectsLocationsServicesBackupsCreateCall
- func (c *ProjectsLocationsServicesBackupsCreateCall) Context(ctx context.Context) *ProjectsLocationsServicesBackupsCreateCall
- func (c *ProjectsLocationsServicesBackupsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsServicesBackupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesBackupsCreateCall
- func (c *ProjectsLocationsServicesBackupsCreateCall) Header() http.Header
- func (c *ProjectsLocationsServicesBackupsCreateCall) RequestId(requestId string) *ProjectsLocationsServicesBackupsCreateCall
- type ProjectsLocationsServicesBackupsDeleteCall
- func (c *ProjectsLocationsServicesBackupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsServicesBackupsDeleteCall
- func (c *ProjectsLocationsServicesBackupsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsServicesBackupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesBackupsDeleteCall
- func (c *ProjectsLocationsServicesBackupsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsServicesBackupsDeleteCall) RequestId(requestId string) *ProjectsLocationsServicesBackupsDeleteCall
- type ProjectsLocationsServicesBackupsGetCall
- func (c *ProjectsLocationsServicesBackupsGetCall) Context(ctx context.Context) *ProjectsLocationsServicesBackupsGetCall
- func (c *ProjectsLocationsServicesBackupsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudMetastoreV2betaBackup, error)
- func (c *ProjectsLocationsServicesBackupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesBackupsGetCall
- func (c *ProjectsLocationsServicesBackupsGetCall) Header() http.Header
- func (c *ProjectsLocationsServicesBackupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesBackupsGetCall
- type ProjectsLocationsServicesBackupsListCall
- func (c *ProjectsLocationsServicesBackupsListCall) Context(ctx context.Context) *ProjectsLocationsServicesBackupsListCall
- func (c *ProjectsLocationsServicesBackupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudMetastoreV2betaListBackupsResponse, error)
- func (c *ProjectsLocationsServicesBackupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesBackupsListCall
- func (c *ProjectsLocationsServicesBackupsListCall) Filter(filter string) *ProjectsLocationsServicesBackupsListCall
- func (c *ProjectsLocationsServicesBackupsListCall) Header() http.Header
- func (c *ProjectsLocationsServicesBackupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesBackupsListCall
- func (c *ProjectsLocationsServicesBackupsListCall) OrderBy(orderBy string) *ProjectsLocationsServicesBackupsListCall
- func (c *ProjectsLocationsServicesBackupsListCall) PageSize(pageSize int64) *ProjectsLocationsServicesBackupsListCall
- func (c *ProjectsLocationsServicesBackupsListCall) PageToken(pageToken string) *ProjectsLocationsServicesBackupsListCall
- func (c *ProjectsLocationsServicesBackupsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsServicesBackupsService
- func (r *ProjectsLocationsServicesBackupsService) Create(parent string, ...) *ProjectsLocationsServicesBackupsCreateCall
- func (r *ProjectsLocationsServicesBackupsService) Delete(name string) *ProjectsLocationsServicesBackupsDeleteCall
- func (r *ProjectsLocationsServicesBackupsService) Get(name string) *ProjectsLocationsServicesBackupsGetCall
- func (r *ProjectsLocationsServicesBackupsService) List(parent string) *ProjectsLocationsServicesBackupsListCall
- type ProjectsLocationsServicesCancelMigrationCall
- func (c *ProjectsLocationsServicesCancelMigrationCall) Context(ctx context.Context) *ProjectsLocationsServicesCancelMigrationCall
- func (c *ProjectsLocationsServicesCancelMigrationCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsServicesCancelMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesCancelMigrationCall
- func (c *ProjectsLocationsServicesCancelMigrationCall) Header() http.Header
- type ProjectsLocationsServicesCompleteMigrationCall
- func (c *ProjectsLocationsServicesCompleteMigrationCall) Context(ctx context.Context) *ProjectsLocationsServicesCompleteMigrationCall
- func (c *ProjectsLocationsServicesCompleteMigrationCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsServicesCompleteMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesCompleteMigrationCall
- func (c *ProjectsLocationsServicesCompleteMigrationCall) Header() http.Header
- type ProjectsLocationsServicesCreateCall
- func (c *ProjectsLocationsServicesCreateCall) Context(ctx context.Context) *ProjectsLocationsServicesCreateCall
- func (c *ProjectsLocationsServicesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsServicesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesCreateCall
- func (c *ProjectsLocationsServicesCreateCall) Header() http.Header
- func (c *ProjectsLocationsServicesCreateCall) RequestId(requestId string) *ProjectsLocationsServicesCreateCall
- func (c *ProjectsLocationsServicesCreateCall) ServiceId(serviceId string) *ProjectsLocationsServicesCreateCall
- type ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) Context(ctx context.Context) *ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsServicesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) Header() http.Header
- func (c *ProjectsLocationsServicesDeleteCall) RequestId(requestId string) *ProjectsLocationsServicesDeleteCall
- type ProjectsLocationsServicesExportMetadataCall
- func (c *ProjectsLocationsServicesExportMetadataCall) Context(ctx context.Context) *ProjectsLocationsServicesExportMetadataCall
- func (c *ProjectsLocationsServicesExportMetadataCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsServicesExportMetadataCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesExportMetadataCall
- func (c *ProjectsLocationsServicesExportMetadataCall) Header() http.Header
- type ProjectsLocationsServicesGetCall
- func (c *ProjectsLocationsServicesGetCall) Context(ctx context.Context) *ProjectsLocationsServicesGetCall
- func (c *ProjectsLocationsServicesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudMetastoreV2betaService, error)
- func (c *ProjectsLocationsServicesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesGetCall
- func (c *ProjectsLocationsServicesGetCall) Header() http.Header
- func (c *ProjectsLocationsServicesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesGetCall
- type ProjectsLocationsServicesImportMetadataCall
- func (c *ProjectsLocationsServicesImportMetadataCall) Context(ctx context.Context) *ProjectsLocationsServicesImportMetadataCall
- func (c *ProjectsLocationsServicesImportMetadataCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsServicesImportMetadataCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesImportMetadataCall
- func (c *ProjectsLocationsServicesImportMetadataCall) Header() http.Header
- type ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Context(ctx context.Context) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudMetastoreV2betaListServicesResponse, error)
- func (c *ProjectsLocationsServicesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Filter(filter string) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Header() http.Header
- func (c *ProjectsLocationsServicesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) OrderBy(orderBy string) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) PageSize(pageSize int64) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) PageToken(pageToken string) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsServicesMigrationExecutionsDeleteCall
- func (c *ProjectsLocationsServicesMigrationExecutionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsServicesMigrationExecutionsDeleteCall
- func (c *ProjectsLocationsServicesMigrationExecutionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsServicesMigrationExecutionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesMigrationExecutionsDeleteCall
- func (c *ProjectsLocationsServicesMigrationExecutionsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsServicesMigrationExecutionsDeleteCall) RequestId(requestId string) *ProjectsLocationsServicesMigrationExecutionsDeleteCall
- type ProjectsLocationsServicesMigrationExecutionsGetCall
- func (c *ProjectsLocationsServicesMigrationExecutionsGetCall) Context(ctx context.Context) *ProjectsLocationsServicesMigrationExecutionsGetCall
- func (c *ProjectsLocationsServicesMigrationExecutionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudMetastoreV2betaMigrationExecution, error)
- func (c *ProjectsLocationsServicesMigrationExecutionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesMigrationExecutionsGetCall
- func (c *ProjectsLocationsServicesMigrationExecutionsGetCall) Header() http.Header
- func (c *ProjectsLocationsServicesMigrationExecutionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesMigrationExecutionsGetCall
- type ProjectsLocationsServicesMigrationExecutionsListCall
- func (c *ProjectsLocationsServicesMigrationExecutionsListCall) Context(ctx context.Context) *ProjectsLocationsServicesMigrationExecutionsListCall
- func (c *ProjectsLocationsServicesMigrationExecutionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudMetastoreV2betaListMigrationExecutionsResponse, error)
- func (c *ProjectsLocationsServicesMigrationExecutionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesMigrationExecutionsListCall
- func (c *ProjectsLocationsServicesMigrationExecutionsListCall) Filter(filter string) *ProjectsLocationsServicesMigrationExecutionsListCall
- func (c *ProjectsLocationsServicesMigrationExecutionsListCall) Header() http.Header
- func (c *ProjectsLocationsServicesMigrationExecutionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesMigrationExecutionsListCall
- func (c *ProjectsLocationsServicesMigrationExecutionsListCall) OrderBy(orderBy string) *ProjectsLocationsServicesMigrationExecutionsListCall
- func (c *ProjectsLocationsServicesMigrationExecutionsListCall) PageSize(pageSize int64) *ProjectsLocationsServicesMigrationExecutionsListCall
- func (c *ProjectsLocationsServicesMigrationExecutionsListCall) PageToken(pageToken string) *ProjectsLocationsServicesMigrationExecutionsListCall
- func (c *ProjectsLocationsServicesMigrationExecutionsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsServicesMigrationExecutionsService
- func (r *ProjectsLocationsServicesMigrationExecutionsService) Delete(name string) *ProjectsLocationsServicesMigrationExecutionsDeleteCall
- func (r *ProjectsLocationsServicesMigrationExecutionsService) Get(name string) *ProjectsLocationsServicesMigrationExecutionsGetCall
- func (r *ProjectsLocationsServicesMigrationExecutionsService) List(parent string) *ProjectsLocationsServicesMigrationExecutionsListCall
- type ProjectsLocationsServicesMoveTableToDatabaseCall
- func (c *ProjectsLocationsServicesMoveTableToDatabaseCall) Context(ctx context.Context) *ProjectsLocationsServicesMoveTableToDatabaseCall
- func (c *ProjectsLocationsServicesMoveTableToDatabaseCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsServicesMoveTableToDatabaseCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesMoveTableToDatabaseCall
- func (c *ProjectsLocationsServicesMoveTableToDatabaseCall) Header() http.Header
- type ProjectsLocationsServicesPatchCall
- func (c *ProjectsLocationsServicesPatchCall) Context(ctx context.Context) *ProjectsLocationsServicesPatchCall
- func (c *ProjectsLocationsServicesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsServicesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesPatchCall
- func (c *ProjectsLocationsServicesPatchCall) Header() http.Header
- func (c *ProjectsLocationsServicesPatchCall) RequestId(requestId string) *ProjectsLocationsServicesPatchCall
- func (c *ProjectsLocationsServicesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsServicesPatchCall
- type ProjectsLocationsServicesQueryMetadataCall
- func (c *ProjectsLocationsServicesQueryMetadataCall) Context(ctx context.Context) *ProjectsLocationsServicesQueryMetadataCall
- func (c *ProjectsLocationsServicesQueryMetadataCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsServicesQueryMetadataCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesQueryMetadataCall
- func (c *ProjectsLocationsServicesQueryMetadataCall) Header() http.Header
- type ProjectsLocationsServicesRemoveIamPolicyCall
- func (c *ProjectsLocationsServicesRemoveIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServicesRemoveIamPolicyCall
- func (c *ProjectsLocationsServicesRemoveIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleCloudMetastoreV2betaRemoveIamPolicyResponse, error)
- func (c *ProjectsLocationsServicesRemoveIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesRemoveIamPolicyCall
- func (c *ProjectsLocationsServicesRemoveIamPolicyCall) Header() http.Header
- type ProjectsLocationsServicesRestoreCall
- func (c *ProjectsLocationsServicesRestoreCall) Context(ctx context.Context) *ProjectsLocationsServicesRestoreCall
- func (c *ProjectsLocationsServicesRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsServicesRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesRestoreCall
- func (c *ProjectsLocationsServicesRestoreCall) Header() http.Header
- type ProjectsLocationsServicesService
- func (r *ProjectsLocationsServicesService) AlterLocation(service string, ...) *ProjectsLocationsServicesAlterLocationCall
- func (r *ProjectsLocationsServicesService) AlterTableProperties(service string, ...) *ProjectsLocationsServicesAlterTablePropertiesCall
- func (r *ProjectsLocationsServicesService) CancelMigration(service string, ...) *ProjectsLocationsServicesCancelMigrationCall
- func (r *ProjectsLocationsServicesService) CompleteMigration(service string, ...) *ProjectsLocationsServicesCompleteMigrationCall
- func (r *ProjectsLocationsServicesService) Create(parent string, ...) *ProjectsLocationsServicesCreateCall
- func (r *ProjectsLocationsServicesService) Delete(name string) *ProjectsLocationsServicesDeleteCall
- func (r *ProjectsLocationsServicesService) ExportMetadata(service string, ...) *ProjectsLocationsServicesExportMetadataCall
- func (r *ProjectsLocationsServicesService) Get(name string) *ProjectsLocationsServicesGetCall
- func (r *ProjectsLocationsServicesService) ImportMetadata(name string, ...) *ProjectsLocationsServicesImportMetadataCall
- func (r *ProjectsLocationsServicesService) List(parent string) *ProjectsLocationsServicesListCall
- func (r *ProjectsLocationsServicesService) MoveTableToDatabase(service string, ...) *ProjectsLocationsServicesMoveTableToDatabaseCall
- func (r *ProjectsLocationsServicesService) Patch(name string, ...) *ProjectsLocationsServicesPatchCall
- func (r *ProjectsLocationsServicesService) QueryMetadata(service string, ...) *ProjectsLocationsServicesQueryMetadataCall
- func (r *ProjectsLocationsServicesService) RemoveIamPolicy(resource string, ...) *ProjectsLocationsServicesRemoveIamPolicyCall
- func (r *ProjectsLocationsServicesService) Restore(service string, ...) *ProjectsLocationsServicesRestoreCall
- func (r *ProjectsLocationsServicesService) StartMigration(service string, ...) *ProjectsLocationsServicesStartMigrationCall
- type ProjectsLocationsServicesStartMigrationCall
- func (c *ProjectsLocationsServicesStartMigrationCall) Context(ctx context.Context) *ProjectsLocationsServicesStartMigrationCall
- func (c *ProjectsLocationsServicesStartMigrationCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsServicesStartMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesStartMigrationCall
- func (c *ProjectsLocationsServicesStartMigrationCall) Header() http.Header
- type ProjectsService
- type Service
Constants¶
const (// See, edit, configure, and delete your Google Cloud data and see the email// address for your Google Account.CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform")
OAuth2 scopes used by this API.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeGoogleCloudMetastoreV1AlterMetadataResourceLocationResponse¶
type GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse struct {}GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse: Responsemessage for DataprocMetastore.AlterMetadataResourceLocation.
typeGoogleCloudMetastoreV1CustomRegionMetadata¶
type GoogleCloudMetastoreV1CustomRegionMetadata struct {// OptionalReadOnlyRegions: The read-only regions for this custom region.OptionalReadOnlyRegions []string `json:"optionalReadOnlyRegions,omitempty"`// RequiredReadWriteRegions: The read-write regions for this custom region.RequiredReadWriteRegions []string `json:"requiredReadWriteRegions,omitempty"`// WitnessRegion: The Spanner witness region for this custom region.WitnessRegionstring `json:"witnessRegion,omitempty"`// ForceSendFields is a list of field names (e.g. "OptionalReadOnlyRegions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "OptionalReadOnlyRegions") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1CustomRegionMetadata: Metadata about a custom region.This is only populated if the region is a custom region. For single/multiregions, it will be empty.
func (GoogleCloudMetastoreV1CustomRegionMetadata)MarshalJSON¶
func (sGoogleCloudMetastoreV1CustomRegionMetadata) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1ErrorDetails¶
type GoogleCloudMetastoreV1ErrorDetails struct {// Details: Additional structured details about this error.Keys define the// failure items. Value describes the exception or details of the item.Details map[string]string `json:"details,omitempty"`// ForceSendFields is a list of field names (e.g. "Details") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Details") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1ErrorDetails: Error details in public error messagefor DataprocMetastore.QueryMetadata.
func (GoogleCloudMetastoreV1ErrorDetails)MarshalJSON¶
func (sGoogleCloudMetastoreV1ErrorDetails) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1HiveMetastoreVersion¶
type GoogleCloudMetastoreV1HiveMetastoreVersion struct {// IsDefault: Whether version will be chosen by the server if a metastore// service is created with a HiveMetastoreConfig that omits the version.IsDefaultbool `json:"isDefault,omitempty"`// Version: The semantic version of the Hive Metastore software.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "IsDefault") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IsDefault") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1HiveMetastoreVersion: A specification of a supportedversion of the Hive Metastore software.
func (GoogleCloudMetastoreV1HiveMetastoreVersion)MarshalJSON¶
func (sGoogleCloudMetastoreV1HiveMetastoreVersion) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1LocationMetadata¶
type GoogleCloudMetastoreV1LocationMetadata struct {// CustomRegionMetadata: Possible configurations supported if the current// region is a custom region.CustomRegionMetadata []*GoogleCloudMetastoreV1CustomRegionMetadata `json:"customRegionMetadata,omitempty"`// MultiRegionMetadata: The multi-region metadata if the current region is a// multi-region.MultiRegionMetadata *GoogleCloudMetastoreV1MultiRegionMetadata `json:"multiRegionMetadata,omitempty"`// SupportedHiveMetastoreVersions: The versions of Hive Metastore that can be// used when creating a new metastore service in this location. The server// guarantees that exactly one HiveMetastoreVersion in the list will set// is_default.SupportedHiveMetastoreVersions []*GoogleCloudMetastoreV1HiveMetastoreVersion `json:"supportedHiveMetastoreVersions,omitempty"`// ForceSendFields is a list of field names (e.g. "CustomRegionMetadata") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomRegionMetadata") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1LocationMetadata: Metadata about the service in alocation.
func (GoogleCloudMetastoreV1LocationMetadata)MarshalJSON¶
func (sGoogleCloudMetastoreV1LocationMetadata) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1MoveTableToDatabaseResponse¶
type GoogleCloudMetastoreV1MoveTableToDatabaseResponse struct {}GoogleCloudMetastoreV1MoveTableToDatabaseResponse: Response message forDataprocMetastore.MoveTableToDatabase.
typeGoogleCloudMetastoreV1MultiRegionMetadata¶
type GoogleCloudMetastoreV1MultiRegionMetadata struct {// ConstituentRegions: The regions constituting the multi-region.ConstituentRegions []string `json:"constituentRegions,omitempty"`// Continent: The continent for this multi-region.Continentstring `json:"continent,omitempty"`// WitnessRegion: The Spanner witness region for this multi-region.WitnessRegionstring `json:"witnessRegion,omitempty"`// ForceSendFields is a list of field names (e.g. "ConstituentRegions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ConstituentRegions") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1MultiRegionMetadata: The metadata for the multi-regionthat includes the constituent regions. The metadata is only populated if theregion is multi-region. For single region or custom dual region, it will beempty.
func (GoogleCloudMetastoreV1MultiRegionMetadata)MarshalJSON¶
func (sGoogleCloudMetastoreV1MultiRegionMetadata) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1OperationMetadata¶
type GoogleCloudMetastoreV1OperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the caller has// requested cancellation of the operation. Operations that have successfully// been cancelled have google.longrunning.Operation.error value with a// google.rpc.Status.code of 1, corresponding to Code.CANCELLED.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1OperationMetadata: Represents the metadata of along-running operation.
func (GoogleCloudMetastoreV1OperationMetadata)MarshalJSON¶
func (sGoogleCloudMetastoreV1OperationMetadata) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1QueryMetadataResponse¶
type GoogleCloudMetastoreV1QueryMetadataResponse struct {// ResultManifestUri: The manifest URI is link to a JSON instance in Cloud// Storage. This instance manifests immediately along with// QueryMetadataResponse. The content of the URI is not retriable until the// long-running operation query against the metadata finishes.ResultManifestUristring `json:"resultManifestUri,omitempty"`// ForceSendFields is a list of field names (e.g. "ResultManifestUri") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ResultManifestUri") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1QueryMetadataResponse: Response message forDataprocMetastore.QueryMetadata.
func (GoogleCloudMetastoreV1QueryMetadataResponse)MarshalJSON¶
func (sGoogleCloudMetastoreV1QueryMetadataResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse¶
type GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse struct {}GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse: Responsemessage for DataprocMetastore.AlterMetadataResourceLocation.
typeGoogleCloudMetastoreV1alphaCancelMigrationResponse¶
type GoogleCloudMetastoreV1alphaCancelMigrationResponse struct {// MigrationExecution: The relative resource name of the migration execution,// in the following// form:projects/{project_number}/locations/{location_id}/services/{service_id}/// migrationExecutions/{migration_execution_id}.MigrationExecutionstring `json:"migrationExecution,omitempty"`// ForceSendFields is a list of field names (e.g. "MigrationExecution") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MigrationExecution") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1alphaCancelMigrationResponse: Response message forDataprocMetastore.CancelMigration.
func (GoogleCloudMetastoreV1alphaCancelMigrationResponse)MarshalJSON¶
func (sGoogleCloudMetastoreV1alphaCancelMigrationResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1alphaCompleteMigrationResponse¶
type GoogleCloudMetastoreV1alphaCompleteMigrationResponse struct {// MigrationExecution: The relative resource name of the migration execution,// in the following// form:projects/{project_number}/locations/{location_id}/services/{service_id}/// migrationExecutions/{migration_execution_id}.MigrationExecutionstring `json:"migrationExecution,omitempty"`// ForceSendFields is a list of field names (e.g. "MigrationExecution") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MigrationExecution") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1alphaCompleteMigrationResponse: Response message forDataprocMetastore.CompleteMigration.
func (GoogleCloudMetastoreV1alphaCompleteMigrationResponse)MarshalJSON¶
func (sGoogleCloudMetastoreV1alphaCompleteMigrationResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1alphaCustomRegionMetadata¶
type GoogleCloudMetastoreV1alphaCustomRegionMetadata struct {// OptionalReadOnlyRegions: The read-only regions for this custom region.OptionalReadOnlyRegions []string `json:"optionalReadOnlyRegions,omitempty"`// RequiredReadWriteRegions: The read-write regions for this custom region.RequiredReadWriteRegions []string `json:"requiredReadWriteRegions,omitempty"`// WitnessRegion: The Spanner witness region for this custom region.WitnessRegionstring `json:"witnessRegion,omitempty"`// ForceSendFields is a list of field names (e.g. "OptionalReadOnlyRegions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "OptionalReadOnlyRegions") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1alphaCustomRegionMetadata: Metadata about a customregion. This is only populated if the region is a custom region. Forsingle/multi regions, it will be empty.
func (GoogleCloudMetastoreV1alphaCustomRegionMetadata)MarshalJSON¶
func (sGoogleCloudMetastoreV1alphaCustomRegionMetadata) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1alphaErrorDetails¶
type GoogleCloudMetastoreV1alphaErrorDetails struct {// Details: Additional structured details about this error.Keys define the// failure items. Value describes the exception or details of the item.Details map[string]string `json:"details,omitempty"`// ForceSendFields is a list of field names (e.g. "Details") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Details") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1alphaErrorDetails: Error details in public errormessage for DataprocMetastore.QueryMetadata.
func (GoogleCloudMetastoreV1alphaErrorDetails)MarshalJSON¶
func (sGoogleCloudMetastoreV1alphaErrorDetails) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1alphaHiveMetastoreVersion¶
type GoogleCloudMetastoreV1alphaHiveMetastoreVersion struct {// IsDefault: Whether version will be chosen by the server if a metastore// service is created with a HiveMetastoreConfig that omits the version.IsDefaultbool `json:"isDefault,omitempty"`// Version: The semantic version of the Hive Metastore software.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "IsDefault") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IsDefault") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1alphaHiveMetastoreVersion: A specification of asupported version of the Hive Metastore software.
func (GoogleCloudMetastoreV1alphaHiveMetastoreVersion)MarshalJSON¶
func (sGoogleCloudMetastoreV1alphaHiveMetastoreVersion) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1alphaLocationMetadata¶
type GoogleCloudMetastoreV1alphaLocationMetadata struct {// CustomRegionMetadata: Possible configurations supported if the current// region is a custom region.CustomRegionMetadata []*GoogleCloudMetastoreV1alphaCustomRegionMetadata `json:"customRegionMetadata,omitempty"`// MultiRegionMetadata: The multi-region metadata if the current region is a// multi-region.MultiRegionMetadata *GoogleCloudMetastoreV1alphaMultiRegionMetadata `json:"multiRegionMetadata,omitempty"`// SupportedHiveMetastoreVersions: The versions of Hive Metastore that can be// used when creating a new metastore service in this location. The server// guarantees that exactly one HiveMetastoreVersion in the list will set// is_default.SupportedHiveMetastoreVersions []*GoogleCloudMetastoreV1alphaHiveMetastoreVersion `json:"supportedHiveMetastoreVersions,omitempty"`// ForceSendFields is a list of field names (e.g. "CustomRegionMetadata") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomRegionMetadata") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1alphaLocationMetadata: Metadata about the service in alocation.
func (GoogleCloudMetastoreV1alphaLocationMetadata)MarshalJSON¶
func (sGoogleCloudMetastoreV1alphaLocationMetadata) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse¶
type GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse struct {}GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse: Response message forDataprocMetastore.MoveTableToDatabase.
typeGoogleCloudMetastoreV1alphaMultiRegionMetadata¶
type GoogleCloudMetastoreV1alphaMultiRegionMetadata struct {// ConstituentRegions: The regions constituting the multi-region.ConstituentRegions []string `json:"constituentRegions,omitempty"`// Continent: The continent for this multi-region.Continentstring `json:"continent,omitempty"`// WitnessRegion: The Spanner witness region for this multi-region.WitnessRegionstring `json:"witnessRegion,omitempty"`// ForceSendFields is a list of field names (e.g. "ConstituentRegions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ConstituentRegions") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1alphaMultiRegionMetadata: The metadata for themulti-region that includes the constituent regions. The metadata is onlypopulated if the region is multi-region. For single region or custom dualregion, it will be empty.
func (GoogleCloudMetastoreV1alphaMultiRegionMetadata)MarshalJSON¶
func (sGoogleCloudMetastoreV1alphaMultiRegionMetadata) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1alphaOperationMetadata¶
type GoogleCloudMetastoreV1alphaOperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the caller has// requested cancellation of the operation. Operations that have successfully// been cancelled have google.longrunning.Operation.error value with a// google.rpc.Status.code of 1, corresponding to Code.CANCELLED.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1alphaOperationMetadata: Represents the metadata of along-running operation.
func (GoogleCloudMetastoreV1alphaOperationMetadata)MarshalJSON¶
func (sGoogleCloudMetastoreV1alphaOperationMetadata) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1alphaQueryMetadataResponse¶
type GoogleCloudMetastoreV1alphaQueryMetadataResponse struct {// ResultManifestUri: The manifest URI is link to a JSON instance in Cloud// Storage. This instance manifests immediately along with// QueryMetadataResponse. The content of the URI is not retriable until the// long-running operation query against the metadata finishes.ResultManifestUristring `json:"resultManifestUri,omitempty"`// ForceSendFields is a list of field names (e.g. "ResultManifestUri") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ResultManifestUri") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1alphaQueryMetadataResponse: Response message forDataprocMetastore.QueryMetadata.
func (GoogleCloudMetastoreV1alphaQueryMetadataResponse)MarshalJSON¶
func (sGoogleCloudMetastoreV1alphaQueryMetadataResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse¶
type GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse struct {}GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse: Responsemessage for DataprocMetastore.AlterMetadataResourceLocation.
typeGoogleCloudMetastoreV1betaCancelMigrationResponse¶
type GoogleCloudMetastoreV1betaCancelMigrationResponse struct {// MigrationExecution: The relative resource name of the migration execution,// in the following// form:projects/{project_number}/locations/{location_id}/services/{service_id}/// migrationExecutions/{migration_execution_id}.MigrationExecutionstring `json:"migrationExecution,omitempty"`// ForceSendFields is a list of field names (e.g. "MigrationExecution") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MigrationExecution") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1betaCancelMigrationResponse: Response message forDataprocMetastore.CancelMigration.
func (GoogleCloudMetastoreV1betaCancelMigrationResponse)MarshalJSON¶
func (sGoogleCloudMetastoreV1betaCancelMigrationResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1betaCompleteMigrationResponse¶
type GoogleCloudMetastoreV1betaCompleteMigrationResponse struct {// MigrationExecution: The relative resource name of the migration execution,// in the following// form:projects/{project_number}/locations/{location_id}/services/{service_id}/// migrationExecutions/{migration_execution_id}.MigrationExecutionstring `json:"migrationExecution,omitempty"`// ForceSendFields is a list of field names (e.g. "MigrationExecution") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MigrationExecution") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1betaCompleteMigrationResponse: Response message forDataprocMetastore.CompleteMigration.
func (GoogleCloudMetastoreV1betaCompleteMigrationResponse)MarshalJSON¶
func (sGoogleCloudMetastoreV1betaCompleteMigrationResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1betaCustomRegionMetadata¶
type GoogleCloudMetastoreV1betaCustomRegionMetadata struct {// OptionalReadOnlyRegions: The read-only regions for this custom region.OptionalReadOnlyRegions []string `json:"optionalReadOnlyRegions,omitempty"`// RequiredReadWriteRegions: The read-write regions for this custom region.RequiredReadWriteRegions []string `json:"requiredReadWriteRegions,omitempty"`// WitnessRegion: The Spanner witness region for this custom region.WitnessRegionstring `json:"witnessRegion,omitempty"`// ForceSendFields is a list of field names (e.g. "OptionalReadOnlyRegions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "OptionalReadOnlyRegions") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1betaCustomRegionMetadata: Metadata about a customregion. This is only populated if the region is a custom region. Forsingle/multi regions, it will be empty.
func (GoogleCloudMetastoreV1betaCustomRegionMetadata)MarshalJSON¶
func (sGoogleCloudMetastoreV1betaCustomRegionMetadata) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1betaErrorDetails¶
type GoogleCloudMetastoreV1betaErrorDetails struct {// Details: Additional structured details about this error.Keys define the// failure items. Value describes the exception or details of the item.Details map[string]string `json:"details,omitempty"`// ForceSendFields is a list of field names (e.g. "Details") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Details") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1betaErrorDetails: Error details in public errormessage for DataprocMetastore.QueryMetadata.
func (GoogleCloudMetastoreV1betaErrorDetails)MarshalJSON¶
func (sGoogleCloudMetastoreV1betaErrorDetails) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1betaHiveMetastoreVersion¶
type GoogleCloudMetastoreV1betaHiveMetastoreVersion struct {// IsDefault: Whether version will be chosen by the server if a metastore// service is created with a HiveMetastoreConfig that omits the version.IsDefaultbool `json:"isDefault,omitempty"`// Version: The semantic version of the Hive Metastore software.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "IsDefault") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IsDefault") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1betaHiveMetastoreVersion: A specification of asupported version of the Hive Metastore software.
func (GoogleCloudMetastoreV1betaHiveMetastoreVersion)MarshalJSON¶
func (sGoogleCloudMetastoreV1betaHiveMetastoreVersion) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1betaLocationMetadata¶
type GoogleCloudMetastoreV1betaLocationMetadata struct {// CustomRegionMetadata: Possible configurations supported if the current// region is a custom region.CustomRegionMetadata []*GoogleCloudMetastoreV1betaCustomRegionMetadata `json:"customRegionMetadata,omitempty"`// MultiRegionMetadata: The multi-region metadata if the current region is a// multi-region.MultiRegionMetadata *GoogleCloudMetastoreV1betaMultiRegionMetadata `json:"multiRegionMetadata,omitempty"`// SupportedHiveMetastoreVersions: The versions of Hive Metastore that can be// used when creating a new metastore service in this location. The server// guarantees that exactly one HiveMetastoreVersion in the list will set// is_default.SupportedHiveMetastoreVersions []*GoogleCloudMetastoreV1betaHiveMetastoreVersion `json:"supportedHiveMetastoreVersions,omitempty"`// ForceSendFields is a list of field names (e.g. "CustomRegionMetadata") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomRegionMetadata") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1betaLocationMetadata: Metadata about the service in alocation.
func (GoogleCloudMetastoreV1betaLocationMetadata)MarshalJSON¶
func (sGoogleCloudMetastoreV1betaLocationMetadata) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1betaMoveTableToDatabaseResponse¶
type GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse struct {}GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse: Response message forDataprocMetastore.MoveTableToDatabase.
typeGoogleCloudMetastoreV1betaMultiRegionMetadata¶
type GoogleCloudMetastoreV1betaMultiRegionMetadata struct {// ConstituentRegions: The regions constituting the multi-region.ConstituentRegions []string `json:"constituentRegions,omitempty"`// Continent: The continent for this multi-region.Continentstring `json:"continent,omitempty"`// WitnessRegion: The Spanner witness region for this multi-region.WitnessRegionstring `json:"witnessRegion,omitempty"`// ForceSendFields is a list of field names (e.g. "ConstituentRegions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ConstituentRegions") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1betaMultiRegionMetadata: The metadata for themulti-region that includes the constituent regions. The metadata is onlypopulated if the region is multi-region. For single region or custom dualregion, it will be empty.
func (GoogleCloudMetastoreV1betaMultiRegionMetadata)MarshalJSON¶
func (sGoogleCloudMetastoreV1betaMultiRegionMetadata) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1betaOperationMetadata¶
type GoogleCloudMetastoreV1betaOperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the caller has// requested cancellation of the operation. Operations that have successfully// been cancelled have google.longrunning.Operation.error value with a// google.rpc.Status.code of 1, corresponding to Code.CANCELLED.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1betaOperationMetadata: Represents the metadata of along-running operation.
func (GoogleCloudMetastoreV1betaOperationMetadata)MarshalJSON¶
func (sGoogleCloudMetastoreV1betaOperationMetadata) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV1betaQueryMetadataResponse¶
type GoogleCloudMetastoreV1betaQueryMetadataResponse struct {// ResultManifestUri: The manifest URI is link to a JSON instance in Cloud// Storage. This instance manifests immediately along with// QueryMetadataResponse. The content of the URI is not retriable until the// long-running operation query against the metadata finishes.ResultManifestUristring `json:"resultManifestUri,omitempty"`// ForceSendFields is a list of field names (e.g. "ResultManifestUri") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ResultManifestUri") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV1betaQueryMetadataResponse: Response message forDataprocMetastore.QueryMetadata.
func (GoogleCloudMetastoreV1betaQueryMetadataResponse)MarshalJSON¶
func (sGoogleCloudMetastoreV1betaQueryMetadataResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaAlterMetadataResourceLocationRequest¶
type GoogleCloudMetastoreV2betaAlterMetadataResourceLocationRequest struct {// LocationUri: Required. The new location URI for the metadata resource.LocationUristring `json:"locationUri,omitempty"`// ResourceName: Required. The relative metadata resource name in the following// format.databases/{database_id} or databases/{database_id}/tables/{table_id}// or databases/{database_id}/tables/{table_id}/partitions/{partition_id}ResourceNamestring `json:"resourceName,omitempty"`// ForceSendFields is a list of field names (e.g. "LocationUri") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LocationUri") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaAlterMetadataResourceLocationRequest: Requestmessage for DataprocMetastore.AlterMetadataResourceLocation.
func (GoogleCloudMetastoreV2betaAlterMetadataResourceLocationRequest)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaAlterMetadataResourceLocationRequest) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaAlterTablePropertiesRequest¶
type GoogleCloudMetastoreV2betaAlterTablePropertiesRequest struct {// 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// maskProperties map[string]string `json:"properties,omitempty"`// TableName: Required. The name of the table containing the properties you're// altering in the following format.databases/{database_id}/tables/{table_id}TableNamestring `json:"tableName,omitempty"`// UpdateMask: 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 }UpdateMaskstring `json:"updateMask,omitempty"`// ForceSendFields is a list of field names (e.g. "Properties") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Properties") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaAlterTablePropertiesRequest: Request message forDataprocMetastore.AlterTableProperties.
func (GoogleCloudMetastoreV2betaAlterTablePropertiesRequest)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaAlterTablePropertiesRequest) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaAutoscalingConfig¶
type GoogleCloudMetastoreV2betaAutoscalingConfig struct {// AutoscalingEnabled: Optional. Whether or not autoscaling is enabled for this// service.AutoscalingEnabledbool `json:"autoscalingEnabled,omitempty"`// AutoscalingFactor: Output only. The scaling factor of a service with// autoscaling enabled.AutoscalingFactorint64 `json:"autoscalingFactor,omitempty"`// LimitConfig: Optional. The LimitConfig of the service.LimitConfig *GoogleCloudMetastoreV2betaLimitConfig `json:"limitConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "AutoscalingEnabled") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AutoscalingEnabled") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaAutoscalingConfig: Represents the autoscalingconfiguration of a metastore service.
func (GoogleCloudMetastoreV2betaAutoscalingConfig)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaAutoscalingConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaAuxiliaryVersionConfig¶
type GoogleCloudMetastoreV2betaAuxiliaryVersionConfig struct {// ConfigOverrides: A mapping of Hive metastore configuration key-value pairs// to apply to the auxiliary Hive metastore (configured in hive-site.xml) in// addition to the primary version's overrides. If keys are present in both the// auxiliary version's overrides and the primary version's overrides, the value// from the auxiliary version's overrides takes precedence.ConfigOverrides map[string]string `json:"configOverrides,omitempty"`// Endpoints: Output only. The list of endpoints used to access the auxiliary// metastore service, includes version and region data.Endpoints []*GoogleCloudMetastoreV2betaEndpoint `json:"endpoints,omitempty"`// Version: The Hive metastore version of the auxiliary service. It must be// less than the primary Hive metastore service's version.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "ConfigOverrides") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ConfigOverrides") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaAuxiliaryVersionConfig: Configuration informationfor the auxiliary service versions.
func (GoogleCloudMetastoreV2betaAuxiliaryVersionConfig)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaAuxiliaryVersionConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaBackup¶
type GoogleCloudMetastoreV2betaBackup struct {// CreateTime: Output only. The time when the backup was started.CreateTimestring `json:"createTime,omitempty"`// Description: The description of the backup.Descriptionstring `json:"description,omitempty"`// EndTime: Output only. The time when the backup finished creating.EndTimestring `json:"endTime,omitempty"`// Name: Immutable. The relative resource name of the backup, in the following// form:projects/{project_number}/locations/{location_id}/services/{service_id}/// backups/{backup_id}Namestring `json:"name,omitempty"`// RestoringServices: Output only. Services that are restoring from the backup.RestoringServices []string `json:"restoringServices,omitempty"`// ServiceRevision: Output only. The revision of the service at the time of// backup.ServiceRevision *GoogleCloudMetastoreV2betaService `json:"serviceRevision,omitempty"`// State: Output only. The current state of the backup.//// Possible values:// "STATE_UNSPECIFIED" - The state of the backup is unknown.// "CREATING" - The backup is being created.// "DELETING" - The backup is being deleted.// "ACTIVE" - The backup is active and ready to use.// "FAILED" - The backup failed.// "RESTORING" - The backup is being restored.Statestring `json:"state,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaBackup: The details of a backup resource.
func (GoogleCloudMetastoreV2betaBackup)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaBackup) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaCancelMigrationRequest¶
type GoogleCloudMetastoreV2betaCancelMigrationRequest struct {}GoogleCloudMetastoreV2betaCancelMigrationRequest: Request message forDataprocMetastore.CancelMigration.
typeGoogleCloudMetastoreV2betaCdcConfig¶
type GoogleCloudMetastoreV2betaCdcConfig struct {// Bucket: Optional. The bucket to write the intermediate stream event data in.// The bucket name must be without any prefix like "gs://". See the bucket// naming requirements (https://cloud.google.com/storage/docs/buckets#naming).// This field is optional. If not set, the Artifacts Cloud Storage bucket will// be used.Bucketstring `json:"bucket,omitempty"`// Password: Required. Input only. The password for the user that Datastream// service should use for the MySQL connection. This field is not returned on// request.Passwordstring `json:"password,omitempty"`// ReverseProxySubnet: Required. The URL of the subnetwork resource to create// the VM instance hosting the reverse proxy in. More context in//https://cloud.google.com/datastream/docs/private-connectivity#reverse-csql-proxy// The subnetwork should reside in the network provided in the request that// Datastream will peer to and should be in the same region as Datastream, in// the following format.// projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}ReverseProxySubnetstring `json:"reverseProxySubnet,omitempty"`// RootPath: Optional. The root path inside the Cloud Storage bucket. The// stream event data will be written to this path. The default value is// /migration.RootPathstring `json:"rootPath,omitempty"`// SubnetIpRange: Required. A /29 CIDR IP range for peering with datastream.SubnetIpRangestring `json:"subnetIpRange,omitempty"`// Username: Required. The username that the Datastream service should use for// the MySQL connection.Usernamestring `json:"username,omitempty"`// VpcNetwork: Required. Fully qualified name of the Cloud SQL instance's VPC// network or the shared VPC network that Datastream will peer to, in the// following format:// projects/{project_id}/locations/global/networks/{network_id}. More context// in//https://cloud.google.com/datastream/docs/network-connectivity-options#privateconnectivityVpcNetworkstring `json:"vpcNetwork,omitempty"`// ForceSendFields is a list of field names (e.g. "Bucket") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Bucket") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaCdcConfig: Configuration information to start theChange Data Capture (CDC) streams from customer database to backend databaseof Dataproc Metastore.
func (GoogleCloudMetastoreV2betaCdcConfig)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaCdcConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaCloudSQLConnectionConfig¶
type GoogleCloudMetastoreV2betaCloudSQLConnectionConfig struct {// HiveDatabaseName: Required. The hive database name.HiveDatabaseNamestring `json:"hiveDatabaseName,omitempty"`// InstanceConnectionName: Required. Cloud SQL database connection name// (project_id:region:instance_name)InstanceConnectionNamestring `json:"instanceConnectionName,omitempty"`// IpAddress: Required. The private IP address of the Cloud SQL instance.IpAddressstring `json:"ipAddress,omitempty"`// NatSubnet: Required. The relative resource name of the subnetwork to be used// for Private Service Connect. Note that this cannot be a regular subnet and// is used only for NAT.// (https://cloud.google.com/vpc/docs/about-vpc-hosted-services#psc-subnets)// This subnet is used to publish the SOCKS5 proxy service. The subnet size// must be at least /29 and it should reside in a network through which the// Cloud SQL instance is accessible. The resource name should be in the format,// projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}NatSubnetstring `json:"natSubnet,omitempty"`// Password: Required. Input only. The password for the user that Dataproc// Metastore service will be using to connect to the database. This field is// not returned on request.Passwordstring `json:"password,omitempty"`// Port: Required. The network port of the database.Portint64 `json:"port,omitempty"`// ProxySubnet: Required. The relative resource name of the subnetwork to// deploy the SOCKS5 proxy service in. The subnetwork should reside in a// network through which the Cloud SQL instance is accessible. The resource// name should be in the format,// projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}ProxySubnetstring `json:"proxySubnet,omitempty"`// Username: Required. The username that Dataproc Metastore service will use to// connect to the database.Usernamestring `json:"username,omitempty"`// ForceSendFields is a list of field names (e.g. "HiveDatabaseName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "HiveDatabaseName") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaCloudSQLConnectionConfig: Configurationinformation to establish customer database connection before the cutoverphase of migration
func (GoogleCloudMetastoreV2betaCloudSQLConnectionConfig)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaCloudSQLConnectionConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaCloudSQLMigrationConfig¶
type GoogleCloudMetastoreV2betaCloudSQLMigrationConfig struct {// CdcConfig: Required. Configuration information to start the Change Data// Capture (CDC) streams from customer database to backend database of Dataproc// Metastore. Dataproc Metastore switches to using its backend database after// the cutover phase of migration.CdcConfig *GoogleCloudMetastoreV2betaCdcConfig `json:"cdcConfig,omitempty"`// CloudSqlConnectionConfig: Required. Configuration information to establish// customer database connection before the cutover phase of migrationCloudSqlConnectionConfig *GoogleCloudMetastoreV2betaCloudSQLConnectionConfig `json:"cloudSqlConnectionConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "CdcConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CdcConfig") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaCloudSQLMigrationConfig: Configuration informationfor migrating from self-managed hive metastore on Google Cloud using CloudSQL as the backend database to Dataproc Metastore.
func (GoogleCloudMetastoreV2betaCloudSQLMigrationConfig)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaCloudSQLMigrationConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaCompleteMigrationRequest¶
type GoogleCloudMetastoreV2betaCompleteMigrationRequest struct {}GoogleCloudMetastoreV2betaCompleteMigrationRequest: Request message forDataprocMetastore.CompleteMigration.
typeGoogleCloudMetastoreV2betaDataCatalogConfig¶
type GoogleCloudMetastoreV2betaDataCatalogConfig struct {// Enabled: Optional. Defines whether the metastore metadata should be synced// to Data Catalog. The default value is to disable syncing metastore metadata// to Data Catalog.Enabledbool `json:"enabled,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Enabled") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaDataCatalogConfig: Specifies how metastoremetadata should be integrated with the Data Catalog service.
func (GoogleCloudMetastoreV2betaDataCatalogConfig)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaDataCatalogConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaDatabaseDump¶
type GoogleCloudMetastoreV2betaDatabaseDump struct {// GcsUri: Required. A Cloud Storage object or folder URI that specifies the// source from which to import metadata. It must begin with gs://.GcsUristring `json:"gcsUri,omitempty"`// Type: Optional. The type of the database dump. If unspecified, defaults to// MYSQL.//// Possible values:// "TYPE_UNSPECIFIED" - The type of the database dump is unknown.// "MYSQL" - Database dump is a MySQL dump file.// "AVRO" - Database dump contains Avro files.Typestring `json:"type,omitempty"`// ForceSendFields is a list of field names (e.g. "GcsUri") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "GcsUri") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaDatabaseDump: A specification of the location andmetadata type for a database dump from a relational database managementsystem.
func (GoogleCloudMetastoreV2betaDatabaseDump)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaDatabaseDump) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaEncryptionConfig¶
type GoogleCloudMetastoreV2betaEncryptionConfig struct {}GoogleCloudMetastoreV2betaEncryptionConfig: Encryption settings for theservice.
typeGoogleCloudMetastoreV2betaEndpoint¶
type GoogleCloudMetastoreV2betaEndpoint struct {// EndpointUri: Output only. The URI of the endpoint used to access the// metastore service.EndpointUristring `json:"endpointUri,omitempty"`// Region: Output only. The region where the endpoint is located.Regionstring `json:"region,omitempty"`// ForceSendFields is a list of field names (e.g. "EndpointUri") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EndpointUri") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaEndpoint: An endpoint used to access the metastoreservice.
func (GoogleCloudMetastoreV2betaEndpoint)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaEndpoint) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaExportMetadataRequest¶
type GoogleCloudMetastoreV2betaExportMetadataRequest struct {// DatabaseDumpType: Optional. The type of the database dump. If unspecified,// defaults to MYSQL.//// Possible values:// "TYPE_UNSPECIFIED" - The type of the database dump is unknown.// "MYSQL" - Database dump is a MySQL dump file.// "AVRO" - Database dump contains Avro files.DatabaseDumpTypestring `json:"databaseDumpType,omitempty"`// DestinationGcsFolder: A Cloud Storage URI of a folder, in the format gs:///.// A sub-folder containing exported files will be created below it.DestinationGcsFolderstring `json:"destinationGcsFolder,omitempty"`// RequestId: Optional. A request ID. Specify a unique request ID to allow the// server to ignore the request if it has completed. The server will ignore// subsequent requests that provide a duplicate request ID for at least 60// minutes after the first request.For example, if an initial request times// out, followed by another request with the same request ID, the server// ignores the second request to prevent the creation of duplicate// commitments.The request ID must be a valid UUID// (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero// UUID (00000000-0000-0000-0000-000000000000) is not supported.RequestIdstring `json:"requestId,omitempty"`// ForceSendFields is a list of field names (e.g. "DatabaseDumpType") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DatabaseDumpType") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaExportMetadataRequest: Request message forDataprocMetastore.ExportMetadata.
func (GoogleCloudMetastoreV2betaExportMetadataRequest)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaExportMetadataRequest) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaHiveMetastoreConfig¶
type GoogleCloudMetastoreV2betaHiveMetastoreConfig struct {// AuxiliaryVersions: Optional. A mapping of Hive metastore version to the// auxiliary version configuration. When specified, a secondary Hive metastore// service is created along with the primary service. All auxiliary versions// must be less than the service's primary version. The key is the auxiliary// service name and it must match the regular expression a-z?. This means that// the first character must be a lowercase letter, and all the following// characters must be hyphens, lowercase letters, or digits, except the last// character, which cannot be a hyphen.AuxiliaryVersions map[string]GoogleCloudMetastoreV2betaAuxiliaryVersionConfig `json:"auxiliaryVersions,omitempty"`// ConfigOverrides: Optional. A mapping of Hive metastore configuration// key-value pairs to apply to the Hive metastore (configured in// hive-site.xml). The mappings override system defaults (some keys cannot be// overridden). These overrides are also applied to auxiliary versions and can// be further customized in the auxiliary version's AuxiliaryVersionConfig.ConfigOverrides map[string]string `json:"configOverrides,omitempty"`// EndpointProtocol: Optional. The protocol to use for the metastore service// endpoint. If unspecified, defaults to GRPC.//// Possible values:// "ENDPOINT_PROTOCOL_UNSPECIFIED" - The protocol is not set.// "THRIFT" - Use the legacy Apache Thrift protocol for the metastore service// endpoint.// "GRPC" - Use the modernized gRPC protocol for the metastore service// endpoint.EndpointProtocolstring `json:"endpointProtocol,omitempty"`// Version: Immutable. The Hive metastore schema version.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "AuxiliaryVersions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AuxiliaryVersions") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaHiveMetastoreConfig: Specifies configurationinformation specific to running Hive metastore software as the metastoreservice.
func (GoogleCloudMetastoreV2betaHiveMetastoreConfig)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaHiveMetastoreConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaImportMetadataRequest¶
type GoogleCloudMetastoreV2betaImportMetadataRequest struct {// DatabaseDump: Immutable. A database dump from a pre-existing metastore's// database.DatabaseDump *GoogleCloudMetastoreV2betaDatabaseDump `json:"databaseDump,omitempty"`// Description: Optional. The description of the metadata import.Descriptionstring `json:"description,omitempty"`// RequestId: Optional. A request ID. Specify a unique request ID to allow the// server to ignore the request if it has completed. The server will ignore// subsequent requests that provide a duplicate request ID for at least 60// minutes after the first request.For example, if an initial request times// out, followed by another request with the same request ID, the server// ignores the second request to prevent the creation of duplicate// commitments.The request ID must be a valid UUID// (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero// UUID (00000000-0000-0000-0000-000000000000) is not supported.RequestIdstring `json:"requestId,omitempty"`// ForceSendFields is a list of field names (e.g. "DatabaseDump") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DatabaseDump") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaImportMetadataRequest: Request message forDataprocMetastore.CreateMetadataImport.
func (GoogleCloudMetastoreV2betaImportMetadataRequest)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaImportMetadataRequest) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaLatestBackup¶
type GoogleCloudMetastoreV2betaLatestBackup struct {// BackupId: Output only. The ID of an in-progress scheduled backup. Empty if// no backup is in progress.BackupIdstring `json:"backupId,omitempty"`// Duration: Output only. The duration of the backup completion.Durationstring `json:"duration,omitempty"`// StartTime: Output only. The time when the backup was started.StartTimestring `json:"startTime,omitempty"`// State: Output only. The current state of the backup.//// Possible values:// "STATE_UNSPECIFIED" - The state of the backup is unknown.// "IN_PROGRESS" - The backup is in progress.// "SUCCEEDED" - The backup completed.// "FAILED" - The backup failed.Statestring `json:"state,omitempty"`// ForceSendFields is a list of field names (e.g. "BackupId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BackupId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaLatestBackup: The details of the latest scheduledbackup.
func (GoogleCloudMetastoreV2betaLatestBackup)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaLatestBackup) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaLimitConfig¶
type GoogleCloudMetastoreV2betaLimitConfig struct {// MaxScalingFactor: Optional. The highest scaling factor that the service// should be autoscaled to.MaxScalingFactorint64 `json:"maxScalingFactor,omitempty"`// MinScalingFactor: Optional. The lowest scaling factor that the service// should be autoscaled to.MinScalingFactorint64 `json:"minScalingFactor,omitempty"`// ForceSendFields is a list of field names (e.g. "MaxScalingFactor") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MaxScalingFactor") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaLimitConfig: Represents the autoscaling limitconfiguration of a metastore service.
func (GoogleCloudMetastoreV2betaLimitConfig)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaLimitConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaListBackupsResponse¶
type GoogleCloudMetastoreV2betaListBackupsResponse struct {// Backups: The backups of the specified service.Backups []*GoogleCloudMetastoreV2betaBackup `json:"backups,omitempty"`// NextPageToken: A token that can be sent as page_token to retrieve the next// page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Backups") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Backups") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaListBackupsResponse: Response message forDataprocMetastore.ListBackups.
func (GoogleCloudMetastoreV2betaListBackupsResponse)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaListBackupsResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaListMigrationExecutionsResponse¶
type GoogleCloudMetastoreV2betaListMigrationExecutionsResponse struct {// MigrationExecutions: The migration executions on the specified service.MigrationExecutions []*GoogleCloudMetastoreV2betaMigrationExecution `json:"migrationExecutions,omitempty"`// NextPageToken: A token that can be sent as page_token to retrieve the next// page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "MigrationExecutions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MigrationExecutions") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaListMigrationExecutionsResponse: Response messagefor DataprocMetastore.ListMigrationExecutions.
func (GoogleCloudMetastoreV2betaListMigrationExecutionsResponse)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaListMigrationExecutionsResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaListServicesResponse¶
type GoogleCloudMetastoreV2betaListServicesResponse struct {// NextPageToken: A token that can be sent as page_token to retrieve the next// page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Services: The services in the specified location.Services []*GoogleCloudMetastoreV2betaService `json:"services,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaListServicesResponse: Response message forDataprocMetastore.ListServices.
func (GoogleCloudMetastoreV2betaListServicesResponse)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaListServicesResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaMetadataIntegration¶
type GoogleCloudMetastoreV2betaMetadataIntegration struct {// DataCatalogConfig: Optional. The integration config for the Data Catalog// service.DataCatalogConfig *GoogleCloudMetastoreV2betaDataCatalogConfig `json:"dataCatalogConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "DataCatalogConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DataCatalogConfig") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaMetadataIntegration: Specifies how metastoremetadata should be integrated with external services.
func (GoogleCloudMetastoreV2betaMetadataIntegration)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaMetadataIntegration) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaMigrationExecution¶
type GoogleCloudMetastoreV2betaMigrationExecution struct {// CloudSqlMigrationConfig: Configuration information specific to migrating// from self-managed hive metastore on Google Cloud using Cloud SQL as the// backend database to Dataproc Metastore.CloudSqlMigrationConfig *GoogleCloudMetastoreV2betaCloudSQLMigrationConfig `json:"cloudSqlMigrationConfig,omitempty"`// CreateTime: Output only. The time when the migration execution was started.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time when the migration execution finished.EndTimestring `json:"endTime,omitempty"`// Name: Output only. The relative resource name of the migration execution, in// the following form:// projects/{project_number}/locations/{location_id}/services/{service_id}/migra// tionExecutions/{migration_execution_id}Namestring `json:"name,omitempty"`// Phase: Output only. The current phase of the migration execution.//// Possible values:// "PHASE_UNSPECIFIED" - The phase of the migration execution is unknown.// "REPLICATION" - Replication phase refers to the migration phase when// Dataproc Metastore is running a pipeline to replicate changes in the// customer database to its backend database. During this phase, Dataproc// Metastore uses the customer database as the hive metastore backend database.// "CUTOVER" - Cutover phase refers to the migration phase when Dataproc// Metastore switches to using its own backend database. Migration enters this// phase when customer is done migrating all their clusters/workloads to// Dataproc Metastore and triggers CompleteMigration.Phasestring `json:"phase,omitempty"`// State: Output only. The current state of the migration execution.//// Possible values:// "STATE_UNSPECIFIED" - The state of the migration execution is unknown.// "STARTING" - The migration execution is starting.// "RUNNING" - The migration execution is running.// "CANCELLING" - The migration execution is in the process of being// cancelled.// "AWAITING_USER_ACTION" - The migration execution is awaiting user action.// "SUCCEEDED" - The migration execution has completed successfully.// "FAILED" - The migration execution has failed.// "CANCELLED" - The migration execution is cancelled.// "DELETING" - The migration execution is being deleted.Statestring `json:"state,omitempty"`// StateMessage: Output only. Additional information about the current state of// the migration execution.StateMessagestring `json:"stateMessage,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CloudSqlMigrationConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CloudSqlMigrationConfig") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaMigrationExecution: The details of a migrationexecution resource.
func (GoogleCloudMetastoreV2betaMigrationExecution)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaMigrationExecution) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaMoveTableToDatabaseRequest¶
type GoogleCloudMetastoreV2betaMoveTableToDatabaseRequest struct {// DbName: Required. The name of the database where the table resides.DbNamestring `json:"dbName,omitempty"`// DestinationDbName: Required. The name of the database where the table should// be moved.DestinationDbNamestring `json:"destinationDbName,omitempty"`// TableName: Required. The name of the table to be moved.TableNamestring `json:"tableName,omitempty"`// ForceSendFields is a list of field names (e.g. "DbName") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DbName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaMoveTableToDatabaseRequest: Request message forDataprocMetastore.MoveTableToDatabase.
func (GoogleCloudMetastoreV2betaMoveTableToDatabaseRequest)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaMoveTableToDatabaseRequest) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaQueryMetadataRequest¶
type GoogleCloudMetastoreV2betaQueryMetadataRequest struct {// Query: Required. A read-only SQL query to execute against the metadata// database. The query cannot change or mutate the data.Querystring `json:"query,omitempty"`// ForceSendFields is a list of field names (e.g. "Query") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Query") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaQueryMetadataRequest: Request message forDataprocMetastore.QueryMetadata.
func (GoogleCloudMetastoreV2betaQueryMetadataRequest)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaQueryMetadataRequest) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaRemoveIamPolicyRequest¶
type GoogleCloudMetastoreV2betaRemoveIamPolicyRequest struct {// Asynchronous: Optional. Removes IAM policy attached to database or table// asynchronously when it is set. The default is false.Asynchronousbool `json:"asynchronous,omitempty"`// ForceSendFields is a list of field names (e.g. "Asynchronous") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Asynchronous") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaRemoveIamPolicyRequest: Request message forDataprocMetastore.RemoveIamPolicy.
func (GoogleCloudMetastoreV2betaRemoveIamPolicyRequest)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaRemoveIamPolicyRequest) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaRemoveIamPolicyResponse¶
type GoogleCloudMetastoreV2betaRemoveIamPolicyResponse struct {// Success: True if the policy is successfully removed.Successbool `json:"success,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Success") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Success") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaRemoveIamPolicyResponse: Response message forDataprocMetastore.RemoveIamPolicy.
func (GoogleCloudMetastoreV2betaRemoveIamPolicyResponse)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaRemoveIamPolicyResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaRestoreServiceRequest¶
type GoogleCloudMetastoreV2betaRestoreServiceRequest struct {// Backup: Optional. 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}/back// ups/{backup_id}. Mutually exclusive with backup_location, and exactly one of// the two must be set.Backupstring `json:"backup,omitempty"`// BackupLocation: Optional. A Cloud Storage URI specifying the location of the// backup artifacts, namely - backup avro files under "avro/",// backup_metastore.json and service.json, in the following form:gs://.// Mutually exclusive with backup, and exactly one of the two must be set.BackupLocationstring `json:"backupLocation,omitempty"`// RequestId: Optional. A request ID. Specify a unique request ID to allow the// server to ignore the request if it has completed. The server will ignore// subsequent requests that provide a duplicate request ID for at least 60// minutes after the first request.For example, if an initial request times// out, followed by another request with the same request ID, the server// ignores the second request to prevent the creation of duplicate// commitments.The request ID must be a valid UUID// (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero// UUID (00000000-0000-0000-0000-000000000000) is not supported.RequestIdstring `json:"requestId,omitempty"`// RestoreType: Optional. The type of restore. If unspecified, defaults to// METADATA_ONLY.//// Possible values:// "RESTORE_TYPE_UNSPECIFIED" - The restore type is unknown.// "FULL" - The service's metadata and configuration are restored.// "METADATA_ONLY" - Only the service's metadata is restored.RestoreTypestring `json:"restoreType,omitempty"`// ForceSendFields is a list of field names (e.g. "Backup") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Backup") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaRestoreServiceRequest: Request message forDataprocMetastore.Restore.
func (GoogleCloudMetastoreV2betaRestoreServiceRequest)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaRestoreServiceRequest) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaScalingConfig¶
type GoogleCloudMetastoreV2betaScalingConfig struct {// AutoscalingConfig: Optional. The autoscaling configuration.AutoscalingConfig *GoogleCloudMetastoreV2betaAutoscalingConfig `json:"autoscalingConfig,omitempty"`// ScalingFactor: Optional. Scaling factor from 1 to 5, increments of 1.ScalingFactorint64 `json:"scalingFactor,omitempty"`// ForceSendFields is a list of field names (e.g. "AutoscalingConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AutoscalingConfig") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaScalingConfig: Represents the scalingconfiguration of a metastore service.
func (GoogleCloudMetastoreV2betaScalingConfig)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaScalingConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaScheduledBackup¶
type GoogleCloudMetastoreV2betaScheduledBackup struct {// BackupLocation: Optional. A Cloud Storage URI of a folder, in the format// gs:///. A sub-folder containing backup files will be stored below it.BackupLocationstring `json:"backupLocation,omitempty"`// CronSchedule: Optional. The scheduled interval in Cron format, see//https://en.wikipedia.org/wiki/Cron The default is empty: scheduled backup is// not enabled. Must be specified to enable scheduled backups.CronSchedulestring `json:"cronSchedule,omitempty"`// Enabled: Optional. Defines whether the scheduled backup is enabled. The// default value is false.Enabledbool `json:"enabled,omitempty"`// LatestBackup: Output only. The details of the latest scheduled backup.LatestBackup *GoogleCloudMetastoreV2betaLatestBackup `json:"latestBackup,omitempty"`// NextScheduledTime: Output only. The time when the next backups execution is// scheduled to start.NextScheduledTimestring `json:"nextScheduledTime,omitempty"`// TimeZone: Optional. Specifies the time zone to be used when interpreting// cron_schedule. Must be a time zone name from the time zone database// (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g.// America/Los_Angeles or Africa/Abidjan. If left unspecified, the default is// UTC.TimeZonestring `json:"timeZone,omitempty"`// ForceSendFields is a list of field names (e.g. "BackupLocation") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BackupLocation") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaScheduledBackup: This specifies the configurationof scheduled backup.
func (GoogleCloudMetastoreV2betaScheduledBackup)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaScheduledBackup) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaService¶
type GoogleCloudMetastoreV2betaService struct {// CreateTime: Output only. The time when the metastore service was created.CreateTimestring `json:"createTime,omitempty"`// EncryptionConfig: Immutable. Information used to configure the Dataproc// Metastore service to encrypt customer data at rest. Cannot be updated.EncryptionConfig *GoogleCloudMetastoreV2betaEncryptionConfig `json:"encryptionConfig,omitempty"`// Endpoints: Output only. The list of endpoints used to access the metastore// service.Endpoints []*GoogleCloudMetastoreV2betaEndpoint `json:"endpoints,omitempty"`// HiveMetastoreConfig: Configuration information specific to running Hive// metastore software as the metastore service.HiveMetastoreConfig *GoogleCloudMetastoreV2betaHiveMetastoreConfig `json:"hiveMetastoreConfig,omitempty"`// Labels: User-defined labels for the metastore service.Labels map[string]string `json:"labels,omitempty"`// MetadataIntegration: Optional. The setting that defines how metastore// metadata should be integrated with external services and systems.MetadataIntegration *GoogleCloudMetastoreV2betaMetadataIntegration `json:"metadataIntegration,omitempty"`// Name: Immutable. The relative resource name of the metastore service, in the// following// format:projects/{project_number}/locations/{location_id}/services/{service_id// }.Namestring `json:"name,omitempty"`// ScalingConfig: Optional. Scaling configuration of the metastore service.ScalingConfig *GoogleCloudMetastoreV2betaScalingConfig `json:"scalingConfig,omitempty"`// ScheduledBackup: Optional. The configuration of scheduled backup for the// metastore service.ScheduledBackup *GoogleCloudMetastoreV2betaScheduledBackup `json:"scheduledBackup,omitempty"`// State: Output only. The current state of the metastore service.//// Possible values:// "STATE_UNSPECIFIED" - The state of the metastore service is unknown.// "CREATING" - The metastore service is in the process of being created.// "ACTIVE" - The metastore service is running and ready to serve queries.// "SUSPENDING" - The metastore service is entering suspension. Its// query-serving availability may cease unexpectedly.// "SUSPENDED" - The metastore service is suspended and unable to serve// queries.// "UPDATING" - The metastore service is being updated. It remains usable but// cannot accept additional update requests or be deleted at this time.// "DELETING" - The metastore service is undergoing deletion. It cannot be// used.// "ERROR" - The metastore service has encountered an error and cannot be// used. The metastore service should be deleted.// "MIGRATING" - The metastore service is processing a managed migration.Statestring `json:"state,omitempty"`// StateMessage: Output only. Additional information about the current state of// the metastore service, if available.StateMessagestring `json:"stateMessage,omitempty"`// Uid: Output only. The globally unique resource identifier of the metastore// service.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. The time when the metastore service was last// updated.UpdateTimestring `json:"updateTime,omitempty"`// WarehouseGcsUri: Required. A Cloud Storage URI (starting with gs://) that// specifies the default warehouse directory of the Hive Metastore.WarehouseGcsUristring `json:"warehouseGcsUri,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaService: A managed metastore service that servesmetadata queries.
func (GoogleCloudMetastoreV2betaService)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaService) MarshalJSON() ([]byte,error)
typeGoogleCloudMetastoreV2betaStartMigrationRequest¶
type GoogleCloudMetastoreV2betaStartMigrationRequest struct {// MigrationExecution: Required. The configuration details for the migration.MigrationExecution *GoogleCloudMetastoreV2betaMigrationExecution `json:"migrationExecution,omitempty"`// RequestId: Optional. A request ID. Specify a unique request ID to allow the// server to ignore the request if it has completed. The server will ignore// subsequent requests that provide a duplicate request ID for at least 60// minutes after the first request.For example, if an initial request times// out, followed by another request with the same request ID, the server// ignores the second request to prevent the creation of duplicate// commitments.The request ID must be a valid UUID// (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero// UUID (00000000-0000-0000-0000-000000000000) is not supported.RequestIdstring `json:"requestId,omitempty"`// ForceSendFields is a list of field names (e.g. "MigrationExecution") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MigrationExecution") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudMetastoreV2betaStartMigrationRequest: Request message forDataprocMetastore.StartMigration.
func (GoogleCloudMetastoreV2betaStartMigrationRequest)MarshalJSON¶
func (sGoogleCloudMetastoreV2betaStartMigrationRequest) MarshalJSON() ([]byte,error)
typeGoogleLongrunningOperation¶
type GoogleLongrunningOperation struct {// Done: 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.Donebool `json:"done,omitempty"`// Error: The error result of the operation in case of failure or cancellation.Error *GoogleRpcStatus `json:"error,omitempty"`// 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.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: 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}.Namestring `json:"name,omitempty"`// 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.Responsegoogleapi.RawMessage `json:"response,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Done") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Done") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleLongrunningOperation: This resource represents a long-runningoperation that is the result of a network API call.
func (GoogleLongrunningOperation)MarshalJSON¶
func (sGoogleLongrunningOperation) MarshalJSON() ([]byte,error)
typeGoogleRpcStatus¶
type GoogleRpcStatus struct {// Code: The status code, which should be an enum value of google.rpc.Code.Codeint64 `json:"code,omitempty"`// Details: A list of messages that carry the error details. There is a common// set of message types for APIs to use.Details []googleapi.RawMessage `json:"details,omitempty"`// Message: 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.Messagestring `json:"message,omitempty"`// ForceSendFields is a list of field names (e.g. "Code") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleRpcStatus: The Status type defines a logical error model that issuitable for different programming environments, including REST APIs and RPCAPIs. It is used by gRPC (https://github.com/grpc). Each Status messagecontains three pieces of data: error code, error message, and errordetails.You can find out more about this error model and how to work with itin the API Design Guide (https://cloud.google.com/apis/design/errors).
func (GoogleRpcStatus)MarshalJSON¶
func (sGoogleRpcStatus) MarshalJSON() ([]byte,error)
typeProjectsLocationsService¶
type ProjectsLocationsService struct {Services *ProjectsLocationsServicesService// contains filtered or unexported fields}funcNewProjectsLocationsService¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
typeProjectsLocationsServicesAlterLocationCall¶
type ProjectsLocationsServicesAlterLocationCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesAlterLocationCall)Context¶
func (c *ProjectsLocationsServicesAlterLocationCall) Context(ctxcontext.Context) *ProjectsLocationsServicesAlterLocationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesAlterLocationCall)Do¶
func (c *ProjectsLocationsServicesAlterLocationCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation,error)
Do executes the "metastore.projects.locations.services.alterLocation" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesAlterLocationCall)Fields¶
func (c *ProjectsLocationsServicesAlterLocationCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesAlterLocationCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesAlterLocationCall)Header¶
func (c *ProjectsLocationsServicesAlterLocationCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesAlterTablePropertiesCall¶
type ProjectsLocationsServicesAlterTablePropertiesCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesAlterTablePropertiesCall)Context¶
func (c *ProjectsLocationsServicesAlterTablePropertiesCall) Context(ctxcontext.Context) *ProjectsLocationsServicesAlterTablePropertiesCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesAlterTablePropertiesCall)Do¶
func (c *ProjectsLocationsServicesAlterTablePropertiesCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation,error)
Do executes the "metastore.projects.locations.services.alterTableProperties" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesAlterTablePropertiesCall)Fields¶
func (c *ProjectsLocationsServicesAlterTablePropertiesCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesAlterTablePropertiesCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesAlterTablePropertiesCall)Header¶
func (c *ProjectsLocationsServicesAlterTablePropertiesCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesBackupsCreateCall¶
type ProjectsLocationsServicesBackupsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesBackupsCreateCall)BackupId¶
func (c *ProjectsLocationsServicesBackupsCreateCall) BackupId(backupIdstring) *ProjectsLocationsServicesBackupsCreateCall
BackupId sets the optional parameter "backupId": Required. The ID of thebackup, which is used as the final component of the backup's name.This valuemust be between 1 and 64 characters long, begin with a letter, end with aletter or number, and consist of alpha-numeric ASCII characters or hyphens.
func (*ProjectsLocationsServicesBackupsCreateCall)Context¶
func (c *ProjectsLocationsServicesBackupsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsServicesBackupsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesBackupsCreateCall)Do¶
func (c *ProjectsLocationsServicesBackupsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation,error)
Do executes the "metastore.projects.locations.services.backups.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesBackupsCreateCall)Fields¶
func (c *ProjectsLocationsServicesBackupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesBackupsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesBackupsCreateCall)Header¶
func (c *ProjectsLocationsServicesBackupsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesBackupsCreateCall)RequestId¶
func (c *ProjectsLocationsServicesBackupsCreateCall) RequestId(requestIdstring) *ProjectsLocationsServicesBackupsCreateCall
RequestId sets the optional parameter "requestId": A request ID. Specify aunique request ID to allow the server to ignore the request if it hascompleted. The server will ignore subsequent requests that provide aduplicate request ID for at least 60 minutes after the first request.Forexample, if an initial request times out, followed by another request withthe same request ID, the server ignores the second request to prevent thecreation of duplicate commitments.The request ID must be a valid UUID(https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zeroUUID (00000000-0000-0000-0000-000000000000) is not supported.
typeProjectsLocationsServicesBackupsDeleteCall¶
type ProjectsLocationsServicesBackupsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesBackupsDeleteCall)Context¶
func (c *ProjectsLocationsServicesBackupsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsServicesBackupsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesBackupsDeleteCall)Do¶
func (c *ProjectsLocationsServicesBackupsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation,error)
Do executes the "metastore.projects.locations.services.backups.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesBackupsDeleteCall)Fields¶
func (c *ProjectsLocationsServicesBackupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesBackupsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesBackupsDeleteCall)Header¶
func (c *ProjectsLocationsServicesBackupsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesBackupsDeleteCall)RequestId¶
func (c *ProjectsLocationsServicesBackupsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsServicesBackupsDeleteCall
RequestId sets the optional parameter "requestId": A request ID. Specify aunique request ID to allow the server to ignore the request if it hascompleted. The server will ignore subsequent requests that provide aduplicate request ID for at least 60 minutes after the first request.Forexample, if an initial request times out, followed by another request withthe same request ID, the server ignores the second request to prevent thecreation of duplicate commitments.The request ID must be a valid UUID(https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zeroUUID (00000000-0000-0000-0000-000000000000) is not supported.
typeProjectsLocationsServicesBackupsGetCall¶
type ProjectsLocationsServicesBackupsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesBackupsGetCall)Context¶
func (c *ProjectsLocationsServicesBackupsGetCall) Context(ctxcontext.Context) *ProjectsLocationsServicesBackupsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesBackupsGetCall)Do¶
func (c *ProjectsLocationsServicesBackupsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudMetastoreV2betaBackup,error)
Do executes the "metastore.projects.locations.services.backups.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudMetastoreV2betaBackup.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesBackupsGetCall)Fields¶
func (c *ProjectsLocationsServicesBackupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesBackupsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesBackupsGetCall)Header¶
func (c *ProjectsLocationsServicesBackupsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesBackupsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsServicesBackupsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesBackupsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsServicesBackupsListCall¶
type ProjectsLocationsServicesBackupsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesBackupsListCall)Context¶
func (c *ProjectsLocationsServicesBackupsListCall) Context(ctxcontext.Context) *ProjectsLocationsServicesBackupsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesBackupsListCall)Do¶
func (c *ProjectsLocationsServicesBackupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudMetastoreV2betaListBackupsResponse,error)
Do executes the "metastore.projects.locations.services.backups.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudMetastoreV2betaListBackupsResponse.ServerResponse.Header or (ifa response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesBackupsListCall)Fields¶
func (c *ProjectsLocationsServicesBackupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesBackupsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesBackupsListCall)Filter¶
func (c *ProjectsLocationsServicesBackupsListCall) Filter(filterstring) *ProjectsLocationsServicesBackupsListCall
Filter sets the optional parameter "filter": The filter to apply to listresults.
func (*ProjectsLocationsServicesBackupsListCall)Header¶
func (c *ProjectsLocationsServicesBackupsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesBackupsListCall)IfNoneMatch¶
func (c *ProjectsLocationsServicesBackupsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesBackupsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsServicesBackupsListCall)OrderBy¶
func (c *ProjectsLocationsServicesBackupsListCall) OrderBy(orderBystring) *ProjectsLocationsServicesBackupsListCall
OrderBy sets the optional parameter "orderBy": Specify the ordering ofresults as described in Sorting Order(https://cloud.google.com/apis/design/design_patterns#sorting_order). If notspecified, the results will be sorted in the default order.
func (*ProjectsLocationsServicesBackupsListCall)PageSize¶
func (c *ProjectsLocationsServicesBackupsListCall) PageSize(pageSizeint64) *ProjectsLocationsServicesBackupsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofbackups to return. The response may contain less than the maximum number. Ifunspecified, no more than 500 backups are returned. The maximum value is1000; values above 1000 are changed to 1000.
func (*ProjectsLocationsServicesBackupsListCall)PageToken¶
func (c *ProjectsLocationsServicesBackupsListCall) PageToken(pageTokenstring) *ProjectsLocationsServicesBackupsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous DataprocMetastore.ListBackups call. Provide this token toretrieve the subsequent page.To retrieve the first page, supply an emptypage token.When paginating, other parameters provided toDataprocMetastore.ListBackups must match the call that provided the pagetoken.
func (*ProjectsLocationsServicesBackupsListCall)Pages¶
func (c *ProjectsLocationsServicesBackupsListCall) Pages(ctxcontext.Context, f func(*GoogleCloudMetastoreV2betaListBackupsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsServicesBackupsService¶
type ProjectsLocationsServicesBackupsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsServicesBackupsService¶
func NewProjectsLocationsServicesBackupsService(s *Service) *ProjectsLocationsServicesBackupsService
func (*ProjectsLocationsServicesBackupsService)Create¶
func (r *ProjectsLocationsServicesBackupsService) Create(parentstring, googlecloudmetastorev2betabackup *GoogleCloudMetastoreV2betaBackup) *ProjectsLocationsServicesBackupsCreateCall
Create: Creates a new backup in a given project and location.
- parent: The relative resource name of the service in which to create abackup of the followingform:projects/{project_number}/locations/{location_id}/services/{service_id}.
func (*ProjectsLocationsServicesBackupsService)Delete¶
func (r *ProjectsLocationsServicesBackupsService) Delete(namestring) *ProjectsLocationsServicesBackupsDeleteCall
Delete: Deletes a single backup.
- name: The relative resource name of the backup to delete, in the followingform:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
func (*ProjectsLocationsServicesBackupsService)Get¶
func (r *ProjectsLocationsServicesBackupsService) Get(namestring) *ProjectsLocationsServicesBackupsGetCall
Get: Gets details of a single backup.
- name: The relative resource name of the backup to retrieve, in thefollowingform:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
func (*ProjectsLocationsServicesBackupsService)List¶
func (r *ProjectsLocationsServicesBackupsService) List(parentstring) *ProjectsLocationsServicesBackupsListCall
List: Lists backups in a service.
- parent: The relative resource name of the service whose backups to list,in the followingform:projects/{project_number}/locations/{location_id}/services/{service_id}/backups.
typeProjectsLocationsServicesCancelMigrationCall¶
type ProjectsLocationsServicesCancelMigrationCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesCancelMigrationCall)Context¶
func (c *ProjectsLocationsServicesCancelMigrationCall) Context(ctxcontext.Context) *ProjectsLocationsServicesCancelMigrationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesCancelMigrationCall)Do¶
func (c *ProjectsLocationsServicesCancelMigrationCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation,error)
Do executes the "metastore.projects.locations.services.cancelMigration" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesCancelMigrationCall)Fields¶
func (c *ProjectsLocationsServicesCancelMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesCancelMigrationCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesCancelMigrationCall)Header¶
func (c *ProjectsLocationsServicesCancelMigrationCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesCompleteMigrationCall¶
type ProjectsLocationsServicesCompleteMigrationCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesCompleteMigrationCall)Context¶
func (c *ProjectsLocationsServicesCompleteMigrationCall) Context(ctxcontext.Context) *ProjectsLocationsServicesCompleteMigrationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesCompleteMigrationCall)Do¶
func (c *ProjectsLocationsServicesCompleteMigrationCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation,error)
Do executes the "metastore.projects.locations.services.completeMigration" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesCompleteMigrationCall)Fields¶
func (c *ProjectsLocationsServicesCompleteMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesCompleteMigrationCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesCompleteMigrationCall)Header¶
func (c *ProjectsLocationsServicesCompleteMigrationCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesCreateCall¶
type ProjectsLocationsServicesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesCreateCall)Context¶
func (c *ProjectsLocationsServicesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsServicesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesCreateCall)Do¶
func (c *ProjectsLocationsServicesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation,error)
Do executes the "metastore.projects.locations.services.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesCreateCall)Fields¶
func (c *ProjectsLocationsServicesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesCreateCall)Header¶
func (c *ProjectsLocationsServicesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesCreateCall)RequestId¶
func (c *ProjectsLocationsServicesCreateCall) RequestId(requestIdstring) *ProjectsLocationsServicesCreateCall
RequestId sets the optional parameter "requestId": A request ID. Specify aunique request ID to allow the server to ignore the request if it hascompleted. The server will ignore subsequent requests that provide aduplicate request ID for at least 60 minutes after the first request.Forexample, if an initial request times out, followed by another request withthe same request ID, the server ignores the second request to prevent thecreation of duplicate commitments.The request ID must be a valid UUID(https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zeroUUID (00000000-0000-0000-0000-000000000000) is not supported.
func (*ProjectsLocationsServicesCreateCall)ServiceId¶
func (c *ProjectsLocationsServicesCreateCall) ServiceId(serviceIdstring) *ProjectsLocationsServicesCreateCall
ServiceId sets the optional parameter "serviceId": Required. The ID of themetastore service, which is used as the final component of the metastoreservice's name.This value must be between 2 and 63 characters longinclusive, begin with a letter, end with a letter or number, and consist ofalpha-numeric ASCII characters or hyphens.
typeProjectsLocationsServicesDeleteCall¶
type ProjectsLocationsServicesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesDeleteCall)Context¶
func (c *ProjectsLocationsServicesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsServicesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesDeleteCall)Do¶
func (c *ProjectsLocationsServicesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation,error)
Do executes the "metastore.projects.locations.services.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesDeleteCall)Fields¶
func (c *ProjectsLocationsServicesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesDeleteCall)Header¶
func (c *ProjectsLocationsServicesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesDeleteCall)RequestId¶
func (c *ProjectsLocationsServicesDeleteCall) RequestId(requestIdstring) *ProjectsLocationsServicesDeleteCall
RequestId sets the optional parameter "requestId": A request ID. Specify aunique request ID to allow the server to ignore the request if it hascompleted. The server will ignore subsequent requests that provide aduplicate request ID for at least 60 minutes after the first request.Forexample, if an initial request times out, followed by another request withthe same request ID, the server ignores the second request to prevent thecreation of duplicate commitments.The request ID must be a valid UUID(https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zeroUUID (00000000-0000-0000-0000-000000000000) is not supported.
typeProjectsLocationsServicesExportMetadataCall¶
type ProjectsLocationsServicesExportMetadataCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesExportMetadataCall)Context¶
func (c *ProjectsLocationsServicesExportMetadataCall) Context(ctxcontext.Context) *ProjectsLocationsServicesExportMetadataCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesExportMetadataCall)Do¶
func (c *ProjectsLocationsServicesExportMetadataCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation,error)
Do executes the "metastore.projects.locations.services.exportMetadata" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesExportMetadataCall)Fields¶
func (c *ProjectsLocationsServicesExportMetadataCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesExportMetadataCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesExportMetadataCall)Header¶
func (c *ProjectsLocationsServicesExportMetadataCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesGetCall¶
type ProjectsLocationsServicesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesGetCall)Context¶
func (c *ProjectsLocationsServicesGetCall) Context(ctxcontext.Context) *ProjectsLocationsServicesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesGetCall)Do¶
func (c *ProjectsLocationsServicesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudMetastoreV2betaService,error)
Do executes the "metastore.projects.locations.services.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudMetastoreV2betaService.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesGetCall)Fields¶
func (c *ProjectsLocationsServicesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesGetCall)Header¶
func (c *ProjectsLocationsServicesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesGetCall)IfNoneMatch¶
func (c *ProjectsLocationsServicesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsServicesImportMetadataCall¶
type ProjectsLocationsServicesImportMetadataCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesImportMetadataCall)Context¶
func (c *ProjectsLocationsServicesImportMetadataCall) Context(ctxcontext.Context) *ProjectsLocationsServicesImportMetadataCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesImportMetadataCall)Do¶
func (c *ProjectsLocationsServicesImportMetadataCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation,error)
Do executes the "metastore.projects.locations.services.importMetadata" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesImportMetadataCall)Fields¶
func (c *ProjectsLocationsServicesImportMetadataCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesImportMetadataCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesImportMetadataCall)Header¶
func (c *ProjectsLocationsServicesImportMetadataCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesListCall¶
type ProjectsLocationsServicesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesListCall)Context¶
func (c *ProjectsLocationsServicesListCall) Context(ctxcontext.Context) *ProjectsLocationsServicesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesListCall)Do¶
func (c *ProjectsLocationsServicesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudMetastoreV2betaListServicesResponse,error)
Do executes the "metastore.projects.locations.services.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudMetastoreV2betaListServicesResponse.ServerResponse.Header or (ifa response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesListCall)Fields¶
func (c *ProjectsLocationsServicesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesListCall)Filter¶
func (c *ProjectsLocationsServicesListCall) Filter(filterstring) *ProjectsLocationsServicesListCall
Filter sets the optional parameter "filter": The filter to apply to listresults.
func (*ProjectsLocationsServicesListCall)Header¶
func (c *ProjectsLocationsServicesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesListCall)IfNoneMatch¶
func (c *ProjectsLocationsServicesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsServicesListCall)OrderBy¶
func (c *ProjectsLocationsServicesListCall) OrderBy(orderBystring) *ProjectsLocationsServicesListCall
OrderBy sets the optional parameter "orderBy": Specify the ordering ofresults as described in Sorting Order(https://cloud.google.com/apis/design/design_patterns#sorting_order). If notspecified, the results will be sorted in the default order.
func (*ProjectsLocationsServicesListCall)PageSize¶
func (c *ProjectsLocationsServicesListCall) PageSize(pageSizeint64) *ProjectsLocationsServicesListCall
PageSize sets the optional parameter "pageSize": The maximum number ofservices to return. The response may contain less than the maximum number.If unspecified, no more than 500 services are returned. The maximum value is1000; values above 1000 are changed to 1000.
func (*ProjectsLocationsServicesListCall)PageToken¶
func (c *ProjectsLocationsServicesListCall) PageToken(pageTokenstring) *ProjectsLocationsServicesListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous DataprocMetastore.ListServices call. Provide this token toretrieve the subsequent page.To retrieve the first page, supply an emptypage token.When paginating, other parameters provided toDataprocMetastore.ListServices must match the call that provided the pagetoken.
func (*ProjectsLocationsServicesListCall)Pages¶
func (c *ProjectsLocationsServicesListCall) Pages(ctxcontext.Context, f func(*GoogleCloudMetastoreV2betaListServicesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsServicesMigrationExecutionsDeleteCall¶
type ProjectsLocationsServicesMigrationExecutionsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesMigrationExecutionsDeleteCall)Context¶
func (c *ProjectsLocationsServicesMigrationExecutionsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsServicesMigrationExecutionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesMigrationExecutionsDeleteCall)Do¶
func (c *ProjectsLocationsServicesMigrationExecutionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation,error)
Do executes the "metastore.projects.locations.services.migrationExecutions.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesMigrationExecutionsDeleteCall)Fields¶
func (c *ProjectsLocationsServicesMigrationExecutionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesMigrationExecutionsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesMigrationExecutionsDeleteCall)Header¶
func (c *ProjectsLocationsServicesMigrationExecutionsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesMigrationExecutionsDeleteCall)RequestId¶
func (c *ProjectsLocationsServicesMigrationExecutionsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsServicesMigrationExecutionsDeleteCall
RequestId sets the optional parameter "requestId": A request ID. Specify aunique request ID to allow the server to ignore the request if it hascompleted. The server will ignore subsequent requests that provide aduplicate request ID for at least 60 minutes after the first request.Forexample, if an initial request times out, followed by another request withthe same request ID, the server ignores the second request to prevent thecreation of duplicate commitments.The request ID must be a valid UUID(https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zeroUUID (00000000-0000-0000-0000-000000000000) is not supported.
typeProjectsLocationsServicesMigrationExecutionsGetCall¶
type ProjectsLocationsServicesMigrationExecutionsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesMigrationExecutionsGetCall)Context¶
func (c *ProjectsLocationsServicesMigrationExecutionsGetCall) Context(ctxcontext.Context) *ProjectsLocationsServicesMigrationExecutionsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesMigrationExecutionsGetCall)Do¶
func (c *ProjectsLocationsServicesMigrationExecutionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudMetastoreV2betaMigrationExecution,error)
Do executes the "metastore.projects.locations.services.migrationExecutions.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudMetastoreV2betaMigrationExecution.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesMigrationExecutionsGetCall)Fields¶
func (c *ProjectsLocationsServicesMigrationExecutionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesMigrationExecutionsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesMigrationExecutionsGetCall)Header¶
func (c *ProjectsLocationsServicesMigrationExecutionsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesMigrationExecutionsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsServicesMigrationExecutionsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesMigrationExecutionsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsServicesMigrationExecutionsListCall¶
type ProjectsLocationsServicesMigrationExecutionsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesMigrationExecutionsListCall)Context¶
func (c *ProjectsLocationsServicesMigrationExecutionsListCall) Context(ctxcontext.Context) *ProjectsLocationsServicesMigrationExecutionsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesMigrationExecutionsListCall)Do¶
func (c *ProjectsLocationsServicesMigrationExecutionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudMetastoreV2betaListMigrationExecutionsResponse,error)
Do executes the "metastore.projects.locations.services.migrationExecutions.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudMetastoreV2betaListMigrationExecutionsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsServicesMigrationExecutionsListCall)Fields¶
func (c *ProjectsLocationsServicesMigrationExecutionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesMigrationExecutionsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesMigrationExecutionsListCall)Filter¶
func (c *ProjectsLocationsServicesMigrationExecutionsListCall) Filter(filterstring) *ProjectsLocationsServicesMigrationExecutionsListCall
Filter sets the optional parameter "filter": The filter to apply to listresults.
func (*ProjectsLocationsServicesMigrationExecutionsListCall)Header¶
func (c *ProjectsLocationsServicesMigrationExecutionsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesMigrationExecutionsListCall)IfNoneMatch¶
func (c *ProjectsLocationsServicesMigrationExecutionsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesMigrationExecutionsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsServicesMigrationExecutionsListCall)OrderBy¶
func (c *ProjectsLocationsServicesMigrationExecutionsListCall) OrderBy(orderBystring) *ProjectsLocationsServicesMigrationExecutionsListCall
OrderBy sets the optional parameter "orderBy": Specify the ordering ofresults as described in Sorting Order(https://cloud.google.com/apis/design/design_patterns#sorting_order). If notspecified, the results will be sorted in the default order.
func (*ProjectsLocationsServicesMigrationExecutionsListCall)PageSize¶
func (c *ProjectsLocationsServicesMigrationExecutionsListCall) PageSize(pageSizeint64) *ProjectsLocationsServicesMigrationExecutionsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofmigration executions to return. The response may contain less than themaximum number. If unspecified, no more than 500 migration executions arereturned. The maximum value is 1000; values above 1000 are changed to 1000.
func (*ProjectsLocationsServicesMigrationExecutionsListCall)PageToken¶
func (c *ProjectsLocationsServicesMigrationExecutionsListCall) PageToken(pageTokenstring) *ProjectsLocationsServicesMigrationExecutionsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous DataprocMetastore.ListMigrationExecutions call. Provide thistoken to retrieve the subsequent page.To retrieve the first page, supply anempty page token.When paginating, other parameters provided toDataprocMetastore.ListMigrationExecutions must match the call that providedthe page token.
func (*ProjectsLocationsServicesMigrationExecutionsListCall)Pages¶
func (c *ProjectsLocationsServicesMigrationExecutionsListCall) Pages(ctxcontext.Context, f func(*GoogleCloudMetastoreV2betaListMigrationExecutionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsServicesMigrationExecutionsService¶
type ProjectsLocationsServicesMigrationExecutionsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsServicesMigrationExecutionsService¶
func NewProjectsLocationsServicesMigrationExecutionsService(s *Service) *ProjectsLocationsServicesMigrationExecutionsService
func (*ProjectsLocationsServicesMigrationExecutionsService)Delete¶
func (r *ProjectsLocationsServicesMigrationExecutionsService) Delete(namestring) *ProjectsLocationsServicesMigrationExecutionsDeleteCall
Delete: Deletes a single migration execution.
- name: The relative resource name of the migrationExecution to delete, inthe followingform:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.
func (*ProjectsLocationsServicesMigrationExecutionsService)Get¶
func (r *ProjectsLocationsServicesMigrationExecutionsService) Get(namestring) *ProjectsLocationsServicesMigrationExecutionsGetCall
Get: Gets details of a single migration execution.
- name: The relative resource name of the migration execution to retrieve,in the followingform:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.
func (*ProjectsLocationsServicesMigrationExecutionsService)List¶
func (r *ProjectsLocationsServicesMigrationExecutionsService) List(parentstring) *ProjectsLocationsServicesMigrationExecutionsListCall
List: Lists migration executions on a service.
- parent: The relative resource name of the service whose migrationexecutions to list, in the followingform:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions.
typeProjectsLocationsServicesMoveTableToDatabaseCall¶
type ProjectsLocationsServicesMoveTableToDatabaseCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesMoveTableToDatabaseCall)Context¶
func (c *ProjectsLocationsServicesMoveTableToDatabaseCall) Context(ctxcontext.Context) *ProjectsLocationsServicesMoveTableToDatabaseCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesMoveTableToDatabaseCall)Do¶
func (c *ProjectsLocationsServicesMoveTableToDatabaseCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation,error)
Do executes the "metastore.projects.locations.services.moveTableToDatabase" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesMoveTableToDatabaseCall)Fields¶
func (c *ProjectsLocationsServicesMoveTableToDatabaseCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesMoveTableToDatabaseCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesMoveTableToDatabaseCall)Header¶
func (c *ProjectsLocationsServicesMoveTableToDatabaseCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesPatchCall¶
type ProjectsLocationsServicesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesPatchCall)Context¶
func (c *ProjectsLocationsServicesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsServicesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesPatchCall)Do¶
func (c *ProjectsLocationsServicesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation,error)
Do executes the "metastore.projects.locations.services.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesPatchCall)Fields¶
func (c *ProjectsLocationsServicesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesPatchCall)Header¶
func (c *ProjectsLocationsServicesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesPatchCall)RequestId¶
func (c *ProjectsLocationsServicesPatchCall) RequestId(requestIdstring) *ProjectsLocationsServicesPatchCall
RequestId sets the optional parameter "requestId": A request ID. Specify aunique request ID to allow the server to ignore the request if it hascompleted. The server will ignore subsequent requests that provide aduplicate request ID for at least 60 minutes after the first request.Forexample, if an initial request times out, followed by another request withthe same request ID, the server ignores the second request to prevent thecreation of duplicate commitments.The request ID must be a valid UUID(https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zeroUUID (00000000-0000-0000-0000-000000000000) is not supported.
func (*ProjectsLocationsServicesPatchCall)UpdateMask¶
func (c *ProjectsLocationsServicesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsServicesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A field maskused to specify the fields to be overwritten in the metastore serviceresource by the update. Fields specified in the update_mask are relative tothe resource (not to the full request). A field is overwritten if it is inthe mask.
typeProjectsLocationsServicesQueryMetadataCall¶
type ProjectsLocationsServicesQueryMetadataCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesQueryMetadataCall)Context¶
func (c *ProjectsLocationsServicesQueryMetadataCall) Context(ctxcontext.Context) *ProjectsLocationsServicesQueryMetadataCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesQueryMetadataCall)Do¶
func (c *ProjectsLocationsServicesQueryMetadataCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation,error)
Do executes the "metastore.projects.locations.services.queryMetadata" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesQueryMetadataCall)Fields¶
func (c *ProjectsLocationsServicesQueryMetadataCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesQueryMetadataCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesQueryMetadataCall)Header¶
func (c *ProjectsLocationsServicesQueryMetadataCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesRemoveIamPolicyCall¶
type ProjectsLocationsServicesRemoveIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesRemoveIamPolicyCall)Context¶
func (c *ProjectsLocationsServicesRemoveIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsServicesRemoveIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesRemoveIamPolicyCall)Do¶
func (c *ProjectsLocationsServicesRemoveIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleCloudMetastoreV2betaRemoveIamPolicyResponse,error)
Do executes the "metastore.projects.locations.services.removeIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudMetastoreV2betaRemoveIamPolicyResponse.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesRemoveIamPolicyCall)Fields¶
func (c *ProjectsLocationsServicesRemoveIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesRemoveIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesRemoveIamPolicyCall)Header¶
func (c *ProjectsLocationsServicesRemoveIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesRestoreCall¶
type ProjectsLocationsServicesRestoreCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesRestoreCall)Context¶
func (c *ProjectsLocationsServicesRestoreCall) Context(ctxcontext.Context) *ProjectsLocationsServicesRestoreCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesRestoreCall)Do¶
func (c *ProjectsLocationsServicesRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation,error)
Do executes the "metastore.projects.locations.services.restore" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesRestoreCall)Fields¶
func (c *ProjectsLocationsServicesRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesRestoreCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesRestoreCall)Header¶
func (c *ProjectsLocationsServicesRestoreCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesService¶
type ProjectsLocationsServicesService struct {Backups *ProjectsLocationsServicesBackupsServiceMigrationExecutions *ProjectsLocationsServicesMigrationExecutionsService// contains filtered or unexported fields}funcNewProjectsLocationsServicesService¶
func NewProjectsLocationsServicesService(s *Service) *ProjectsLocationsServicesService
func (*ProjectsLocationsServicesService)AlterLocation¶
func (r *ProjectsLocationsServicesService) AlterLocation(servicestring, googlecloudmetastorev2betaaltermetadataresourcelocationrequest *GoogleCloudMetastoreV2betaAlterMetadataResourceLocationRequest) *ProjectsLocationsServicesAlterLocationCall
AlterLocation: Alter metadata resource location. The metadata resource canbe a database, table, or partition. This functionality only updates theparent directory for the respective metadata resource and does not transferany existing data to the new location.
- service: The relative resource name of the metastore service to mutatemetadata, in the followingformat:projects/{project_id}/locations/{location_id}/services/{service_id}.
func (*ProjectsLocationsServicesService)AlterTableProperties¶
func (r *ProjectsLocationsServicesService) AlterTableProperties(servicestring, googlecloudmetastorev2betaaltertablepropertiesrequest *GoogleCloudMetastoreV2betaAlterTablePropertiesRequest) *ProjectsLocationsServicesAlterTablePropertiesCall
AlterTableProperties: Alter metadata table properties.
- service: The relative resource name of the Dataproc Metastore servicethat's being used to mutate metadata table properties, in the followingformat:projects/{project_id}/locations/{location_id}/services/{service_id}.
func (*ProjectsLocationsServicesService)CancelMigration¶
func (r *ProjectsLocationsServicesService) CancelMigration(servicestring, googlecloudmetastorev2betacancelmigrationrequest *GoogleCloudMetastoreV2betaCancelMigrationRequest) *ProjectsLocationsServicesCancelMigrationCall
CancelMigration: Cancels the ongoing Managed Migration process.
- service: The relative resource name of the metastore service to cancel theongoing migration to, in the followingformat:projects/{project_id}/locations/{location_id}/services/{service_id}.
func (*ProjectsLocationsServicesService)CompleteMigration¶
func (r *ProjectsLocationsServicesService) CompleteMigration(servicestring, googlecloudmetastorev2betacompletemigrationrequest *GoogleCloudMetastoreV2betaCompleteMigrationRequest) *ProjectsLocationsServicesCompleteMigrationCall
CompleteMigration: Completes the managed migration process. The DataprocMetastore service will switch to using its own backend database aftersuccessful migration.
- service: The relative resource name of the metastore service to completethe migration to, in the followingformat:projects/{project_id}/locations/{location_id}/services/{service_id}.
func (*ProjectsLocationsServicesService)Create¶
func (r *ProjectsLocationsServicesService) Create(parentstring, googlecloudmetastorev2betaservice *GoogleCloudMetastoreV2betaService) *ProjectsLocationsServicesCreateCall
Create: Creates a metastore service in a project and location.
- parent: The relative resource name of the location in which to create ametastore service, in the followingform:projects/{project_number}/locations/{location_id}.
func (*ProjectsLocationsServicesService)Delete¶
func (r *ProjectsLocationsServicesService) Delete(namestring) *ProjectsLocationsServicesDeleteCall
Delete: Deletes a single service.
- name: The relative resource name of the metastore service to delete, inthe followingform:projects/{project_number}/locations/{location_id}/services/{service_id}.
func (*ProjectsLocationsServicesService)ExportMetadata¶
func (r *ProjectsLocationsServicesService) ExportMetadata(servicestring, googlecloudmetastorev2betaexportmetadatarequest *GoogleCloudMetastoreV2betaExportMetadataRequest) *ProjectsLocationsServicesExportMetadataCall
ExportMetadata: Exports metadata from a service.
- service: The relative resource name of the metastore service to runexport, in the followingform:projects/{project_id}/locations/{location_id}/services/{service_id}.
func (*ProjectsLocationsServicesService)Get¶
func (r *ProjectsLocationsServicesService) Get(namestring) *ProjectsLocationsServicesGetCall
Get: Gets the details of a single service.
- name: The relative resource name of the metastore service to retrieve, inthe followingform:projects/{project_number}/locations/{location_id}/services/{service_id}.
func (*ProjectsLocationsServicesService)ImportMetadata¶
func (r *ProjectsLocationsServicesService) ImportMetadata(namestring, googlecloudmetastorev2betaimportmetadatarequest *GoogleCloudMetastoreV2betaImportMetadataRequest) *ProjectsLocationsServicesImportMetadataCall
ImportMetadata: Imports Metadata into a Dataproc Metastore service.
- name: Immutable. The relative resource name of the metastore service torun import, in the followingform:projects/{project_id}/locations/{location_id}/services/{service_id}.
func (*ProjectsLocationsServicesService)List¶
func (r *ProjectsLocationsServicesService) List(parentstring) *ProjectsLocationsServicesListCall
List: Lists services in a project and location.
- parent: The relative resource name of the location of metastore servicesto list, in the followingform:projects/{project_number}/locations/{location_id}.
func (*ProjectsLocationsServicesService)MoveTableToDatabase¶
func (r *ProjectsLocationsServicesService) MoveTableToDatabase(servicestring, googlecloudmetastorev2betamovetabletodatabaserequest *GoogleCloudMetastoreV2betaMoveTableToDatabaseRequest) *ProjectsLocationsServicesMoveTableToDatabaseCall
MoveTableToDatabase: Move a table to another database.
- service: The relative resource name of the metastore service to mutatemetadata, in the followingformat:projects/{project_id}/locations/{location_id}/services/{service_id}.
func (*ProjectsLocationsServicesService)Patch¶
func (r *ProjectsLocationsServicesService) Patch(namestring, googlecloudmetastorev2betaservice *GoogleCloudMetastoreV2betaService) *ProjectsLocationsServicesPatchCall
Patch: Updates the parameters of a single service.
- name: Immutable. The relative resource name of the metastore service, inthe followingformat:projects/{project_number}/locations/{location_id}/services/{service_id}.
func (*ProjectsLocationsServicesService)QueryMetadata¶
func (r *ProjectsLocationsServicesService) QueryMetadata(servicestring, googlecloudmetastorev2betaquerymetadatarequest *GoogleCloudMetastoreV2betaQueryMetadataRequest) *ProjectsLocationsServicesQueryMetadataCall
QueryMetadata: Query Dataproc Metastore metadata.
- service: The relative resource name of the metastore service to querymetadata, in the followingformat:projects/{project_id}/locations/{location_id}/services/{service_id}.
func (*ProjectsLocationsServicesService)RemoveIamPolicy¶
func (r *ProjectsLocationsServicesService) RemoveIamPolicy(resourcestring, googlecloudmetastorev2betaremoveiampolicyrequest *GoogleCloudMetastoreV2betaRemoveIamPolicyRequest) *ProjectsLocationsServicesRemoveIamPolicyCall
RemoveIamPolicy: Removes the attached IAM policies for a resource
- resource: The relative resource name of the dataplane resource to removeIAM policy, in the followingform:projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id} orprojects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}/tables/{table_id}.
func (*ProjectsLocationsServicesService)Restore¶
func (r *ProjectsLocationsServicesService) Restore(servicestring, googlecloudmetastorev2betarestoreservicerequest *GoogleCloudMetastoreV2betaRestoreServiceRequest) *ProjectsLocationsServicesRestoreCall
Restore: Restores a service from a backup.
- service: The relative resource name of the metastore service to runrestore, in the followingform:projects/{project_id}/locations/{location_id}/services/{service_id}.
func (*ProjectsLocationsServicesService)StartMigration¶
func (r *ProjectsLocationsServicesService) StartMigration(servicestring, googlecloudmetastorev2betastartmigrationrequest *GoogleCloudMetastoreV2betaStartMigrationRequest) *ProjectsLocationsServicesStartMigrationCall
StartMigration: Starts the Managed Migration process.
- service: The relative resource name of the metastore service to startmigrating to, in the followingformat:projects/{project_id}/locations/{location_id}/services/{service_id}.
typeProjectsLocationsServicesStartMigrationCall¶
type ProjectsLocationsServicesStartMigrationCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesStartMigrationCall)Context¶
func (c *ProjectsLocationsServicesStartMigrationCall) Context(ctxcontext.Context) *ProjectsLocationsServicesStartMigrationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesStartMigrationCall)Do¶
func (c *ProjectsLocationsServicesStartMigrationCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation,error)
Do executes the "metastore.projects.locations.services.startMigration" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServicesStartMigrationCall)Fields¶
func (c *ProjectsLocationsServicesStartMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesStartMigrationCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesStartMigrationCall)Header¶
func (c *ProjectsLocationsServicesStartMigrationCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsService¶
type ProjectsService struct {Locations *ProjectsLocationsService// contains filtered or unexported fields}funcNewProjectsService¶
func NewProjectsService(s *Service) *ProjectsService
typeService¶
type Service struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentProjects *ProjectsService// contains filtered or unexported fields} funcNewdeprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead.To provide a custom HTTP client, use option.WithHTTPClient.If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
funcNewService¶
NewService creates a new Service.