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/v1beta"...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 APIService
- type AlterMetadataResourceLocationRequest
- type AlterMetadataResourceLocationResponse
- type AlterTablePropertiesRequest
- type AuditConfig
- type AuditLogConfig
- type AutoscalingConfig
- type AuxiliaryVersionConfig
- type BackendMetastore
- type Backup
- type Binding
- type CancelMigrationRequest
- type CancelMigrationResponse
- type CancelOperationRequest
- type CdcConfig
- type CloudSQLConnectionConfig
- type CloudSQLMigrationConfig
- type CompleteMigrationRequest
- type CompleteMigrationResponse
- type Consumer
- type CustomRegionConfig
- type CustomRegionMetadata
- type DataCatalogConfig
- type DatabaseDump
- type DataplexConfig
- type Empty
- type EncryptionConfig
- type ErrorDetails
- type ExportMetadataRequest
- type Expr
- type Federation
- type HiveMetastoreConfig
- type HiveMetastoreVersion
- type KerberosConfig
- type Lake
- type LatestBackup
- type LimitConfig
- type ListBackupsResponse
- type ListFederationsResponse
- type ListLocationsResponse
- type ListMetadataImportsResponse
- type ListMigrationExecutionsResponse
- type ListOperationsResponse
- type ListServicesResponse
- type Location
- type LocationMetadata
- type MaintenanceWindow
- type MessageSet
- type MetadataExport
- type MetadataImport
- type MetadataIntegration
- type MetadataManagementActivity
- type MigrationExecution
- type MoveTableToDatabaseRequest
- type MoveTableToDatabaseResponse
- type MultiRegionConfig
- type MultiRegionMetadata
- type NetworkConfig
- type Operation
- type OperationMetadata
- type Policy
- type ProjectsLocationsFederationsCreateCall
- func (c *ProjectsLocationsFederationsCreateCall) Context(ctx context.Context) *ProjectsLocationsFederationsCreateCall
- func (c *ProjectsLocationsFederationsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsFederationsCreateCall) FederationId(federationId string) *ProjectsLocationsFederationsCreateCall
- func (c *ProjectsLocationsFederationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsFederationsCreateCall
- func (c *ProjectsLocationsFederationsCreateCall) Header() http.Header
- func (c *ProjectsLocationsFederationsCreateCall) RequestId(requestId string) *ProjectsLocationsFederationsCreateCall
- type ProjectsLocationsFederationsDeleteCall
- func (c *ProjectsLocationsFederationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsFederationsDeleteCall
- func (c *ProjectsLocationsFederationsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsFederationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFederationsDeleteCall
- func (c *ProjectsLocationsFederationsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsFederationsDeleteCall) RequestId(requestId string) *ProjectsLocationsFederationsDeleteCall
- type ProjectsLocationsFederationsGetCall
- func (c *ProjectsLocationsFederationsGetCall) Context(ctx context.Context) *ProjectsLocationsFederationsGetCall
- func (c *ProjectsLocationsFederationsGetCall) Do(opts ...googleapi.CallOption) (*Federation, error)
- func (c *ProjectsLocationsFederationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFederationsGetCall
- func (c *ProjectsLocationsFederationsGetCall) Header() http.Header
- func (c *ProjectsLocationsFederationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFederationsGetCall
- type ProjectsLocationsFederationsGetIamPolicyCall
- func (c *ProjectsLocationsFederationsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsFederationsGetIamPolicyCall
- func (c *ProjectsLocationsFederationsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsFederationsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsFederationsGetIamPolicyCall
- func (c *ProjectsLocationsFederationsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsFederationsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsFederationsGetIamPolicyCall
- func (c *ProjectsLocationsFederationsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsFederationsGetIamPolicyCall
- type ProjectsLocationsFederationsListCall
- func (c *ProjectsLocationsFederationsListCall) Context(ctx context.Context) *ProjectsLocationsFederationsListCall
- func (c *ProjectsLocationsFederationsListCall) Do(opts ...googleapi.CallOption) (*ListFederationsResponse, error)
- func (c *ProjectsLocationsFederationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsFederationsListCall
- func (c *ProjectsLocationsFederationsListCall) Filter(filter string) *ProjectsLocationsFederationsListCall
- func (c *ProjectsLocationsFederationsListCall) Header() http.Header
- func (c *ProjectsLocationsFederationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsFederationsListCall
- func (c *ProjectsLocationsFederationsListCall) OrderBy(orderBy string) *ProjectsLocationsFederationsListCall
- func (c *ProjectsLocationsFederationsListCall) PageSize(pageSize int64) *ProjectsLocationsFederationsListCall
- func (c *ProjectsLocationsFederationsListCall) PageToken(pageToken string) *ProjectsLocationsFederationsListCall
- func (c *ProjectsLocationsFederationsListCall) Pages(ctx context.Context, f func(*ListFederationsResponse) error) error
- type ProjectsLocationsFederationsPatchCall
- func (c *ProjectsLocationsFederationsPatchCall) Context(ctx context.Context) *ProjectsLocationsFederationsPatchCall
- func (c *ProjectsLocationsFederationsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsFederationsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsFederationsPatchCall
- func (c *ProjectsLocationsFederationsPatchCall) Header() http.Header
- func (c *ProjectsLocationsFederationsPatchCall) RequestId(requestId string) *ProjectsLocationsFederationsPatchCall
- func (c *ProjectsLocationsFederationsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsFederationsPatchCall
- type ProjectsLocationsFederationsService
- func (r *ProjectsLocationsFederationsService) Create(parent string, federation *Federation) *ProjectsLocationsFederationsCreateCall
- func (r *ProjectsLocationsFederationsService) Delete(name string) *ProjectsLocationsFederationsDeleteCall
- func (r *ProjectsLocationsFederationsService) Get(name string) *ProjectsLocationsFederationsGetCall
- func (r *ProjectsLocationsFederationsService) GetIamPolicy(resource string) *ProjectsLocationsFederationsGetIamPolicyCall
- func (r *ProjectsLocationsFederationsService) List(parent string) *ProjectsLocationsFederationsListCall
- func (r *ProjectsLocationsFederationsService) Patch(name string, federation *Federation) *ProjectsLocationsFederationsPatchCall
- func (r *ProjectsLocationsFederationsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsFederationsSetIamPolicyCall
- func (r *ProjectsLocationsFederationsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsFederationsTestIamPermissionsCall
- type ProjectsLocationsFederationsSetIamPolicyCall
- func (c *ProjectsLocationsFederationsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsFederationsSetIamPolicyCall
- func (c *ProjectsLocationsFederationsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsFederationsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsFederationsSetIamPolicyCall
- func (c *ProjectsLocationsFederationsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsFederationsTestIamPermissionsCall
- func (c *ProjectsLocationsFederationsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsFederationsTestIamPermissionsCall
- func (c *ProjectsLocationsFederationsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsFederationsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsFederationsTestIamPermissionsCall
- func (c *ProjectsLocationsFederationsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
- func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Header() http.Header
- func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
- type ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Header() http.Header
- func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
- type ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header
- type ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
- type ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsOperationsService
- func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
- func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall
- func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
- func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsService
- type ProjectsLocationsServicesAlterLocationCall
- func (c *ProjectsLocationsServicesAlterLocationCall) Context(ctx context.Context) *ProjectsLocationsServicesAlterLocationCall
- func (c *ProjectsLocationsServicesAlterLocationCall) Do(opts ...googleapi.CallOption) (*Operation, 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) (*Operation, 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) (*Operation, 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) (*Operation, 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) (*Backup, error)
- func (c *ProjectsLocationsServicesBackupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesBackupsGetCall
- func (c *ProjectsLocationsServicesBackupsGetCall) Header() http.Header
- func (c *ProjectsLocationsServicesBackupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesBackupsGetCall
- type ProjectsLocationsServicesBackupsGetIamPolicyCall
- func (c *ProjectsLocationsServicesBackupsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServicesBackupsGetIamPolicyCall
- func (c *ProjectsLocationsServicesBackupsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsServicesBackupsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesBackupsGetIamPolicyCall
- func (c *ProjectsLocationsServicesBackupsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsServicesBackupsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesBackupsGetIamPolicyCall
- func (c *ProjectsLocationsServicesBackupsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsServicesBackupsGetIamPolicyCall
- type ProjectsLocationsServicesBackupsListCall
- func (c *ProjectsLocationsServicesBackupsListCall) Context(ctx context.Context) *ProjectsLocationsServicesBackupsListCall
- func (c *ProjectsLocationsServicesBackupsListCall) Do(opts ...googleapi.CallOption) (*ListBackupsResponse, 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, f func(*ListBackupsResponse) error) error
- type ProjectsLocationsServicesBackupsService
- func (r *ProjectsLocationsServicesBackupsService) Create(parent string, backup *Backup) *ProjectsLocationsServicesBackupsCreateCall
- func (r *ProjectsLocationsServicesBackupsService) Delete(name string) *ProjectsLocationsServicesBackupsDeleteCall
- func (r *ProjectsLocationsServicesBackupsService) Get(name string) *ProjectsLocationsServicesBackupsGetCall
- func (r *ProjectsLocationsServicesBackupsService) GetIamPolicy(resource string) *ProjectsLocationsServicesBackupsGetIamPolicyCall
- func (r *ProjectsLocationsServicesBackupsService) List(parent string) *ProjectsLocationsServicesBackupsListCall
- func (r *ProjectsLocationsServicesBackupsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesBackupsSetIamPolicyCall
- func (r *ProjectsLocationsServicesBackupsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesBackupsTestIamPermissionsCall
- type ProjectsLocationsServicesBackupsSetIamPolicyCall
- func (c *ProjectsLocationsServicesBackupsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServicesBackupsSetIamPolicyCall
- func (c *ProjectsLocationsServicesBackupsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsServicesBackupsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesBackupsSetIamPolicyCall
- func (c *ProjectsLocationsServicesBackupsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsServicesBackupsTestIamPermissionsCall
- func (c *ProjectsLocationsServicesBackupsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsServicesBackupsTestIamPermissionsCall
- func (c *ProjectsLocationsServicesBackupsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsServicesBackupsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesBackupsTestIamPermissionsCall
- func (c *ProjectsLocationsServicesBackupsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsServicesCancelMigrationCall
- func (c *ProjectsLocationsServicesCancelMigrationCall) Context(ctx context.Context) *ProjectsLocationsServicesCancelMigrationCall
- func (c *ProjectsLocationsServicesCancelMigrationCall) Do(opts ...googleapi.CallOption) (*Operation, 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) (*Operation, 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) (*Operation, 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 ProjectsLocationsServicesDatabasesGetIamPolicyCall
- func (c *ProjectsLocationsServicesDatabasesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServicesDatabasesGetIamPolicyCall
- func (c *ProjectsLocationsServicesDatabasesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsServicesDatabasesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDatabasesGetIamPolicyCall
- func (c *ProjectsLocationsServicesDatabasesGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsServicesDatabasesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesDatabasesGetIamPolicyCall
- func (c *ProjectsLocationsServicesDatabasesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsServicesDatabasesGetIamPolicyCall
- type ProjectsLocationsServicesDatabasesService
- func (r *ProjectsLocationsServicesDatabasesService) GetIamPolicy(resource string) *ProjectsLocationsServicesDatabasesGetIamPolicyCall
- func (r *ProjectsLocationsServicesDatabasesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesDatabasesSetIamPolicyCall
- func (r *ProjectsLocationsServicesDatabasesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesDatabasesTestIamPermissionsCall
- type ProjectsLocationsServicesDatabasesSetIamPolicyCall
- func (c *ProjectsLocationsServicesDatabasesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServicesDatabasesSetIamPolicyCall
- func (c *ProjectsLocationsServicesDatabasesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsServicesDatabasesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDatabasesSetIamPolicyCall
- func (c *ProjectsLocationsServicesDatabasesSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall
- func (c *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall
- func (c *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall
- func (c *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall
- func (c *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall
- type ProjectsLocationsServicesDatabasesTablesService
- func (r *ProjectsLocationsServicesDatabasesTablesService) GetIamPolicy(resource string) *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall
- func (r *ProjectsLocationsServicesDatabasesTablesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall
- func (r *ProjectsLocationsServicesDatabasesTablesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall
- type ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall
- func (c *ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall
- func (c *ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall
- func (c *ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall
- func (c *ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall
- func (c *ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall
- func (c *ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsServicesDatabasesTestIamPermissionsCall
- func (c *ProjectsLocationsServicesDatabasesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsServicesDatabasesTestIamPermissionsCall
- func (c *ProjectsLocationsServicesDatabasesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsServicesDatabasesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDatabasesTestIamPermissionsCall
- func (c *ProjectsLocationsServicesDatabasesTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) Context(ctx context.Context) *ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, 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) (*Operation, 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) (*Service, error)
- func (c *ProjectsLocationsServicesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesGetCall
- func (c *ProjectsLocationsServicesGetCall) Header() http.Header
- func (c *ProjectsLocationsServicesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesGetCall
- type ProjectsLocationsServicesGetIamPolicyCall
- func (c *ProjectsLocationsServicesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServicesGetIamPolicyCall
- func (c *ProjectsLocationsServicesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsServicesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesGetIamPolicyCall
- func (c *ProjectsLocationsServicesGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsServicesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesGetIamPolicyCall
- func (c *ProjectsLocationsServicesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsServicesGetIamPolicyCall
- type ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Context(ctx context.Context) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Do(opts ...googleapi.CallOption) (*ListServicesResponse, 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, f func(*ListServicesResponse) error) error
- type ProjectsLocationsServicesMetadataImportsCreateCall
- func (c *ProjectsLocationsServicesMetadataImportsCreateCall) Context(ctx context.Context) *ProjectsLocationsServicesMetadataImportsCreateCall
- func (c *ProjectsLocationsServicesMetadataImportsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServicesMetadataImportsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesMetadataImportsCreateCall
- func (c *ProjectsLocationsServicesMetadataImportsCreateCall) Header() http.Header
- func (c *ProjectsLocationsServicesMetadataImportsCreateCall) MetadataImportId(metadataImportId string) *ProjectsLocationsServicesMetadataImportsCreateCall
- func (c *ProjectsLocationsServicesMetadataImportsCreateCall) RequestId(requestId string) *ProjectsLocationsServicesMetadataImportsCreateCall
- type ProjectsLocationsServicesMetadataImportsGetCall
- func (c *ProjectsLocationsServicesMetadataImportsGetCall) Context(ctx context.Context) *ProjectsLocationsServicesMetadataImportsGetCall
- func (c *ProjectsLocationsServicesMetadataImportsGetCall) Do(opts ...googleapi.CallOption) (*MetadataImport, error)
- func (c *ProjectsLocationsServicesMetadataImportsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesMetadataImportsGetCall
- func (c *ProjectsLocationsServicesMetadataImportsGetCall) Header() http.Header
- func (c *ProjectsLocationsServicesMetadataImportsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesMetadataImportsGetCall
- type ProjectsLocationsServicesMetadataImportsListCall
- func (c *ProjectsLocationsServicesMetadataImportsListCall) Context(ctx context.Context) *ProjectsLocationsServicesMetadataImportsListCall
- func (c *ProjectsLocationsServicesMetadataImportsListCall) Do(opts ...googleapi.CallOption) (*ListMetadataImportsResponse, error)
- func (c *ProjectsLocationsServicesMetadataImportsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesMetadataImportsListCall
- func (c *ProjectsLocationsServicesMetadataImportsListCall) Filter(filter string) *ProjectsLocationsServicesMetadataImportsListCall
- func (c *ProjectsLocationsServicesMetadataImportsListCall) Header() http.Header
- func (c *ProjectsLocationsServicesMetadataImportsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesMetadataImportsListCall
- func (c *ProjectsLocationsServicesMetadataImportsListCall) OrderBy(orderBy string) *ProjectsLocationsServicesMetadataImportsListCall
- func (c *ProjectsLocationsServicesMetadataImportsListCall) PageSize(pageSize int64) *ProjectsLocationsServicesMetadataImportsListCall
- func (c *ProjectsLocationsServicesMetadataImportsListCall) PageToken(pageToken string) *ProjectsLocationsServicesMetadataImportsListCall
- func (c *ProjectsLocationsServicesMetadataImportsListCall) Pages(ctx context.Context, f func(*ListMetadataImportsResponse) error) error
- type ProjectsLocationsServicesMetadataImportsPatchCall
- func (c *ProjectsLocationsServicesMetadataImportsPatchCall) Context(ctx context.Context) *ProjectsLocationsServicesMetadataImportsPatchCall
- func (c *ProjectsLocationsServicesMetadataImportsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServicesMetadataImportsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesMetadataImportsPatchCall
- func (c *ProjectsLocationsServicesMetadataImportsPatchCall) Header() http.Header
- func (c *ProjectsLocationsServicesMetadataImportsPatchCall) RequestId(requestId string) *ProjectsLocationsServicesMetadataImportsPatchCall
- func (c *ProjectsLocationsServicesMetadataImportsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsServicesMetadataImportsPatchCall
- type ProjectsLocationsServicesMetadataImportsService
- func (r *ProjectsLocationsServicesMetadataImportsService) Create(parent string, metadataimport *MetadataImport) *ProjectsLocationsServicesMetadataImportsCreateCall
- func (r *ProjectsLocationsServicesMetadataImportsService) Get(name string) *ProjectsLocationsServicesMetadataImportsGetCall
- func (r *ProjectsLocationsServicesMetadataImportsService) List(parent string) *ProjectsLocationsServicesMetadataImportsListCall
- func (r *ProjectsLocationsServicesMetadataImportsService) Patch(name string, metadataimport *MetadataImport) *ProjectsLocationsServicesMetadataImportsPatchCall
- type ProjectsLocationsServicesMigrationExecutionsDeleteCall
- func (c *ProjectsLocationsServicesMigrationExecutionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsServicesMigrationExecutionsDeleteCall
- func (c *ProjectsLocationsServicesMigrationExecutionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, 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) (*MigrationExecution, 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) (*ListMigrationExecutionsResponse, 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, f func(*ListMigrationExecutionsResponse) error) 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) (*Operation, 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) (*Operation, 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) (*Operation, 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) (*RemoveIamPolicyResponse, 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) (*Operation, 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, altertablepropertiesrequest *AlterTablePropertiesRequest) *ProjectsLocationsServicesAlterTablePropertiesCall
- func (r *ProjectsLocationsServicesService) CancelMigration(service string, cancelmigrationrequest *CancelMigrationRequest) *ProjectsLocationsServicesCancelMigrationCall
- func (r *ProjectsLocationsServicesService) CompleteMigration(service string, completemigrationrequest *CompleteMigrationRequest) *ProjectsLocationsServicesCompleteMigrationCall
- func (r *ProjectsLocationsServicesService) Create(parent string, service *Service) *ProjectsLocationsServicesCreateCall
- func (r *ProjectsLocationsServicesService) Delete(name string) *ProjectsLocationsServicesDeleteCall
- func (r *ProjectsLocationsServicesService) ExportMetadata(service string, exportmetadatarequest *ExportMetadataRequest) *ProjectsLocationsServicesExportMetadataCall
- func (r *ProjectsLocationsServicesService) Get(name string) *ProjectsLocationsServicesGetCall
- func (r *ProjectsLocationsServicesService) GetIamPolicy(resource string) *ProjectsLocationsServicesGetIamPolicyCall
- func (r *ProjectsLocationsServicesService) List(parent string) *ProjectsLocationsServicesListCall
- func (r *ProjectsLocationsServicesService) MoveTableToDatabase(service string, movetabletodatabaserequest *MoveTableToDatabaseRequest) *ProjectsLocationsServicesMoveTableToDatabaseCall
- func (r *ProjectsLocationsServicesService) Patch(name string, service *Service) *ProjectsLocationsServicesPatchCall
- func (r *ProjectsLocationsServicesService) QueryMetadata(service string, querymetadatarequest *QueryMetadataRequest) *ProjectsLocationsServicesQueryMetadataCall
- func (r *ProjectsLocationsServicesService) RemoveIamPolicy(resource string, removeiampolicyrequest *RemoveIamPolicyRequest) *ProjectsLocationsServicesRemoveIamPolicyCall
- func (r *ProjectsLocationsServicesService) Restore(service string, restoreservicerequest *RestoreServiceRequest) *ProjectsLocationsServicesRestoreCall
- func (r *ProjectsLocationsServicesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesSetIamPolicyCall
- func (r *ProjectsLocationsServicesService) StartMigration(service string, startmigrationrequest *StartMigrationRequest) *ProjectsLocationsServicesStartMigrationCall
- func (r *ProjectsLocationsServicesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesTestIamPermissionsCall
- type ProjectsLocationsServicesSetIamPolicyCall
- func (c *ProjectsLocationsServicesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServicesSetIamPolicyCall
- func (c *ProjectsLocationsServicesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsServicesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesSetIamPolicyCall
- func (c *ProjectsLocationsServicesSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsServicesStartMigrationCall
- func (c *ProjectsLocationsServicesStartMigrationCall) Context(ctx context.Context) *ProjectsLocationsServicesStartMigrationCall
- func (c *ProjectsLocationsServicesStartMigrationCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServicesStartMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesStartMigrationCall
- func (c *ProjectsLocationsServicesStartMigrationCall) Header() http.Header
- type ProjectsLocationsServicesTestIamPermissionsCall
- func (c *ProjectsLocationsServicesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsServicesTestIamPermissionsCall
- func (c *ProjectsLocationsServicesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsServicesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesTestIamPermissionsCall
- func (c *ProjectsLocationsServicesTestIamPermissionsCall) Header() http.Header
- type ProjectsService
- type QueryMetadataRequest
- type QueryMetadataResponse
- type RemoveIamPolicyRequest
- type RemoveIamPolicyResponse
- type Restore
- type RestoreServiceRequest
- type RootCACertificate
- type ScalingConfig
- type ScheduledBackup
- type Secret
- type Service
- type SetIamPolicyRequest
- type StartMigrationRequest
- type Status
- type StatusProto
- type TelemetryConfig
- type TestIamPermissionsRequest
- type TestIamPermissionsResponse
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¶
typeAPIService¶
type APIService struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentProjects *ProjectsService// contains filtered or unexported fields} funcNewdeprecated
func New(client *http.Client) (*APIService,error)
New creates a new APIService. 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¶
func NewService(ctxcontext.Context, opts ...option.ClientOption) (*APIService,error)
NewService creates a new APIService.
typeAlterMetadataResourceLocationRequest¶added inv0.104.0
type AlterMetadataResourceLocationRequest 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:"-"`}AlterMetadataResourceLocationRequest: Request message forDataprocMetastore.AlterMetadataResourceLocation.
func (AlterMetadataResourceLocationRequest)MarshalJSON¶added inv0.104.0
func (sAlterMetadataResourceLocationRequest) MarshalJSON() ([]byte,error)
typeAlterMetadataResourceLocationResponse¶added inv0.108.0
type AlterMetadataResourceLocationResponse struct {}AlterMetadataResourceLocationResponse: Response message forDataprocMetastore.AlterMetadataResourceLocation.
typeAlterTablePropertiesRequest¶added inv0.154.0
type AlterTablePropertiesRequest 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:"-"`}AlterTablePropertiesRequest: Request message forDataprocMetastore.AlterTableProperties.
func (AlterTablePropertiesRequest)MarshalJSON¶added inv0.154.0
func (sAlterTablePropertiesRequest) MarshalJSON() ([]byte,error)
typeAuditConfig¶
type AuditConfig struct {// AuditLogConfigs: The configuration for logging of each type of permission.AuditLogConfigs []*AuditLogConfig `json:"auditLogConfigs,omitempty"`// Service: Specifies a service that will be enabled for audit logging. For// example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a// special value that covers all services.Servicestring `json:"service,omitempty"`// ForceSendFields is a list of field names (e.g. "AuditLogConfigs") 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. "AuditLogConfigs") 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:"-"`}AuditConfig: Specifies the audit configuration for a service. Theconfiguration determines which permission types are logged, and whatidentities, if any, are exempted from logging. An AuditConfig must have oneor more AuditLogConfigs.If there are AuditConfigs for both allServices and aspecific service, the union of the two AuditConfigs is used for thatservice: the log_types specified in each AuditConfig are enabled, and theexempted_members in each AuditLogConfig are exempted.Example Policy withmultiple AuditConfigs: { "audit_configs": [ { "service": "allServices","audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": ["user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type":"ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com","audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type":"DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } Forsampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READlogging. It also exempts jose@example.com from DATA_READ logging, andaliya@example.com from DATA_WRITE logging.
func (AuditConfig)MarshalJSON¶
func (sAuditConfig) MarshalJSON() ([]byte,error)
typeAuditLogConfig¶
type AuditLogConfig struct {// ExemptedMembers: Specifies the identities that do not cause logging for this// type of permission. Follows the same format of Binding.members.ExemptedMembers []string `json:"exemptedMembers,omitempty"`// LogType: The log type that this config enables.//// Possible values:// "LOG_TYPE_UNSPECIFIED" - Default case. Should never be this.// "ADMIN_READ" - Admin reads. Example: CloudIAM getIamPolicy// "DATA_WRITE" - Data writes. Example: CloudSQL Users create// "DATA_READ" - Data reads. Example: CloudSQL Users listLogTypestring `json:"logType,omitempty"`// ForceSendFields is a list of field names (e.g. "ExemptedMembers") 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. "ExemptedMembers") 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:"-"`}AuditLogConfig: Provides the configuration for logging a type ofpermissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ","exempted_members": [ "user:jose@example.com" ] }, { "log_type":"DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, whileexempting jose@example.com from DATA_READ logging.
func (AuditLogConfig)MarshalJSON¶
func (sAuditLogConfig) MarshalJSON() ([]byte,error)
typeAutoscalingConfig¶added inv0.176.0
type AutoscalingConfig 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.AutoscalingFactorfloat64 `json:"autoscalingFactor,omitempty"`// LimitConfig: Optional. The LimitConfig of the service.LimitConfig *LimitConfig `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:"-"`}AutoscalingConfig: Represents the autoscaling configuration of a metastoreservice.
func (AutoscalingConfig)MarshalJSON¶added inv0.176.0
func (sAutoscalingConfig) MarshalJSON() ([]byte,error)
func (*AutoscalingConfig)UnmarshalJSON¶added inv0.176.0
func (s *AutoscalingConfig) UnmarshalJSON(data []byte)error
typeAuxiliaryVersionConfig¶added inv0.66.0
type AuxiliaryVersionConfig struct {// ConfigOverrides: Optional. 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"`// NetworkConfig: Output only. The network configuration contains the endpoint// URI(s) of the auxiliary Hive metastore service.NetworkConfig *NetworkConfig `json:"networkConfig,omitempty"`// Version: Optional. 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:"-"`}AuxiliaryVersionConfig: Configuration information for the auxiliary serviceversions.
func (AuxiliaryVersionConfig)MarshalJSON¶added inv0.66.0
func (sAuxiliaryVersionConfig) MarshalJSON() ([]byte,error)
typeBackendMetastore¶added inv0.78.0
type BackendMetastore struct {// MetastoreType: The type of the backend metastore.//// Possible values:// "METASTORE_TYPE_UNSPECIFIED" - The metastore type is not set.// "DATAPLEX" - The backend metastore is Dataplex.// "BIGQUERY" - The backend metastore is BigQuery.// "DATAPROC_METASTORE" - The backend metastore is Dataproc Metastore.MetastoreTypestring `json:"metastoreType,omitempty"`// Name: The relative resource name of the metastore that is being federated.// The formats of the relative resource names for the currently supported// metastores are listed below: BigQuery projects/{project_id} Dataproc// Metastore projects/{project_id}/locations/{location}/services/{service_id}Namestring `json:"name,omitempty"`// ForceSendFields is a list of field names (e.g. "MetastoreType") 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. "MetastoreType") 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:"-"`}BackendMetastore: Represents a backend metastore for the federation.
func (BackendMetastore)MarshalJSON¶added inv0.78.0
func (sBackendMetastore) MarshalJSON() ([]byte,error)
typeBackup¶added inv0.44.0
type Backup struct {// CreateTime: Output only. The time when the backup was started.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. 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. Identifier. 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 *Service `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:"-"`}Backup: The details of a backup resource.
func (Backup)MarshalJSON¶added inv0.44.0
typeBinding¶
type Binding struct {// Condition: The condition that is associated with this binding.If the// condition evaluates to true, then this binding applies to the current// request.If the condition evaluates to false, then this binding does not// apply to the current request. However, a different role binding might grant// the same role to one or more of the principals in this binding.To learn// which resources support conditions in their IAM policies, see the IAM// documentation// (https://cloud.google.com/iam/help/conditions/resource-policies).Condition *Expr `json:"condition,omitempty"`// Members: Specifies the principals requesting access for a Google Cloud// resource. members can have the following values: allUsers: A special// identifier that represents anyone who is on the internet; with or without a// Google account. allAuthenticatedUsers: A special identifier that represents// anyone who is authenticated with a Google account or a service account. Does// not include identities that come from external identity providers (IdPs)// through identity federation. user:{emailid}: An email address that// represents a specific Google account. For example, alice@example.com .// serviceAccount:{emailid}: An email address that represents a Google service// account. For example, my-other-app@appspot.gserviceaccount.com.// serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An// identifier for a Kubernetes service account// (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts).// For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa].// group:{emailid}: An email address that represents a Google group. For// example, admins@example.com. domain:{domain}: The G Suite domain (primary)// that represents all the users of that domain. For example, google.com or// example.com.// principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subj// ect/{subject_attribute_value}: A single identity in a workforce identity// pool.// principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/g// roup/{group_id}: All workforce identities in a group.// principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/a// ttribute.{attribute_name}/{attribute_value}: All workforce identities with a// specific attribute value.// principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*// : All identities in a workforce identity pool.// principal://iam.googleapis.com/projects/{project_number}/locations/global/wor// kloadIdentityPools/{pool_id}/subject/{subject_attribute_value}: A single// identity in a workload identity pool.// principalSet://iam.googleapis.com/projects/{project_number}/locations/global/// workloadIdentityPools/{pool_id}/group/{group_id}: A workload identity pool// group.// principalSet://iam.googleapis.com/projects/{project_number}/locations/global/// workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}:// All identities in a workload identity pool with a certain attribute.// principalSet://iam.googleapis.com/projects/{project_number}/locations/global/// workloadIdentityPools/{pool_id}/*: All identities in a workload identity// pool. deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique// identifier) representing a user that has been recently deleted. For example,// alice@example.com?uid=123456789012345678901. If the user is recovered, this// value reverts to user:{emailid} and the recovered user retains the role in// the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email// address (plus unique identifier) representing a service account that has// been recently deleted. For example,// my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the// service account is undeleted, this value reverts to serviceAccount:{emailid}// and the undeleted service account retains the role in the binding.// deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique// identifier) representing a Google group that has been recently deleted. For// example, admins@example.com?uid=123456789012345678901. If the group is// recovered, this value reverts to group:{emailid} and the recovered group// retains the role in the binding.// deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_// id}/subject/{subject_attribute_value}: Deleted single identity in a// workforce identity pool. For example,// deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-poo// l-id/subject/my-subject-attribute-value.Members []string `json:"members,omitempty"`// Role: Role that is assigned to the list of members, or principals. For// example, roles/viewer, roles/editor, or roles/owner.For an overview of the// IAM roles and permissions, see the IAM documentation// (https://cloud.google.com/iam/docs/roles-overview). For a list of the// available pre-defined roles, see here// (https://cloud.google.com/iam/docs/understanding-roles).Rolestring `json:"role,omitempty"`// ForceSendFields is a list of field names (e.g. "Condition") 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. "Condition") 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:"-"`}Binding: Associates members, or principals, with a role.
func (Binding)MarshalJSON¶
typeCancelMigrationRequest¶added inv0.173.0
type CancelMigrationRequest struct {}CancelMigrationRequest: Request message forDataprocMetastore.CancelMigration.
typeCancelMigrationResponse¶added inv0.173.0
type CancelMigrationResponse 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:"-"`}CancelMigrationResponse: Response message forDataprocMetastore.CancelMigration.
func (CancelMigrationResponse)MarshalJSON¶added inv0.173.0
func (sCancelMigrationResponse) MarshalJSON() ([]byte,error)
typeCancelOperationRequest¶added inv0.110.0
type CancelOperationRequest struct {}CancelOperationRequest: The request message for Operations.CancelOperation.
typeCdcConfig¶added inv0.173.0
type CdcConfig 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:"-"`}CdcConfig: Configuration information to start the Change Data Capture (CDC)streams from customer database to backend database of Dataproc Metastore.
func (CdcConfig)MarshalJSON¶added inv0.173.0
typeCloudSQLConnectionConfig¶added inv0.173.0
type CloudSQLConnectionConfig 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:"-"`}CloudSQLConnectionConfig: Configuration information to establish customerdatabase connection before the cutover phase of migration
func (CloudSQLConnectionConfig)MarshalJSON¶added inv0.173.0
func (sCloudSQLConnectionConfig) MarshalJSON() ([]byte,error)
typeCloudSQLMigrationConfig¶added inv0.173.0
type CloudSQLMigrationConfig 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 *CdcConfig `json:"cdcConfig,omitempty"`// CloudSqlConnectionConfig: Required. Configuration information to establish// customer database connection before the cutover phase of migrationCloudSqlConnectionConfig *CloudSQLConnectionConfig `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:"-"`}CloudSQLMigrationConfig: Configuration information for migrating fromself-managed hive metastore on Google Cloud using Cloud SQL as the backenddatabase to Dataproc Metastore.
func (CloudSQLMigrationConfig)MarshalJSON¶added inv0.173.0
func (sCloudSQLMigrationConfig) MarshalJSON() ([]byte,error)
typeCompleteMigrationRequest¶added inv0.173.0
type CompleteMigrationRequest struct {}CompleteMigrationRequest: Request message forDataprocMetastore.CompleteMigration.
typeCompleteMigrationResponse¶added inv0.173.0
type CompleteMigrationResponse 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:"-"`}CompleteMigrationResponse: Response message forDataprocMetastore.CompleteMigration.
func (CompleteMigrationResponse)MarshalJSON¶added inv0.173.0
func (sCompleteMigrationResponse) MarshalJSON() ([]byte,error)
typeConsumer¶added inv0.61.0
type Consumer struct {// EndpointLocation: Output only. The location of the endpoint URI. Format:// projects/{project}/locations/{location}.EndpointLocationstring `json:"endpointLocation,omitempty"`// EndpointUri: Output only. The URI of the endpoint used to access the// metastore service.EndpointUristring `json:"endpointUri,omitempty"`// Subnetwork: Immutable. The subnetwork of the customer project from which an// IP address is reserved and used as the Dataproc Metastore service's// endpoint. It is accessible to hosts in the subnet and to all hosts in a// subnet in the same region and same network. There must be at least one IP// address available in the subnet's primary range. The subnet is specified in// the following// form:projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id// }Subnetworkstring `json:"subnetwork,omitempty"`// ForceSendFields is a list of field names (e.g. "EndpointLocation") 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. "EndpointLocation") 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:"-"`}Consumer: Contains information of the customer's network configurations.
func (Consumer)MarshalJSON¶added inv0.61.0
typeCustomRegionConfig¶added inv0.189.0
type CustomRegionConfig struct {// ReadOnlyRegions: Optional. The list of read-only regions where the metastore// service runs in. These regions should be part (or subset) of the// multi-region.ReadOnlyRegions []string `json:"readOnlyRegions,omitempty"`// ReadWriteRegions: Required. The list of read-write regions where the// metastore service runs in. These regions should be part (or subset) of the// multi-region.ReadWriteRegions []string `json:"readWriteRegions,omitempty"`// ForceSendFields is a list of field names (e.g. "ReadOnlyRegions") 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. "ReadOnlyRegions") 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:"-"`}CustomRegionConfig: Custom configuration used to specify regions that themetastore service runs in. Currently only supported in the us multi-region.
func (CustomRegionConfig)MarshalJSON¶added inv0.189.0
func (sCustomRegionConfig) MarshalJSON() ([]byte,error)
typeCustomRegionMetadata¶added inv0.182.0
type CustomRegionMetadata 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:"-"`}CustomRegionMetadata: Metadata about a custom region. This is only populatedif the region is a custom region. For single/multi regions, it will beempty.
func (CustomRegionMetadata)MarshalJSON¶added inv0.182.0
func (sCustomRegionMetadata) MarshalJSON() ([]byte,error)
typeDataCatalogConfig¶added inv0.42.0
type DataCatalogConfig 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:"-"`}DataCatalogConfig: Specifies how metastore metadata should be integratedwith the Data Catalog service.
func (DataCatalogConfig)MarshalJSON¶added inv0.42.0
func (sDataCatalogConfig) MarshalJSON() ([]byte,error)
typeDatabaseDump¶
type DatabaseDump struct {// DatabaseType: The type of the database.//// Possible values:// "DATABASE_TYPE_UNSPECIFIED" - The type of the source database is unknown.// "MYSQL" - The type of the source database is MySQL.DatabaseTypestring `json:"databaseType,omitempty"`// GcsUri: Optional. 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"`// SourceDatabase: Optional. The name of the source database.SourceDatabasestring `json:"sourceDatabase,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. "DatabaseType") 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. "DatabaseType") 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:"-"`}DatabaseDump: A specification of the location of and metadata about adatabase dump from a relational database management system.
func (DatabaseDump)MarshalJSON¶
func (sDatabaseDump) MarshalJSON() ([]byte,error)
typeDataplexConfig¶added inv0.55.0
type DataplexConfig struct {// LakeResources: Optional. A reference to the Lake resources that this// metastore service is attached to. The key is the lake resource name.// Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.LakeResources map[string]Lake `json:"lakeResources,omitempty"`// ForceSendFields is a list of field names (e.g. "LakeResources") 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. "LakeResources") 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:"-"`}DataplexConfig: Specifies how metastore metadata should be integrated withthe Dataplex service.
func (DataplexConfig)MarshalJSON¶added inv0.55.0
func (sDataplexConfig) MarshalJSON() ([]byte,error)
typeEmpty¶
type Empty struct {// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`}Empty: A generic empty message that you can re-use to avoid definingduplicated empty messages in your APIs. A typical example is to use it asthe request or the response type of an API method. For instance: service Foo{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
typeEncryptionConfig¶added inv0.51.0
type EncryptionConfig struct {// KmsKey: Optional. The fully qualified customer provided Cloud KMS key name// to use for customer data encryption, in the following// format:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_i// d}/cryptoKeys/{crypto_key_id}.KmsKeystring `json:"kmsKey,omitempty"`// KmsKeys: Optional. The list of fully qualified customer provided Cloud KMS// key names for the multi-regional service. Each key must be in the following// format:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_i// d}/cryptoKeys/{crypto_key_id}.KmsKeys []string `json:"kmsKeys,omitempty"`// ForceSendFields is a list of field names (e.g. "KmsKey") 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. "KmsKey") 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:"-"`}EncryptionConfig: Encryption settings for the service.
func (EncryptionConfig)MarshalJSON¶added inv0.51.0
func (sEncryptionConfig) MarshalJSON() ([]byte,error)
typeErrorDetails¶added inv0.122.0
type ErrorDetails 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:"-"`}ErrorDetails: Error details in public error message forDataprocMetastore.QueryMetadata.
func (ErrorDetails)MarshalJSON¶added inv0.122.0
func (sErrorDetails) MarshalJSON() ([]byte,error)
typeExportMetadataRequest¶
type ExportMetadataRequest 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:"-"`}ExportMetadataRequest: Request message for DataprocMetastore.ExportMetadata.
func (ExportMetadataRequest)MarshalJSON¶
func (sExportMetadataRequest) MarshalJSON() ([]byte,error)
typeExpr¶
type Expr struct {// Description: Optional. Description of the expression. This is a longer text// which describes the expression, e.g. when hovered over it in a UI.Descriptionstring `json:"description,omitempty"`// Expression: Textual representation of an expression in Common Expression// Language syntax.Expressionstring `json:"expression,omitempty"`// Location: Optional. String indicating the location of the expression for// error reporting, e.g. a file name and a position in the file.Locationstring `json:"location,omitempty"`// Title: Optional. Title for the expression, i.e. a short string describing// its purpose. This can be used e.g. in UIs which allow to enter the// expression.Titlestring `json:"title,omitempty"`// ForceSendFields is a list of field names (e.g. "Description") 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. "Description") 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:"-"`}Expr: Represents a textual expression in the Common Expression Language(CEL) syntax. CEL is a C-like expression language. The syntax and semanticsof CEL are documented athttps://github.com/google/cel-spec.Example(Comparison): title: "Summary size limit" description: "Determines if asummary is less than 100 chars" expression: "document.summary.size() < 100"Example (Equality): title: "Requestor is owner" description: "Determines ifrequestor is the document owner" expression: "document.owner ==request.auth.claims.email" Example (Logic): title: "Public documents"description: "Determine whether the document should be publicly visible"expression: "document.type != 'private' && document.type != 'internal'"Example (Data Manipulation): title: "Notification string" description:"Create a notification string with a timestamp." expression: "'New messagereceived at ' + string(document.create_time)" The exact variables andfunctions that may be referenced within an expression are determined by theservice that evaluates it. See the service documentation for additionalinformation.
func (Expr)MarshalJSON¶
typeFederation¶added inv0.78.0
type Federation struct {// BackendMetastores: A map from BackendMetastore rank to BackendMetastores// from which the federation service serves metadata at query time. The map key// represents the order in which BackendMetastores should be evaluated to// resolve database names at query time and should be greater than or equal to// zero. A BackendMetastore with a lower number will be evaluated before a// BackendMetastore with a higher number.BackendMetastores map[string]BackendMetastore `json:"backendMetastores,omitempty"`// CreateTime: Output only. The time when the metastore federation was created.CreateTimestring `json:"createTime,omitempty"`// EndpointUri: Output only. The federation endpoint.EndpointUristring `json:"endpointUri,omitempty"`// Labels: User-defined labels for the metastore federation.Labels map[string]string `json:"labels,omitempty"`// Name: Immutable. The relative resource name of the federation, of the form:// projects/{project_number}/locations/{location_id}/federations/{federation_id}// `.Namestring `json:"name,omitempty"`// State: Output only. The current state of the federation.//// Possible values:// "STATE_UNSPECIFIED" - The state of the metastore federation is unknown.// "CREATING" - The metastore federation is in the process of being created.// "ACTIVE" - The metastore federation is running and ready to serve queries.// "UPDATING" - The metastore federation is being updated. It remains usable// but cannot accept additional update requests or be deleted at this time.// "DELETING" - The metastore federation is undergoing deletion. It cannot be// used.// "ERROR" - The metastore federation has encountered an error and cannot be// used. The metastore federation should be deleted.Statestring `json:"state,omitempty"`// StateMessage: Output only. Additional information about the current state of// the metastore federation, if available.StateMessagestring `json:"stateMessage,omitempty"`// Tags: Optional. Input only. Immutable. Tag keys/values directly bound to// this resource. For example: "123/environment": "production",// "123/costCenter": "marketing"Tags map[string]string `json:"tags,omitempty"`// Uid: Output only. The globally unique resource identifier of the metastore// federation.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. The time when the metastore federation was last// updated.UpdateTimestring `json:"updateTime,omitempty"`// Version: Immutable. The Apache Hive metastore version of the federation. All// backend metastore versions must be compatible with the federation version.Versionstring `json:"version,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "BackendMetastores") 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. "BackendMetastores") 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:"-"`}Federation: Represents a federation of multiple backend metastores.
func (Federation)MarshalJSON¶added inv0.78.0
func (sFederation) MarshalJSON() ([]byte,error)
typeHiveMetastoreConfig¶
type HiveMetastoreConfig 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]AuxiliaryVersionConfig `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 THRIFT.//// 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"`// KerberosConfig: Optional. Information used to configure the Hive metastore// service as a service principal in a Kerberos realm. To disable Kerberos, use// the UpdateService method and specify this field's path// (hive_metastore_config.kerberos_config) in the request's update_mask while// omitting this field from the request's service.KerberosConfig *KerberosConfig `json:"kerberosConfig,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:"-"`}HiveMetastoreConfig: Specifies configuration information specific to runningHive metastore software as the metastore service.
func (HiveMetastoreConfig)MarshalJSON¶
func (sHiveMetastoreConfig) MarshalJSON() ([]byte,error)
typeHiveMetastoreVersion¶
type HiveMetastoreVersion 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:"-"`}HiveMetastoreVersion: A specification of a supported version of the HiveMetastore software.
func (HiveMetastoreVersion)MarshalJSON¶
func (sHiveMetastoreVersion) MarshalJSON() ([]byte,error)
typeKerberosConfig¶
type KerberosConfig struct {// Keytab: Optional. A Kerberos keytab file that can be used to authenticate a// service principal with a Kerberos Key Distribution Center (KDC).Keytab *Secret `json:"keytab,omitempty"`// Krb5ConfigGcsUri: Optional. A Cloud Storage URI that specifies the path to a// krb5.conf file. It is of the form gs://{bucket_name}/path/to/krb5.conf,// although the file does not need to be named krb5.conf explicitly.Krb5ConfigGcsUristring `json:"krb5ConfigGcsUri,omitempty"`// Principal: Optional. A Kerberos principal that exists in the both the keytab// the KDC to authenticate as. A typical principal is of the form// primary/instance@REALM, but there is no exact format.Principalstring `json:"principal,omitempty"`// ForceSendFields is a list of field names (e.g. "Keytab") 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. "Keytab") 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:"-"`}KerberosConfig: Configuration information for a Kerberos principal.
func (KerberosConfig)MarshalJSON¶
func (sKerberosConfig) MarshalJSON() ([]byte,error)
typeLake¶added inv0.55.0
type Lake struct {// Name: The Lake resource name. Example:// projects/{project_number}/locations/{location_id}/lakes/{lake_id}Namestring `json:"name,omitempty"`// ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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:"-"`}Lake: Represents a Lake resource
func (Lake)MarshalJSON¶added inv0.55.0
typeLatestBackup¶added inv0.169.0
type LatestBackup 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:"-"`}LatestBackup: The details of the latest scheduled backup.
func (LatestBackup)MarshalJSON¶added inv0.169.0
func (sLatestBackup) MarshalJSON() ([]byte,error)
typeLimitConfig¶added inv0.176.0
type LimitConfig struct {// MaxScalingFactor: Optional. The highest scaling factor that the service// should be autoscaled to.MaxScalingFactorfloat64 `json:"maxScalingFactor,omitempty"`// MinScalingFactor: Optional. The lowest scaling factor that the service// should be autoscaled to.MinScalingFactorfloat64 `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:"-"`}LimitConfig: Represents the autoscaling limit configuration of a metastoreservice.
func (LimitConfig)MarshalJSON¶added inv0.176.0
func (sLimitConfig) MarshalJSON() ([]byte,error)
func (*LimitConfig)UnmarshalJSON¶added inv0.176.0
func (s *LimitConfig) UnmarshalJSON(data []byte)error
typeListBackupsResponse¶added inv0.44.0
type ListBackupsResponse struct {// Backups: The backups of the specified service.Backups []*Backup `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:"-"`}ListBackupsResponse: Response message for DataprocMetastore.ListBackups.
func (ListBackupsResponse)MarshalJSON¶added inv0.44.0
func (sListBackupsResponse) MarshalJSON() ([]byte,error)
typeListFederationsResponse¶added inv0.78.0
type ListFederationsResponse struct {// Federations: The services in the specified location.Federations []*Federation `json:"federations,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. "Federations") 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. "Federations") 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:"-"`}ListFederationsResponse: Response message for ListFederations
func (ListFederationsResponse)MarshalJSON¶added inv0.78.0
func (sListFederationsResponse) MarshalJSON() ([]byte,error)
typeListLocationsResponse¶
type ListLocationsResponse struct {// Locations: A list of locations that matches the specified filter in the// request.Locations []*Location `json:"locations,omitempty"`// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Locations") 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. "Locations") 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:"-"`}ListLocationsResponse: The response message for Locations.ListLocations.
func (ListLocationsResponse)MarshalJSON¶
func (sListLocationsResponse) MarshalJSON() ([]byte,error)
typeListMetadataImportsResponse¶
type ListMetadataImportsResponse struct {// MetadataImports: The imports in the specified service.MetadataImports []*MetadataImport `json:"metadataImports,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. "MetadataImports") 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. "MetadataImports") 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:"-"`}ListMetadataImportsResponse: Response message forDataprocMetastore.ListMetadataImports.
func (ListMetadataImportsResponse)MarshalJSON¶
func (sListMetadataImportsResponse) MarshalJSON() ([]byte,error)
typeListMigrationExecutionsResponse¶added inv0.173.0
type ListMigrationExecutionsResponse struct {// MigrationExecutions: The migration executions on the specified service.MigrationExecutions []*MigrationExecution `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:"-"`}ListMigrationExecutionsResponse: Response message forDataprocMetastore.ListMigrationExecutions.
func (ListMigrationExecutionsResponse)MarshalJSON¶added inv0.173.0
func (sListMigrationExecutionsResponse) MarshalJSON() ([]byte,error)
typeListOperationsResponse¶
type ListOperationsResponse struct {// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Operations: A list of operations that matches the specified filter in the// request.Operations []*Operation `json:"operations,omitempty"`// Unreachable: Unordered list. Unreachable resources. Populated when the// request sets ListOperationsRequest.return_partial_success and reads across// collections e.g. when attempting to list all resources across all supported// locations.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:"-"`}ListOperationsResponse: The response message for Operations.ListOperations.
func (ListOperationsResponse)MarshalJSON¶
func (sListOperationsResponse) MarshalJSON() ([]byte,error)
typeListServicesResponse¶
type ListServicesResponse 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 []*Service `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:"-"`}ListServicesResponse: Response message for DataprocMetastore.ListServices.
func (ListServicesResponse)MarshalJSON¶
func (sListServicesResponse) MarshalJSON() ([]byte,error)
typeLocation¶
type Location struct {// DisplayName: The friendly name for this location, typically a nearby city// name. For example, "Tokyo".DisplayNamestring `json:"displayName,omitempty"`// Labels: Cross-service attributes for the location. For example// {"cloud.googleapis.com/region": "us-east1"}Labels map[string]string `json:"labels,omitempty"`// LocationId: The canonical id for this location. For example: "us-east1".LocationIdstring `json:"locationId,omitempty"`// Metadata: Service-specific metadata. For example the available capacity at// the given location.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Resource name for the location, which may vary between// implementations. For example: "projects/example-project/locations/us-east1"Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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:"-"`}Location: A resource that represents a Google Cloud location.
func (Location)MarshalJSON¶
typeLocationMetadata¶
type LocationMetadata struct {// CustomRegionMetadata: Possible configurations supported if the current// region is a custom region.CustomRegionMetadata []*CustomRegionMetadata `json:"customRegionMetadata,omitempty"`// MultiRegionMetadata: The multi-region metadata if the current region is a// multi-region.MultiRegionMetadata *MultiRegionMetadata `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 []*HiveMetastoreVersion `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:"-"`}LocationMetadata: Metadata about the service in a location.
func (LocationMetadata)MarshalJSON¶
func (sLocationMetadata) MarshalJSON() ([]byte,error)
typeMaintenanceWindow¶
type MaintenanceWindow struct {// DayOfWeek: Optional. The day of week, when the window starts.//// Possible values:// "DAY_OF_WEEK_UNSPECIFIED" - The day of the week is unspecified.// "MONDAY" - Monday// "TUESDAY" - Tuesday// "WEDNESDAY" - Wednesday// "THURSDAY" - Thursday// "FRIDAY" - Friday// "SATURDAY" - Saturday// "SUNDAY" - SundayDayOfWeekstring `json:"dayOfWeek,omitempty"`// HourOfDay: Optional. The hour of day (0-23) when the window starts.HourOfDayint64 `json:"hourOfDay,omitempty"`// ForceSendFields is a list of field names (e.g. "DayOfWeek") 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. "DayOfWeek") 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:"-"`}MaintenanceWindow: Maintenance window. This specifies when DataprocMetastore may perform system maintenance operation to the service.
func (MaintenanceWindow)MarshalJSON¶
func (sMaintenanceWindow) MarshalJSON() ([]byte,error)
typeMessageSet¶added inv0.234.0
type MessageSet struct {}MessageSet: This is proto2's version of MessageSet.DEPRECATED: DO NOT USEFOR NEW FIELDS.If you are using editions or proto2, please make your ownextendable messages for your use case. If you are using proto3, please useAny instead.MessageSet was the implementation of extensions for proto1. Whenproto2 was introduced, extensions were implemented as a first-class feature.This schema for MessageSet was meant to be a "bridge" solution to migrateMessageSet-bearing messages from proto1 to proto2.This schema has beenopen-sourced only to facilitate the migration of Google products withMessageSet-bearing messages to open-source environments.
typeMetadataExport¶
type MetadataExport struct {// DatabaseDumpType: Output only. The type of the database dump.//// 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"`// DestinationGcsUri: Output only. A Cloud Storage URI of a folder that// metadata are exported to, in the form of gs:////, where is automatically// generated.DestinationGcsUristring `json:"destinationGcsUri,omitempty"`// EndTime: Output only. The time when the export ended.EndTimestring `json:"endTime,omitempty"`// StartTime: Output only. The time when the export started.StartTimestring `json:"startTime,omitempty"`// State: Output only. The current state of the export.//// Possible values:// "STATE_UNSPECIFIED" - The state of the metadata export is unknown.// "RUNNING" - The metadata export is running.// "SUCCEEDED" - The metadata export completed successfully.// "FAILED" - The metadata export failed.// "CANCELLED" - The metadata export is cancelled.Statestring `json:"state,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:"-"`}MetadataExport: The details of a metadata export operation.
func (MetadataExport)MarshalJSON¶
func (sMetadataExport) MarshalJSON() ([]byte,error)
typeMetadataImport¶
type MetadataImport struct {// CreateTime: Output only. The time when the metadata import was started.CreateTimestring `json:"createTime,omitempty"`// DatabaseDump: Immutable. A database dump from a pre-existing metastore's// database.DatabaseDump *DatabaseDump `json:"databaseDump,omitempty"`// Description: Optional. The description of the metadata import.Descriptionstring `json:"description,omitempty"`// EndTime: Output only. The time when the metadata import finished.EndTimestring `json:"endTime,omitempty"`// Name: Immutable. Identifier. The relative resource name of the metadata// import, of the// form:projects/{project_number}/locations/{location_id}/services/{service_id}/// metadataImports/{metadata_import_id}.Namestring `json:"name,omitempty"`// State: Output only. The current state of the metadata import.//// Possible values:// "STATE_UNSPECIFIED" - The state of the metadata import is unknown.// "RUNNING" - The metadata import is running.// "SUCCEEDED" - The metadata import completed successfully.// "UPDATING" - The metadata import is being updated.// "FAILED" - The metadata import failed, and attempted metadata changes were// rolled back.Statestring `json:"state,omitempty"`// UpdateTime: Output only. The time when the metadata import was last updated.UpdateTimestring `json:"updateTime,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:"-"`}MetadataImport: A metastore resource that imports metadata.
func (MetadataImport)MarshalJSON¶
func (sMetadataImport) MarshalJSON() ([]byte,error)
typeMetadataIntegration¶
type MetadataIntegration struct {// DataCatalogConfig: Optional. The integration config for the Data Catalog// service.DataCatalogConfig *DataCatalogConfig `json:"dataCatalogConfig,omitempty"`// DataplexConfig: Optional. The integration config for the Dataplex service.DataplexConfig *DataplexConfig `json:"dataplexConfig,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:"-"`}MetadataIntegration: Specifies how metastore metadata should be integratedwith external services.
func (MetadataIntegration)MarshalJSON¶added inv0.42.0
func (sMetadataIntegration) MarshalJSON() ([]byte,error)
typeMetadataManagementActivity¶
type MetadataManagementActivity struct {// MetadataExports: Output only. The latest metadata exports of the metastore// service.MetadataExports []*MetadataExport `json:"metadataExports,omitempty"`// Restores: Output only. The latest restores of the metastore service.Restores []*Restore `json:"restores,omitempty"`// ForceSendFields is a list of field names (e.g. "MetadataExports") 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. "MetadataExports") 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:"-"`}MetadataManagementActivity: The metadata management activities of themetastore service.
func (MetadataManagementActivity)MarshalJSON¶
func (sMetadataManagementActivity) MarshalJSON() ([]byte,error)
typeMigrationExecution¶added inv0.173.0
type MigrationExecution 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 *CloudSQLMigrationConfig `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:"-"`}MigrationExecution: The details of a migration execution resource.
func (MigrationExecution)MarshalJSON¶added inv0.173.0
func (sMigrationExecution) MarshalJSON() ([]byte,error)
typeMoveTableToDatabaseRequest¶added inv0.104.0
type MoveTableToDatabaseRequest 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:"-"`}MoveTableToDatabaseRequest: Request message forDataprocMetastore.MoveTableToDatabase.
func (MoveTableToDatabaseRequest)MarshalJSON¶added inv0.104.0
func (sMoveTableToDatabaseRequest) MarshalJSON() ([]byte,error)
typeMoveTableToDatabaseResponse¶added inv0.108.0
type MoveTableToDatabaseResponse struct {}MoveTableToDatabaseResponse: Response message forDataprocMetastore.MoveTableToDatabase.
typeMultiRegionConfig¶added inv0.189.0
type MultiRegionConfig struct {// Certificates: Output only. The list of root CA certificates that a gRPC// client uses to connect to a multi-regional Dataproc Metastore service.Certificates []*RootCACertificate `json:"certificates,omitempty"`CustomRegionConfig *CustomRegionConfig `json:"customRegionConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "Certificates") 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. "Certificates") 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:"-"`}MultiRegionConfig: The multi-region config for the Dataproc Metastoreservice.
func (MultiRegionConfig)MarshalJSON¶added inv0.189.0
func (sMultiRegionConfig) MarshalJSON() ([]byte,error)
typeMultiRegionMetadata¶added inv0.146.0
type MultiRegionMetadata 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:"-"`}MultiRegionMetadata: The metadata for the multi-region that includes theconstituent regions. The metadata is only populated if the region ismulti-region. For single region or custom dual region, it will be empty.
func (MultiRegionMetadata)MarshalJSON¶added inv0.146.0
func (sMultiRegionMetadata) MarshalJSON() ([]byte,error)
typeNetworkConfig¶added inv0.61.0
type NetworkConfig struct {// Consumers: Immutable. The consumer-side network configuration for the// Dataproc Metastore instance.Consumers []*Consumer `json:"consumers,omitempty"`// CustomRoutesEnabled: Optional. Enables custom routes to be imported and// exported for the Dataproc Metastore service's peered VPC network.CustomRoutesEnabledbool `json:"customRoutesEnabled,omitempty"`// ForceSendFields is a list of field names (e.g. "Consumers") 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. "Consumers") 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:"-"`}NetworkConfig: Network configuration for the Dataproc Metastore service.
func (NetworkConfig)MarshalJSON¶added inv0.61.0
func (sNetworkConfig) MarshalJSON() ([]byte,error)
typeOperation¶
type Operation 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 *Status `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:"-"`}Operation: This resource represents a long-running operation that is theresult of a network API call.
func (Operation)MarshalJSON¶
typeOperationMetadata¶added inv0.44.0
type OperationMetadata 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:"-"`}OperationMetadata: Represents the metadata of a long-running operation.
func (OperationMetadata)MarshalJSON¶added inv0.44.0
func (sOperationMetadata) MarshalJSON() ([]byte,error)
typePolicy¶
type Policy struct {// AuditConfigs: Specifies cloud audit logging configuration for this policy.AuditConfigs []*AuditConfig `json:"auditConfigs,omitempty"`// Bindings: Associates a list of members, or principals, with a role.// Optionally, may specify a condition that determines how and when the// bindings are applied. Each of the bindings must contain at least one// principal.The bindings in a Policy can refer to up to 1,500 principals; up// to 250 of these principals can be Google groups. Each occurrence of a// principal counts towards these limits. For example, if the bindings grant 50// different roles to user:alice@example.com, and not to any other principal,// then you can add another 1,450 principals to the bindings in the Policy.Bindings []*Binding `json:"bindings,omitempty"`// Etag: etag is used for optimistic concurrency control as a way to help// prevent simultaneous updates of a policy from overwriting each other. It is// strongly suggested that systems make use of the etag in the// read-modify-write cycle to perform policy updates in order to avoid race// conditions: An etag is returned in the response to getIamPolicy, and systems// are expected to put that etag in the request to setIamPolicy to ensure that// their change will be applied to the same version of the policy.Important: If// you use IAM Conditions, you must include the etag field whenever you call// setIamPolicy. If you omit this field, then IAM allows you to overwrite a// version 3 policy with a version 1 policy, and all of the conditions in the// version 3 policy are lost.Etagstring `json:"etag,omitempty"`// Version: Specifies the format of the policy.Valid values are 0, 1, and 3.// Requests that specify an invalid value are rejected.Any operation that// affects conditional role bindings must specify version 3. This requirement// applies to the following operations: Getting a policy that includes a// conditional role binding Adding a conditional role binding to a policy// Changing a conditional role binding in a policy Removing any role binding,// with or without a condition, from a policy that includes// conditionsImportant: If you use IAM Conditions, you must include the etag// field whenever you call setIamPolicy. If you omit this field, then IAM// allows you to overwrite a version 3 policy with a version 1 policy, and all// of the conditions in the version 3 policy are lost.If a policy does not// include any conditions, operations on that policy may specify any valid// version or leave the field unset.To learn which resources support conditions// in their IAM policies, see the IAM documentation// (https://cloud.google.com/iam/help/conditions/resource-policies).Versionint64 `json:"version,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AuditConfigs") 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. "AuditConfigs") 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:"-"`}Policy: An Identity and Access Management (IAM) policy, which specifiesaccess controls for Google Cloud resources.A Policy is a collection ofbindings. A binding binds one or more members, or principals, to a singlerole. Principals can be user accounts, service accounts, Google groups, anddomains (such as G Suite). A role is a named list of permissions; each rolecan be an IAM predefined role or a user-created custom role.For some typesof Google Cloud resources, a binding can also specify a condition, which isa logical expression that allows access to a resource only if the expressionevaluates to true. A condition can add constraints based on attributes ofthe request, the resource, or both. To learn which resources supportconditions in their IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).JSONexample: { "bindings": [ { "role":"roles/resourcemanager.organizationAdmin", "members": ["user:mike@example.com", "group:admins@example.com", "domain:google.com","serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role":"roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com" ], "condition": { "title": "expirable access","description": "Does not grant access after Sep 2020", "expression":"request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag":"BwWWja0YfJA=", "version": 3 } YAML example: bindings: - members: -user:mike@example.com - group:admins@example.com - domain:google.com -serviceAccount:my-project-id@appspot.gserviceaccount.com role:roles/resourcemanager.organizationAdmin - members: - user:eve@example.comrole: roles/resourcemanager.organizationViewer condition: title: expirableaccess description: Does not grant access after Sep 2020 expression:request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA=version: 3 For a description of IAM and its features, see the IAMdocumentation (https://cloud.google.com/iam/docs/).
func (Policy)MarshalJSON¶
typeProjectsLocationsFederationsCreateCall¶added inv0.78.0
type ProjectsLocationsFederationsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsFederationsCreateCall)Context¶added inv0.78.0
func (c *ProjectsLocationsFederationsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsFederationsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsFederationsCreateCall)Do¶added inv0.78.0
func (c *ProjectsLocationsFederationsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.federations.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsFederationsCreateCall)FederationId¶added inv0.78.0
func (c *ProjectsLocationsFederationsCreateCall) FederationId(federationIdstring) *ProjectsLocationsFederationsCreateCall
FederationId sets the optional parameter "federationId": Required. The ID ofthe metastore federation, which is used as the final component of themetastore federation's name.This value must be between 2 and 63 characterslong inclusive, begin with a letter, end with a letter or number, andconsist of alpha-numeric ASCII characters or hyphens.
func (*ProjectsLocationsFederationsCreateCall)Fields¶added inv0.78.0
func (c *ProjectsLocationsFederationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsFederationsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsFederationsCreateCall)Header¶added inv0.78.0
func (c *ProjectsLocationsFederationsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsFederationsCreateCall)RequestId¶added inv0.78.0
func (c *ProjectsLocationsFederationsCreateCall) RequestId(requestIdstring) *ProjectsLocationsFederationsCreateCall
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.
typeProjectsLocationsFederationsDeleteCall¶added inv0.78.0
type ProjectsLocationsFederationsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsFederationsDeleteCall)Context¶added inv0.78.0
func (c *ProjectsLocationsFederationsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsFederationsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsFederationsDeleteCall)Do¶added inv0.78.0
func (c *ProjectsLocationsFederationsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.federations.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsFederationsDeleteCall)Fields¶added inv0.78.0
func (c *ProjectsLocationsFederationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFederationsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsFederationsDeleteCall)Header¶added inv0.78.0
func (c *ProjectsLocationsFederationsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsFederationsDeleteCall)RequestId¶added inv0.78.0
func (c *ProjectsLocationsFederationsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsFederationsDeleteCall
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.
typeProjectsLocationsFederationsGetCall¶added inv0.78.0
type ProjectsLocationsFederationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsFederationsGetCall)Context¶added inv0.78.0
func (c *ProjectsLocationsFederationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsFederationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsFederationsGetCall)Do¶added inv0.78.0
func (c *ProjectsLocationsFederationsGetCall) Do(opts ...googleapi.CallOption) (*Federation,error)
Do executes the "metastore.projects.locations.federations.get" call.Any non-2xx status code is an error. Response headers are in either*Federation.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 (*ProjectsLocationsFederationsGetCall)Fields¶added inv0.78.0
func (c *ProjectsLocationsFederationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFederationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsFederationsGetCall)Header¶added inv0.78.0
func (c *ProjectsLocationsFederationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsFederationsGetCall)IfNoneMatch¶added inv0.78.0
func (c *ProjectsLocationsFederationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsFederationsGetCall
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.
typeProjectsLocationsFederationsGetIamPolicyCall¶added inv0.78.0
type ProjectsLocationsFederationsGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsFederationsGetIamPolicyCall)Context¶added inv0.78.0
func (c *ProjectsLocationsFederationsGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsFederationsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsFederationsGetIamPolicyCall)Do¶added inv0.78.0
func (c *ProjectsLocationsFederationsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "metastore.projects.locations.federations.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsFederationsGetIamPolicyCall)Fields¶added inv0.78.0
func (c *ProjectsLocationsFederationsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsFederationsGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsFederationsGetIamPolicyCall)Header¶added inv0.78.0
func (c *ProjectsLocationsFederationsGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsFederationsGetIamPolicyCall)IfNoneMatch¶added inv0.78.0
func (c *ProjectsLocationsFederationsGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsFederationsGetIamPolicyCall
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 (*ProjectsLocationsFederationsGetIamPolicyCall)OptionsRequestedPolicyVersion¶added inv0.78.0
func (c *ProjectsLocationsFederationsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsFederationsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy.Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected.Requests for policies with any conditionalrole bindings must specify version 3. Policies with no conditional rolebindings may specify any valid value or leave the field unset.The policy inthe response might use the policy version that you specified, or it mightuse a lower policy version. For example, if you specify version 3, but thepolicy has no conditional role bindings, the response uses version 1.Tolearn which resources support conditions in their IAM policies, see the IAMdocumentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsFederationsListCall¶added inv0.78.0
type ProjectsLocationsFederationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsFederationsListCall)Context¶added inv0.78.0
func (c *ProjectsLocationsFederationsListCall) Context(ctxcontext.Context) *ProjectsLocationsFederationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsFederationsListCall)Do¶added inv0.78.0
func (c *ProjectsLocationsFederationsListCall) Do(opts ...googleapi.CallOption) (*ListFederationsResponse,error)
Do executes the "metastore.projects.locations.federations.list" call.Any non-2xx status code is an error. Response headers are in either*ListFederationsResponse.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 (*ProjectsLocationsFederationsListCall)Fields¶added inv0.78.0
func (c *ProjectsLocationsFederationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsFederationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsFederationsListCall)Filter¶added inv0.78.0
func (c *ProjectsLocationsFederationsListCall) Filter(filterstring) *ProjectsLocationsFederationsListCall
Filter sets the optional parameter "filter": The filter to apply to listresults.
func (*ProjectsLocationsFederationsListCall)Header¶added inv0.78.0
func (c *ProjectsLocationsFederationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsFederationsListCall)IfNoneMatch¶added inv0.78.0
func (c *ProjectsLocationsFederationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsFederationsListCall
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 (*ProjectsLocationsFederationsListCall)OrderBy¶added inv0.78.0
func (c *ProjectsLocationsFederationsListCall) OrderBy(orderBystring) *ProjectsLocationsFederationsListCall
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 (*ProjectsLocationsFederationsListCall)PageSize¶added inv0.78.0
func (c *ProjectsLocationsFederationsListCall) PageSize(pageSizeint64) *ProjectsLocationsFederationsListCall
PageSize sets the optional parameter "pageSize": The maximum number offederations to return. The response may contain less than the maximumnumber. If unspecified, no more than 500 services are returned. The maximumvalue is 1000; values above 1000 are changed to 1000.
func (*ProjectsLocationsFederationsListCall)PageToken¶added inv0.78.0
func (c *ProjectsLocationsFederationsListCall) PageToken(pageTokenstring) *ProjectsLocationsFederationsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous ListFederationServices call. Provide this token to retrievethe subsequent page.To retrieve the first page, supply an empty pagetoken.When paginating, other parameters provided to ListFederationServicesmust match the call that provided the page token.
func (*ProjectsLocationsFederationsListCall)Pages¶added inv0.78.0
func (c *ProjectsLocationsFederationsListCall) Pages(ctxcontext.Context, f func(*ListFederationsResponse)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.
typeProjectsLocationsFederationsPatchCall¶added inv0.78.0
type ProjectsLocationsFederationsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsFederationsPatchCall)Context¶added inv0.78.0
func (c *ProjectsLocationsFederationsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsFederationsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsFederationsPatchCall)Do¶added inv0.78.0
func (c *ProjectsLocationsFederationsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.federations.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsFederationsPatchCall)Fields¶added inv0.78.0
func (c *ProjectsLocationsFederationsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsFederationsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsFederationsPatchCall)Header¶added inv0.78.0
func (c *ProjectsLocationsFederationsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsFederationsPatchCall)RequestId¶added inv0.78.0
func (c *ProjectsLocationsFederationsPatchCall) RequestId(requestIdstring) *ProjectsLocationsFederationsPatchCall
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 (*ProjectsLocationsFederationsPatchCall)UpdateMask¶added inv0.78.0
func (c *ProjectsLocationsFederationsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsFederationsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A field maskused to specify the fields to be overwritten in the metastore federationresource 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.
typeProjectsLocationsFederationsService¶added inv0.78.0
type ProjectsLocationsFederationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsFederationsService¶added inv0.78.0
func NewProjectsLocationsFederationsService(s *APIService) *ProjectsLocationsFederationsService
func (*ProjectsLocationsFederationsService)Create¶added inv0.78.0
func (r *ProjectsLocationsFederationsService) Create(parentstring, federation *Federation) *ProjectsLocationsFederationsCreateCall
Create: Creates a metastore federation in a project and location.
- parent: The relative resource name of the location in which to create afederation service, in the followingform:projects/{project_number}/locations/{location_id}.
func (*ProjectsLocationsFederationsService)Delete¶added inv0.78.0
func (r *ProjectsLocationsFederationsService) Delete(namestring) *ProjectsLocationsFederationsDeleteCall
Delete: Deletes a single federation.
- name: The relative resource name of the metastore federation to delete, inthe followingform:projects/{project_number}/locations/{location_id}/federations/{federation_id}.
func (*ProjectsLocationsFederationsService)Get¶added inv0.78.0
func (r *ProjectsLocationsFederationsService) Get(namestring) *ProjectsLocationsFederationsGetCall
Get: Gets the details of a single federation.
- name: The relative resource name of the metastore federation to retrieve,in the followingform:projects/{project_number}/locations/{location_id}/federations/{federation_id}.
func (*ProjectsLocationsFederationsService)GetIamPolicy¶added inv0.78.0
func (r *ProjectsLocationsFederationsService) GetIamPolicy(resourcestring) *ProjectsLocationsFederationsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsFederationsService)List¶added inv0.78.0
func (r *ProjectsLocationsFederationsService) List(parentstring) *ProjectsLocationsFederationsListCall
List: Lists federations in a project and location.
- parent: The relative resource name of the location of metastorefederations to list, in the following form:projects/{project_number}/locations/{location_id}.
func (*ProjectsLocationsFederationsService)Patch¶added inv0.78.0
func (r *ProjectsLocationsFederationsService) Patch(namestring, federation *Federation) *ProjectsLocationsFederationsPatchCall
Patch: Updates the fields of a federation.
- name: Immutable. The relative resource name of the federation, of theform:projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
func (*ProjectsLocationsFederationsService)SetIamPolicy¶added inv0.78.0
func (r *ProjectsLocationsFederationsService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsFederationsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, andPERMISSION_DENIED errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsFederationsService)TestIamPermissions¶added inv0.78.0
func (r *ProjectsLocationsFederationsService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsFederationsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a NOT_FOUND error.Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsFederationsSetIamPolicyCall¶added inv0.78.0
type ProjectsLocationsFederationsSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsFederationsSetIamPolicyCall)Context¶added inv0.78.0
func (c *ProjectsLocationsFederationsSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsFederationsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsFederationsSetIamPolicyCall)Do¶added inv0.78.0
func (c *ProjectsLocationsFederationsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "metastore.projects.locations.federations.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsFederationsSetIamPolicyCall)Fields¶added inv0.78.0
func (c *ProjectsLocationsFederationsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsFederationsSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsFederationsSetIamPolicyCall)Header¶added inv0.78.0
func (c *ProjectsLocationsFederationsSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsFederationsTestIamPermissionsCall¶added inv0.78.0
type ProjectsLocationsFederationsTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsFederationsTestIamPermissionsCall)Context¶added inv0.78.0
func (c *ProjectsLocationsFederationsTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsFederationsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsFederationsTestIamPermissionsCall)Do¶added inv0.78.0
func (c *ProjectsLocationsFederationsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "metastore.projects.locations.federations.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.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 (*ProjectsLocationsFederationsTestIamPermissionsCall)Fields¶added inv0.78.0
func (c *ProjectsLocationsFederationsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsFederationsTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsFederationsTestIamPermissionsCall)Header¶added inv0.78.0
func (c *ProjectsLocationsFederationsTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsGetCall¶
type ProjectsLocationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGetCall)Context¶
func (c *ProjectsLocationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGetCall)Do¶
func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location,error)
Do executes the "metastore.projects.locations.get" call.Any non-2xx status code is an error. Response headers are in either*Location.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 (*ProjectsLocationsGetCall)Fields¶
func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGetCall)Header¶
func (c *ProjectsLocationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGetCall
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.
typeProjectsLocationsListCall¶
type ProjectsLocationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsListCall)Context¶
func (c *ProjectsLocationsListCall) Context(ctxcontext.Context) *ProjectsLocationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsListCall)Do¶
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse,error)
Do executes the "metastore.projects.locations.list" call.Any non-2xx status code is an error. Response headers are in either*ListLocationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsListCall)ExtraLocationTypes¶added inv0.229.0
func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do notuse this field. It is unsupported and is ignored unless explicitlydocumented otherwise. This is primarily for internal usage.
func (*ProjectsLocationsListCall)Fields¶
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsListCall)Filter¶
func (c *ProjectsLocationsListCall) Filter(filterstring) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down resultsto a preferred subset. The filtering language accepts strings like"displayName=tokyo", and is documented in more detail in AIP-160(https://google.aip.dev/160).
func (*ProjectsLocationsListCall)Header¶
func (c *ProjectsLocationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsListCall
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 (*ProjectsLocationsListCall)PageSize¶
func (c *ProjectsLocationsListCall) PageSize(pageSizeint64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofresults to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall)PageToken¶
func (c *ProjectsLocationsListCall) PageToken(pageTokenstring) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token receivedfrom the next_page_token field in the response. Send that page token toreceive the subsequent page.
func (*ProjectsLocationsListCall)Pages¶
func (c *ProjectsLocationsListCall) Pages(ctxcontext.Context, f func(*ListLocationsResponse)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.
typeProjectsLocationsOperationsCancelCall¶added inv0.110.0
type ProjectsLocationsOperationsCancelCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsCancelCall)Context¶added inv0.110.0
func (c *ProjectsLocationsOperationsCancelCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsCancelCall)Do¶added inv0.110.0
func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "metastore.projects.locations.operations.cancel" call.Any non-2xx status code is an error. Response headers are in either*Empty.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 (*ProjectsLocationsOperationsCancelCall)Fields¶added inv0.110.0
func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsCancelCall)Header¶added inv0.110.0
func (c *ProjectsLocationsOperationsCancelCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsOperationsDeleteCall¶
type ProjectsLocationsOperationsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsDeleteCall)Context¶
func (c *ProjectsLocationsOperationsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsDeleteCall)Do¶
func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "metastore.projects.locations.operations.delete" call.Any non-2xx status code is an error. Response headers are in either*Empty.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 (*ProjectsLocationsOperationsDeleteCall)Fields¶
func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsDeleteCall)Header¶
func (c *ProjectsLocationsOperationsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsOperationsGetCall¶
type ProjectsLocationsOperationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsGetCall)Context¶
func (c *ProjectsLocationsOperationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsGetCall)Do¶
func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsOperationsGetCall)Fields¶
func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsGetCall)Header¶
func (c *ProjectsLocationsOperationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsGetCall
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.
typeProjectsLocationsOperationsListCall¶
type ProjectsLocationsOperationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsListCall)Context¶
func (c *ProjectsLocationsOperationsListCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsListCall)Do¶
func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse,error)
Do executes the "metastore.projects.locations.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsOperationsListCall)Fields¶
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsListCall)Filter¶
func (c *ProjectsLocationsOperationsListCall) Filter(filterstring) *ProjectsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsOperationsListCall)Header¶
func (c *ProjectsLocationsOperationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsListCall
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 (*ProjectsLocationsOperationsListCall)PageSize¶
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSizeint64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list pagesize.
func (*ProjectsLocationsOperationsListCall)PageToken¶
func (c *ProjectsLocationsOperationsListCall) PageToken(pageTokenstring) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list pagetoken.
func (*ProjectsLocationsOperationsListCall)Pages¶
func (c *ProjectsLocationsOperationsListCall) Pages(ctxcontext.Context, f func(*ListOperationsResponse)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.
func (*ProjectsLocationsOperationsListCall)ReturnPartialSuccess¶added inv0.252.0
func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsOperationsListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to true, operations that are reachable are returned as normal, andthose that are unreachable are returned in theListOperationsResponse.unreachable field.This can only be true when readingacross collections e.g. when parent is set to"projects/example/locations/-".This field is not by default supported andwill result in an UNIMPLEMENTED error if set unless explicitly documentedotherwise in service or product specific documentation.
typeProjectsLocationsOperationsService¶
type ProjectsLocationsOperationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsOperationsService¶
func NewProjectsLocationsOperationsService(s *APIService) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService)Cancel¶added inv0.110.0
func (r *ProjectsLocationsOperationsService) Cancel(namestring, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. Theserver makes a best effort to cancel the operation, but success is notguaranteed. If the server doesn't support this method, it returnsgoogle.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation orother methods to check whether the cancellation succeeded or whether theoperation completed despite cancellation. On successful cancellation, theoperation is not deleted; instead, it becomes an operation with anOperation.error value with a google.rpc.Status.code of 1, corresponding toCode.CANCELLED.
- name: The name of the operation resource to be cancelled.
func (*ProjectsLocationsOperationsService)Delete¶
func (r *ProjectsLocationsOperationsService) Delete(namestring) *ProjectsLocationsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that theclient is no longer interested in the operation result. It does not cancelthe operation. If the server doesn't support this method, it returnsgoogle.rpc.Code.UNIMPLEMENTED.
- name: The name of the operation resource to be deleted.
func (*ProjectsLocationsOperationsService)Get¶
func (r *ProjectsLocationsOperationsService) Get(namestring) *ProjectsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.
- name: The name of the operation resource.
func (*ProjectsLocationsOperationsService)List¶
func (r *ProjectsLocationsOperationsService) List(namestring) *ProjectsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns UNIMPLEMENTED.
- name: The name of the operation's parent resource.
typeProjectsLocationsService¶
type ProjectsLocationsService struct {Federations *ProjectsLocationsFederationsServiceOperations *ProjectsLocationsOperationsServiceServices *ProjectsLocationsServicesService// contains filtered or unexported fields}funcNewProjectsLocationsService¶
func NewProjectsLocationsService(s *APIService) *ProjectsLocationsService
func (*ProjectsLocationsService)Get¶
func (r *ProjectsLocationsService) Get(namestring) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*ProjectsLocationsService)List¶
func (r *ProjectsLocationsService) List(namestring) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
typeProjectsLocationsServicesAlterLocationCall¶added inv0.104.0
type ProjectsLocationsServicesAlterLocationCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesAlterLocationCall)Context¶added inv0.104.0
func (c *ProjectsLocationsServicesAlterLocationCall) Context(ctxcontext.Context) *ProjectsLocationsServicesAlterLocationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesAlterLocationCall)Do¶added inv0.104.0
func (c *ProjectsLocationsServicesAlterLocationCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.services.alterLocation" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsServicesAlterLocationCall)Fields¶added inv0.104.0
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¶added inv0.104.0
func (c *ProjectsLocationsServicesAlterLocationCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesAlterTablePropertiesCall¶added inv0.154.0
type ProjectsLocationsServicesAlterTablePropertiesCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesAlterTablePropertiesCall)Context¶added inv0.154.0
func (c *ProjectsLocationsServicesAlterTablePropertiesCall) Context(ctxcontext.Context) *ProjectsLocationsServicesAlterTablePropertiesCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesAlterTablePropertiesCall)Do¶added inv0.154.0
func (c *ProjectsLocationsServicesAlterTablePropertiesCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.services.alterTableProperties" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsServicesAlterTablePropertiesCall)Fields¶added inv0.154.0
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¶added inv0.154.0
func (c *ProjectsLocationsServicesAlterTablePropertiesCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesBackupsCreateCall¶added inv0.44.0
type ProjectsLocationsServicesBackupsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesBackupsCreateCall)BackupId¶added inv0.44.0
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¶added inv0.44.0
func (c *ProjectsLocationsServicesBackupsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsServicesBackupsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesBackupsCreateCall)Do¶added inv0.44.0
func (c *ProjectsLocationsServicesBackupsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.services.backups.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsServicesBackupsCreateCall)Fields¶added inv0.44.0
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¶added inv0.44.0
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¶added inv0.44.0
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¶added inv0.44.0
type ProjectsLocationsServicesBackupsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesBackupsDeleteCall)Context¶added inv0.44.0
func (c *ProjectsLocationsServicesBackupsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsServicesBackupsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesBackupsDeleteCall)Do¶added inv0.44.0
func (c *ProjectsLocationsServicesBackupsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.services.backups.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsServicesBackupsDeleteCall)Fields¶added inv0.44.0
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¶added inv0.44.0
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¶added inv0.44.0
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¶added inv0.44.0
type ProjectsLocationsServicesBackupsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesBackupsGetCall)Context¶added inv0.44.0
func (c *ProjectsLocationsServicesBackupsGetCall) Context(ctxcontext.Context) *ProjectsLocationsServicesBackupsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesBackupsGetCall)Do¶added inv0.44.0
func (c *ProjectsLocationsServicesBackupsGetCall) Do(opts ...googleapi.CallOption) (*Backup,error)
Do executes the "metastore.projects.locations.services.backups.get" call.Any non-2xx status code is an error. Response headers are in either*Backup.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 (*ProjectsLocationsServicesBackupsGetCall)Fields¶added inv0.44.0
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¶added inv0.44.0
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¶added inv0.44.0
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.
typeProjectsLocationsServicesBackupsGetIamPolicyCall¶added inv0.48.0
type ProjectsLocationsServicesBackupsGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesBackupsGetIamPolicyCall)Context¶added inv0.48.0
func (c *ProjectsLocationsServicesBackupsGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsServicesBackupsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesBackupsGetIamPolicyCall)Do¶added inv0.48.0
func (c *ProjectsLocationsServicesBackupsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "metastore.projects.locations.services.backups.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsServicesBackupsGetIamPolicyCall)Fields¶added inv0.48.0
func (c *ProjectsLocationsServicesBackupsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesBackupsGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesBackupsGetIamPolicyCall)Header¶added inv0.48.0
func (c *ProjectsLocationsServicesBackupsGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesBackupsGetIamPolicyCall)IfNoneMatch¶added inv0.48.0
func (c *ProjectsLocationsServicesBackupsGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesBackupsGetIamPolicyCall
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 (*ProjectsLocationsServicesBackupsGetIamPolicyCall)OptionsRequestedPolicyVersion¶added inv0.48.0
func (c *ProjectsLocationsServicesBackupsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsServicesBackupsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy.Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected.Requests for policies with any conditionalrole bindings must specify version 3. Policies with no conditional rolebindings may specify any valid value or leave the field unset.The policy inthe response might use the policy version that you specified, or it mightuse a lower policy version. For example, if you specify version 3, but thepolicy has no conditional role bindings, the response uses version 1.Tolearn which resources support conditions in their IAM policies, see the IAMdocumentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsServicesBackupsListCall¶added inv0.44.0
type ProjectsLocationsServicesBackupsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesBackupsListCall)Context¶added inv0.44.0
func (c *ProjectsLocationsServicesBackupsListCall) Context(ctxcontext.Context) *ProjectsLocationsServicesBackupsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesBackupsListCall)Do¶added inv0.44.0
func (c *ProjectsLocationsServicesBackupsListCall) Do(opts ...googleapi.CallOption) (*ListBackupsResponse,error)
Do executes the "metastore.projects.locations.services.backups.list" call.Any non-2xx status code is an error. Response headers are in either*ListBackupsResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsServicesBackupsListCall)Fields¶added inv0.44.0
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¶added inv0.44.0
func (c *ProjectsLocationsServicesBackupsListCall) Filter(filterstring) *ProjectsLocationsServicesBackupsListCall
Filter sets the optional parameter "filter": The filter to apply to listresults.
func (*ProjectsLocationsServicesBackupsListCall)Header¶added inv0.44.0
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¶added inv0.44.0
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¶added inv0.44.0
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¶added inv0.44.0
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¶added inv0.44.0
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¶added inv0.44.0
func (c *ProjectsLocationsServicesBackupsListCall) Pages(ctxcontext.Context, f func(*ListBackupsResponse)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¶added inv0.44.0
type ProjectsLocationsServicesBackupsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsServicesBackupsService¶added inv0.44.0
func NewProjectsLocationsServicesBackupsService(s *APIService) *ProjectsLocationsServicesBackupsService
func (*ProjectsLocationsServicesBackupsService)Create¶added inv0.44.0
func (r *ProjectsLocationsServicesBackupsService) Create(parentstring, backup *Backup) *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¶added inv0.44.0
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¶added inv0.44.0
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)GetIamPolicy¶added inv0.48.0
func (r *ProjectsLocationsServicesBackupsService) GetIamPolicy(resourcestring) *ProjectsLocationsServicesBackupsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsServicesBackupsService)List¶added inv0.44.0
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.
func (*ProjectsLocationsServicesBackupsService)SetIamPolicy¶added inv0.48.0
func (r *ProjectsLocationsServicesBackupsService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesBackupsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, andPERMISSION_DENIED errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsServicesBackupsService)TestIamPermissions¶added inv0.48.0
func (r *ProjectsLocationsServicesBackupsService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesBackupsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a NOT_FOUND error.Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsServicesBackupsSetIamPolicyCall¶added inv0.48.0
type ProjectsLocationsServicesBackupsSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesBackupsSetIamPolicyCall)Context¶added inv0.48.0
func (c *ProjectsLocationsServicesBackupsSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsServicesBackupsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesBackupsSetIamPolicyCall)Do¶added inv0.48.0
func (c *ProjectsLocationsServicesBackupsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "metastore.projects.locations.services.backups.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsServicesBackupsSetIamPolicyCall)Fields¶added inv0.48.0
func (c *ProjectsLocationsServicesBackupsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesBackupsSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesBackupsSetIamPolicyCall)Header¶added inv0.48.0
func (c *ProjectsLocationsServicesBackupsSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesBackupsTestIamPermissionsCall¶added inv0.48.0
type ProjectsLocationsServicesBackupsTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesBackupsTestIamPermissionsCall)Context¶added inv0.48.0
func (c *ProjectsLocationsServicesBackupsTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsServicesBackupsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesBackupsTestIamPermissionsCall)Do¶added inv0.48.0
func (c *ProjectsLocationsServicesBackupsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "metastore.projects.locations.services.backups.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.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 (*ProjectsLocationsServicesBackupsTestIamPermissionsCall)Fields¶added inv0.48.0
func (c *ProjectsLocationsServicesBackupsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesBackupsTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesBackupsTestIamPermissionsCall)Header¶added inv0.48.0
func (c *ProjectsLocationsServicesBackupsTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesCancelMigrationCall¶added inv0.173.0
type ProjectsLocationsServicesCancelMigrationCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesCancelMigrationCall)Context¶added inv0.173.0
func (c *ProjectsLocationsServicesCancelMigrationCall) Context(ctxcontext.Context) *ProjectsLocationsServicesCancelMigrationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesCancelMigrationCall)Do¶added inv0.173.0
func (c *ProjectsLocationsServicesCancelMigrationCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.services.cancelMigration" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsServicesCancelMigrationCall)Fields¶added inv0.173.0
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¶added inv0.173.0
func (c *ProjectsLocationsServicesCancelMigrationCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesCompleteMigrationCall¶added inv0.173.0
type ProjectsLocationsServicesCompleteMigrationCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesCompleteMigrationCall)Context¶added inv0.173.0
func (c *ProjectsLocationsServicesCompleteMigrationCall) Context(ctxcontext.Context) *ProjectsLocationsServicesCompleteMigrationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesCompleteMigrationCall)Do¶added inv0.173.0
func (c *ProjectsLocationsServicesCompleteMigrationCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.services.completeMigration" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsServicesCompleteMigrationCall)Fields¶added inv0.173.0
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¶added inv0.173.0
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) (*Operation,error)
Do executes the "metastore.projects.locations.services.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*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.
typeProjectsLocationsServicesDatabasesGetIamPolicyCall¶added inv0.69.0
type ProjectsLocationsServicesDatabasesGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesDatabasesGetIamPolicyCall)Context¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsServicesDatabasesGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesDatabasesGetIamPolicyCall)Do¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "metastore.projects.locations.services.databases.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsServicesDatabasesGetIamPolicyCall)Fields¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDatabasesGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesDatabasesGetIamPolicyCall)Header¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesDatabasesGetIamPolicyCall)IfNoneMatch¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesDatabasesGetIamPolicyCall
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 (*ProjectsLocationsServicesDatabasesGetIamPolicyCall)OptionsRequestedPolicyVersion¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsServicesDatabasesGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy.Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected.Requests for policies with any conditionalrole bindings must specify version 3. Policies with no conditional rolebindings may specify any valid value or leave the field unset.The policy inthe response might use the policy version that you specified, or it mightuse a lower policy version. For example, if you specify version 3, but thepolicy has no conditional role bindings, the response uses version 1.Tolearn which resources support conditions in their IAM policies, see the IAMdocumentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsServicesDatabasesService¶added inv0.69.0
type ProjectsLocationsServicesDatabasesService struct {Tables *ProjectsLocationsServicesDatabasesTablesService// contains filtered or unexported fields}funcNewProjectsLocationsServicesDatabasesService¶added inv0.69.0
func NewProjectsLocationsServicesDatabasesService(s *APIService) *ProjectsLocationsServicesDatabasesService
func (*ProjectsLocationsServicesDatabasesService)GetIamPolicy¶added inv0.69.0
func (r *ProjectsLocationsServicesDatabasesService) GetIamPolicy(resourcestring) *ProjectsLocationsServicesDatabasesGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsServicesDatabasesService)SetIamPolicy¶added inv0.69.0
func (r *ProjectsLocationsServicesDatabasesService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesDatabasesSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, andPERMISSION_DENIED errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsServicesDatabasesService)TestIamPermissions¶added inv0.69.0
func (r *ProjectsLocationsServicesDatabasesService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesDatabasesTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a NOT_FOUND error.Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsServicesDatabasesSetIamPolicyCall¶added inv0.69.0
type ProjectsLocationsServicesDatabasesSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesDatabasesSetIamPolicyCall)Context¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsServicesDatabasesSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesDatabasesSetIamPolicyCall)Do¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "metastore.projects.locations.services.databases.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsServicesDatabasesSetIamPolicyCall)Fields¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDatabasesSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesDatabasesSetIamPolicyCall)Header¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesDatabasesTablesGetIamPolicyCall¶added inv0.69.0
type ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall)Context¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall)Do¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "metastore.projects.locations.services.databases.tables.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall)Fields¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall)Header¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall)IfNoneMatch¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall
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 (*ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall)OptionsRequestedPolicyVersion¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy.Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected.Requests for policies with any conditionalrole bindings must specify version 3. Policies with no conditional rolebindings may specify any valid value or leave the field unset.The policy inthe response might use the policy version that you specified, or it mightuse a lower policy version. For example, if you specify version 3, but thepolicy has no conditional role bindings, the response uses version 1.Tolearn which resources support conditions in their IAM policies, see the IAMdocumentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsServicesDatabasesTablesService¶added inv0.69.0
type ProjectsLocationsServicesDatabasesTablesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsServicesDatabasesTablesService¶added inv0.69.0
func NewProjectsLocationsServicesDatabasesTablesService(s *APIService) *ProjectsLocationsServicesDatabasesTablesService
func (*ProjectsLocationsServicesDatabasesTablesService)GetIamPolicy¶added inv0.69.0
func (r *ProjectsLocationsServicesDatabasesTablesService) GetIamPolicy(resourcestring) *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsServicesDatabasesTablesService)SetIamPolicy¶added inv0.69.0
func (r *ProjectsLocationsServicesDatabasesTablesService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, andPERMISSION_DENIED errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsServicesDatabasesTablesService)TestIamPermissions¶added inv0.69.0
func (r *ProjectsLocationsServicesDatabasesTablesService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a NOT_FOUND error.Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsServicesDatabasesTablesSetIamPolicyCall¶added inv0.69.0
type ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall)Context¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall)Do¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "metastore.projects.locations.services.databases.tables.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall)Fields¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall)Header¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall¶added inv0.69.0
type ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall)Context¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall)Do¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "metastore.projects.locations.services.databases.tables.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.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 (*ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall)Fields¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall)Header¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesDatabasesTestIamPermissionsCall¶added inv0.69.0
type ProjectsLocationsServicesDatabasesTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesDatabasesTestIamPermissionsCall)Context¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsServicesDatabasesTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesDatabasesTestIamPermissionsCall)Do¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "metastore.projects.locations.services.databases.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.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 (*ProjectsLocationsServicesDatabasesTestIamPermissionsCall)Fields¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDatabasesTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesDatabasesTestIamPermissionsCall)Header¶added inv0.69.0
func (c *ProjectsLocationsServicesDatabasesTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
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) (*Operation,error)
Do executes the "metastore.projects.locations.services.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*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) (*Operation,error)
Do executes the "metastore.projects.locations.services.exportMetadata" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*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) (*Service,error)
Do executes the "metastore.projects.locations.services.get" call.Any non-2xx status code is an error. Response headers are in either*Service.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 (*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.
typeProjectsLocationsServicesGetIamPolicyCall¶
type ProjectsLocationsServicesGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesGetIamPolicyCall)Context¶
func (c *ProjectsLocationsServicesGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsServicesGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesGetIamPolicyCall)Do¶
func (c *ProjectsLocationsServicesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "metastore.projects.locations.services.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsServicesGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsServicesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesGetIamPolicyCall)Header¶
func (c *ProjectsLocationsServicesGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsServicesGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesGetIamPolicyCall
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 (*ProjectsLocationsServicesGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsServicesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsServicesGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy.Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected.Requests for policies with any conditionalrole bindings must specify version 3. Policies with no conditional rolebindings may specify any valid value or leave the field unset.The policy inthe response might use the policy version that you specified, or it mightuse a lower policy version. For example, if you specify version 3, but thepolicy has no conditional role bindings, the response uses version 1.Tolearn which resources support conditions in their IAM policies, see the IAMdocumentation(https://cloud.google.com/iam/help/conditions/resource-policies).
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) (*ListServicesResponse,error)
Do executes the "metastore.projects.locations.services.list" call.Any non-2xx status code is an error. Response headers are in either*ListServicesResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
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(*ListServicesResponse)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.
typeProjectsLocationsServicesMetadataImportsCreateCall¶
type ProjectsLocationsServicesMetadataImportsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesMetadataImportsCreateCall)Context¶
func (c *ProjectsLocationsServicesMetadataImportsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsServicesMetadataImportsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesMetadataImportsCreateCall)Do¶
func (c *ProjectsLocationsServicesMetadataImportsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.services.metadataImports.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsServicesMetadataImportsCreateCall)Fields¶
func (c *ProjectsLocationsServicesMetadataImportsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesMetadataImportsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesMetadataImportsCreateCall)Header¶
func (c *ProjectsLocationsServicesMetadataImportsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesMetadataImportsCreateCall)MetadataImportId¶
func (c *ProjectsLocationsServicesMetadataImportsCreateCall) MetadataImportId(metadataImportIdstring) *ProjectsLocationsServicesMetadataImportsCreateCall
MetadataImportId sets the optional parameter "metadataImportId": Required.The ID of the metadata import, which is used as the final component of themetadata import's name.This value must be between 1 and 64 characters long,begin with a letter, end with a letter or number, and consist ofalpha-numeric ASCII characters or hyphens.
func (*ProjectsLocationsServicesMetadataImportsCreateCall)RequestId¶
func (c *ProjectsLocationsServicesMetadataImportsCreateCall) RequestId(requestIdstring) *ProjectsLocationsServicesMetadataImportsCreateCall
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.
typeProjectsLocationsServicesMetadataImportsGetCall¶
type ProjectsLocationsServicesMetadataImportsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesMetadataImportsGetCall)Context¶
func (c *ProjectsLocationsServicesMetadataImportsGetCall) Context(ctxcontext.Context) *ProjectsLocationsServicesMetadataImportsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesMetadataImportsGetCall)Do¶
func (c *ProjectsLocationsServicesMetadataImportsGetCall) Do(opts ...googleapi.CallOption) (*MetadataImport,error)
Do executes the "metastore.projects.locations.services.metadataImports.get" call.Any non-2xx status code is an error. Response headers are in either*MetadataImport.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsServicesMetadataImportsGetCall)Fields¶
func (c *ProjectsLocationsServicesMetadataImportsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesMetadataImportsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesMetadataImportsGetCall)Header¶
func (c *ProjectsLocationsServicesMetadataImportsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesMetadataImportsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsServicesMetadataImportsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesMetadataImportsGetCall
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.
typeProjectsLocationsServicesMetadataImportsListCall¶
type ProjectsLocationsServicesMetadataImportsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesMetadataImportsListCall)Context¶
func (c *ProjectsLocationsServicesMetadataImportsListCall) Context(ctxcontext.Context) *ProjectsLocationsServicesMetadataImportsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesMetadataImportsListCall)Do¶
func (c *ProjectsLocationsServicesMetadataImportsListCall) Do(opts ...googleapi.CallOption) (*ListMetadataImportsResponse,error)
Do executes the "metastore.projects.locations.services.metadataImports.list" call.Any non-2xx status code is an error. Response headers are in either*ListMetadataImportsResponse.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 (*ProjectsLocationsServicesMetadataImportsListCall)Fields¶
func (c *ProjectsLocationsServicesMetadataImportsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesMetadataImportsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesMetadataImportsListCall)Filter¶
func (c *ProjectsLocationsServicesMetadataImportsListCall) Filter(filterstring) *ProjectsLocationsServicesMetadataImportsListCall
Filter sets the optional parameter "filter": The filter to apply to listresults.
func (*ProjectsLocationsServicesMetadataImportsListCall)Header¶
func (c *ProjectsLocationsServicesMetadataImportsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesMetadataImportsListCall)IfNoneMatch¶
func (c *ProjectsLocationsServicesMetadataImportsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesMetadataImportsListCall
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 (*ProjectsLocationsServicesMetadataImportsListCall)OrderBy¶
func (c *ProjectsLocationsServicesMetadataImportsListCall) OrderBy(orderBystring) *ProjectsLocationsServicesMetadataImportsListCall
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 (*ProjectsLocationsServicesMetadataImportsListCall)PageSize¶
func (c *ProjectsLocationsServicesMetadataImportsListCall) PageSize(pageSizeint64) *ProjectsLocationsServicesMetadataImportsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofimports to return. The response may contain less than the maximum number. Ifunspecified, no more than 500 imports are returned. The maximum value is1000; values above 1000 are changed to 1000.
func (*ProjectsLocationsServicesMetadataImportsListCall)PageToken¶
func (c *ProjectsLocationsServicesMetadataImportsListCall) PageToken(pageTokenstring) *ProjectsLocationsServicesMetadataImportsListCall
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 (*ProjectsLocationsServicesMetadataImportsListCall)Pages¶
func (c *ProjectsLocationsServicesMetadataImportsListCall) Pages(ctxcontext.Context, f func(*ListMetadataImportsResponse)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.
typeProjectsLocationsServicesMetadataImportsPatchCall¶
type ProjectsLocationsServicesMetadataImportsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesMetadataImportsPatchCall)Context¶
func (c *ProjectsLocationsServicesMetadataImportsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsServicesMetadataImportsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesMetadataImportsPatchCall)Do¶
func (c *ProjectsLocationsServicesMetadataImportsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.services.metadataImports.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsServicesMetadataImportsPatchCall)Fields¶
func (c *ProjectsLocationsServicesMetadataImportsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesMetadataImportsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesMetadataImportsPatchCall)Header¶
func (c *ProjectsLocationsServicesMetadataImportsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesMetadataImportsPatchCall)RequestId¶
func (c *ProjectsLocationsServicesMetadataImportsPatchCall) RequestId(requestIdstring) *ProjectsLocationsServicesMetadataImportsPatchCall
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 (*ProjectsLocationsServicesMetadataImportsPatchCall)UpdateMask¶
func (c *ProjectsLocationsServicesMetadataImportsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsServicesMetadataImportsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A field maskused to specify the fields to be overwritten in the metadata import resourceby the update. Fields specified in the update_mask are relative to theresource (not to the full request). A field is overwritten if it is in themask.
typeProjectsLocationsServicesMetadataImportsService¶
type ProjectsLocationsServicesMetadataImportsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsServicesMetadataImportsService¶
func NewProjectsLocationsServicesMetadataImportsService(s *APIService) *ProjectsLocationsServicesMetadataImportsService
func (*ProjectsLocationsServicesMetadataImportsService)Create¶
func (r *ProjectsLocationsServicesMetadataImportsService) Create(parentstring, metadataimport *MetadataImport) *ProjectsLocationsServicesMetadataImportsCreateCall
Create: Creates a new MetadataImport in a given project and location.
- parent: The relative resource name of the service in which to create ametastore import, in the followingform:projects/{project_number}/locations/{location_id}/services/{service_id}.
func (*ProjectsLocationsServicesMetadataImportsService)Get¶
func (r *ProjectsLocationsServicesMetadataImportsService) Get(namestring) *ProjectsLocationsServicesMetadataImportsGetCall
Get: Gets details of a single import.
- name: The relative resource name of the metadata import to retrieve, inthe followingform:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{import_id}.
func (*ProjectsLocationsServicesMetadataImportsService)List¶
func (r *ProjectsLocationsServicesMetadataImportsService) List(parentstring) *ProjectsLocationsServicesMetadataImportsListCall
List: Lists imports in a service.
- parent: The relative resource name of the service whose metadata importsto list, in the followingform:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports.
func (*ProjectsLocationsServicesMetadataImportsService)Patch¶
func (r *ProjectsLocationsServicesMetadataImportsService) Patch(namestring, metadataimport *MetadataImport) *ProjectsLocationsServicesMetadataImportsPatchCall
Patch: Updates a single import. Only the description field of MetadataImportis supported to be updated.
- name: Immutable. Identifier. The relative resource name of the metadataimport, of theform:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.
typeProjectsLocationsServicesMigrationExecutionsDeleteCall¶added inv0.167.0
type ProjectsLocationsServicesMigrationExecutionsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesMigrationExecutionsDeleteCall)Context¶added inv0.167.0
func (c *ProjectsLocationsServicesMigrationExecutionsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsServicesMigrationExecutionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesMigrationExecutionsDeleteCall)Do¶added inv0.167.0
func (c *ProjectsLocationsServicesMigrationExecutionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.services.migrationExecutions.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsServicesMigrationExecutionsDeleteCall)Fields¶added inv0.167.0
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¶added inv0.167.0
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¶added inv0.167.0
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¶added inv0.173.0
type ProjectsLocationsServicesMigrationExecutionsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesMigrationExecutionsGetCall)Context¶added inv0.173.0
func (c *ProjectsLocationsServicesMigrationExecutionsGetCall) Context(ctxcontext.Context) *ProjectsLocationsServicesMigrationExecutionsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesMigrationExecutionsGetCall)Do¶added inv0.173.0
func (c *ProjectsLocationsServicesMigrationExecutionsGetCall) Do(opts ...googleapi.CallOption) (*MigrationExecution,error)
Do executes the "metastore.projects.locations.services.migrationExecutions.get" call.Any non-2xx status code is an error. Response headers are in either*MigrationExecution.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsServicesMigrationExecutionsGetCall)Fields¶added inv0.173.0
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¶added inv0.173.0
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¶added inv0.173.0
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¶added inv0.173.0
type ProjectsLocationsServicesMigrationExecutionsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesMigrationExecutionsListCall)Context¶added inv0.173.0
func (c *ProjectsLocationsServicesMigrationExecutionsListCall) Context(ctxcontext.Context) *ProjectsLocationsServicesMigrationExecutionsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesMigrationExecutionsListCall)Do¶added inv0.173.0
func (c *ProjectsLocationsServicesMigrationExecutionsListCall) Do(opts ...googleapi.CallOption) (*ListMigrationExecutionsResponse,error)
Do executes the "metastore.projects.locations.services.migrationExecutions.list" call.Any non-2xx status code is an error. Response headers are in either*ListMigrationExecutionsResponse.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 (*ProjectsLocationsServicesMigrationExecutionsListCall)Fields¶added inv0.173.0
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¶added inv0.173.0
func (c *ProjectsLocationsServicesMigrationExecutionsListCall) Filter(filterstring) *ProjectsLocationsServicesMigrationExecutionsListCall
Filter sets the optional parameter "filter": The filter to apply to listresults.
func (*ProjectsLocationsServicesMigrationExecutionsListCall)Header¶added inv0.173.0
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¶added inv0.173.0
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¶added inv0.173.0
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¶added inv0.173.0
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¶added inv0.173.0
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¶added inv0.173.0
func (c *ProjectsLocationsServicesMigrationExecutionsListCall) Pages(ctxcontext.Context, f func(*ListMigrationExecutionsResponse)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¶added inv0.167.0
type ProjectsLocationsServicesMigrationExecutionsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsServicesMigrationExecutionsService¶added inv0.167.0
func NewProjectsLocationsServicesMigrationExecutionsService(s *APIService) *ProjectsLocationsServicesMigrationExecutionsService
func (*ProjectsLocationsServicesMigrationExecutionsService)Delete¶added inv0.167.0
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¶added inv0.173.0
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¶added inv0.173.0
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¶added inv0.104.0
type ProjectsLocationsServicesMoveTableToDatabaseCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesMoveTableToDatabaseCall)Context¶added inv0.104.0
func (c *ProjectsLocationsServicesMoveTableToDatabaseCall) Context(ctxcontext.Context) *ProjectsLocationsServicesMoveTableToDatabaseCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesMoveTableToDatabaseCall)Do¶added inv0.104.0
func (c *ProjectsLocationsServicesMoveTableToDatabaseCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.services.moveTableToDatabase" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsServicesMoveTableToDatabaseCall)Fields¶added inv0.104.0
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¶added inv0.104.0
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) (*Operation,error)
Do executes the "metastore.projects.locations.services.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*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¶added inv0.104.0
type ProjectsLocationsServicesQueryMetadataCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesQueryMetadataCall)Context¶added inv0.104.0
func (c *ProjectsLocationsServicesQueryMetadataCall) Context(ctxcontext.Context) *ProjectsLocationsServicesQueryMetadataCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesQueryMetadataCall)Do¶added inv0.104.0
func (c *ProjectsLocationsServicesQueryMetadataCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.services.queryMetadata" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsServicesQueryMetadataCall)Fields¶added inv0.104.0
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¶added inv0.104.0
func (c *ProjectsLocationsServicesQueryMetadataCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesRemoveIamPolicyCall¶added inv0.68.0
type ProjectsLocationsServicesRemoveIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesRemoveIamPolicyCall)Context¶added inv0.68.0
func (c *ProjectsLocationsServicesRemoveIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsServicesRemoveIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesRemoveIamPolicyCall)Do¶added inv0.68.0
func (c *ProjectsLocationsServicesRemoveIamPolicyCall) Do(opts ...googleapi.CallOption) (*RemoveIamPolicyResponse,error)
Do executes the "metastore.projects.locations.services.removeIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*RemoveIamPolicyResponse.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 (*ProjectsLocationsServicesRemoveIamPolicyCall)Fields¶added inv0.68.0
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¶added inv0.68.0
func (c *ProjectsLocationsServicesRemoveIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesRestoreCall¶added inv0.44.0
type ProjectsLocationsServicesRestoreCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesRestoreCall)Context¶added inv0.44.0
func (c *ProjectsLocationsServicesRestoreCall) Context(ctxcontext.Context) *ProjectsLocationsServicesRestoreCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesRestoreCall)Do¶added inv0.44.0
func (c *ProjectsLocationsServicesRestoreCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.services.restore" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsServicesRestoreCall)Fields¶added inv0.44.0
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¶added inv0.44.0
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 *ProjectsLocationsServicesBackupsServiceDatabases *ProjectsLocationsServicesDatabasesServiceMetadataImports *ProjectsLocationsServicesMetadataImportsServiceMigrationExecutions *ProjectsLocationsServicesMigrationExecutionsService// contains filtered or unexported fields}funcNewProjectsLocationsServicesService¶
func NewProjectsLocationsServicesService(s *APIService) *ProjectsLocationsServicesService
func (*ProjectsLocationsServicesService)AlterLocation¶added inv0.104.0
func (r *ProjectsLocationsServicesService) AlterLocation(servicestring, altermetadataresourcelocationrequest *AlterMetadataResourceLocationRequest) *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¶added inv0.154.0
func (r *ProjectsLocationsServicesService) AlterTableProperties(servicestring, altertablepropertiesrequest *AlterTablePropertiesRequest) *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¶added inv0.173.0
func (r *ProjectsLocationsServicesService) CancelMigration(servicestring, cancelmigrationrequest *CancelMigrationRequest) *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¶added inv0.173.0
func (r *ProjectsLocationsServicesService) CompleteMigration(servicestring, completemigrationrequest *CompleteMigrationRequest) *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, service *Service) *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, exportmetadatarequest *ExportMetadataRequest) *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)GetIamPolicy¶
func (r *ProjectsLocationsServicesService) GetIamPolicy(resourcestring) *ProjectsLocationsServicesGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
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¶added inv0.104.0
func (r *ProjectsLocationsServicesService) MoveTableToDatabase(servicestring, movetabletodatabaserequest *MoveTableToDatabaseRequest) *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, service *Service) *ProjectsLocationsServicesPatchCall
Patch: Updates the parameters of a single service.
- name: Immutable. Identifier. The relative resource name of the metastoreservice, in the followingformat:projects/{project_number}/locations/{location_id}/services/{service_id}.
func (*ProjectsLocationsServicesService)QueryMetadata¶added inv0.104.0
func (r *ProjectsLocationsServicesService) QueryMetadata(servicestring, querymetadatarequest *QueryMetadataRequest) *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¶added inv0.68.0
func (r *ProjectsLocationsServicesService) RemoveIamPolicy(resourcestring, removeiampolicyrequest *RemoveIamPolicyRequest) *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¶added inv0.44.0
func (r *ProjectsLocationsServicesService) Restore(servicestring, restoreservicerequest *RestoreServiceRequest) *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)SetIamPolicy¶
func (r *ProjectsLocationsServicesService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, andPERMISSION_DENIED errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsServicesService)StartMigration¶added inv0.173.0
func (r *ProjectsLocationsServicesService) StartMigration(servicestring, startmigrationrequest *StartMigrationRequest) *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}.
func (*ProjectsLocationsServicesService)TestIamPermissions¶
func (r *ProjectsLocationsServicesService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a NOT_FOUND error.Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsServicesSetIamPolicyCall¶
type ProjectsLocationsServicesSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesSetIamPolicyCall)Context¶
func (c *ProjectsLocationsServicesSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsServicesSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesSetIamPolicyCall)Do¶
func (c *ProjectsLocationsServicesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "metastore.projects.locations.services.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsServicesSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsServicesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesSetIamPolicyCall)Header¶
func (c *ProjectsLocationsServicesSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesStartMigrationCall¶added inv0.173.0
type ProjectsLocationsServicesStartMigrationCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesStartMigrationCall)Context¶added inv0.173.0
func (c *ProjectsLocationsServicesStartMigrationCall) Context(ctxcontext.Context) *ProjectsLocationsServicesStartMigrationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesStartMigrationCall)Do¶added inv0.173.0
func (c *ProjectsLocationsServicesStartMigrationCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "metastore.projects.locations.services.startMigration" call.Any non-2xx status code is an error. Response headers are in either*Operation.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 (*ProjectsLocationsServicesStartMigrationCall)Fields¶added inv0.173.0
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¶added inv0.173.0
func (c *ProjectsLocationsServicesStartMigrationCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesTestIamPermissionsCall¶
type ProjectsLocationsServicesTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsServicesTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsServicesTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsServicesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "metastore.projects.locations.services.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.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 (*ProjectsLocationsServicesTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsServicesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsServicesTestIamPermissionsCall) 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 *APIService) *ProjectsService
typeQueryMetadataRequest¶added inv0.104.0
type QueryMetadataRequest 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:"-"`}QueryMetadataRequest: Request message for DataprocMetastore.QueryMetadata.
func (QueryMetadataRequest)MarshalJSON¶added inv0.104.0
func (sQueryMetadataRequest) MarshalJSON() ([]byte,error)
typeQueryMetadataResponse¶added inv0.104.0
type QueryMetadataResponse 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:"-"`}QueryMetadataResponse: Response message for DataprocMetastore.QueryMetadata.
func (QueryMetadataResponse)MarshalJSON¶added inv0.104.0
func (sQueryMetadataResponse) MarshalJSON() ([]byte,error)
typeRemoveIamPolicyRequest¶added inv0.68.0
type RemoveIamPolicyRequest 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:"-"`}RemoveIamPolicyRequest: Request message forDataprocMetastore.RemoveIamPolicy.
func (RemoveIamPolicyRequest)MarshalJSON¶added inv0.106.0
func (sRemoveIamPolicyRequest) MarshalJSON() ([]byte,error)
typeRemoveIamPolicyResponse¶added inv0.68.0
type RemoveIamPolicyResponse 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:"-"`}RemoveIamPolicyResponse: Response message forDataprocMetastore.RemoveIamPolicy.
func (RemoveIamPolicyResponse)MarshalJSON¶added inv0.68.0
func (sRemoveIamPolicyResponse) MarshalJSON() ([]byte,error)
typeRestore¶added inv0.40.0
type Restore struct {// Backup: Output only. The relative resource name of the metastore service// backup to restore from, in the following// form:projects/{project_id}/locations/{location_id}/services/{service_id}/back// ups/{backup_id}.Backupstring `json:"backup,omitempty"`// BackupLocation: Optional. A Cloud Storage URI specifying where the backup// artifacts are stored, in the format gs:///.BackupLocationstring `json:"backupLocation,omitempty"`// Details: Output only. The restore details containing the revision of the// service to be restored to, in format of JSON.Detailsstring `json:"details,omitempty"`// EndTime: Output only. The time when the restore ended.EndTimestring `json:"endTime,omitempty"`// StartTime: Output only. The time when the restore started.StartTimestring `json:"startTime,omitempty"`// State: Output only. The current state of the restore.//// Possible values:// "STATE_UNSPECIFIED" - The state of the metadata restore is unknown.// "RUNNING" - The metadata restore is running.// "SUCCEEDED" - The metadata restore completed successfully.// "FAILED" - The metadata restore failed.// "CANCELLED" - The metadata restore is cancelled.Statestring `json:"state,omitempty"`// Type: Output only. The type of restore.//// 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.Typestring `json:"type,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:"-"`}Restore: The details of a metadata restore operation.
func (Restore)MarshalJSON¶added inv0.40.0
typeRestoreServiceRequest¶added inv0.44.0
type RestoreServiceRequest 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:"-"`}RestoreServiceRequest: Request message for DataprocMetastore.RestoreService.
func (RestoreServiceRequest)MarshalJSON¶added inv0.44.0
func (sRestoreServiceRequest) MarshalJSON() ([]byte,error)
typeRootCACertificate¶added inv0.189.0
type RootCACertificate struct {// Certificate: The root CA certificate in PEM format. The maximum length is// 65536 bytes.Certificatestring `json:"certificate,omitempty"`// ExpirationTime: The certificate expiration time in timestamp format.ExpirationTimestring `json:"expirationTime,omitempty"`// ForceSendFields is a list of field names (e.g. "Certificate") 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. "Certificate") 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:"-"`}RootCACertificate: A gRPC client must install all root CA certificates toconnect to a multi-regional Dataproc Metastore service and achieve failover.
func (RootCACertificate)MarshalJSON¶added inv0.189.0
func (sRootCACertificate) MarshalJSON() ([]byte,error)
typeScalingConfig¶added inv0.112.0
type ScalingConfig struct {// AutoscalingConfig: Optional. The autoscaling configuration.AutoscalingConfig *AutoscalingConfig `json:"autoscalingConfig,omitempty"`// InstanceSize: An enum of readable instance sizes, with each instance size// mapping to a float value (e.g. InstanceSize.EXTRA_SMALL =// scaling_factor(0.1))//// Possible values:// "INSTANCE_SIZE_UNSPECIFIED" - Unspecified instance size// "EXTRA_SMALL" - Extra small instance size, maps to a scaling factor of// 0.1.// "SMALL" - Small instance size, maps to a scaling factor of 0.5.// "MEDIUM" - Medium instance size, maps to a scaling factor of 1.0.// "LARGE" - Large instance size, maps to a scaling factor of 3.0.// "EXTRA_LARGE" - Extra large instance size, maps to a scaling factor of// 6.0.InstanceSizestring `json:"instanceSize,omitempty"`// ScalingFactor: Scaling factor, increments of 0.1 for values less than 1.0,// and increments of 1.0 for values greater than 1.0.ScalingFactorfloat64 `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:"-"`}ScalingConfig: Represents the scaling configuration of a metastore service.
func (ScalingConfig)MarshalJSON¶added inv0.112.0
func (sScalingConfig) MarshalJSON() ([]byte,error)
func (*ScalingConfig)UnmarshalJSON¶added inv0.112.0
func (s *ScalingConfig) UnmarshalJSON(data []byte)error
typeScheduledBackup¶added inv0.169.0
type ScheduledBackup 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 *LatestBackup `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:"-"`}ScheduledBackup: This specifies the configuration of scheduled backup.
func (ScheduledBackup)MarshalJSON¶added inv0.169.0
func (sScheduledBackup) MarshalJSON() ([]byte,error)
typeSecret¶
type Secret struct {// CloudSecret: Optional. The relative resource name of a Secret Manager secret// version, in the following// form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}.CloudSecretstring `json:"cloudSecret,omitempty"`// ForceSendFields is a list of field names (e.g. "CloudSecret") 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. "CloudSecret") 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:"-"`}Secret: A securely stored value.
func (Secret)MarshalJSON¶
typeService¶
type Service struct {// ArtifactGcsUri: Output only. A Cloud Storage URI (starting with gs://) that// specifies where artifacts related to the metastore service are stored.ArtifactGcsUristring `json:"artifactGcsUri,omitempty"`// CreateTime: Output only. The time when the metastore service was created.CreateTimestring `json:"createTime,omitempty"`// DatabaseType: Immutable. The database type that the Metastore service stores// its data.//// Possible values:// "DATABASE_TYPE_UNSPECIFIED" - The DATABASE_TYPE is not set.// "MYSQL" - MySQL is used to persist the metastore data.// "SPANNER" - Spanner is used to persist the metastore data.DatabaseTypestring `json:"databaseType,omitempty"`// DeletionProtection: Optional. Indicates if the dataproc metastore should be// protected against accidental deletions.DeletionProtectionbool `json:"deletionProtection,omitempty"`// EncryptionConfig: Immutable. Information used to configure the Dataproc// Metastore service to encrypt customer data at rest. Cannot be updated.EncryptionConfig *EncryptionConfig `json:"encryptionConfig,omitempty"`// EndpointUri: Output only. The URI of the endpoint used to access the// metastore service.EndpointUristring `json:"endpointUri,omitempty"`// HiveMetastoreConfig: Configuration information specific to running Hive// metastore software as the metastore service.HiveMetastoreConfig *HiveMetastoreConfig `json:"hiveMetastoreConfig,omitempty"`// Labels: User-defined labels for the metastore service.Labels map[string]string `json:"labels,omitempty"`// MaintenanceWindow: Optional. The one hour maintenance window of the// metastore service. This specifies when the service can be restarted for// maintenance purposes in UTC time. Maintenance window is not needed for// services with the SPANNER database type.MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"`// MetadataIntegration: Optional. The setting that defines how metastore// metadata should be integrated with external services and systems.MetadataIntegration *MetadataIntegration `json:"metadataIntegration,omitempty"`// MetadataManagementActivity: Output only. The metadata management activities// of the metastore service.MetadataManagementActivity *MetadataManagementActivity `json:"metadataManagementActivity,omitempty"`// MultiRegionConfig: Optional. Specifies the multi-region configuration// information for the Hive metastore service.MultiRegionConfig *MultiRegionConfig `json:"multiRegionConfig,omitempty"`// Name: Immutable. Identifier. 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"`// Network: Immutable. The relative resource name of the VPC network on which// the instance can be accessed. It is specified in the following// form:projects/{project_number}/global/networks/{network_id}.Networkstring `json:"network,omitempty"`// NetworkConfig: Optional. The configuration specifying the network settings// for the Dataproc Metastore service.NetworkConfig *NetworkConfig `json:"networkConfig,omitempty"`// Port: Optional. The TCP port at which the metastore service is reached.// Default: 9083.Portint64 `json:"port,omitempty"`// ReleaseChannel: Immutable. The release channel of the service. If// unspecified, defaults to STABLE.//// Possible values:// "RELEASE_CHANNEL_UNSPECIFIED" - Release channel is not specified.// "CANARY" - The CANARY release channel contains the newest features, which// may be unstable and subject to unresolved issues with no known workarounds.// Services using the CANARY release channel are not subject to any SLAs.// "STABLE" - The STABLE release channel contains features that are// considered stable and have been validated for production use.ReleaseChannelstring `json:"releaseChannel,omitempty"`// ScalingConfig: Optional. Scaling configuration of the metastore service.ScalingConfig *ScalingConfig `json:"scalingConfig,omitempty"`// ScheduledBackup: Optional. The configuration of scheduled backup for the// metastore service.ScheduledBackup *ScheduledBackup `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.// "AUTOSCALING" - The Dataproc Metastore service 2 is being scaled up or// down.// "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"`// Tags: Optional. Input only. Immutable. Tag keys/values directly bound to// this resource. For example: "123/environment": "production",// "123/costCenter": "marketing"Tags map[string]string `json:"tags,omitempty"`// TelemetryConfig: Optional. The configuration specifying telemetry settings// for the Dataproc Metastore service. If unspecified defaults to JSON.TelemetryConfig *TelemetryConfig `json:"telemetryConfig,omitempty"`// Tier: Optional. The tier of the service.//// Possible values:// "TIER_UNSPECIFIED" - The tier is not set.// "DEVELOPER" - The developer tier provides limited scalability and no fault// tolerance. Good for low-cost proof-of-concept.// "ENTERPRISE" - The enterprise tier provides multi-zone high availability,// and sufficient scalability for enterprise-level Dataproc Metastore// workloads.Tierstring `json:"tier,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"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ArtifactGcsUri") 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. "ArtifactGcsUri") 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:"-"`}Service: A managed metastore service that serves metadata queries.
func (Service)MarshalJSON¶
typeSetIamPolicyRequest¶
type SetIamPolicyRequest struct {// Policy: REQUIRED: The complete policy to be applied to the resource. The// size of the policy is limited to a few 10s of KB. An empty policy is a valid// policy but certain Google Cloud services (such as Projects) might reject// them.Policy *Policy `json:"policy,omitempty"`// UpdateMask: OPTIONAL: A FieldMask specifying which fields of the policy to// modify. Only the fields in the mask will be modified. If no mask is// provided, the following default mask is used:paths: "bindings, etag"UpdateMaskstring `json:"updateMask,omitempty"`// ForceSendFields is a list of field names (e.g. "Policy") 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. "Policy") 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:"-"`}SetIamPolicyRequest: Request message for SetIamPolicy method.
func (SetIamPolicyRequest)MarshalJSON¶
func (sSetIamPolicyRequest) MarshalJSON() ([]byte,error)
typeStartMigrationRequest¶added inv0.173.0
type StartMigrationRequest struct {// MigrationExecution: Required. The configuration details for the migration.MigrationExecution *MigrationExecution `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:"-"`}StartMigrationRequest: Request message for DataprocMetastore.StartMigration.
func (StartMigrationRequest)MarshalJSON¶added inv0.173.0
func (sStartMigrationRequest) MarshalJSON() ([]byte,error)
typeStatus¶
type Status 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:"-"`}Status: The Status type defines a logical error model that is suitable fordifferent programming environments, including REST APIs and RPC APIs. It isused by gRPC (https://github.com/grpc). Each Status message contains threepieces of data: error code, error message, and error details.You can findout more about this error model and how to work with it in the API DesignGuide (https://cloud.google.com/apis/design/errors).
func (Status)MarshalJSON¶
typeStatusProto¶added inv0.234.0
type StatusProto struct {// CanonicalCode: copybara:strip_begin(b/383363683)// copybara:strip_end_and_replace optional int32 canonical_code = 6;CanonicalCodeint64 `json:"canonicalCode,omitempty"`// Code: Numeric code drawn from the space specified below. Often, this is the// canonical error space, and code is drawn from google3/util/task/codes.proto// copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional// int32 code = 1;Codeint64 `json:"code,omitempty"`// Message: Detail message copybara:strip_begin(b/383363683)// copybara:strip_end_and_replace optional string message = 3;Messagestring `json:"message,omitempty"`// MessageSet: message_set associates an arbitrary proto message with the// status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace// optional proto2.bridge.MessageSet message_set = 5;MessageSet *MessageSet `json:"messageSet,omitempty"`// Space: copybara:strip_begin(b/383363683) Space to which this status belongs// copybara:strip_end_and_replace optional string space = 2; // Space to which// this status belongsSpacestring `json:"space,omitempty"`// ForceSendFields is a list of field names (e.g. "CanonicalCode") 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. "CanonicalCode") 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:"-"`}StatusProto: Wire-format for a Status object
func (StatusProto)MarshalJSON¶added inv0.234.0
func (sStatusProto) MarshalJSON() ([]byte,error)
typeTelemetryConfig¶added inv0.101.0
type TelemetryConfig struct {// LogFormat: Optional. The output format of the Dataproc Metastore service's// logs.//// Possible values:// "LOG_FORMAT_UNSPECIFIED" - The LOG_FORMAT is not set.// "LEGACY" - Logging output uses the legacy textPayload format.// "JSON" - Logging output uses the jsonPayload format.LogFormatstring `json:"logFormat,omitempty"`// ForceSendFields is a list of field names (e.g. "LogFormat") 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. "LogFormat") 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:"-"`}TelemetryConfig: Telemetry Configuration for the Dataproc Metastore service.
func (TelemetryConfig)MarshalJSON¶added inv0.101.0
func (sTelemetryConfig) MarshalJSON() ([]byte,error)
typeTestIamPermissionsRequest¶
type TestIamPermissionsRequest struct {// Permissions: The set of permissions to check for the resource. Permissions// with wildcards (such as * or storage.*) are not allowed. For more// information see IAM Overview// (https://cloud.google.com/iam/docs/overview#permissions).Permissions []string `json:"permissions,omitempty"`// ForceSendFields is a list of field names (e.g. "Permissions") 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. "Permissions") 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:"-"`}TestIamPermissionsRequest: Request message for TestIamPermissions method.
func (TestIamPermissionsRequest)MarshalJSON¶
func (sTestIamPermissionsRequest) MarshalJSON() ([]byte,error)
typeTestIamPermissionsResponse¶
type TestIamPermissionsResponse struct {// Permissions: A subset of TestPermissionsRequest.permissions that the caller// is allowed.Permissions []string `json:"permissions,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Permissions") 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. "Permissions") 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:"-"`}TestIamPermissionsResponse: Response message for TestIamPermissions method.
func (TestIamPermissionsResponse)MarshalJSON¶
func (sTestIamPermissionsResponse) MarshalJSON() ([]byte,error)