vmmigration
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 vmmigration provides access to the VM Migration API.
For product documentation, see:https://cloud.google.com/migrate/virtual-machines
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/vmmigration/v1alpha1"...ctx := context.Background()vmmigrationService, err := vmmigration.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:
vmmigrationService, err := vmmigration.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, ...)vmmigrationService, err := vmmigration.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))Seegoogle.golang.org/api/option.ClientOption for details on options.
Index¶
- Constants
- type AccessKeyCredentials
- type AdaptationModifier
- type AdaptingOSStep
- type AddGroupMigrationRequest
- type ApplianceVersion
- type AppliedLicense
- type AvailableUpdates
- type AwsDiskDetails
- type AwsSecurityGroup
- type AwsSourceDetails
- type AwsSourceDiskDetails
- type AwsSourceVmDetails
- type AwsVmDetails
- type AwsVmsDetails
- type AzureDiskDetails
- type AzureSourceDetails
- type AzureSourceVmDetails
- type AzureVmDetails
- type AzureVmsDetails
- type BootDiskDefaults
- type CancelCloneJobRequest
- type CancelCutoverJobRequest
- type CancelDiskMigrationJobRequest
- type CancelImageImportJobRequest
- type CancelOperationRequest
- type ClientSecretCredentials
- type CloneJob
- type CloneStep
- type ComputeEngineDisk
- type ComputeEngineDisksTargetDefaults
- type ComputeEngineDisksTargetDetails
- type ComputeEngineTargetDefaults
- type ComputeEngineTargetDetails
- type ComputeScheduling
- type CopyingSourceDiskSnapshotStep
- type CreatingImageStep
- type CreatingSourceDiskSnapshotStep
- type CutoverForecast
- type CutoverJob
- type CutoverStep
- type CycleStep
- type DataDiskImageImport
- type DatacenterConnector
- type Disk
- type DiskImageDefaults
- type DiskImageTargetDetails
- type DiskMigrationJob
- type DiskMigrationJobTargetDetails
- type DiskMigrationStep
- type DisksMigrationDisksTargetDefaults
- type DisksMigrationDisksTargetDetails
- type DisksMigrationVmTargetDefaults
- type DisksMigrationVmTargetDetails
- type Empty
- type Encryption
- type Expiration
- type ExtendMigrationRequest
- type FetchInventoryResponse
- type FetchStorageInventoryResponse
- type FinalizeMigrationRequest
- type Group
- type ImageImport
- type ImageImportJob
- type ImageImportOsAdaptationParameters
- type ImageImportStep
- type InitializingImageImportStep
- type InitializingReplicationStep
- type InstantiatingMigratedVMStep
- type Link
- type ListCloneJobsResponse
- type ListCutoverJobsResponse
- type ListDatacenterConnectorsResponse
- type ListDiskMigrationJobsResponse
- type ListGroupsResponse
- type ListImageImportJobsResponse
- type ListImageImportsResponse
- type ListLocationsResponse
- type ListMigratingVmsResponse
- type ListOperationsResponse
- type ListReplicationCyclesResponse
- type ListSourcesResponse
- type ListTargetProjectsResponse
- type ListUtilizationReportsResponse
- type LoadingImageSourceFilesStep
- type LocalizedMessage
- type Location
- type MachineImageParametersOverrides
- type MachineImageTargetDetails
- type MigratingVm
- type MigrationError
- type MigrationWarning
- type NetworkInterface
- type OSDescription
- type OSDisk
- type Operation
- type OperationMetadata
- type PauseMigrationRequest
- type PersistentDisk
- type PersistentDiskDefaults
- type PostProcessingStep
- type PreparingVMDisksStep
- 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 ProjectsLocationsGroupsAddGroupMigrationCall
- func (c *ProjectsLocationsGroupsAddGroupMigrationCall) Context(ctx context.Context) *ProjectsLocationsGroupsAddGroupMigrationCall
- func (c *ProjectsLocationsGroupsAddGroupMigrationCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsGroupsAddGroupMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsAddGroupMigrationCall
- func (c *ProjectsLocationsGroupsAddGroupMigrationCall) Header() http.Header
- type ProjectsLocationsGroupsCreateCall
- func (c *ProjectsLocationsGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsGroupsCreateCall
- func (c *ProjectsLocationsGroupsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsCreateCall
- func (c *ProjectsLocationsGroupsCreateCall) GroupId(groupId string) *ProjectsLocationsGroupsCreateCall
- func (c *ProjectsLocationsGroupsCreateCall) Header() http.Header
- func (c *ProjectsLocationsGroupsCreateCall) RequestId(requestId string) *ProjectsLocationsGroupsCreateCall
- type ProjectsLocationsGroupsDeleteCall
- func (c *ProjectsLocationsGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsGroupsDeleteCall
- func (c *ProjectsLocationsGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsDeleteCall
- func (c *ProjectsLocationsGroupsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsGroupsDeleteCall) RequestId(requestId string) *ProjectsLocationsGroupsDeleteCall
- type ProjectsLocationsGroupsGetCall
- func (c *ProjectsLocationsGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsGroupsGetCall
- func (c *ProjectsLocationsGroupsGetCall) Do(opts ...googleapi.CallOption) (*Group, error)
- func (c *ProjectsLocationsGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsGetCall
- func (c *ProjectsLocationsGroupsGetCall) Header() http.Header
- func (c *ProjectsLocationsGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGroupsGetCall
- type ProjectsLocationsGroupsListCall
- func (c *ProjectsLocationsGroupsListCall) Context(ctx context.Context) *ProjectsLocationsGroupsListCall
- func (c *ProjectsLocationsGroupsListCall) Do(opts ...googleapi.CallOption) (*ListGroupsResponse, error)
- func (c *ProjectsLocationsGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsListCall
- func (c *ProjectsLocationsGroupsListCall) Filter(filter string) *ProjectsLocationsGroupsListCall
- func (c *ProjectsLocationsGroupsListCall) Header() http.Header
- func (c *ProjectsLocationsGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGroupsListCall
- func (c *ProjectsLocationsGroupsListCall) OrderBy(orderBy string) *ProjectsLocationsGroupsListCall
- func (c *ProjectsLocationsGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsGroupsListCall
- func (c *ProjectsLocationsGroupsListCall) PageToken(pageToken string) *ProjectsLocationsGroupsListCall
- func (c *ProjectsLocationsGroupsListCall) Pages(ctx context.Context, f func(*ListGroupsResponse) error) error
- type ProjectsLocationsGroupsPatchCall
- func (c *ProjectsLocationsGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsGroupsPatchCall
- func (c *ProjectsLocationsGroupsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsPatchCall
- func (c *ProjectsLocationsGroupsPatchCall) Header() http.Header
- func (c *ProjectsLocationsGroupsPatchCall) RequestId(requestId string) *ProjectsLocationsGroupsPatchCall
- func (c *ProjectsLocationsGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGroupsPatchCall
- type ProjectsLocationsGroupsRemoveGroupMigrationCall
- func (c *ProjectsLocationsGroupsRemoveGroupMigrationCall) Context(ctx context.Context) *ProjectsLocationsGroupsRemoveGroupMigrationCall
- func (c *ProjectsLocationsGroupsRemoveGroupMigrationCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsGroupsRemoveGroupMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsRemoveGroupMigrationCall
- func (c *ProjectsLocationsGroupsRemoveGroupMigrationCall) Header() http.Header
- type ProjectsLocationsGroupsService
- func (r *ProjectsLocationsGroupsService) AddGroupMigration(group string, addgroupmigrationrequest *AddGroupMigrationRequest) *ProjectsLocationsGroupsAddGroupMigrationCall
- func (r *ProjectsLocationsGroupsService) Create(parent string, group *Group) *ProjectsLocationsGroupsCreateCall
- func (r *ProjectsLocationsGroupsService) Delete(name string) *ProjectsLocationsGroupsDeleteCall
- func (r *ProjectsLocationsGroupsService) Get(name string) *ProjectsLocationsGroupsGetCall
- func (r *ProjectsLocationsGroupsService) List(parent string) *ProjectsLocationsGroupsListCall
- func (r *ProjectsLocationsGroupsService) Patch(name string, group *Group) *ProjectsLocationsGroupsPatchCall
- func (r *ProjectsLocationsGroupsService) RemoveGroupMigration(group string, removegroupmigrationrequest *RemoveGroupMigrationRequest) *ProjectsLocationsGroupsRemoveGroupMigrationCall
- type ProjectsLocationsImageImportsCreateCall
- func (c *ProjectsLocationsImageImportsCreateCall) Context(ctx context.Context) *ProjectsLocationsImageImportsCreateCall
- func (c *ProjectsLocationsImageImportsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsImageImportsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsImageImportsCreateCall
- func (c *ProjectsLocationsImageImportsCreateCall) Header() http.Header
- func (c *ProjectsLocationsImageImportsCreateCall) ImageImportId(imageImportId string) *ProjectsLocationsImageImportsCreateCall
- func (c *ProjectsLocationsImageImportsCreateCall) RequestId(requestId string) *ProjectsLocationsImageImportsCreateCall
- type ProjectsLocationsImageImportsDeleteCall
- func (c *ProjectsLocationsImageImportsDeleteCall) Context(ctx context.Context) *ProjectsLocationsImageImportsDeleteCall
- func (c *ProjectsLocationsImageImportsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsImageImportsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsImageImportsDeleteCall
- func (c *ProjectsLocationsImageImportsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsImageImportsDeleteCall) RequestId(requestId string) *ProjectsLocationsImageImportsDeleteCall
- type ProjectsLocationsImageImportsGetCall
- func (c *ProjectsLocationsImageImportsGetCall) Context(ctx context.Context) *ProjectsLocationsImageImportsGetCall
- func (c *ProjectsLocationsImageImportsGetCall) Do(opts ...googleapi.CallOption) (*ImageImport, error)
- func (c *ProjectsLocationsImageImportsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsImageImportsGetCall
- func (c *ProjectsLocationsImageImportsGetCall) Header() http.Header
- func (c *ProjectsLocationsImageImportsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsImageImportsGetCall
- type ProjectsLocationsImageImportsImageImportJobsCancelCall
- func (c *ProjectsLocationsImageImportsImageImportJobsCancelCall) Context(ctx context.Context) *ProjectsLocationsImageImportsImageImportJobsCancelCall
- func (c *ProjectsLocationsImageImportsImageImportJobsCancelCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsImageImportsImageImportJobsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsImageImportsImageImportJobsCancelCall
- func (c *ProjectsLocationsImageImportsImageImportJobsCancelCall) Header() http.Header
- type ProjectsLocationsImageImportsImageImportJobsGetCall
- func (c *ProjectsLocationsImageImportsImageImportJobsGetCall) Context(ctx context.Context) *ProjectsLocationsImageImportsImageImportJobsGetCall
- func (c *ProjectsLocationsImageImportsImageImportJobsGetCall) Do(opts ...googleapi.CallOption) (*ImageImportJob, error)
- func (c *ProjectsLocationsImageImportsImageImportJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsImageImportsImageImportJobsGetCall
- func (c *ProjectsLocationsImageImportsImageImportJobsGetCall) Header() http.Header
- func (c *ProjectsLocationsImageImportsImageImportJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsImageImportsImageImportJobsGetCall
- type ProjectsLocationsImageImportsImageImportJobsListCall
- func (c *ProjectsLocationsImageImportsImageImportJobsListCall) Context(ctx context.Context) *ProjectsLocationsImageImportsImageImportJobsListCall
- func (c *ProjectsLocationsImageImportsImageImportJobsListCall) Do(opts ...googleapi.CallOption) (*ListImageImportJobsResponse, error)
- func (c *ProjectsLocationsImageImportsImageImportJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsImageImportsImageImportJobsListCall
- func (c *ProjectsLocationsImageImportsImageImportJobsListCall) Filter(filter string) *ProjectsLocationsImageImportsImageImportJobsListCall
- func (c *ProjectsLocationsImageImportsImageImportJobsListCall) Header() http.Header
- func (c *ProjectsLocationsImageImportsImageImportJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsImageImportsImageImportJobsListCall
- func (c *ProjectsLocationsImageImportsImageImportJobsListCall) OrderBy(orderBy string) *ProjectsLocationsImageImportsImageImportJobsListCall
- func (c *ProjectsLocationsImageImportsImageImportJobsListCall) PageSize(pageSize int64) *ProjectsLocationsImageImportsImageImportJobsListCall
- func (c *ProjectsLocationsImageImportsImageImportJobsListCall) PageToken(pageToken string) *ProjectsLocationsImageImportsImageImportJobsListCall
- func (c *ProjectsLocationsImageImportsImageImportJobsListCall) Pages(ctx context.Context, f func(*ListImageImportJobsResponse) error) error
- type ProjectsLocationsImageImportsImageImportJobsService
- func (r *ProjectsLocationsImageImportsImageImportJobsService) Cancel(name string, cancelimageimportjobrequest *CancelImageImportJobRequest) *ProjectsLocationsImageImportsImageImportJobsCancelCall
- func (r *ProjectsLocationsImageImportsImageImportJobsService) Get(name string) *ProjectsLocationsImageImportsImageImportJobsGetCall
- func (r *ProjectsLocationsImageImportsImageImportJobsService) List(parent string) *ProjectsLocationsImageImportsImageImportJobsListCall
- type ProjectsLocationsImageImportsListCall
- func (c *ProjectsLocationsImageImportsListCall) Context(ctx context.Context) *ProjectsLocationsImageImportsListCall
- func (c *ProjectsLocationsImageImportsListCall) Do(opts ...googleapi.CallOption) (*ListImageImportsResponse, error)
- func (c *ProjectsLocationsImageImportsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsImageImportsListCall
- func (c *ProjectsLocationsImageImportsListCall) Filter(filter string) *ProjectsLocationsImageImportsListCall
- func (c *ProjectsLocationsImageImportsListCall) Header() http.Header
- func (c *ProjectsLocationsImageImportsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsImageImportsListCall
- func (c *ProjectsLocationsImageImportsListCall) OrderBy(orderBy string) *ProjectsLocationsImageImportsListCall
- func (c *ProjectsLocationsImageImportsListCall) PageSize(pageSize int64) *ProjectsLocationsImageImportsListCall
- func (c *ProjectsLocationsImageImportsListCall) PageToken(pageToken string) *ProjectsLocationsImageImportsListCall
- func (c *ProjectsLocationsImageImportsListCall) Pages(ctx context.Context, f func(*ListImageImportsResponse) error) error
- type ProjectsLocationsImageImportsService
- func (r *ProjectsLocationsImageImportsService) Create(parent string, imageimport *ImageImport) *ProjectsLocationsImageImportsCreateCall
- func (r *ProjectsLocationsImageImportsService) Delete(name string) *ProjectsLocationsImageImportsDeleteCall
- func (r *ProjectsLocationsImageImportsService) Get(name string) *ProjectsLocationsImageImportsGetCall
- func (r *ProjectsLocationsImageImportsService) List(parent string) *ProjectsLocationsImageImportsListCall
- 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 ProjectsLocationsSourcesCreateCall
- func (c *ProjectsLocationsSourcesCreateCall) Context(ctx context.Context) *ProjectsLocationsSourcesCreateCall
- func (c *ProjectsLocationsSourcesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesCreateCall
- func (c *ProjectsLocationsSourcesCreateCall) Header() http.Header
- func (c *ProjectsLocationsSourcesCreateCall) RequestId(requestId string) *ProjectsLocationsSourcesCreateCall
- func (c *ProjectsLocationsSourcesCreateCall) SourceId(sourceId string) *ProjectsLocationsSourcesCreateCall
- type ProjectsLocationsSourcesDatacenterConnectorsCreateCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsCreateCall) Context(ctx context.Context) *ProjectsLocationsSourcesDatacenterConnectorsCreateCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsCreateCall) DatacenterConnectorId(datacenterConnectorId string) *ProjectsLocationsSourcesDatacenterConnectorsCreateCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesDatacenterConnectorsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDatacenterConnectorsCreateCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsCreateCall) Header() http.Header
- func (c *ProjectsLocationsSourcesDatacenterConnectorsCreateCall) RequestId(requestId string) *ProjectsLocationsSourcesDatacenterConnectorsCreateCall
- type ProjectsLocationsSourcesDatacenterConnectorsDeleteCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall) RequestId(requestId string) *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall
- type ProjectsLocationsSourcesDatacenterConnectorsGetCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsGetCall) Context(ctx context.Context) *ProjectsLocationsSourcesDatacenterConnectorsGetCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsGetCall) Do(opts ...googleapi.CallOption) (*DatacenterConnector, error)
- func (c *ProjectsLocationsSourcesDatacenterConnectorsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDatacenterConnectorsGetCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsGetCall) Header() http.Header
- func (c *ProjectsLocationsSourcesDatacenterConnectorsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesDatacenterConnectorsGetCall
- type ProjectsLocationsSourcesDatacenterConnectorsListCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) Context(ctx context.Context) *ProjectsLocationsSourcesDatacenterConnectorsListCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) Do(opts ...googleapi.CallOption) (*ListDatacenterConnectorsResponse, error)
- func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDatacenterConnectorsListCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) Filter(filter string) *ProjectsLocationsSourcesDatacenterConnectorsListCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) Header() http.Header
- func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesDatacenterConnectorsListCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) OrderBy(orderBy string) *ProjectsLocationsSourcesDatacenterConnectorsListCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) PageSize(pageSize int64) *ProjectsLocationsSourcesDatacenterConnectorsListCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) PageToken(pageToken string) *ProjectsLocationsSourcesDatacenterConnectorsListCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) Pages(ctx context.Context, f func(*ListDatacenterConnectorsResponse) error) error
- type ProjectsLocationsSourcesDatacenterConnectorsService
- func (r *ProjectsLocationsSourcesDatacenterConnectorsService) Create(parent string, datacenterconnector *DatacenterConnector) *ProjectsLocationsSourcesDatacenterConnectorsCreateCall
- func (r *ProjectsLocationsSourcesDatacenterConnectorsService) Delete(name string) *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall
- func (r *ProjectsLocationsSourcesDatacenterConnectorsService) Get(name string) *ProjectsLocationsSourcesDatacenterConnectorsGetCall
- func (r *ProjectsLocationsSourcesDatacenterConnectorsService) List(parent string) *ProjectsLocationsSourcesDatacenterConnectorsListCall
- func (r *ProjectsLocationsSourcesDatacenterConnectorsService) UpgradeAppliance(datacenterConnector string, upgradeappliancerequest *UpgradeApplianceRequest) *ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall
- type ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall) Context(ctx context.Context) *ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall
- func (c *ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall) Header() http.Header
- type ProjectsLocationsSourcesDeleteCall
- func (c *ProjectsLocationsSourcesDeleteCall) Context(ctx context.Context) *ProjectsLocationsSourcesDeleteCall
- func (c *ProjectsLocationsSourcesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDeleteCall
- func (c *ProjectsLocationsSourcesDeleteCall) Header() http.Header
- func (c *ProjectsLocationsSourcesDeleteCall) RequestId(requestId string) *ProjectsLocationsSourcesDeleteCall
- type ProjectsLocationsSourcesDiskMigrationJobsCancelCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsCancelCall) Context(ctx context.Context) *ProjectsLocationsSourcesDiskMigrationJobsCancelCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsCancelCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesDiskMigrationJobsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDiskMigrationJobsCancelCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsCancelCall) Header() http.Header
- type ProjectsLocationsSourcesDiskMigrationJobsCreateCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsCreateCall) Context(ctx context.Context) *ProjectsLocationsSourcesDiskMigrationJobsCreateCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsCreateCall) DiskMigrationJobId(diskMigrationJobId string) *ProjectsLocationsSourcesDiskMigrationJobsCreateCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesDiskMigrationJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDiskMigrationJobsCreateCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsCreateCall) Header() http.Header
- func (c *ProjectsLocationsSourcesDiskMigrationJobsCreateCall) RequestId(requestId string) *ProjectsLocationsSourcesDiskMigrationJobsCreateCall
- type ProjectsLocationsSourcesDiskMigrationJobsDeleteCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSourcesDiskMigrationJobsDeleteCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesDiskMigrationJobsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDiskMigrationJobsDeleteCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsDeleteCall) Header() http.Header
- type ProjectsLocationsSourcesDiskMigrationJobsGetCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsGetCall) Context(ctx context.Context) *ProjectsLocationsSourcesDiskMigrationJobsGetCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsGetCall) Do(opts ...googleapi.CallOption) (*DiskMigrationJob, error)
- func (c *ProjectsLocationsSourcesDiskMigrationJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDiskMigrationJobsGetCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsGetCall) Header() http.Header
- func (c *ProjectsLocationsSourcesDiskMigrationJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesDiskMigrationJobsGetCall
- type ProjectsLocationsSourcesDiskMigrationJobsListCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) Context(ctx context.Context) *ProjectsLocationsSourcesDiskMigrationJobsListCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) Do(opts ...googleapi.CallOption) (*ListDiskMigrationJobsResponse, error)
- func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDiskMigrationJobsListCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) Filter(filter string) *ProjectsLocationsSourcesDiskMigrationJobsListCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) Header() http.Header
- func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesDiskMigrationJobsListCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) OrderBy(orderBy string) *ProjectsLocationsSourcesDiskMigrationJobsListCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) PageSize(pageSize int64) *ProjectsLocationsSourcesDiskMigrationJobsListCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) PageToken(pageToken string) *ProjectsLocationsSourcesDiskMigrationJobsListCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) Pages(ctx context.Context, f func(*ListDiskMigrationJobsResponse) error) error
- type ProjectsLocationsSourcesDiskMigrationJobsPatchCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsPatchCall) Context(ctx context.Context) *ProjectsLocationsSourcesDiskMigrationJobsPatchCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesDiskMigrationJobsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDiskMigrationJobsPatchCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsPatchCall) Header() http.Header
- func (c *ProjectsLocationsSourcesDiskMigrationJobsPatchCall) RequestId(requestId string) *ProjectsLocationsSourcesDiskMigrationJobsPatchCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSourcesDiskMigrationJobsPatchCall
- type ProjectsLocationsSourcesDiskMigrationJobsRunCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsRunCall) Context(ctx context.Context) *ProjectsLocationsSourcesDiskMigrationJobsRunCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsRunCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesDiskMigrationJobsRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDiskMigrationJobsRunCall
- func (c *ProjectsLocationsSourcesDiskMigrationJobsRunCall) Header() http.Header
- type ProjectsLocationsSourcesDiskMigrationJobsService
- func (r *ProjectsLocationsSourcesDiskMigrationJobsService) Cancel(name string, canceldiskmigrationjobrequest *CancelDiskMigrationJobRequest) *ProjectsLocationsSourcesDiskMigrationJobsCancelCall
- func (r *ProjectsLocationsSourcesDiskMigrationJobsService) Create(parent string, diskmigrationjob *DiskMigrationJob) *ProjectsLocationsSourcesDiskMigrationJobsCreateCall
- func (r *ProjectsLocationsSourcesDiskMigrationJobsService) Delete(name string) *ProjectsLocationsSourcesDiskMigrationJobsDeleteCall
- func (r *ProjectsLocationsSourcesDiskMigrationJobsService) Get(name string) *ProjectsLocationsSourcesDiskMigrationJobsGetCall
- func (r *ProjectsLocationsSourcesDiskMigrationJobsService) List(parent string) *ProjectsLocationsSourcesDiskMigrationJobsListCall
- func (r *ProjectsLocationsSourcesDiskMigrationJobsService) Patch(nameid string, diskmigrationjob *DiskMigrationJob) *ProjectsLocationsSourcesDiskMigrationJobsPatchCall
- func (r *ProjectsLocationsSourcesDiskMigrationJobsService) Run(name string, rundiskmigrationjobrequest *RunDiskMigrationJobRequest) *ProjectsLocationsSourcesDiskMigrationJobsRunCall
- type ProjectsLocationsSourcesFetchInventoryCall
- func (c *ProjectsLocationsSourcesFetchInventoryCall) Context(ctx context.Context) *ProjectsLocationsSourcesFetchInventoryCall
- func (c *ProjectsLocationsSourcesFetchInventoryCall) Do(opts ...googleapi.CallOption) (*FetchInventoryResponse, error)
- func (c *ProjectsLocationsSourcesFetchInventoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesFetchInventoryCall
- func (c *ProjectsLocationsSourcesFetchInventoryCall) ForceRefresh(forceRefresh bool) *ProjectsLocationsSourcesFetchInventoryCall
- func (c *ProjectsLocationsSourcesFetchInventoryCall) Header() http.Header
- func (c *ProjectsLocationsSourcesFetchInventoryCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesFetchInventoryCall
- func (c *ProjectsLocationsSourcesFetchInventoryCall) PageSize(pageSize int64) *ProjectsLocationsSourcesFetchInventoryCall
- func (c *ProjectsLocationsSourcesFetchInventoryCall) PageToken(pageToken string) *ProjectsLocationsSourcesFetchInventoryCall
- func (c *ProjectsLocationsSourcesFetchInventoryCall) Pages(ctx context.Context, f func(*FetchInventoryResponse) error) error
- type ProjectsLocationsSourcesFetchStorageInventoryCall
- func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) Context(ctx context.Context) *ProjectsLocationsSourcesFetchStorageInventoryCall
- func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) Do(opts ...googleapi.CallOption) (*FetchStorageInventoryResponse, error)
- func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesFetchStorageInventoryCall
- func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) ForceRefresh(forceRefresh bool) *ProjectsLocationsSourcesFetchStorageInventoryCall
- func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) Header() http.Header
- func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesFetchStorageInventoryCall
- func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) PageSize(pageSize int64) *ProjectsLocationsSourcesFetchStorageInventoryCall
- func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) PageToken(pageToken string) *ProjectsLocationsSourcesFetchStorageInventoryCall
- func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) Pages(ctx context.Context, f func(*FetchStorageInventoryResponse) error) error
- func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) Type(type_ string) *ProjectsLocationsSourcesFetchStorageInventoryCall
- type ProjectsLocationsSourcesGetCall
- func (c *ProjectsLocationsSourcesGetCall) Context(ctx context.Context) *ProjectsLocationsSourcesGetCall
- func (c *ProjectsLocationsSourcesGetCall) Do(opts ...googleapi.CallOption) (*Source, error)
- func (c *ProjectsLocationsSourcesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesGetCall
- func (c *ProjectsLocationsSourcesGetCall) Header() http.Header
- func (c *ProjectsLocationsSourcesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesGetCall
- type ProjectsLocationsSourcesListCall
- func (c *ProjectsLocationsSourcesListCall) Context(ctx context.Context) *ProjectsLocationsSourcesListCall
- func (c *ProjectsLocationsSourcesListCall) Do(opts ...googleapi.CallOption) (*ListSourcesResponse, error)
- func (c *ProjectsLocationsSourcesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesListCall
- func (c *ProjectsLocationsSourcesListCall) Filter(filter string) *ProjectsLocationsSourcesListCall
- func (c *ProjectsLocationsSourcesListCall) Header() http.Header
- func (c *ProjectsLocationsSourcesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesListCall
- func (c *ProjectsLocationsSourcesListCall) OrderBy(orderBy string) *ProjectsLocationsSourcesListCall
- func (c *ProjectsLocationsSourcesListCall) PageSize(pageSize int64) *ProjectsLocationsSourcesListCall
- func (c *ProjectsLocationsSourcesListCall) PageToken(pageToken string) *ProjectsLocationsSourcesListCall
- func (c *ProjectsLocationsSourcesListCall) Pages(ctx context.Context, f func(*ListSourcesResponse) error) error
- type ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall) Header() http.Header
- type ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) CloneJobId(cloneJobId string) *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) Header() http.Header
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) RequestId(requestId string) *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall
- type ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall) Do(opts ...googleapi.CallOption) (*CloneJob, error)
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall) Header() http.Header
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall
- type ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Do(opts ...googleapi.CallOption) (*ListCloneJobsResponse, error)
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Filter(filter string) *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Header() http.Header
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) OrderBy(orderBy string) *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) PageSize(pageSize int64) *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) PageToken(pageToken string) *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Pages(ctx context.Context, f func(*ListCloneJobsResponse) error) error
- type ProjectsLocationsSourcesMigratingVmsCloneJobsService
- func (r *ProjectsLocationsSourcesMigratingVmsCloneJobsService) Cancel(name string, cancelclonejobrequest *CancelCloneJobRequest) *ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall
- func (r *ProjectsLocationsSourcesMigratingVmsCloneJobsService) Create(parent string, clonejob *CloneJob) *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall
- func (r *ProjectsLocationsSourcesMigratingVmsCloneJobsService) Get(name string) *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall
- func (r *ProjectsLocationsSourcesMigratingVmsCloneJobsService) List(parent string) *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
- type ProjectsLocationsSourcesMigratingVmsCreateCall
- func (c *ProjectsLocationsSourcesMigratingVmsCreateCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsCreateCall
- func (c *ProjectsLocationsSourcesMigratingVmsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesMigratingVmsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCreateCall
- func (c *ProjectsLocationsSourcesMigratingVmsCreateCall) Header() http.Header
- func (c *ProjectsLocationsSourcesMigratingVmsCreateCall) MigratingVmId(migratingVmId string) *ProjectsLocationsSourcesMigratingVmsCreateCall
- func (c *ProjectsLocationsSourcesMigratingVmsCreateCall) RequestId(requestId string) *ProjectsLocationsSourcesMigratingVmsCreateCall
- type ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall) Header() http.Header
- type ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) CutoverJobId(cutoverJobId string) *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) Header() http.Header
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) RequestId(requestId string) *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall
- type ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall) Do(opts ...googleapi.CallOption) (*CutoverJob, error)
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall) Header() http.Header
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall
- type ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Do(opts ...googleapi.CallOption) (*ListCutoverJobsResponse, error)
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Filter(filter string) *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Header() http.Header
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) OrderBy(orderBy string) *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) PageSize(pageSize int64) *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) PageToken(pageToken string) *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Pages(ctx context.Context, f func(*ListCutoverJobsResponse) error) error
- type ProjectsLocationsSourcesMigratingVmsCutoverJobsService
- func (r *ProjectsLocationsSourcesMigratingVmsCutoverJobsService) Cancel(name string, cancelcutoverjobrequest *CancelCutoverJobRequest) *ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall
- func (r *ProjectsLocationsSourcesMigratingVmsCutoverJobsService) Create(parent string, cutoverjob *CutoverJob) *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall
- func (r *ProjectsLocationsSourcesMigratingVmsCutoverJobsService) Get(name string) *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall
- func (r *ProjectsLocationsSourcesMigratingVmsCutoverJobsService) List(parent string) *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
- type ProjectsLocationsSourcesMigratingVmsDeleteCall
- func (c *ProjectsLocationsSourcesMigratingVmsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsDeleteCall
- func (c *ProjectsLocationsSourcesMigratingVmsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesMigratingVmsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsDeleteCall
- func (c *ProjectsLocationsSourcesMigratingVmsDeleteCall) Header() http.Header
- type ProjectsLocationsSourcesMigratingVmsExtendMigrationCall
- func (c *ProjectsLocationsSourcesMigratingVmsExtendMigrationCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsExtendMigrationCall
- func (c *ProjectsLocationsSourcesMigratingVmsExtendMigrationCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesMigratingVmsExtendMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsExtendMigrationCall
- func (c *ProjectsLocationsSourcesMigratingVmsExtendMigrationCall) Header() http.Header
- type ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall
- func (c *ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall
- func (c *ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall
- func (c *ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall) Header() http.Header
- type ProjectsLocationsSourcesMigratingVmsGetCall
- func (c *ProjectsLocationsSourcesMigratingVmsGetCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsGetCall
- func (c *ProjectsLocationsSourcesMigratingVmsGetCall) Do(opts ...googleapi.CallOption) (*MigratingVm, error)
- func (c *ProjectsLocationsSourcesMigratingVmsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsGetCall
- func (c *ProjectsLocationsSourcesMigratingVmsGetCall) Header() http.Header
- func (c *ProjectsLocationsSourcesMigratingVmsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesMigratingVmsGetCall
- func (c *ProjectsLocationsSourcesMigratingVmsGetCall) View(view string) *ProjectsLocationsSourcesMigratingVmsGetCall
- type ProjectsLocationsSourcesMigratingVmsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsListCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsListCall) Do(opts ...googleapi.CallOption) (*ListMigratingVmsResponse, error)
- func (c *ProjectsLocationsSourcesMigratingVmsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsListCall) Filter(filter string) *ProjectsLocationsSourcesMigratingVmsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsListCall) Header() http.Header
- func (c *ProjectsLocationsSourcesMigratingVmsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesMigratingVmsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsListCall) OrderBy(orderBy string) *ProjectsLocationsSourcesMigratingVmsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsListCall) PageSize(pageSize int64) *ProjectsLocationsSourcesMigratingVmsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsListCall) PageToken(pageToken string) *ProjectsLocationsSourcesMigratingVmsListCall
- func (c *ProjectsLocationsSourcesMigratingVmsListCall) Pages(ctx context.Context, f func(*ListMigratingVmsResponse) error) error
- func (c *ProjectsLocationsSourcesMigratingVmsListCall) View(view string) *ProjectsLocationsSourcesMigratingVmsListCall
- type ProjectsLocationsSourcesMigratingVmsPatchCall
- func (c *ProjectsLocationsSourcesMigratingVmsPatchCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsPatchCall
- func (c *ProjectsLocationsSourcesMigratingVmsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesMigratingVmsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsPatchCall
- func (c *ProjectsLocationsSourcesMigratingVmsPatchCall) Header() http.Header
- func (c *ProjectsLocationsSourcesMigratingVmsPatchCall) RequestId(requestId string) *ProjectsLocationsSourcesMigratingVmsPatchCall
- func (c *ProjectsLocationsSourcesMigratingVmsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSourcesMigratingVmsPatchCall
- type ProjectsLocationsSourcesMigratingVmsPauseMigrationCall
- func (c *ProjectsLocationsSourcesMigratingVmsPauseMigrationCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsPauseMigrationCall
- func (c *ProjectsLocationsSourcesMigratingVmsPauseMigrationCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesMigratingVmsPauseMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsPauseMigrationCall
- func (c *ProjectsLocationsSourcesMigratingVmsPauseMigrationCall) Header() http.Header
- type ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall
- func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall
- func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall) Do(opts ...googleapi.CallOption) (*ReplicationCycle, error)
- func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall
- func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall) Header() http.Header
- func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall
- type ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
- func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
- func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) Do(opts ...googleapi.CallOption) (*ListReplicationCyclesResponse, error)
- func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
- func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) Filter(filter string) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
- func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) Header() http.Header
- func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
- func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) OrderBy(orderBy string) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
- func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) PageSize(pageSize int64) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
- func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) PageToken(pageToken string) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
- func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) Pages(ctx context.Context, f func(*ListReplicationCyclesResponse) error) error
- type ProjectsLocationsSourcesMigratingVmsReplicationCyclesService
- func (r *ProjectsLocationsSourcesMigratingVmsReplicationCyclesService) Get(name string) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall
- func (r *ProjectsLocationsSourcesMigratingVmsReplicationCyclesService) List(parent string) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
- type ProjectsLocationsSourcesMigratingVmsResumeMigrationCall
- func (c *ProjectsLocationsSourcesMigratingVmsResumeMigrationCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsResumeMigrationCall
- func (c *ProjectsLocationsSourcesMigratingVmsResumeMigrationCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesMigratingVmsResumeMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsResumeMigrationCall
- func (c *ProjectsLocationsSourcesMigratingVmsResumeMigrationCall) Header() http.Header
- type ProjectsLocationsSourcesMigratingVmsService
- func (r *ProjectsLocationsSourcesMigratingVmsService) Create(parent string, migratingvm *MigratingVm) *ProjectsLocationsSourcesMigratingVmsCreateCall
- func (r *ProjectsLocationsSourcesMigratingVmsService) Delete(name string) *ProjectsLocationsSourcesMigratingVmsDeleteCall
- func (r *ProjectsLocationsSourcesMigratingVmsService) ExtendMigration(migratingVm string, extendmigrationrequest *ExtendMigrationRequest) *ProjectsLocationsSourcesMigratingVmsExtendMigrationCall
- func (r *ProjectsLocationsSourcesMigratingVmsService) FinalizeMigration(migratingVm string, finalizemigrationrequest *FinalizeMigrationRequest) *ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall
- func (r *ProjectsLocationsSourcesMigratingVmsService) Get(name string) *ProjectsLocationsSourcesMigratingVmsGetCall
- func (r *ProjectsLocationsSourcesMigratingVmsService) List(parent string) *ProjectsLocationsSourcesMigratingVmsListCall
- func (r *ProjectsLocationsSourcesMigratingVmsService) Patch(nameid string, migratingvm *MigratingVm) *ProjectsLocationsSourcesMigratingVmsPatchCall
- func (r *ProjectsLocationsSourcesMigratingVmsService) PauseMigration(migratingVm string, pausemigrationrequest *PauseMigrationRequest) *ProjectsLocationsSourcesMigratingVmsPauseMigrationCall
- func (r *ProjectsLocationsSourcesMigratingVmsService) ResumeMigration(migratingVm string, resumemigrationrequest *ResumeMigrationRequest) *ProjectsLocationsSourcesMigratingVmsResumeMigrationCall
- func (r *ProjectsLocationsSourcesMigratingVmsService) StartMigration(migratingVm string, startmigrationrequest *StartMigrationRequest) *ProjectsLocationsSourcesMigratingVmsStartMigrationCall
- type ProjectsLocationsSourcesMigratingVmsStartMigrationCall
- func (c *ProjectsLocationsSourcesMigratingVmsStartMigrationCall) Context(ctx context.Context) *ProjectsLocationsSourcesMigratingVmsStartMigrationCall
- func (c *ProjectsLocationsSourcesMigratingVmsStartMigrationCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesMigratingVmsStartMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsStartMigrationCall
- func (c *ProjectsLocationsSourcesMigratingVmsStartMigrationCall) Header() http.Header
- type ProjectsLocationsSourcesPatchCall
- func (c *ProjectsLocationsSourcesPatchCall) Context(ctx context.Context) *ProjectsLocationsSourcesPatchCall
- func (c *ProjectsLocationsSourcesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesPatchCall
- func (c *ProjectsLocationsSourcesPatchCall) Header() http.Header
- func (c *ProjectsLocationsSourcesPatchCall) RequestId(requestId string) *ProjectsLocationsSourcesPatchCall
- func (c *ProjectsLocationsSourcesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSourcesPatchCall
- type ProjectsLocationsSourcesService
- func (r *ProjectsLocationsSourcesService) Create(parent string, source *Source) *ProjectsLocationsSourcesCreateCall
- func (r *ProjectsLocationsSourcesService) Delete(name string) *ProjectsLocationsSourcesDeleteCall
- func (r *ProjectsLocationsSourcesService) FetchInventory(source string) *ProjectsLocationsSourcesFetchInventoryCall
- func (r *ProjectsLocationsSourcesService) FetchStorageInventory(source string) *ProjectsLocationsSourcesFetchStorageInventoryCall
- func (r *ProjectsLocationsSourcesService) Get(name string) *ProjectsLocationsSourcesGetCall
- func (r *ProjectsLocationsSourcesService) List(parent string) *ProjectsLocationsSourcesListCall
- func (r *ProjectsLocationsSourcesService) Patch(name string, source *Source) *ProjectsLocationsSourcesPatchCall
- type ProjectsLocationsSourcesUtilizationReportsCreateCall
- func (c *ProjectsLocationsSourcesUtilizationReportsCreateCall) Context(ctx context.Context) *ProjectsLocationsSourcesUtilizationReportsCreateCall
- func (c *ProjectsLocationsSourcesUtilizationReportsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesUtilizationReportsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesUtilizationReportsCreateCall
- func (c *ProjectsLocationsSourcesUtilizationReportsCreateCall) Header() http.Header
- func (c *ProjectsLocationsSourcesUtilizationReportsCreateCall) RequestId(requestId string) *ProjectsLocationsSourcesUtilizationReportsCreateCall
- func (c *ProjectsLocationsSourcesUtilizationReportsCreateCall) UtilizationReportId(utilizationReportId string) *ProjectsLocationsSourcesUtilizationReportsCreateCall
- type ProjectsLocationsSourcesUtilizationReportsDeleteCall
- func (c *ProjectsLocationsSourcesUtilizationReportsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSourcesUtilizationReportsDeleteCall
- func (c *ProjectsLocationsSourcesUtilizationReportsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesUtilizationReportsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesUtilizationReportsDeleteCall
- func (c *ProjectsLocationsSourcesUtilizationReportsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsSourcesUtilizationReportsDeleteCall) RequestId(requestId string) *ProjectsLocationsSourcesUtilizationReportsDeleteCall
- type ProjectsLocationsSourcesUtilizationReportsGetCall
- func (c *ProjectsLocationsSourcesUtilizationReportsGetCall) Context(ctx context.Context) *ProjectsLocationsSourcesUtilizationReportsGetCall
- func (c *ProjectsLocationsSourcesUtilizationReportsGetCall) Do(opts ...googleapi.CallOption) (*UtilizationReport, error)
- func (c *ProjectsLocationsSourcesUtilizationReportsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesUtilizationReportsGetCall
- func (c *ProjectsLocationsSourcesUtilizationReportsGetCall) Header() http.Header
- func (c *ProjectsLocationsSourcesUtilizationReportsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesUtilizationReportsGetCall
- func (c *ProjectsLocationsSourcesUtilizationReportsGetCall) View(view string) *ProjectsLocationsSourcesUtilizationReportsGetCall
- type ProjectsLocationsSourcesUtilizationReportsListCall
- func (c *ProjectsLocationsSourcesUtilizationReportsListCall) Context(ctx context.Context) *ProjectsLocationsSourcesUtilizationReportsListCall
- func (c *ProjectsLocationsSourcesUtilizationReportsListCall) Do(opts ...googleapi.CallOption) (*ListUtilizationReportsResponse, error)
- func (c *ProjectsLocationsSourcesUtilizationReportsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesUtilizationReportsListCall
- func (c *ProjectsLocationsSourcesUtilizationReportsListCall) Filter(filter string) *ProjectsLocationsSourcesUtilizationReportsListCall
- func (c *ProjectsLocationsSourcesUtilizationReportsListCall) Header() http.Header
- func (c *ProjectsLocationsSourcesUtilizationReportsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesUtilizationReportsListCall
- func (c *ProjectsLocationsSourcesUtilizationReportsListCall) OrderBy(orderBy string) *ProjectsLocationsSourcesUtilizationReportsListCall
- func (c *ProjectsLocationsSourcesUtilizationReportsListCall) PageSize(pageSize int64) *ProjectsLocationsSourcesUtilizationReportsListCall
- func (c *ProjectsLocationsSourcesUtilizationReportsListCall) PageToken(pageToken string) *ProjectsLocationsSourcesUtilizationReportsListCall
- func (c *ProjectsLocationsSourcesUtilizationReportsListCall) Pages(ctx context.Context, f func(*ListUtilizationReportsResponse) error) error
- func (c *ProjectsLocationsSourcesUtilizationReportsListCall) View(view string) *ProjectsLocationsSourcesUtilizationReportsListCall
- type ProjectsLocationsSourcesUtilizationReportsService
- func (r *ProjectsLocationsSourcesUtilizationReportsService) Create(parent string, utilizationreport *UtilizationReport) *ProjectsLocationsSourcesUtilizationReportsCreateCall
- func (r *ProjectsLocationsSourcesUtilizationReportsService) Delete(name string) *ProjectsLocationsSourcesUtilizationReportsDeleteCall
- func (r *ProjectsLocationsSourcesUtilizationReportsService) Get(name string) *ProjectsLocationsSourcesUtilizationReportsGetCall
- func (r *ProjectsLocationsSourcesUtilizationReportsService) List(parent string) *ProjectsLocationsSourcesUtilizationReportsListCall
- type ProjectsLocationsTargetProjectsCreateCall
- func (c *ProjectsLocationsTargetProjectsCreateCall) Context(ctx context.Context) *ProjectsLocationsTargetProjectsCreateCall
- func (c *ProjectsLocationsTargetProjectsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsTargetProjectsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetProjectsCreateCall
- func (c *ProjectsLocationsTargetProjectsCreateCall) Header() http.Header
- func (c *ProjectsLocationsTargetProjectsCreateCall) RequestId(requestId string) *ProjectsLocationsTargetProjectsCreateCall
- func (c *ProjectsLocationsTargetProjectsCreateCall) TargetProjectId(targetProjectId string) *ProjectsLocationsTargetProjectsCreateCall
- type ProjectsLocationsTargetProjectsDeleteCall
- func (c *ProjectsLocationsTargetProjectsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTargetProjectsDeleteCall
- func (c *ProjectsLocationsTargetProjectsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsTargetProjectsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetProjectsDeleteCall
- func (c *ProjectsLocationsTargetProjectsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsTargetProjectsDeleteCall) RequestId(requestId string) *ProjectsLocationsTargetProjectsDeleteCall
- type ProjectsLocationsTargetProjectsGetCall
- func (c *ProjectsLocationsTargetProjectsGetCall) Context(ctx context.Context) *ProjectsLocationsTargetProjectsGetCall
- func (c *ProjectsLocationsTargetProjectsGetCall) Do(opts ...googleapi.CallOption) (*TargetProject, error)
- func (c *ProjectsLocationsTargetProjectsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetProjectsGetCall
- func (c *ProjectsLocationsTargetProjectsGetCall) Header() http.Header
- func (c *ProjectsLocationsTargetProjectsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTargetProjectsGetCall
- type ProjectsLocationsTargetProjectsListCall
- func (c *ProjectsLocationsTargetProjectsListCall) Context(ctx context.Context) *ProjectsLocationsTargetProjectsListCall
- func (c *ProjectsLocationsTargetProjectsListCall) Do(opts ...googleapi.CallOption) (*ListTargetProjectsResponse, error)
- func (c *ProjectsLocationsTargetProjectsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetProjectsListCall
- func (c *ProjectsLocationsTargetProjectsListCall) Filter(filter string) *ProjectsLocationsTargetProjectsListCall
- func (c *ProjectsLocationsTargetProjectsListCall) Header() http.Header
- func (c *ProjectsLocationsTargetProjectsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTargetProjectsListCall
- func (c *ProjectsLocationsTargetProjectsListCall) OrderBy(orderBy string) *ProjectsLocationsTargetProjectsListCall
- func (c *ProjectsLocationsTargetProjectsListCall) PageSize(pageSize int64) *ProjectsLocationsTargetProjectsListCall
- func (c *ProjectsLocationsTargetProjectsListCall) PageToken(pageToken string) *ProjectsLocationsTargetProjectsListCall
- func (c *ProjectsLocationsTargetProjectsListCall) Pages(ctx context.Context, f func(*ListTargetProjectsResponse) error) error
- type ProjectsLocationsTargetProjectsPatchCall
- func (c *ProjectsLocationsTargetProjectsPatchCall) Context(ctx context.Context) *ProjectsLocationsTargetProjectsPatchCall
- func (c *ProjectsLocationsTargetProjectsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsTargetProjectsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetProjectsPatchCall
- func (c *ProjectsLocationsTargetProjectsPatchCall) Header() http.Header
- func (c *ProjectsLocationsTargetProjectsPatchCall) RequestId(requestId string) *ProjectsLocationsTargetProjectsPatchCall
- func (c *ProjectsLocationsTargetProjectsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTargetProjectsPatchCall
- type ProjectsLocationsTargetProjectsService
- func (r *ProjectsLocationsTargetProjectsService) Create(parent string, targetproject *TargetProject) *ProjectsLocationsTargetProjectsCreateCall
- func (r *ProjectsLocationsTargetProjectsService) Delete(name string) *ProjectsLocationsTargetProjectsDeleteCall
- func (r *ProjectsLocationsTargetProjectsService) Get(name string) *ProjectsLocationsTargetProjectsGetCall
- func (r *ProjectsLocationsTargetProjectsService) List(parent string) *ProjectsLocationsTargetProjectsListCall
- func (r *ProjectsLocationsTargetProjectsService) Patch(name string, targetproject *TargetProject) *ProjectsLocationsTargetProjectsPatchCall
- type ProjectsService
- type ProvisioningTargetDiskStep
- type RemoveGroupMigrationRequest
- type ReplicatingStep
- type ReplicationCycle
- type ReplicationSync
- type ResumeMigrationRequest
- type RunDiskMigrationJobRequest
- type SchedulePolicy
- type SchedulingNodeAffinity
- type Service
- type ServiceAccount
- type ShieldedInstanceConfig
- type ShuttingDownSourceVMStep
- type SkipOsAdaptation
- type Source
- type SourceStorageResource
- type StartMigrationRequest
- type Status
- type Tag
- type TargetProject
- type TargetVMDetails
- type UpgradeApplianceRequest
- type UpgradeStatus
- type UtilizationReport
- type VmAttachmentDetails
- type VmCapabilities
- type VmUtilizationInfo
- type VmUtilizationMetrics
- type VmwareDiskDetails
- type VmwareSourceDetails
- type VmwareSourceVmDetails
- type VmwareVmDetails
- type VmwareVmsDetails
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¶
typeAccessKeyCredentials¶added inv0.104.0
type AccessKeyCredentials struct {// AccessKeyId: AWS access key ID.AccessKeyIdstring `json:"accessKeyId,omitempty"`// SecretAccessKey: Input only. AWS secret access key.SecretAccessKeystring `json:"secretAccessKey,omitempty"`// SessionToken: Input only. AWS session token. Used only when AWS security// token service (STS) is responsible for creating the temporary credentials.SessionTokenstring `json:"sessionToken,omitempty"`// ForceSendFields is a list of field names (e.g. "AccessKeyId") 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. "AccessKeyId") 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:"-"`}AccessKeyCredentials: Message describing AWS Credentials using access key idand secret.
func (AccessKeyCredentials)MarshalJSON¶added inv0.104.0
func (sAccessKeyCredentials) MarshalJSON() ([]byte,error)
typeAdaptationModifier¶added inv0.250.0
type AdaptationModifier struct {// Modifier: Optional. The modifier name.Modifierstring `json:"modifier,omitempty"`// Value: Optional. The value of the modifier. The actual value depends on the// modifier and can also be empty.Valuestring `json:"value,omitempty"`// ForceSendFields is a list of field names (e.g. "Modifier") 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. "Modifier") 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:"-"`}AdaptationModifier: AdaptationModifier a modifier to be used forconfiguration of the OS adaptation process.
func (AdaptationModifier)MarshalJSON¶added inv0.250.0
func (sAdaptationModifier) MarshalJSON() ([]byte,error)
typeAdaptingOSStep¶added inv0.84.0
type AdaptingOSStep struct {}AdaptingOSStep: AdaptingOSStep contains specific step details.
typeAddGroupMigrationRequest¶
type AddGroupMigrationRequest struct {// MigratingVm: The full path name of the MigratingVm to add.MigratingVmstring `json:"migratingVm,omitempty"`// ForceSendFields is a list of field names (e.g. "MigratingVm") 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. "MigratingVm") 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:"-"`}AddGroupMigrationRequest: Request message for 'AddGroupMigration' request.
func (AddGroupMigrationRequest)MarshalJSON¶
func (sAddGroupMigrationRequest) MarshalJSON() ([]byte,error)
typeApplianceVersion¶added inv0.69.0
type ApplianceVersion struct {// Critical: Determine whether it's critical to upgrade the appliance to this// version.Criticalbool `json:"critical,omitempty"`// ReleaseNotesUri: Link to a page that contains the version release notes.ReleaseNotesUristring `json:"releaseNotesUri,omitempty"`// Uri: A link for downloading the version.Uristring `json:"uri,omitempty"`// Version: The appliance version.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "Critical") 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. "Critical") 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:"-"`}ApplianceVersion: Describes an appliance version.
func (ApplianceVersion)MarshalJSON¶added inv0.69.0
func (sApplianceVersion) MarshalJSON() ([]byte,error)
typeAppliedLicense¶
type AppliedLicense struct {// OsLicense: The OS license returned from the adaptation module's report.OsLicensestring `json:"osLicense,omitempty"`// Type: The license type that was used in OS adaptation.//// Possible values:// "TYPE_UNSPECIFIED" - Unspecified license for the OS.// "NONE" - No license available for the OS.// "PAYG" - The license type is Pay As You Go license type.// "BYOL" - The license type is Bring Your Own License type.Typestring `json:"type,omitempty"`// ForceSendFields is a list of field names (e.g. "OsLicense") 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. "OsLicense") 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:"-"`}AppliedLicense: AppliedLicense holds the license data returned by adaptationmodule report.
func (AppliedLicense)MarshalJSON¶
func (sAppliedLicense) MarshalJSON() ([]byte,error)
typeAvailableUpdates¶added inv0.69.0
type AvailableUpdates struct {// InPlaceUpdate: The latest version for in place update. The current appliance// can be updated to this version using the API or m4c CLI.InPlaceUpdate *ApplianceVersion `json:"inPlaceUpdate,omitempty"`// NewDeployableAppliance: The newest deployable version of the appliance. The// current appliance can't be updated into this version, and the owner must// manually deploy this OVA to a new appliance.NewDeployableAppliance *ApplianceVersion `json:"newDeployableAppliance,omitempty"`// ForceSendFields is a list of field names (e.g. "InPlaceUpdate") 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. "InPlaceUpdate") 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:"-"`}AvailableUpdates: Holds information about the available versions forupgrade.
func (AvailableUpdates)MarshalJSON¶added inv0.69.0
func (sAvailableUpdates) MarshalJSON() ([]byte,error)
typeAwsDiskDetails¶added inv0.125.0
type AwsDiskDetails struct {// DiskNumber: Output only. The ordinal number of the disk.DiskNumberint64 `json:"diskNumber,omitempty"`// SizeGb: Output only. Size in GB.SizeGbint64 `json:"sizeGb,omitempty,string"`// VolumeId: Output only. AWS volume ID.VolumeIdstring `json:"volumeId,omitempty"`// ForceSendFields is a list of field names (e.g. "DiskNumber") 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. "DiskNumber") 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:"-"`}AwsDiskDetails: The details of an AWS instance disk.
func (AwsDiskDetails)MarshalJSON¶added inv0.125.0
func (sAwsDiskDetails) MarshalJSON() ([]byte,error)
typeAwsSecurityGroup¶added inv0.103.0
type AwsSecurityGroup struct {// Id: The AWS security group id.Idstring `json:"id,omitempty"`// Name: The AWS security group name.Namestring `json:"name,omitempty"`// ForceSendFields is a list of field names (e.g. "Id") 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. "Id") 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:"-"`}AwsSecurityGroup: AwsSecurityGroup describes a security group of an AWS VM.
func (AwsSecurityGroup)MarshalJSON¶added inv0.103.0
func (sAwsSecurityGroup) MarshalJSON() ([]byte,error)
typeAwsSourceDetails¶added inv0.103.0
type AwsSourceDetails struct {// AccessKeyCreds: AWS Credentials using access key id and secret.AccessKeyCreds *AccessKeyCredentials `json:"accessKeyCreds,omitempty"`// AwsRegion: Immutable. The AWS region that the source VMs will be migrated// from.AwsRegionstring `json:"awsRegion,omitempty"`// Error: Output only. Provides details on the state of the Source in case of// an error.Error *Status `json:"error,omitempty"`// InventorySecurityGroupNames: AWS security group names to limit the scope of// the source inventory.InventorySecurityGroupNames []string `json:"inventorySecurityGroupNames,omitempty"`// InventoryTagList: AWS resource tags to limit the scope of the source// inventory.InventoryTagList []*Tag `json:"inventoryTagList,omitempty"`// MigrationResourcesUserTags: User specified tags to add to every M2VM// generated resource in AWS. These tags will be set in addition to the default// tags that are set as part of the migration process. The tags must not begin// with the reserved prefix `m2vm`.MigrationResourcesUserTags map[string]string `json:"migrationResourcesUserTags,omitempty"`// PublicIp: Output only. The source's public IP. All communication initiated// by this source will originate from this IP.PublicIpstring `json:"publicIp,omitempty"`// State: Output only. State of the source as determined by the health check.//// Possible values:// "STATE_UNSPECIFIED" - The state is unknown. This is used for API// compatibility only and is not used by the system.// "PENDING" - The state was not sampled by the health checks yet.// "FAILED" - The source is available but might not be usable yet due to// invalid credentials or another reason. The error message will contain// further details.// "ACTIVE" - The source exists and its credentials were verified.Statestring `json:"state,omitempty"`// ForceSendFields is a list of field names (e.g. "AccessKeyCreds") 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. "AccessKeyCreds") 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:"-"`}AwsSourceDetails: AwsSourceDetails message describes a specific sourcedetails for the AWS source type.
func (AwsSourceDetails)MarshalJSON¶added inv0.103.0
func (sAwsSourceDetails) MarshalJSON() ([]byte,error)
typeAwsSourceDiskDetails¶added inv0.249.0
type AwsSourceDiskDetails struct {// DiskType: Optional. Output only. Disk type.//// Possible values:// "TYPE_UNSPECIFIED" - Unspecified AWS disk type. Should not be used.// "GP2" - GP2 disk type.// "GP3" - GP3 disk type.// "IO1" - IO1 disk type.// "IO2" - IO2 disk type.// "ST1" - ST1 disk type.// "SC1" - SC1 disk type.// "STANDARD" - Standard disk type.DiskTypestring `json:"diskType,omitempty"`// SizeGib: Output only. Size in GiB.SizeGibint64 `json:"sizeGib,omitempty,string"`// Tags: Optional. Output only. A map of AWS volume tags.Tags map[string]string `json:"tags,omitempty"`// VolumeId: Required. AWS volume ID.VolumeIdstring `json:"volumeId,omitempty"`// ForceSendFields is a list of field names (e.g. "DiskType") 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. "DiskType") 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:"-"`}AwsSourceDiskDetails: Represents the source AWS Disk details.
func (AwsSourceDiskDetails)MarshalJSON¶added inv0.249.0
func (sAwsSourceDiskDetails) MarshalJSON() ([]byte,error)
typeAwsSourceVmDetails¶added inv0.75.0
type AwsSourceVmDetails struct {// Architecture: Output only. The VM architecture.//// Possible values:// "VM_ARCHITECTURE_UNSPECIFIED" - The architecture is unknown.// "VM_ARCHITECTURE_X86_FAMILY" - The architecture is one of the x86// architectures.// "VM_ARCHITECTURE_ARM64" - The architecture is ARM64.Architecturestring `json:"architecture,omitempty"`// CommittedStorageBytes: Output only. The total size of the disks being// migrated in bytes.CommittedStorageBytesint64 `json:"committedStorageBytes,omitempty,string"`// Disks: Output only. The disks attached to the source VM.Disks []*AwsDiskDetails `json:"disks,omitempty"`// Firmware: Output only. The firmware type of the source VM.//// Possible values:// "FIRMWARE_UNSPECIFIED" - The firmware is unknown.// "EFI" - The firmware is EFI.// "BIOS" - The firmware is BIOS.Firmwarestring `json:"firmware,omitempty"`// VmCapabilitiesInfo: Output only. Information about VM capabilities needed// for some Compute Engine features.VmCapabilitiesInfo *VmCapabilities `json:"vmCapabilitiesInfo,omitempty"`// ForceSendFields is a list of field names (e.g. "Architecture") 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. "Architecture") 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:"-"`}AwsSourceVmDetails: Represent the source AWS VM details.
func (AwsSourceVmDetails)MarshalJSON¶added inv0.75.0
func (sAwsSourceVmDetails) MarshalJSON() ([]byte,error)
typeAwsVmDetails¶added inv0.103.0
type AwsVmDetails struct {// Architecture: The CPU architecture.//// Possible values:// "VM_ARCHITECTURE_UNSPECIFIED" - The architecture is unknown.// "I386" - The architecture is I386.// "X86_64" - The architecture is X86_64.// "ARM64" - The architecture is ARM64.// "X86_64_MAC" - The architecture is X86_64_MAC.Architecturestring `json:"architecture,omitempty"`// BootOption: The VM Boot Option.//// Possible values:// "BOOT_OPTION_UNSPECIFIED" - The boot option is unknown.// "EFI" - The boot option is UEFI.// "BIOS" - The boot option is LEGACY-BIOS.BootOptionstring `json:"bootOption,omitempty"`// CommittedStorageMb: The total size of the storage allocated to the VM in MB.CommittedStorageMbint64 `json:"committedStorageMb,omitempty,string"`// CpuCount: The number of CPU cores the VM has.CpuCountint64 `json:"cpuCount,omitempty"`// DiskCount: The number of disks the VM has.DiskCountint64 `json:"diskCount,omitempty"`// DisplayName: The display name of the VM. Note that this value is not// necessarily unique.DisplayNamestring `json:"displayName,omitempty"`// InstanceType: The instance type of the VM.InstanceTypestring `json:"instanceType,omitempty"`// MemoryMb: The memory size of the VM in MB.MemoryMbint64 `json:"memoryMb,omitempty"`// OsDescription: The VM's OS.OsDescriptionstring `json:"osDescription,omitempty"`// PowerState: Output only. The power state of the VM at the moment list was// taken.//// Possible values:// "POWER_STATE_UNSPECIFIED" - Power state is not specified.// "ON" - The VM is turned on.// "OFF" - The VM is turned off.// "SUSPENDED" - The VM is suspended. This is similar to hibernation or sleep// mode.// "PENDING" - The VM is starting.PowerStatestring `json:"powerState,omitempty"`// SecurityGroups: The security groups the VM belongs to.SecurityGroups []*AwsSecurityGroup `json:"securityGroups,omitempty"`// SourceDescription: The descriptive name of the AWS's source this VM is// connected to.SourceDescriptionstring `json:"sourceDescription,omitempty"`// SourceId: The id of the AWS's source this VM is connected to.SourceIdstring `json:"sourceId,omitempty"`// Tags: The tags of the VM.Tags map[string]string `json:"tags,omitempty"`// VcpuCount: The number of vCPUs the VM has. It is calculated as the number of// CPU cores * threads per CPU the VM has.VcpuCountint64 `json:"vcpuCount,omitempty"`// VirtualizationType: The virtualization type.//// Possible values:// "VM_VIRTUALIZATION_TYPE_UNSPECIFIED" - The virtualization type is unknown.// "HVM" - The virtualziation type is HVM.// "PARAVIRTUAL" - The virtualziation type is PARAVIRTUAL.VirtualizationTypestring `json:"virtualizationType,omitempty"`// VmId: The VM ID in AWS.VmIdstring `json:"vmId,omitempty"`// VpcId: The VPC ID the VM belongs to.VpcIdstring `json:"vpcId,omitempty"`// Zone: The AWS zone of the VM.Zonestring `json:"zone,omitempty"`// ForceSendFields is a list of field names (e.g. "Architecture") 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. "Architecture") 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:"-"`}AwsVmDetails: AwsVmDetails describes a VM in AWS.
func (AwsVmDetails)MarshalJSON¶added inv0.103.0
func (sAwsVmDetails) MarshalJSON() ([]byte,error)
typeAwsVmsDetails¶added inv0.103.0
type AwsVmsDetails struct {// Details: The details of the AWS VMs.Details []*AwsVmDetails `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:"-"`}AwsVmsDetails: AWSVmsDetails describes VMs in AWS.
func (AwsVmsDetails)MarshalJSON¶added inv0.103.0
func (sAwsVmsDetails) MarshalJSON() ([]byte,error)
typeAzureDiskDetails¶added inv0.139.0
type AzureDiskDetails struct {// DiskId: Output only. Azure disk ID.DiskIdstring `json:"diskId,omitempty"`// DiskNumber: Output only. The ordinal number of the disk.DiskNumberint64 `json:"diskNumber,omitempty"`// SizeGb: Output only. Size in GB.SizeGbint64 `json:"sizeGb,omitempty,string"`// ForceSendFields is a list of field names (e.g. "DiskId") 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. "DiskId") 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:"-"`}AzureDiskDetails: The details of an Azure VM disk.
func (AzureDiskDetails)MarshalJSON¶added inv0.139.0
func (sAzureDiskDetails) MarshalJSON() ([]byte,error)
typeAzureSourceDetails¶added inv0.139.0
type AzureSourceDetails struct {// AzureLocation: Immutable. The Azure location (region) that the source VMs// will be migrated from.AzureLocationstring `json:"azureLocation,omitempty"`// ClientSecretCreds: Azure Credentials using tenant ID, client ID and secret.ClientSecretCreds *ClientSecretCredentials `json:"clientSecretCreds,omitempty"`// Error: Output only. Provides details on the state of the Source in case of// an error.Error *Status `json:"error,omitempty"`// MigrationResourcesUserTags: User specified tags to add to every M2VM// generated resource in Azure. These tags will be set in addition to the// default tags that are set as part of the migration process. The tags must// not begin with the reserved prefix `m4ce` or `m2vm`.MigrationResourcesUserTags map[string]string `json:"migrationResourcesUserTags,omitempty"`// ResourceGroupId: Output only. The ID of the Azure resource group that// contains all resources related to the migration process of this source.ResourceGroupIdstring `json:"resourceGroupId,omitempty"`// State: Output only. State of the source as determined by the health check.//// Possible values:// "STATE_UNSPECIFIED" - The state is unknown. This is used for API// compatibility only and is not used by the system.// "PENDING" - The state was not sampled by the health checks yet.// "FAILED" - The source is available but might not be usable yet due to// invalid credentials or another reason. The error message will contain// further details.// "ACTIVE" - The source exists and its credentials were verified.Statestring `json:"state,omitempty"`// SubscriptionId: Immutable. Azure subscription ID.SubscriptionIdstring `json:"subscriptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "AzureLocation") 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. "AzureLocation") 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:"-"`}AzureSourceDetails: AzureSourceDetails message describes a specific sourcedetails for the Azure source type.
func (AzureSourceDetails)MarshalJSON¶added inv0.139.0
func (sAzureSourceDetails) MarshalJSON() ([]byte,error)
typeAzureSourceVmDetails¶added inv0.139.0
type AzureSourceVmDetails struct {// Architecture: Output only. The VM architecture.//// Possible values:// "VM_ARCHITECTURE_UNSPECIFIED" - The architecture is unknown.// "VM_ARCHITECTURE_X86_FAMILY" - The architecture is one of the x86// architectures.// "VM_ARCHITECTURE_ARM64" - The architecture is ARM64.Architecturestring `json:"architecture,omitempty"`// CommittedStorageBytes: Output only. The total size of the disks being// migrated in bytes.CommittedStorageBytesint64 `json:"committedStorageBytes,omitempty,string"`// Disks: Output only. The disks attached to the source VM.Disks []*AzureDiskDetails `json:"disks,omitempty"`// Firmware: Output only. The firmware type of the source VM.//// Possible values:// "FIRMWARE_UNSPECIFIED" - The firmware is unknown.// "EFI" - The firmware is EFI.// "BIOS" - The firmware is BIOS.Firmwarestring `json:"firmware,omitempty"`// VmCapabilitiesInfo: Output only. Information about VM capabilities needed// for some Compute Engine features.VmCapabilitiesInfo *VmCapabilities `json:"vmCapabilitiesInfo,omitempty"`// ForceSendFields is a list of field names (e.g. "Architecture") 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. "Architecture") 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:"-"`}AzureSourceVmDetails: Represent the source Azure VM details.
func (AzureSourceVmDetails)MarshalJSON¶added inv0.139.0
func (sAzureSourceVmDetails) MarshalJSON() ([]byte,error)
typeAzureVmDetails¶added inv0.139.0
type AzureVmDetails struct {// Architecture: The CPU architecture.//// Possible values:// "VM_ARCHITECTURE_UNSPECIFIED" - The architecture is unknown.// "VM_ARCHITECTURE_X86_FAMILY" - The architecture is one of the x86// architectures.// "VM_ARCHITECTURE_ARM64" - The architecture is ARM64.Architecturestring `json:"architecture,omitempty"`// BootOption: The VM Boot Option.//// Possible values:// "BOOT_OPTION_UNSPECIFIED" - The boot option is unknown.// "EFI" - The boot option is UEFI.// "BIOS" - The boot option is BIOS.BootOptionstring `json:"bootOption,omitempty"`// CommittedStorageMb: The total size of the storage allocated to the VM in MB.CommittedStorageMbint64 `json:"committedStorageMb,omitempty,string"`// ComputerName: The VM's ComputerName.ComputerNamestring `json:"computerName,omitempty"`// CpuCount: The number of cpus the VM has.CpuCountint64 `json:"cpuCount,omitempty"`// DiskCount: The number of disks the VM has, including OS disk.DiskCountint64 `json:"diskCount,omitempty"`// Disks: Description of the data disks.Disks []*Disk `json:"disks,omitempty"`// MemoryMb: The memory size of the VM in MB.MemoryMbint64 `json:"memoryMb,omitempty"`// OsDescription: Description of the OS.OsDescription *OSDescription `json:"osDescription,omitempty"`// OsDisk: Description of the OS disk.OsDisk *OSDisk `json:"osDisk,omitempty"`// PowerState: The power state of the VM at the moment list was taken.//// Possible values:// "POWER_STATE_UNSPECIFIED" - Power state is not specified.// "STARTING" - The VM is starting.// "RUNNING" - The VM is running.// "STOPPING" - The VM is stopping.// "STOPPED" - The VM is stopped.// "DEALLOCATING" - The VM is deallocating.// "DEALLOCATED" - The VM is deallocated.// "UNKNOWN" - The VM's power state is unknown.PowerStatestring `json:"powerState,omitempty"`// Tags: The tags of the VM.Tags map[string]string `json:"tags,omitempty"`// VmId: The VM full path in Azure.VmIdstring `json:"vmId,omitempty"`// VmSize: VM size as configured in Azure. Determines the VM's hardware spec.VmSizestring `json:"vmSize,omitempty"`// ForceSendFields is a list of field names (e.g. "Architecture") 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. "Architecture") 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:"-"`}AzureVmDetails: AzureVmDetails describes a VM in Azure.
func (AzureVmDetails)MarshalJSON¶added inv0.139.0
func (sAzureVmDetails) MarshalJSON() ([]byte,error)
typeAzureVmsDetails¶added inv0.139.0
type AzureVmsDetails struct {// Details: The details of the Azure VMs.Details []*AzureVmDetails `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:"-"`}AzureVmsDetails: AzureVmsDetails describes VMs in Azure.
func (AzureVmsDetails)MarshalJSON¶added inv0.139.0
func (sAzureVmsDetails) MarshalJSON() ([]byte,error)
typeBootDiskDefaults¶added inv0.143.0
type BootDiskDefaults struct {// DeviceName: Optional. Specifies a unique device name of your choice that is// reflected into the /dev/disk/by-id/google-* tree of a Linux operating system// running within the instance. If not specified, the server chooses a default// device name to apply to this disk, in the form persistent-disk-x, where x is// a number assigned by Google Compute Engine. This field is only applicable// for persistent disks.DeviceNamestring `json:"deviceName,omitempty"`// DiskName: Optional. The name of the disk.DiskNamestring `json:"diskName,omitempty"`// DiskType: Optional. The type of disk provisioning to use for the VM.//// Possible values:// "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED" - An unspecified disk type. Will be// used as STANDARD.// "COMPUTE_ENGINE_DISK_TYPE_STANDARD" - A Standard disk type.// "COMPUTE_ENGINE_DISK_TYPE_SSD" - SSD hard disk type.// "COMPUTE_ENGINE_DISK_TYPE_BALANCED" - An alternative to SSD persistent// disks that balance performance and cost.// "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED" - Hyperdisk balanced disk// type.DiskTypestring `json:"diskType,omitempty"`// Encryption: Optional. The encryption to apply to the boot disk.Encryption *Encryption `json:"encryption,omitempty"`// Image: The image to use when creating the disk.Image *DiskImageDefaults `json:"image,omitempty"`// ForceSendFields is a list of field names (e.g. "DeviceName") 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. "DeviceName") 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:"-"`}BootDiskDefaults: BootDiskDefaults hold information about the boot disk of aVM.
func (BootDiskDefaults)MarshalJSON¶added inv0.143.0
func (sBootDiskDefaults) MarshalJSON() ([]byte,error)
typeCancelCloneJobRequest¶
type CancelCloneJobRequest struct {}CancelCloneJobRequest: Request message for 'CancelCloneJob' request.
typeCancelCutoverJobRequest¶
type CancelCutoverJobRequest struct {}CancelCutoverJobRequest: Request message for 'CancelCutoverJob' request.
typeCancelDiskMigrationJobRequest¶added inv0.188.0
type CancelDiskMigrationJobRequest struct {}CancelDiskMigrationJobRequest: Request message for 'CancelDiskMigrationJob'request.
typeCancelImageImportJobRequest¶added inv0.168.0
type CancelImageImportJobRequest struct {}CancelImageImportJobRequest: Request message for 'CancelImageImportJob'request.
typeCancelOperationRequest¶
type CancelOperationRequest struct {}CancelOperationRequest: The request message for Operations.CancelOperation.
typeClientSecretCredentials¶added inv0.139.0
type ClientSecretCredentials struct {// ClientId: Azure client ID.ClientIdstring `json:"clientId,omitempty"`// ClientSecret: Input only. Azure client secret.ClientSecretstring `json:"clientSecret,omitempty"`// TenantId: Azure tenant ID.TenantIdstring `json:"tenantId,omitempty"`// ForceSendFields is a list of field names (e.g. "ClientId") 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. "ClientId") 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:"-"`}ClientSecretCredentials: Message describing Azure Credentials using tenantID, client ID and secret.
func (ClientSecretCredentials)MarshalJSON¶added inv0.139.0
func (sClientSecretCredentials) MarshalJSON() ([]byte,error)
typeCloneJob¶
type CloneJob struct {// ComputeEngineDisksTargetDetails: Output only. Details of the target// Persistent Disks in Compute Engine.ComputeEngineDisksTargetDetails *ComputeEngineDisksTargetDetails `json:"computeEngineDisksTargetDetails,omitempty"`// ComputeEngineTargetDetails: Output only. Details of the target VM in Compute// Engine.ComputeEngineTargetDetails *ComputeEngineTargetDetails `json:"computeEngineTargetDetails,omitempty"`// ComputeEngineVmDetails: Output only. Details of the VM in Compute Engine.// Deprecated: Use compute_engine_target_details instead.ComputeEngineVmDetails *TargetVMDetails `json:"computeEngineVmDetails,omitempty"`// CreateTime: Output only. The time the clone job was created (as an API call,// not when it was actually created in the target).CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the clone job was ended.EndTimestring `json:"endTime,omitempty"`// Error: Output only. Provides details for the errors that led to the Clone// Job's state.Error *Status `json:"error,omitempty"`// Name: Output only. The name of the clone.Namestring `json:"name,omitempty"`// State: Output only. State of the clone job.//// Possible values:// "STATE_UNSPECIFIED" - The state is unknown. This is used for API// compatibility only and is not used by the system.// "PENDING" - The clone job has not yet started.// "ACTIVE" - The clone job is active and running.// "FAILED" - The clone job finished with errors.// "SUCCEEDED" - The clone job finished successfully.// "CANCELLED" - The clone job was cancelled.// "CANCELLING" - The clone job is being cancelled.// "ADAPTING_OS" - OS adaptation is running as part of the clone job to// generate license.Statestring `json:"state,omitempty"`// StateTime: Output only. The time the state was last updated.StateTimestring `json:"stateTime,omitempty"`// Steps: Output only. The clone steps list representing its progress.Steps []*CloneStep `json:"steps,omitempty"`// TargetDetails: Output only. Details of the VM to create as the target of// this clone job. Deprecated: Use compute_engine_target_details instead.TargetDetails *TargetVMDetails `json:"targetDetails,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "ComputeEngineDisksTargetDetails") 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. "ComputeEngineDisksTargetDetails")// 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:"-"`}CloneJob: CloneJob describes the process of creating a clone of aMigratingVM to the requested target based on the latest successful uploadedsnapshots. While the migration cycles of a MigratingVm take place, it ispossible to verify the uploaded VM can be started in the cloud, by creatinga clone. The clone can be created without any downtime, and it is createdusing the latest snapshots which are already in the cloud. The cloneJob isonly responsible for its work, not its products, which means once it isfinished, it will never touch the instance it created. It will only deleteit in case of the CloneJob being cancelled or upon failure to clone.
func (CloneJob)MarshalJSON¶
typeCloneStep¶added inv0.84.0
type CloneStep struct {// AdaptingOs: Adapting OS step.AdaptingOs *AdaptingOSStep `json:"adaptingOs,omitempty"`// EndTime: The time the step has ended.EndTimestring `json:"endTime,omitempty"`// InstantiatingMigratedVm: Instantiating migrated VM step.InstantiatingMigratedVm *InstantiatingMigratedVMStep `json:"instantiatingMigratedVm,omitempty"`// PreparingVmDisks: Preparing VM disks step.PreparingVmDisks *PreparingVMDisksStep `json:"preparingVmDisks,omitempty"`// StartTime: The time the step has started.StartTimestring `json:"startTime,omitempty"`// ForceSendFields is a list of field names (e.g. "AdaptingOs") 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. "AdaptingOs") 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:"-"`}CloneStep: CloneStep holds information about the clone step progress.
func (CloneStep)MarshalJSON¶added inv0.84.0
typeComputeEngineDisk¶added inv0.249.0
type ComputeEngineDisk struct {// DiskId: Optional. Target Compute Engine Disk ID. This is the resource ID// segment of the Compute Engine Disk to create. In the resource name// compute/v1/projects/{project}/zones/{zone}/disks/disk1 "disk1" is the// resource ID for the disk.DiskIdstring `json:"diskId,omitempty"`// DiskType: Required. The disk type to use.//// Possible values:// "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED" - An unspecified disk type. Will be// used as STANDARD.// "COMPUTE_ENGINE_DISK_TYPE_STANDARD" - A Standard disk type.// "COMPUTE_ENGINE_DISK_TYPE_SSD" - SSD hard disk type.// "COMPUTE_ENGINE_DISK_TYPE_BALANCED" - An alternative to SSD persistent// disks that balance performance and cost.// "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED" - Hyperdisk balanced disk// type.DiskTypestring `json:"diskType,omitempty"`// ReplicaZones: Optional. Replication zones of the regional disk. Should be of// the form: projects/{target-project}/locations/{replica-zone} Currently only// one replica zone is supported.ReplicaZones []string `json:"replicaZones,omitempty"`// Zone: Required. The Compute Engine zone in which to create the disk. Should// be of the form: projects/{target-project}/locations/{zone}Zonestring `json:"zone,omitempty"`// ForceSendFields is a list of field names (e.g. "DiskId") 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. "DiskId") 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:"-"`}ComputeEngineDisk: Compute Engine disk target details.
func (ComputeEngineDisk)MarshalJSON¶added inv0.249.0
func (sComputeEngineDisk) MarshalJSON() ([]byte,error)
typeComputeEngineDisksTargetDefaults¶added inv0.133.0
type ComputeEngineDisksTargetDefaults struct {// Disks: The details of each Persistent Disk to create.Disks []*PersistentDiskDefaults `json:"disks,omitempty"`// DisksTargetDefaults: Details of the disk only migration target.DisksTargetDefaults *DisksMigrationDisksTargetDefaults `json:"disksTargetDefaults,omitempty"`// TargetProject: The full path of the resource of type TargetProject which// represents the Compute Engine project in which to create the Persistent// Disks.TargetProjectstring `json:"targetProject,omitempty"`// VmTargetDefaults: Details of the VM migration target.VmTargetDefaults *DisksMigrationVmTargetDefaults `json:"vmTargetDefaults,omitempty"`// Zone: The zone in which to create the Persistent Disks.Zonestring `json:"zone,omitempty"`// ForceSendFields is a list of field names (e.g. "Disks") 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. "Disks") 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:"-"`}ComputeEngineDisksTargetDefaults: ComputeEngineDisksTargetDefaults is acollection of details for creating Persistent Disks in a target ComputeEngine project.
func (ComputeEngineDisksTargetDefaults)MarshalJSON¶added inv0.133.0
func (sComputeEngineDisksTargetDefaults) MarshalJSON() ([]byte,error)
typeComputeEngineDisksTargetDetails¶added inv0.133.0
type ComputeEngineDisksTargetDetails struct {// Disks: The details of each created Persistent Disk.Disks []*PersistentDisk `json:"disks,omitempty"`// DisksTargetDetails: Details of the disks-only migration target.DisksTargetDetails *DisksMigrationDisksTargetDetails `json:"disksTargetDetails,omitempty"`// VmTargetDetails: Details for the VM the migrated data disks are attached to.VmTargetDetails *DisksMigrationVmTargetDetails `json:"vmTargetDetails,omitempty"`// ForceSendFields is a list of field names (e.g. "Disks") 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. "Disks") 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:"-"`}ComputeEngineDisksTargetDetails: ComputeEngineDisksTargetDetails is acollection of created Persistent Disks details.
func (ComputeEngineDisksTargetDetails)MarshalJSON¶added inv0.133.0
func (sComputeEngineDisksTargetDetails) MarshalJSON() ([]byte,error)
typeComputeEngineTargetDefaults¶
type ComputeEngineTargetDefaults struct {// AdaptationModifiers: Optional. AdaptationModifiers are the set of modifiers// used during OS adaptation.AdaptationModifiers []*AdaptationModifier `json:"adaptationModifiers,omitempty"`// AdditionalLicenses: Additional licenses to assign to the VM.AdditionalLicenses []string `json:"additionalLicenses,omitempty"`// AppliedLicense: Output only. The OS license returned from the adaptation// module report.AppliedLicense *AppliedLicense `json:"appliedLicense,omitempty"`// BootConversion: Optional. By default the virtual machine will keep its// existing boot option. Setting this property will trigger an internal process// which will convert the virtual machine from using the existing boot option// to another.//// Possible values:// "BOOT_CONVERSION_UNSPECIFIED" - Unspecified conversion type.// "NONE" - No conversion.// "BIOS_TO_EFI" - Convert from BIOS to EFI.BootConversionstring `json:"bootConversion,omitempty"`// BootOption: Output only. The VM Boot Option, as set in the source VM.//// Possible values:// "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED" - The boot option is unknown.// "COMPUTE_ENGINE_BOOT_OPTION_EFI" - The boot option is EFI.// "COMPUTE_ENGINE_BOOT_OPTION_BIOS" - The boot option is BIOS.BootOptionstring `json:"bootOption,omitempty"`// ComputeScheduling: Compute instance scheduling information (if empty default// is used).ComputeScheduling *ComputeScheduling `json:"computeScheduling,omitempty"`// DiskReplicaZones: Optional. Additional replica zones of the target regional// disks. If this list is not empty a regional disk will be created. The first// supported zone would be the one stated in the zone field. The rest are taken// from this list. Please refer to the regional disk creation API// (https://cloud.google.com/compute/docs/regions-zones/global-regional-zonal-resources)// for further details about regional vs zonal disks. If not specified, a zonal// disk will be created in the same zone the VM is created.DiskReplicaZones []string `json:"diskReplicaZones,omitempty"`// DiskType: The disk type to use in the VM.//// Possible values:// "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED" - An unspecified disk type. Will be// used as STANDARD.// "COMPUTE_ENGINE_DISK_TYPE_STANDARD" - A Standard disk type.// "COMPUTE_ENGINE_DISK_TYPE_SSD" - SSD hard disk type.// "COMPUTE_ENGINE_DISK_TYPE_BALANCED" - An alternative to SSD persistent// disks that balance performance and cost.// "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED" - Hyperdisk balanced disk// type.DiskTypestring `json:"diskType,omitempty"`// EnableIntegrityMonitoring: Optional. Defines whether the instance has// integrity monitoring enabled. This can be set to true only if the VM boot// option is EFI, and vTPM is enabled.EnableIntegrityMonitoringbool `json:"enableIntegrityMonitoring,omitempty"`// EnableVtpm: Optional. Defines whether the instance has vTPM enabled. This// can be set to true only if the VM boot option is EFI.EnableVtpmbool `json:"enableVtpm,omitempty"`// Encryption: Optional. Immutable. The encryption to apply to the VM disks.Encryption *Encryption `json:"encryption,omitempty"`// Hostname: The hostname to assign to the VM.Hostnamestring `json:"hostname,omitempty"`// Labels: A map of labels to associate with the VM.Labels map[string]string `json:"labels,omitempty"`// LicenseType: The license type to use in OS adaptation.//// Possible values:// "COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT" - The license type is the default// for the OS.// "COMPUTE_ENGINE_LICENSE_TYPE_PAYG" - The license type is Pay As You Go// license type.// "COMPUTE_ENGINE_LICENSE_TYPE_BYOL" - The license type is Bring Your Own// License type.LicenseTypestring `json:"licenseType,omitempty"`// MachineType: The machine type to create the VM with.MachineTypestring `json:"machineType,omitempty"`// MachineTypeSeries: The machine type series to create the VM with.MachineTypeSeriesstring `json:"machineTypeSeries,omitempty"`// Metadata: The metadata key/value pairs to assign to the VM.Metadata map[string]string `json:"metadata,omitempty"`// NetworkInterfaces: List of NICs connected to this VM.NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty"`// NetworkTags: A list of network tags to associate with the VM.NetworkTags []string `json:"networkTags,omitempty"`// SecureBoot: Defines whether the instance has Secure Boot enabled. This can// be set to true only if the VM boot option is EFI.SecureBootbool `json:"secureBoot,omitempty"`// ServiceAccount: Optional. The service account to associate the VM with.ServiceAccountstring `json:"serviceAccount,omitempty"`// StoragePool: Optional. If specified this will be the storage pool in which// the disk is created. This is the full path of the storage pool resource, for// example:// "projects/my-project/zones/us-central1-a/storagePools/my-storage-pool". The// storage pool must be in the same project and zone as the target disks. The// storage pool's type must match the disk type.StoragePoolstring `json:"storagePool,omitempty"`// TargetProject: The full path of the resource of type TargetProject which// represents the Compute Engine project in which to create this VM.TargetProjectstring `json:"targetProject,omitempty"`// VmName: The name of the VM to create.VmNamestring `json:"vmName,omitempty"`// Zone: The zone in which to create the VM.Zonestring `json:"zone,omitempty"`// ForceSendFields is a list of field names (e.g. "AdaptationModifiers") 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. "AdaptationModifiers") 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:"-"`}ComputeEngineTargetDefaults: ComputeEngineTargetDefaults is a collection ofdetails for creating a VM in a target Compute Engine project.
func (ComputeEngineTargetDefaults)MarshalJSON¶
func (sComputeEngineTargetDefaults) MarshalJSON() ([]byte,error)
typeComputeEngineTargetDetails¶
type ComputeEngineTargetDetails struct {// AdaptationModifiers: Optional. Modifiers to be used as configuration of the// OS adaptation process.AdaptationModifiers []*AdaptationModifier `json:"adaptationModifiers,omitempty"`// AdditionalLicenses: Additional licenses to assign to the VM.AdditionalLicenses []string `json:"additionalLicenses,omitempty"`// AppliedLicense: The OS license returned from the adaptation module report.AppliedLicense *AppliedLicense `json:"appliedLicense,omitempty"`// BootConversion: Optional. By default the virtual machine will keep its// existing boot option. Setting this property will trigger an internal process// which will convert the virtual machine from using the existing boot option// to another.//// Possible values:// "BOOT_CONVERSION_UNSPECIFIED" - Unspecified conversion type.// "NONE" - No conversion.// "BIOS_TO_EFI" - Convert from BIOS to EFI.BootConversionstring `json:"bootConversion,omitempty"`// BootOption: The VM Boot Option, as set in the source VM.//// Possible values:// "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED" - The boot option is unknown.// "COMPUTE_ENGINE_BOOT_OPTION_EFI" - The boot option is EFI.// "COMPUTE_ENGINE_BOOT_OPTION_BIOS" - The boot option is BIOS.BootOptionstring `json:"bootOption,omitempty"`// ComputeScheduling: Compute instance scheduling information (if empty default// is used).ComputeScheduling *ComputeScheduling `json:"computeScheduling,omitempty"`// DiskReplicaZones: Optional. Additional replica zones of the target regional// disks. If this list is not empty a regional disk will be created. The first// supported zone would be the one stated in the zone field. The rest are taken// from this list. Please refer to the regional disk creation API// (https://cloud.google.com/compute/docs/regions-zones/global-regional-zonal-resources)// for further details about regional vs zonal disks. If not specified, a zonal// disk will be created in the same zone the VM is created.DiskReplicaZones []string `json:"diskReplicaZones,omitempty"`// DiskType: The disk type to use in the VM.//// Possible values:// "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED" - An unspecified disk type. Will be// used as STANDARD.// "COMPUTE_ENGINE_DISK_TYPE_STANDARD" - A Standard disk type.// "COMPUTE_ENGINE_DISK_TYPE_SSD" - SSD hard disk type.// "COMPUTE_ENGINE_DISK_TYPE_BALANCED" - An alternative to SSD persistent// disks that balance performance and cost.// "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED" - Hyperdisk balanced disk// type.DiskTypestring `json:"diskType,omitempty"`// EnableIntegrityMonitoring: Optional. Defines whether the instance has// integrity monitoring enabled.EnableIntegrityMonitoringbool `json:"enableIntegrityMonitoring,omitempty"`// EnableVtpm: Optional. Defines whether the instance has vTPM enabled.EnableVtpmbool `json:"enableVtpm,omitempty"`// Encryption: Optional. The encryption to apply to the VM disks.Encryption *Encryption `json:"encryption,omitempty"`// Hostname: The hostname to assign to the VM.Hostnamestring `json:"hostname,omitempty"`// Labels: A map of labels to associate with the VM.Labels map[string]string `json:"labels,omitempty"`// LicenseType: The license type to use in OS adaptation.//// Possible values:// "COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT" - The license type is the default// for the OS.// "COMPUTE_ENGINE_LICENSE_TYPE_PAYG" - The license type is Pay As You Go// license type.// "COMPUTE_ENGINE_LICENSE_TYPE_BYOL" - The license type is Bring Your Own// License type.LicenseTypestring `json:"licenseType,omitempty"`// MachineType: The machine type to create the VM with.MachineTypestring `json:"machineType,omitempty"`// MachineTypeSeries: The machine type series to create the VM with.MachineTypeSeriesstring `json:"machineTypeSeries,omitempty"`// Metadata: The metadata key/value pairs to assign to the VM.Metadata map[string]string `json:"metadata,omitempty"`// NetworkInterfaces: List of NICs connected to this VM.NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty"`// NetworkTags: A list of network tags to associate with the VM.NetworkTags []string `json:"networkTags,omitempty"`// Project: The Google Cloud target project ID or project name.Projectstring `json:"project,omitempty"`// SecureBoot: Defines whether the instance has Secure Boot enabled. This can// be set to true only if the VM boot option is EFI.SecureBootbool `json:"secureBoot,omitempty"`// ServiceAccount: The service account to associate the VM with.ServiceAccountstring `json:"serviceAccount,omitempty"`// StoragePool: Optional. The storage pool used for the VM disks. If specified// this will be the storage pool in which the disk is created. This is the full// path of the storage pool resource, for example:// "projects/my-project/zones/us-central1-a/storagePools/my-storage-pool". The// storage pool must be in the same project and zone as the target disks. The// storage pool's type must match the disk type.StoragePoolstring `json:"storagePool,omitempty"`// VmName: The name of the VM to create.VmNamestring `json:"vmName,omitempty"`// Zone: The zone in which to create the VM.Zonestring `json:"zone,omitempty"`// ForceSendFields is a list of field names (e.g. "AdaptationModifiers") 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. "AdaptationModifiers") 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:"-"`}ComputeEngineTargetDetails: ComputeEngineTargetDetails is a collection ofdetails for creating a VM in a target Compute Engine project.
func (ComputeEngineTargetDetails)MarshalJSON¶
func (sComputeEngineTargetDetails) MarshalJSON() ([]byte,error)
typeComputeScheduling¶
type ComputeScheduling struct {AutomaticRestartbool `json:"automaticRestart,omitempty"`// MinNodeCpus: The minimum number of virtual CPUs this instance will consume// when running on a sole-tenant node. Ignored if no node_affinites are// configured.MinNodeCpusint64 `json:"minNodeCpus,omitempty"`// NodeAffinities: A set of node affinity and anti-affinity configurations for// sole tenant nodes.NodeAffinities []*SchedulingNodeAffinity `json:"nodeAffinities,omitempty"`// OnHostMaintenance: How the instance should behave when the host machine// undergoes maintenance that may temporarily impact instance performance.//// Possible values:// "ON_HOST_MAINTENANCE_UNSPECIFIED" - An unknown, unexpected behavior.// "TERMINATE" - Terminate the instance when the host machine undergoes// maintenance.// "MIGRATE" - Migrate the instance when the host machine undergoes// maintenance.OnHostMaintenancestring `json:"onHostMaintenance,omitempty"`// RestartType: Whether the Instance should be automatically restarted whenever// it is terminated by Compute Engine (not terminated by user). This// configuration is identical to `automaticRestart` field in Compute Engine// create instance under scheduling. It was changed to an enum (instead of a// boolean) to match the default value in Compute Engine which is automatic// restart.//// Possible values:// "RESTART_TYPE_UNSPECIFIED" - Unspecified behavior. This will use the// default.// "AUTOMATIC_RESTART" - The Instance should be automatically restarted// whenever it is terminated by Compute Engine.// "NO_AUTOMATIC_RESTART" - The Instance isn't automatically restarted// whenever it is terminated by Compute Engine.RestartTypestring `json:"restartType,omitempty"`// ForceSendFields is a list of field names (e.g. "AutomaticRestart") 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. "AutomaticRestart") 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:"-"`}ComputeScheduling: Scheduling information for VM on maintenance/restartbehaviour and node allocation in sole tenant nodes. Options for instancebehavior when the host machine undergoes maintenance that may temporarilyimpact instance performance.
func (ComputeScheduling)MarshalJSON¶
func (sComputeScheduling) MarshalJSON() ([]byte,error)
typeCopyingSourceDiskSnapshotStep¶added inv0.249.0
type CopyingSourceDiskSnapshotStep struct {}CopyingSourceDiskSnapshotStep: CopyingSourceDiskSnapshotStep containsspecific step details.
typeCreatingImageStep¶added inv0.168.0
type CreatingImageStep struct {}CreatingImageStep: CreatingImageStep contains specific step details.
typeCreatingSourceDiskSnapshotStep¶added inv0.249.0
type CreatingSourceDiskSnapshotStep struct {}CreatingSourceDiskSnapshotStep: CreatingSourceDiskSnapshotStep containsspecific step details.
typeCutoverForecast¶added inv0.117.0
type CutoverForecast struct {// EstimatedCutoverJobDuration: Output only. Estimation of the CutoverJob// duration.EstimatedCutoverJobDurationstring `json:"estimatedCutoverJobDuration,omitempty"`// ForceSendFields is a list of field names (e.g.// "EstimatedCutoverJobDuration") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. Seehttps://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields// for more details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EstimatedCutoverJobDuration") 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:"-"`}CutoverForecast: CutoverForecast holds information about future CutoverJobsof a MigratingVm.
func (CutoverForecast)MarshalJSON¶added inv0.117.0
func (sCutoverForecast) MarshalJSON() ([]byte,error)
typeCutoverJob¶
type CutoverJob struct {// ComputeEngineDisksTargetDetails: Output only. Details of the target// Persistent Disks in Compute Engine.ComputeEngineDisksTargetDetails *ComputeEngineDisksTargetDetails `json:"computeEngineDisksTargetDetails,omitempty"`// ComputeEngineTargetDetails: Output only. Details of the target VM in Compute// Engine.ComputeEngineTargetDetails *ComputeEngineTargetDetails `json:"computeEngineTargetDetails,omitempty"`// ComputeEngineVmDetails: Output only. Details of the VM in Compute Engine.// Deprecated: Use compute_engine_target_details instead.ComputeEngineVmDetails *TargetVMDetails `json:"computeEngineVmDetails,omitempty"`// CreateTime: Output only. The time the cutover job was created (as an API// call, not when it was actually created in the target).CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the cutover job had finished.EndTimestring `json:"endTime,omitempty"`// Error: Output only. Provides details for the errors that led to the Cutover// Job's state.Error *Status `json:"error,omitempty"`// Name: Output only. The name of the cutover job.Namestring `json:"name,omitempty"`// Progress: Output only. The current progress in percentage of the cutover// job.Progressint64 `json:"progress,omitempty"`// ProgressPercent: Output only. The current progress in percentage of the// cutover job.ProgressPercentint64 `json:"progressPercent,omitempty"`// State: Output only. State of the cutover job.//// Possible values:// "STATE_UNSPECIFIED" - The state is unknown. This is used for API// compatibility only and is not used by the system.// "PENDING" - The cutover job has not yet started.// "FAILED" - The cutover job finished with errors.// "SUCCEEDED" - The cutover job finished successfully.// "CANCELLED" - The cutover job was cancelled.// "CANCELLING" - The cutover job is being cancelled.// "ACTIVE" - The cutover job is active and running.// "ADAPTING_OS" - OS adaptation is running as part of the cutover job to// generate license.Statestring `json:"state,omitempty"`// StateMessage: Output only. A message providing possible extra details about// the current state.StateMessagestring `json:"stateMessage,omitempty"`// StateTime: Output only. The time the state was last updated.StateTimestring `json:"stateTime,omitempty"`// Steps: Output only. The cutover steps list representing its progress.Steps []*CutoverStep `json:"steps,omitempty"`// TargetDetails: Output only. Details of the VM to create as the target of// this cutover job. Deprecated: Use compute_engine_target_details instead.TargetDetails *TargetVMDetails `json:"targetDetails,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "ComputeEngineDisksTargetDetails") 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. "ComputeEngineDisksTargetDetails")// 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:"-"`}CutoverJob: CutoverJob message describes a cutover of a migrating VM. TheCutoverJob is the operation of shutting down the VM, creating a snapshot andcloning the VM using the replicated snapshot.
func (CutoverJob)MarshalJSON¶
func (sCutoverJob) MarshalJSON() ([]byte,error)
typeCutoverStep¶added inv0.84.0
type CutoverStep struct {// EndTime: The time the step has ended.EndTimestring `json:"endTime,omitempty"`// FinalSync: Final sync step.FinalSync *ReplicationCycle `json:"finalSync,omitempty"`// InstantiatingMigratedVm: Instantiating migrated VM step.InstantiatingMigratedVm *InstantiatingMigratedVMStep `json:"instantiatingMigratedVm,omitempty"`// PreparingVmDisks: Preparing VM disks step.PreparingVmDisks *PreparingVMDisksStep `json:"preparingVmDisks,omitempty"`// PreviousReplicationCycle: A replication cycle prior cutover step.PreviousReplicationCycle *ReplicationCycle `json:"previousReplicationCycle,omitempty"`// ShuttingDownSourceVm: Shutting down VM step.ShuttingDownSourceVm *ShuttingDownSourceVMStep `json:"shuttingDownSourceVm,omitempty"`// StartTime: The time the step has started.StartTimestring `json:"startTime,omitempty"`// ForceSendFields is a list of field names (e.g. "EndTime") 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. "EndTime") 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:"-"`}CutoverStep: CutoverStep holds information about the cutover step progress.
func (CutoverStep)MarshalJSON¶added inv0.84.0
func (sCutoverStep) MarshalJSON() ([]byte,error)
typeCycleStep¶added inv0.67.0
type CycleStep struct {// EndTime: The time the cycle step has ended.EndTimestring `json:"endTime,omitempty"`// InitializingReplication: Initializing replication step.InitializingReplication *InitializingReplicationStep `json:"initializingReplication,omitempty"`// PostProcessing: Post processing step.PostProcessing *PostProcessingStep `json:"postProcessing,omitempty"`// Replicating: Replicating step.Replicating *ReplicatingStep `json:"replicating,omitempty"`// StartTime: The time the cycle step has started.StartTimestring `json:"startTime,omitempty"`// ForceSendFields is a list of field names (e.g. "EndTime") 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. "EndTime") 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:"-"`}CycleStep: CycleStep holds information about a step progress.
func (CycleStep)MarshalJSON¶added inv0.67.0
typeDataDiskImageImport¶added inv0.168.0
type DataDiskImageImport struct {// GuestOsFeatures: Optional. A list of guest OS features to apply to the// imported image. These features are flags that are used by Compute Engine to// enable certain capabilities for virtual machine instances that are created// from the image. This field does not change the OS of the image; it only// marks the image with the specified features. The user must ensure that the// OS is compatible with the features. For a list of available features, see//https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.GuestOsFeatures []string `json:"guestOsFeatures,omitempty"`// ForceSendFields is a list of field names (e.g. "GuestOsFeatures") 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. "GuestOsFeatures") 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:"-"`}DataDiskImageImport: Used when the image import is not using OS adaptationprocess.
func (DataDiskImageImport)MarshalJSON¶added inv0.257.0
func (sDataDiskImageImport) MarshalJSON() ([]byte,error)
typeDatacenterConnector¶
type DatacenterConnector struct {// ApplianceInfrastructureVersion: Output only. Appliance OVA version. This is// the OVA which is manually installed by the user and contains the// infrastructure for the automatically updatable components on the appliance.ApplianceInfrastructureVersionstring `json:"applianceInfrastructureVersion,omitempty"`// ApplianceSoftwareVersion: Output only. Appliance last installed update// bundle version. This is the version of the automatically updatable// components on the appliance.ApplianceSoftwareVersionstring `json:"applianceSoftwareVersion,omitempty"`// AvailableVersions: Output only. The available versions for updating this// appliance.AvailableVersions *AvailableUpdates `json:"availableVersions,omitempty"`// Bucket: Output only. The communication channel between the datacenter// connector and Google Cloud.Bucketstring `json:"bucket,omitempty"`// CreateTime: Output only. The time the connector was created (as an API call,// not when it was actually installed).CreateTimestring `json:"createTime,omitempty"`// Error: Output only. Provides details on the state of the Datacenter// Connector in case of an error.Error *Status `json:"error,omitempty"`// Name: Output only. The connector's name.Namestring `json:"name,omitempty"`// RegistrationId: Immutable. A unique key for this connector. This key is// internal to the OVA connector and is supplied with its creation during the// registration process and can not be modified.RegistrationIdstring `json:"registrationId,omitempty"`// ServiceAccount: The service account to use in the connector when// communicating with the cloud.ServiceAccountstring `json:"serviceAccount,omitempty"`// State: Output only. State of the DatacenterConnector, as determined by the// health checks.//// Possible values:// "STATE_UNSPECIFIED" - The state is unknown. This is used for API// compatibility only and is not used by the system.// "PENDING" - The state was not sampled by the health checks yet.// "OFFLINE" - The source was sampled by health checks and is not available.// "FAILED" - The source is available but might not be usable yet due to// unvalidated credentials or another reason. The credentials referred to are// the ones to the Source. The error message will contain further details.// "ACTIVE" - The source exists and its credentials were verified.Statestring `json:"state,omitempty"`// StateTime: Output only. The time the state was last set.StateTimestring `json:"stateTime,omitempty"`// UpdateTime: Output only. The last time the connector was updated with an API// call.UpdateTimestring `json:"updateTime,omitempty"`// UpgradeStatus: Output only. The status of the current / last// upgradeAppliance operation.UpgradeStatus *UpgradeStatus `json:"upgradeStatus,omitempty"`// Version: The version running in the DatacenterConnector. This is supplied by// the OVA connector during the registration process and can not be modified.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.// "ApplianceInfrastructureVersion") 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. "ApplianceInfrastructureVersion")// 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:"-"`}DatacenterConnector: DatacenterConnector message describes a connectorbetween the Source and Google Cloud, which is installed on a vmwaredatacenter (an OVA vm installed by the user) to connect the Datacenter toGoogle Cloud and support vm migration data transfer.
func (DatacenterConnector)MarshalJSON¶
func (sDatacenterConnector) MarshalJSON() ([]byte,error)
typeDisk¶added inv0.139.0
type Disk struct {// Lun: The disk's Logical Unit Number (LUN).Lunint64 `json:"lun,omitempty"`// Name: The disk name.Namestring `json:"name,omitempty"`// SizeGb: The disk size in GB.SizeGbint64 `json:"sizeGb,omitempty"`// ForceSendFields is a list of field names (e.g. "Lun") 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. "Lun") 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:"-"`}Disk: A message describing a data disk.
func (Disk)MarshalJSON¶added inv0.139.0
typeDiskImageDefaults¶added inv0.143.0
type DiskImageDefaults struct {// SourceImage: Required. The Image resource used when creating the disk.SourceImagestring `json:"sourceImage,omitempty"`// ForceSendFields is a list of field names (e.g. "SourceImage") 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. "SourceImage") 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:"-"`}DiskImageDefaults: Contains details about the image source used to createthe disk.
func (DiskImageDefaults)MarshalJSON¶added inv0.143.0
func (sDiskImageDefaults) MarshalJSON() ([]byte,error)
typeDiskImageTargetDetails¶added inv0.168.0
type DiskImageTargetDetails struct {// AdditionalLicenses: Optional. Additional licenses to assign to the image.// Format://https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME// Or//https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAMEAdditionalLicenses []string `json:"additionalLicenses,omitempty"`// DataDiskImageImport: Optional. Use to skip OS adaptation process.DataDiskImageImport *DataDiskImageImport `json:"dataDiskImageImport,omitempty"`// Description: Optional. An optional description of the image.Descriptionstring `json:"description,omitempty"`// Encryption: Immutable. The encryption to apply to the image.Encryption *Encryption `json:"encryption,omitempty"`// FamilyName: Optional. The name of the image family to which the new image// belongs.FamilyNamestring `json:"familyName,omitempty"`// ImageName: Required. The name of the image to be created.ImageNamestring `json:"imageName,omitempty"`// Labels: Optional. A map of labels to associate with the image.Labels map[string]string `json:"labels,omitempty"`// OsAdaptationParameters: Optional. Use to set the parameters relevant for the// OS adaptation process.OsAdaptationParameters *ImageImportOsAdaptationParameters `json:"osAdaptationParameters,omitempty"`// SingleRegionStorage: Optional. Set to true to set the image storageLocations// to the single region of the import job. When false, the closest multi-region// is selected.SingleRegionStoragebool `json:"singleRegionStorage,omitempty"`// TargetProject: Required. Reference to the TargetProject resource that// represents the target project in which the imported image will be created.TargetProjectstring `json:"targetProject,omitempty"`// ForceSendFields is a list of field names (e.g. "AdditionalLicenses") 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. "AdditionalLicenses") 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:"-"`}DiskImageTargetDetails: The target details of the image resource that willbe created by the import job.
func (DiskImageTargetDetails)MarshalJSON¶added inv0.168.0
func (sDiskImageTargetDetails) MarshalJSON() ([]byte,error)
typeDiskMigrationJob¶added inv0.249.0
type DiskMigrationJob struct {// AwsSourceDiskDetails: Details of the unattached AWS source disk.AwsSourceDiskDetails *AwsSourceDiskDetails `json:"awsSourceDiskDetails,omitempty"`// CreateTime: Output only. The time the DiskMigrationJob resource was created.CreateTimestring `json:"createTime,omitempty"`// Errors: Output only. Provides details on the errors that led to the disk// migration job's state in case of an error.Errors []*Status `json:"errors,omitempty"`// Name: Output only. Identifier. The identifier of the DiskMigrationJob.Namestring `json:"name,omitempty"`// State: Output only. State of the DiskMigrationJob.//// Possible values:// "STATE_UNSPECIFIED" - The state is unspecified. This is not in use.// "READY" - The initial state of the disk migration. In this state the// customers can update the target details.// "RUNNING" - The migration is active, and it's running or scheduled to run.// "SUCCEEDED" - The migration completed successfully.// "CANCELLING" - Migration cancellation was initiated.// "CANCELLED" - The migration was cancelled.// "FAILED" - The migration process encountered an unrecoverable error and// was aborted.Statestring `json:"state,omitempty"`// Steps: Output only. The disk migration steps list representing its progress.Steps []*DiskMigrationStep `json:"steps,omitempty"`// TargetDetails: Required. Details of the target Disk in Compute Engine.TargetDetails *DiskMigrationJobTargetDetails `json:"targetDetails,omitempty"`// UpdateTime: Output only. The last time the DiskMigrationJob resource was// 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. "AwsSourceDiskDetails") 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. "AwsSourceDiskDetails") 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:"-"`}DiskMigrationJob: Describes the disk which will be migrated from the sourceenvironment. The source disk has to be unattached.
func (DiskMigrationJob)MarshalJSON¶added inv0.249.0
func (sDiskMigrationJob) MarshalJSON() ([]byte,error)
typeDiskMigrationJobTargetDetails¶added inv0.249.0
type DiskMigrationJobTargetDetails struct {// Encryption: Optional. The encryption to apply to the disk. If the// DiskMigrationJob parent Source resource has an encryption, this field must// be set to the same encryption key.Encryption *Encryption `json:"encryption,omitempty"`// Labels: Optional. A map of labels to associate with the disk.Labels map[string]string `json:"labels,omitempty"`// TargetDisk: Required. The target disk.TargetDisk *ComputeEngineDisk `json:"targetDisk,omitempty"`// TargetProject: Required. The name of the resource of type TargetProject// which represents the Compute Engine project in which to create the disk.// Should be of the form:// projects/{project}/locations/global/targetProjects/{target-project}TargetProjectstring `json:"targetProject,omitempty"`// ForceSendFields is a list of field names (e.g. "Encryption") 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. "Encryption") 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:"-"`}DiskMigrationJobTargetDetails: Details of the target disk in Compute Engine.
func (DiskMigrationJobTargetDetails)MarshalJSON¶added inv0.249.0
func (sDiskMigrationJobTargetDetails) MarshalJSON() ([]byte,error)
typeDiskMigrationStep¶added inv0.249.0
type DiskMigrationStep struct {// CopyingSourceDiskSnapshot: Copying source disk snapshot step.CopyingSourceDiskSnapshot *CopyingSourceDiskSnapshotStep `json:"copyingSourceDiskSnapshot,omitempty"`// CreatingSourceDiskSnapshot: Creating source disk snapshot step.CreatingSourceDiskSnapshot *CreatingSourceDiskSnapshotStep `json:"creatingSourceDiskSnapshot,omitempty"`// EndTime: Output only. The time the step has ended.EndTimestring `json:"endTime,omitempty"`// ProvisioningTargetDisk: Creating target disk step.ProvisioningTargetDisk *ProvisioningTargetDiskStep `json:"provisioningTargetDisk,omitempty"`// StartTime: Output only. The time the step has started.StartTimestring `json:"startTime,omitempty"`// ForceSendFields is a list of field names (e.g. "CopyingSourceDiskSnapshot")// 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. "CopyingSourceDiskSnapshot") 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:"-"`}DiskMigrationStep: DiskMigrationStep holds information about the diskmigration step progress.
func (DiskMigrationStep)MarshalJSON¶added inv0.249.0
func (sDiskMigrationStep) MarshalJSON() ([]byte,error)
typeDisksMigrationDisksTargetDefaults¶added inv0.143.0
type DisksMigrationDisksTargetDefaults struct {}DisksMigrationDisksTargetDefaults: Details for a disk only migration.
typeDisksMigrationDisksTargetDetails¶added inv0.143.0
type DisksMigrationDisksTargetDetails struct {}DisksMigrationDisksTargetDetails: Details for a disks-only migration.
typeDisksMigrationVmTargetDefaults¶added inv0.143.0
type DisksMigrationVmTargetDefaults struct {// AdditionalLicenses: Optional. Additional licenses to assign to the VM.AdditionalLicenses []string `json:"additionalLicenses,omitempty"`// BootDiskDefaults: Optional. Details of the boot disk of the VM.BootDiskDefaults *BootDiskDefaults `json:"bootDiskDefaults,omitempty"`// ComputeScheduling: Optional. Compute instance scheduling information (if// empty default is used).ComputeScheduling *ComputeScheduling `json:"computeScheduling,omitempty"`// EnableIntegrityMonitoring: Optional. Defines whether the instance has// integrity monitoring enabled.EnableIntegrityMonitoringbool `json:"enableIntegrityMonitoring,omitempty"`// EnableVtpm: Optional. Defines whether the instance has vTPM enabled.EnableVtpmbool `json:"enableVtpm,omitempty"`// Encryption: Optional. The encryption to apply to the VM.Encryption *Encryption `json:"encryption,omitempty"`// Hostname: Optional. The hostname to assign to the VM.Hostnamestring `json:"hostname,omitempty"`// Labels: Optional. A map of labels to associate with the VM.Labels map[string]string `json:"labels,omitempty"`// MachineType: Required. The machine type to create the VM with.MachineTypestring `json:"machineType,omitempty"`// MachineTypeSeries: Optional. The machine type series to create the VM with.// For presentation only.MachineTypeSeriesstring `json:"machineTypeSeries,omitempty"`// Metadata: Optional. The metadata key/value pairs to assign to the VM.Metadata map[string]string `json:"metadata,omitempty"`// NetworkInterfaces: Optional. NICs to attach to the VM.NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty"`// NetworkTags: Optional. A list of network tags to associate with the VM.NetworkTags []string `json:"networkTags,omitempty"`// SecureBoot: Optional. Defines whether the instance has Secure Boot enabled.// This can be set to true only if the VM boot option is EFI.SecureBootbool `json:"secureBoot,omitempty"`// ServiceAccount: Optional. The service account to associate the VM with.ServiceAccountstring `json:"serviceAccount,omitempty"`// VmName: Required. The name of the VM to create.VmNamestring `json:"vmName,omitempty"`// ForceSendFields is a list of field names (e.g. "AdditionalLicenses") 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. "AdditionalLicenses") 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:"-"`}DisksMigrationVmTargetDefaults: Details for creation of a VM that migrateddata disks will be attached to.
func (DisksMigrationVmTargetDefaults)MarshalJSON¶added inv0.143.0
func (sDisksMigrationVmTargetDefaults) MarshalJSON() ([]byte,error)
typeDisksMigrationVmTargetDetails¶added inv0.143.0
type DisksMigrationVmTargetDetails struct {// VmUri: Output only. The URI of the Compute Engine VM.VmUristring `json:"vmUri,omitempty"`// ForceSendFields is a list of field names (e.g. "VmUri") 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. "VmUri") 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:"-"`}DisksMigrationVmTargetDetails: Details for the VM created VM as part ofdisks migration.
func (DisksMigrationVmTargetDetails)MarshalJSON¶added inv0.143.0
func (sDisksMigrationVmTargetDetails) 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); }
typeEncryption¶added inv0.149.0
type Encryption struct {// KmsKey: Required. The name of the encryption key that is stored in Google// Cloud KMS.KmsKeystring `json:"kmsKey,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:"-"`}Encryption: Encryption message describes the details of the appliedencryption.
func (Encryption)MarshalJSON¶added inv0.149.0
func (sEncryption) MarshalJSON() ([]byte,error)
typeExpiration¶added inv0.236.0
type Expiration struct {// ExpireTime: Output only. Timestamp of when this resource is considered// expired.ExpireTimestring `json:"expireTime,omitempty"`// Extendable: Output only. Describes whether the expiration can be extended.Extendablebool `json:"extendable,omitempty"`// ExtensionCount: Output only. The number of times expiration was extended.ExtensionCountint64 `json:"extensionCount,omitempty"`// ForceSendFields is a list of field names (e.g. "ExpireTime") 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. "ExpireTime") 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:"-"`}Expiration: Expiration holds information about the expiration of aMigratingVm.
func (Expiration)MarshalJSON¶added inv0.236.0
func (sExpiration) MarshalJSON() ([]byte,error)
typeExtendMigrationRequest¶added inv0.236.0
type ExtendMigrationRequest struct {}ExtendMigrationRequest: Request message for 'ExtendMigrationRequest'request.
typeFetchInventoryResponse¶
type FetchInventoryResponse struct {// AwsVms: The description of the VMs in a Source of type AWS.AwsVms *AwsVmsDetails `json:"awsVms,omitempty"`// AzureVms: The description of the VMs in a Source of type Azure.AzureVms *AzureVmsDetails `json:"azureVms,omitempty"`// NextPageToken: Output only. A token, which 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"`// UpdateTime: Output only. The timestamp when the source was last queried (if// the result is from the cache).UpdateTimestring `json:"updateTime,omitempty"`// VmwareVms: The description of the VMs in a Source of type Vmware.VmwareVms *VmwareVmsDetails `json:"vmwareVms,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AwsVms") 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. "AwsVms") 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:"-"`}FetchInventoryResponse: Response message for fetchInventory.
func (FetchInventoryResponse)MarshalJSON¶
func (sFetchInventoryResponse) MarshalJSON() ([]byte,error)
typeFetchStorageInventoryResponse¶added inv0.249.0
type FetchStorageInventoryResponse struct {// NextPageToken: Output only. A token, which 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"`// Resources: The list of storage resources in the source.Resources []*SourceStorageResource `json:"resources,omitempty"`// UpdateTime: Output only. The timestamp when the source was last queried (if// the result is from the cache).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. "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:"-"`}FetchStorageInventoryResponse: Response message for fetchStorageInventory.
func (FetchStorageInventoryResponse)MarshalJSON¶added inv0.249.0
func (sFetchStorageInventoryResponse) MarshalJSON() ([]byte,error)
typeFinalizeMigrationRequest¶
type FinalizeMigrationRequest struct {}FinalizeMigrationRequest: Request message for 'FinalizeMigration' request.
typeGroup¶
type Group struct {// CreateTime: Output only. The create time timestamp.CreateTimestring `json:"createTime,omitempty"`// Description: User-provided description of the group.Descriptionstring `json:"description,omitempty"`// DisplayName: Display name is a user defined name for this group which can be// updated.DisplayNamestring `json:"displayName,omitempty"`// MigrationTargetType: Immutable. The target type of this group.//// Possible values:// "MIGRATION_TARGET_TYPE_UNSPECIFIED" - Group type is not specified. This// defaults to Compute Engine targets.// "MIGRATION_TARGET_TYPE_GCE" - All MigratingVMs in the group must have// Compute Engine targets.// "MIGRATION_TARGET_TYPE_DISKS" - All MigratingVMs in the group must have// Compute Engine Disks targets.MigrationTargetTypestring `json:"migrationTargetType,omitempty"`// Name: Output only. The Group name.Namestring `json:"name,omitempty"`// UpdateTime: Output only. The update time timestamp.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:"-"`}Group: Describes message for 'Group' resource. The Group is a collections ofseveral MigratingVms.
func (Group)MarshalJSON¶
typeImageImport¶added inv0.168.0
type ImageImport struct {// CloudStorageUri: Immutable. The path to the Cloud Storage file from which// the image should be imported.CloudStorageUristring `json:"cloudStorageUri,omitempty"`// CreateTime: Output only. The time the image import was created.CreateTimestring `json:"createTime,omitempty"`// DiskImageTargetDefaults: Immutable. Target details for importing a disk// image, will be used by ImageImportJob.DiskImageTargetDefaults *DiskImageTargetDetails `json:"diskImageTargetDefaults,omitempty"`// Encryption: Immutable. The encryption details used by the image import// process during the image adaptation for Compute Engine.Encryption *Encryption `json:"encryption,omitempty"`// MachineImageTargetDefaults: Immutable. Target details for importing a// machine image, will be used by ImageImportJob.MachineImageTargetDefaults *MachineImageTargetDetails `json:"machineImageTargetDefaults,omitempty"`// Name: Output only. The resource path of the ImageImport.Namestring `json:"name,omitempty"`// RecentImageImportJobs: Output only. The result of the most recent runs for// this ImageImport. All jobs for this ImageImport can be listed via// ListImageImportJobs.RecentImageImportJobs []*ImageImportJob `json:"recentImageImportJobs,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CloudStorageUri") 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. "CloudStorageUri") 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:"-"`}ImageImport: ImageImport describes the configuration of the image import torun.
func (ImageImport)MarshalJSON¶added inv0.168.0
func (sImageImport) MarshalJSON() ([]byte,error)
typeImageImportJob¶added inv0.168.0
type ImageImportJob struct {// CloudStorageUri: Output only. The path to the Cloud Storage file from which// the image should be imported.CloudStorageUristring `json:"cloudStorageUri,omitempty"`// CreateTime: Output only. The time the image import was created (as an API// call, not when it was actually created in the target).CreateTimestring `json:"createTime,omitempty"`// CreatedResources: Output only. The resource paths of the resources created// by the image import job.CreatedResources []string `json:"createdResources,omitempty"`// DiskImageTargetDetails: Output only. Target details used to import a disk// image.DiskImageTargetDetails *DiskImageTargetDetails `json:"diskImageTargetDetails,omitempty"`// EndTime: Output only. The time the image import was ended.EndTimestring `json:"endTime,omitempty"`// Errors: Output only. Provides details on the error that led to the image// import state in case of an error.Errors []*Status `json:"errors,omitempty"`// MachineImageTargetDetails: Output only. Target details used to import a// machine image.MachineImageTargetDetails *MachineImageTargetDetails `json:"machineImageTargetDetails,omitempty"`// Name: Output only. The resource path of the ImageImportJob.Namestring `json:"name,omitempty"`// State: Output only. The state of the image import.//// Possible values:// "STATE_UNSPECIFIED" - The state is unknown.// "PENDING" - The image import has not yet started.// "RUNNING" - The image import is active and running.// "SUCCEEDED" - The image import has finished successfully.// "FAILED" - The image import has finished with errors.// "CANCELLING" - The image import is being cancelled.// "CANCELLED" - The image import was cancelled.Statestring `json:"state,omitempty"`// Steps: Output only. The image import steps list representing its progress.Steps []*ImageImportStep `json:"steps,omitempty"`// Warnings: Output only. Warnings that occurred during the image import.Warnings []*MigrationWarning `json:"warnings,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CloudStorageUri") 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. "CloudStorageUri") 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:"-"`}ImageImportJob: ImageImportJob describes the progress and result of an imageimport.
func (ImageImportJob)MarshalJSON¶added inv0.168.0
func (sImageImportJob) MarshalJSON() ([]byte,error)
typeImageImportOsAdaptationParameters¶added inv0.168.0
type ImageImportOsAdaptationParameters struct {// AdaptationModifiers: Optional. Modifiers to be used as configuration of the// OS adaptation process.AdaptationModifiers []*AdaptationModifier `json:"adaptationModifiers,omitempty"`// BootConversion: Optional. By default the image will keep its existing boot// option. Setting this property will trigger an internal process which will// convert the image from using the existing boot option to another. The size// of the boot disk might be increased to allow the conversion//// Possible values:// "BOOT_CONVERSION_UNSPECIFIED" - Unspecified conversion type.// "NONE" - No conversion.// "BIOS_TO_EFI" - Convert from BIOS to EFI.BootConversionstring `json:"bootConversion,omitempty"`// Generalize: Optional. Set to true in order to generalize the imported image.// The generalization process enables co-existence of multiple VMs created from// the same image. For Windows, generalizing the image removes// computer-specific information such as installed drivers and the computer// security identifier (SID).Generalizebool `json:"generalize,omitempty"`// LicenseType: Optional. Choose which type of license to apply to the imported// image.//// Possible values:// "COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT" - The license type is the default// for the OS.// "COMPUTE_ENGINE_LICENSE_TYPE_PAYG" - The license type is Pay As You Go// license type.// "COMPUTE_ENGINE_LICENSE_TYPE_BYOL" - The license type is Bring Your Own// License type.LicenseTypestring `json:"licenseType,omitempty"`// ForceSendFields is a list of field names (e.g. "AdaptationModifiers") 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. "AdaptationModifiers") 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:"-"`}ImageImportOsAdaptationParameters: Parameters affecting the OS adaptationprocess.
func (ImageImportOsAdaptationParameters)MarshalJSON¶added inv0.168.0
func (sImageImportOsAdaptationParameters) MarshalJSON() ([]byte,error)
typeImageImportStep¶added inv0.168.0
type ImageImportStep struct {// AdaptingOs: Adapting OS step.AdaptingOs *AdaptingOSStep `json:"adaptingOs,omitempty"`// CreatingImage: Creating image step.CreatingImage *CreatingImageStep `json:"creatingImage,omitempty"`// EndTime: Output only. The time the step has ended.EndTimestring `json:"endTime,omitempty"`// Initializing: Initializing step.Initializing *InitializingImageImportStep `json:"initializing,omitempty"`// LoadingSourceFiles: Loading source files step.LoadingSourceFiles *LoadingImageSourceFilesStep `json:"loadingSourceFiles,omitempty"`// StartTime: Output only. The time the step has started.StartTimestring `json:"startTime,omitempty"`// ForceSendFields is a list of field names (e.g. "AdaptingOs") 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. "AdaptingOs") 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:"-"`}ImageImportStep: ImageImportStep holds information about the image importstep progress.
func (ImageImportStep)MarshalJSON¶added inv0.168.0
func (sImageImportStep) MarshalJSON() ([]byte,error)
typeInitializingImageImportStep¶added inv0.168.0
type InitializingImageImportStep struct {}InitializingImageImportStep: InitializingImageImportStep contains specificstep details.
typeInitializingReplicationStep¶added inv0.67.0
type InitializingReplicationStep struct {}InitializingReplicationStep: InitializingReplicationStep contains specificstep details.
typeInstantiatingMigratedVMStep¶added inv0.84.0
type InstantiatingMigratedVMStep struct {}InstantiatingMigratedVMStep: InstantiatingMigratedVMStep contains specificstep details.
typeLink¶
type Link struct {// Description: Describes what the link offers.Descriptionstring `json:"description,omitempty"`// Url: The URL of the link.Urlstring `json:"url,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:"-"`}Link: Describes a URL link.
func (Link)MarshalJSON¶
typeListCloneJobsResponse¶
type ListCloneJobsResponse struct {// CloneJobs: Output only. The list of clone jobs response.CloneJobs []*CloneJob `json:"cloneJobs,omitempty"`// NextPageToken: Output only. A token, which 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: Output only. 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. "CloneJobs") 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. "CloneJobs") 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:"-"`}ListCloneJobsResponse: Response message for 'ListCloneJobs' request.
func (ListCloneJobsResponse)MarshalJSON¶
func (sListCloneJobsResponse) MarshalJSON() ([]byte,error)
typeListCutoverJobsResponse¶
type ListCutoverJobsResponse struct {// CutoverJobs: Output only. The list of cutover jobs response.CutoverJobs []*CutoverJob `json:"cutoverJobs,omitempty"`// NextPageToken: Output only. A token, which 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: Output only. 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. "CutoverJobs") 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. "CutoverJobs") 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:"-"`}ListCutoverJobsResponse: Response message for 'ListCutoverJobs' request.
func (ListCutoverJobsResponse)MarshalJSON¶
func (sListCutoverJobsResponse) MarshalJSON() ([]byte,error)
typeListDatacenterConnectorsResponse¶
type ListDatacenterConnectorsResponse struct {// DatacenterConnectors: Output only. The list of sources response.DatacenterConnectors []*DatacenterConnector `json:"datacenterConnectors,omitempty"`// NextPageToken: Output only. A token, which 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: Output only. 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. "DatacenterConnectors") 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. "DatacenterConnectors") 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:"-"`}ListDatacenterConnectorsResponse: Response message for'ListDatacenterConnectors' request.
func (ListDatacenterConnectorsResponse)MarshalJSON¶
func (sListDatacenterConnectorsResponse) MarshalJSON() ([]byte,error)
typeListDiskMigrationJobsResponse¶added inv0.249.0
type ListDiskMigrationJobsResponse struct {// DiskMigrationJobs: Output only. The list of the disk migration jobs.DiskMigrationJobs []*DiskMigrationJob `json:"diskMigrationJobs,omitempty"`// NextPageToken: Optional. Output only. A token, which 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: Output only. 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. "DiskMigrationJobs") 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. "DiskMigrationJobs") 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:"-"`}ListDiskMigrationJobsResponse: Response message for 'ListDiskMigrationJobs'request.
func (ListDiskMigrationJobsResponse)MarshalJSON¶added inv0.249.0
func (sListDiskMigrationJobsResponse) MarshalJSON() ([]byte,error)
typeListGroupsResponse¶
type ListGroupsResponse struct {// Groups: Output only. The list of groups response.Groups []*Group `json:"groups,omitempty"`// NextPageToken: Output only. A token, which 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: Output only. 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. "Groups") 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. "Groups") 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:"-"`}ListGroupsResponse: Response message for 'ListGroups' request.
func (ListGroupsResponse)MarshalJSON¶
func (sListGroupsResponse) MarshalJSON() ([]byte,error)
typeListImageImportJobsResponse¶added inv0.168.0
type ListImageImportJobsResponse struct {// ImageImportJobs: Output only. The list of target response.ImageImportJobs []*ImageImportJob `json:"imageImportJobs,omitempty"`// NextPageToken: Output only. A token, which 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: Output only. 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. "ImageImportJobs") 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. "ImageImportJobs") 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:"-"`}ListImageImportJobsResponse: Response message for 'ListImageImportJobs'call.
func (ListImageImportJobsResponse)MarshalJSON¶added inv0.168.0
func (sListImageImportJobsResponse) MarshalJSON() ([]byte,error)
typeListImageImportsResponse¶added inv0.168.0
type ListImageImportsResponse struct {// ImageImports: Output only. The list of target response.ImageImports []*ImageImport `json:"imageImports,omitempty"`// NextPageToken: Output only. A token, which 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: Output only. 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. "ImageImports") 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. "ImageImports") 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:"-"`}ListImageImportsResponse: Response message for 'ListImageImports' call.
func (ListImageImportsResponse)MarshalJSON¶added inv0.168.0
func (sListImageImportsResponse) 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)
typeListMigratingVmsResponse¶
type ListMigratingVmsResponse struct {// MigratingVms: Output only. The list of Migrating VMs response.MigratingVms []*MigratingVm `json:"migratingVms,omitempty"`// NextPageToken: Output only. A token, which 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: Output only. 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. "MigratingVms") 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. "MigratingVms") 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:"-"`}ListMigratingVmsResponse: Response message for 'ListMigratingVms' request.
func (ListMigratingVmsResponse)MarshalJSON¶
func (sListMigratingVmsResponse) 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)
typeListReplicationCyclesResponse¶added inv0.84.0
type ListReplicationCyclesResponse struct {// NextPageToken: Output only. A token, which 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"`// ReplicationCycles: Output only. The list of replication cycles response.ReplicationCycles []*ReplicationCycle `json:"replicationCycles,omitempty"`// Unreachable: Output only. 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:"-"`}ListReplicationCyclesResponse: Response message for 'ListReplicationCycles'request.
func (ListReplicationCyclesResponse)MarshalJSON¶added inv0.84.0
func (sListReplicationCyclesResponse) MarshalJSON() ([]byte,error)
typeListSourcesResponse¶
type ListSourcesResponse struct {// NextPageToken: Output only. A token, which 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"`// Sources: Output only. The list of sources response.Sources []*Source `json:"sources,omitempty"`// Unreachable: Output only. 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:"-"`}ListSourcesResponse: Response message for 'ListSources' request.
func (ListSourcesResponse)MarshalJSON¶
func (sListSourcesResponse) MarshalJSON() ([]byte,error)
typeListTargetProjectsResponse¶
type ListTargetProjectsResponse struct {// NextPageToken: Output only. A token, which 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"`// TargetProjects: Output only. The list of target response.TargetProjects []*TargetProject `json:"targetProjects,omitempty"`// Unreachable: Output only. 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:"-"`}ListTargetProjectsResponse: Response message for 'ListTargetProjects' call.
func (ListTargetProjectsResponse)MarshalJSON¶
func (sListTargetProjectsResponse) MarshalJSON() ([]byte,error)
typeListUtilizationReportsResponse¶
type ListUtilizationReportsResponse struct {// NextPageToken: Output only. A token, which 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: Output only. Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// UtilizationReports: Output only. The list of reports.UtilizationReports []*UtilizationReport `json:"utilizationReports,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:"-"`}ListUtilizationReportsResponse: Response message for'ListUtilizationReports' request.
func (ListUtilizationReportsResponse)MarshalJSON¶
func (sListUtilizationReportsResponse) MarshalJSON() ([]byte,error)
typeLoadingImageSourceFilesStep¶added inv0.168.0
type LoadingImageSourceFilesStep struct {}LoadingImageSourceFilesStep: LoadingImageSourceFilesStep contains specificstep details.
typeLocalizedMessage¶
type LocalizedMessage struct {// Locale: The locale used following the specification defined at//https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US",// "fr-CH", "es-MX"Localestring `json:"locale,omitempty"`// Message: The localized error message in the above locale.Messagestring `json:"message,omitempty"`// ForceSendFields is a list of field names (e.g. "Locale") 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. "Locale") 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:"-"`}LocalizedMessage: Provides a localized error message that is safe to returnto the user which can be attached to an RPC error.
func (LocalizedMessage)MarshalJSON¶
func (sLocalizedMessage) 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¶
typeMachineImageParametersOverrides¶added inv0.190.0
type MachineImageParametersOverrides struct {// MachineType: Optional. The machine type to create the MachineImage with. If// empty, the service will choose a relevant machine type based on the// information from the source image. For more information about machine types,// please refer tohttps://cloud.google.com/compute/docs/machine-resource.MachineTypestring `json:"machineType,omitempty"`// ForceSendFields is a list of field names (e.g. "MachineType") 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. "MachineType") 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:"-"`}MachineImageParametersOverrides: Parameters overriding decisions based onthe source machine image configurations.
func (MachineImageParametersOverrides)MarshalJSON¶added inv0.190.0
func (sMachineImageParametersOverrides) MarshalJSON() ([]byte,error)
typeMachineImageTargetDetails¶added inv0.190.0
type MachineImageTargetDetails struct {// AdditionalLicenses: Optional. Additional licenses to assign to the instance// created by the machine image. Format://https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME// Or//https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAMEAdditionalLicenses []string `json:"additionalLicenses,omitempty"`// Description: Optional. An optional description of the machine image.Descriptionstring `json:"description,omitempty"`// Encryption: Immutable. The encryption to apply to the machine image. If the// Image Import resource has an encryption, this field must be set to the same// encryption key.Encryption *Encryption `json:"encryption,omitempty"`// Labels: Optional. The labels to apply to the instance created by the machine// image.Labels map[string]string `json:"labels,omitempty"`// MachineImageName: Required. The name of the machine image to be created.MachineImageNamestring `json:"machineImageName,omitempty"`// MachineImageParametersOverrides: Optional. Parameters overriding decisions// based on the source machine image configurations.MachineImageParametersOverrides *MachineImageParametersOverrides `json:"machineImageParametersOverrides,omitempty"`// NetworkInterfaces: Optional. The network interfaces to create with the// instance created by the machine image. Internal and external IP addresses,// and network tiers are ignored for machine image import.NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty"`// OsAdaptationParameters: Optional. Use to set the parameters relevant for the// OS adaptation process.OsAdaptationParameters *ImageImportOsAdaptationParameters `json:"osAdaptationParameters,omitempty"`// ServiceAccount: Optional. The service account to assign to the instance// created by the machine image.ServiceAccount *ServiceAccount `json:"serviceAccount,omitempty"`// ShieldedInstanceConfig: Optional. Shielded instance configuration.ShieldedInstanceConfig *ShieldedInstanceConfig `json:"shieldedInstanceConfig,omitempty"`// SingleRegionStorage: Optional. Set to true to set the machine image// storageLocations to the single region of the import job. When false, the// closest multi-region is selected.SingleRegionStoragebool `json:"singleRegionStorage,omitempty"`// SkipOsAdaptation: Optional. Use to skip OS adaptation process.SkipOsAdaptation *SkipOsAdaptation `json:"skipOsAdaptation,omitempty"`// Tags: Optional. The tags to apply to the instance created by the machine// image.Tags []string `json:"tags,omitempty"`// TargetProject: Required. Reference to the TargetProject resource that// represents the target project in which the imported machine image will be// created.TargetProjectstring `json:"targetProject,omitempty"`// ForceSendFields is a list of field names (e.g. "AdditionalLicenses") 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. "AdditionalLicenses") 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:"-"`}MachineImageTargetDetails: The target details of the machine image resourcethat will be created by the image import job.
func (MachineImageTargetDetails)MarshalJSON¶added inv0.190.0
func (sMachineImageTargetDetails) MarshalJSON() ([]byte,error)
typeMigratingVm¶
type MigratingVm struct {// AwsSourceVmDetails: Output only. Details of the VM from an AWS source.AwsSourceVmDetails *AwsSourceVmDetails `json:"awsSourceVmDetails,omitempty"`// AzureSourceVmDetails: Output only. Details of the VM from an Azure source.AzureSourceVmDetails *AzureSourceVmDetails `json:"azureSourceVmDetails,omitempty"`// ComputeEngineDisksTargetDefaults: Details of the target Persistent Disks in// Compute Engine.ComputeEngineDisksTargetDefaults *ComputeEngineDisksTargetDefaults `json:"computeEngineDisksTargetDefaults,omitempty"`// ComputeEngineTargetDefaults: Details of the target VM in Compute Engine.ComputeEngineTargetDefaults *ComputeEngineTargetDefaults `json:"computeEngineTargetDefaults,omitempty"`// ComputeEngineVmDefaults: Details of the VM in Compute Engine. Deprecated:// Use compute_engine_target_defaults instead.ComputeEngineVmDefaults *TargetVMDetails `json:"computeEngineVmDefaults,omitempty"`// CreateTime: Output only. The time the migrating VM was created (this refers// to this resource and not to the time it was installed in the source).CreateTimestring `json:"createTime,omitempty"`// CurrentSyncInfo: Output only. Details of the current running replication// cycle.CurrentSyncInfo *ReplicationCycle `json:"currentSyncInfo,omitempty"`// CutoverForecast: Output only. Provides details of future CutoverJobs of a// MigratingVm. Set to empty when cutover forecast is unavailable.CutoverForecast *CutoverForecast `json:"cutoverForecast,omitempty"`// Description: The description attached to the migrating VM by the user.Descriptionstring `json:"description,omitempty"`// DisplayName: The display name attached to the MigratingVm by the user.DisplayNamestring `json:"displayName,omitempty"`// Error: Output only. Provides details on the state of the Migrating VM in// case of an error in replication.Error *Status `json:"error,omitempty"`// Expiration: Output only. Provides details about the expiration state of the// migrating VM.Expiration *Expiration `json:"expiration,omitempty"`// Group: Output only. The group this migrating vm is included in, if any. The// group is represented by the full path of the appropriate Group resource.Groupstring `json:"group,omitempty"`// Labels: The labels of the migrating VM.Labels map[string]string `json:"labels,omitempty"`// LastReplicationCycle: Output only. Details of the last replication cycle.// This will be updated whenever a replication cycle is finished and is not to// be confused with last_sync which is only updated on successful replication// cycles.LastReplicationCycle *ReplicationCycle `json:"lastReplicationCycle,omitempty"`// LastSync: Output only. The most updated snapshot created time in the source// that finished replication.LastSync *ReplicationSync `json:"lastSync,omitempty"`// Name: Output only. The identifier of the MigratingVm.Namestring `json:"name,omitempty"`// Policy: The replication schedule policy.Policy *SchedulePolicy `json:"policy,omitempty"`// RecentCloneJobs: Output only. The recent clone jobs performed on the// migrating VM. This field holds the vm's last completed clone job and the// vm's running clone job, if one exists. Note: To have this field populated// you need to explicitly request it via the "view" parameter of the Get/List// request.RecentCloneJobs []*CloneJob `json:"recentCloneJobs,omitempty"`// RecentCutoverJobs: Output only. The recent cutover jobs performed on the// migrating VM. This field holds the vm's last completed cutover job and the// vm's running cutover job, if one exists. Note: To have this field populated// you need to explicitly request it via the "view" parameter of the Get/List// request.RecentCutoverJobs []*CutoverJob `json:"recentCutoverJobs,omitempty"`// SourceVmId: The unique ID of the VM in the source. The VM's name in vSphere// can be changed, so this is not the VM's name but rather its moRef id. This// id is of the form vm-.SourceVmIdstring `json:"sourceVmId,omitempty"`// State: Output only. State of the MigratingVm.//// Possible values:// "STATE_UNSPECIFIED" - The state was not sampled by the health checks yet.// "PENDING" - The VM in the source is being verified.// "READY" - The source VM was verified, and it's ready to start replication.// "FIRST_SYNC" - Migration is going through the first sync cycle.// "ACTIVE" - The replication is active, and it's running or scheduled to// run.// "CUTTING_OVER" - The source VM is being turned off, and a final// replication is currently running.// "CUTOVER" - The source VM was stopped and replicated. The replication is// currently paused.// "FINAL_SYNC" - A cutover job is active and replication cycle is running// the final sync.// "PAUSED" - The replication was paused by the user and no cycles are// scheduled to run.// "FINALIZING" - The migrating VM is being finalized and migration resources// are being removed.// "FINALIZED" - The replication process is done. The migrating VM is// finalized and no longer consumes billable resources.// "ERROR" - The replication process encountered an unrecoverable error and// was aborted.// "EXPIRED" - The migrating VM has passed its expiration date. It might be// possible to bring it back to "Active" state by updating the TTL field. For// more information, see the documentation.// "FINALIZED_EXPIRED" - The migrating VM's has been finalized and migration// resources have been removed.Statestring `json:"state,omitempty"`// StateTime: Output only. The last time the migrating VM state was updated.StateTimestring `json:"stateTime,omitempty"`// TargetDefaults: The default configuration of the target VM that will be// created in Google Cloud as a result of the migration. Deprecated: Use// compute_engine_target_defaults instead.TargetDefaults *TargetVMDetails `json:"targetDefaults,omitempty"`// UpdateTime: Output only. The last time the migrating VM resource was// updated.UpdateTimestring `json:"updateTime,omitempty"`// VmwareSourceVmDetails: Output only. Details of the VM from a Vmware source.VmwareSourceVmDetails *VmwareSourceVmDetails `json:"vmwareSourceVmDetails,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AwsSourceVmDetails") 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. "AwsSourceVmDetails") 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:"-"`}MigratingVm: MigratingVm describes the VM that will be migrated from aSource environment and its replication state.
func (MigratingVm)MarshalJSON¶
func (sMigratingVm) MarshalJSON() ([]byte,error)
typeMigrationError¶
type MigrationError struct {// ActionItem: Output only. Suggested action for solving the error.ActionItem *LocalizedMessage `json:"actionItem,omitempty"`// Code: Output only. The error code.//// Possible values:// "ERROR_CODE_UNSPECIFIED" - Default value. This value is not used.// "UNKNOWN_ERROR" - Migrate to Virtual Machines encountered an unknown// error.// "SOURCE_VALIDATION_ERROR" - Migrate to Virtual Machines encountered an// error while validating replication source health.// "SOURCE_REPLICATION_ERROR" - Migrate to Virtual Machines encountered an// error during source data operation.// "TARGET_REPLICATION_ERROR" - Migrate to Virtual Machines encountered an// error during target data operation.// "OS_ADAPTATION_ERROR" - Migrate to Virtual Machines encountered an error// during OS adaptation.// "CLONE_ERROR" - Migrate to Virtual Machines encountered an error in clone// operation.// "CUTOVER_ERROR" - Migrate to Virtual Machines encountered an error in// cutover operation.// "UTILIZATION_REPORT_ERROR" - Migrate to Virtual Machines encountered an// error during utilization report creation.// "APPLIANCE_UPGRADE_ERROR" - Migrate to Virtual Machines encountered an// error during appliance upgrade.// "IMAGE_IMPORT_ERROR" - Migrate to Virtual Machines encountered an error in// image import operation.// "DISK_MIGRATION_ERROR" - Migrate to Virtual Machines encountered an error// in disk migration operation.Codestring `json:"code,omitempty"`// ErrorMessage: Output only. The localized error message.ErrorMessage *LocalizedMessage `json:"errorMessage,omitempty"`// ErrorTime: Output only. The time the error occurred.ErrorTimestring `json:"errorTime,omitempty"`// HelpLinks: Output only. URL(s) pointing to additional information on// handling the current error.HelpLinks []*Link `json:"helpLinks,omitempty"`// ForceSendFields is a list of field names (e.g. "ActionItem") 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. "ActionItem") 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:"-"`}MigrationError: Represents migration resource error information that can beused with google.rpc.Status message. MigrationError is used to present theuser with error information in migration operations.
func (MigrationError)MarshalJSON¶
func (sMigrationError) MarshalJSON() ([]byte,error)
typeMigrationWarning¶added inv0.111.0
type MigrationWarning struct {// ActionItem: Output only. Suggested action for solving the warning.ActionItem *LocalizedMessage `json:"actionItem,omitempty"`// Code: The warning code.//// Possible values:// "WARNING_CODE_UNSPECIFIED" - Default value. This value is not used.// "ADAPTATION_WARNING" - A warning originated from OS Adaptation.Codestring `json:"code,omitempty"`// HelpLinks: Output only. URL(s) pointing to additional information on// handling the current warning.HelpLinks []*Link `json:"helpLinks,omitempty"`// WarningMessage: Output only. The localized warning message.WarningMessage *LocalizedMessage `json:"warningMessage,omitempty"`// WarningTime: The time the warning occurred.WarningTimestring `json:"warningTime,omitempty"`// ForceSendFields is a list of field names (e.g. "ActionItem") 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. "ActionItem") 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:"-"`}MigrationWarning: Represents migration resource warning information that canbe used with google.rpc.Status message. MigrationWarning is used to presentthe user with warning information in migration operations.
func (MigrationWarning)MarshalJSON¶added inv0.111.0
func (sMigrationWarning) MarshalJSON() ([]byte,error)
typeNetworkInterface¶
type NetworkInterface struct {// ExternalIp: Optional. The external IP to define in the NIC.ExternalIpstring `json:"externalIp,omitempty"`// InternalIp: Optional. The internal IP to define in the NIC. The formats// accepted are: `ephemeral` \ ipv4 address \ a named address resource full// path.InternalIpstring `json:"internalIp,omitempty"`// Network: Optional. The network to connect the NIC to.Networkstring `json:"network,omitempty"`// NetworkTier: Optional. The networking tier used for optimizing connectivity// between instances and systems on the internet. Applies only for external// ephemeral IP addresses. If left empty, will default to PREMIUM.//// Possible values:// "COMPUTE_ENGINE_NETWORK_TIER_UNSPECIFIED" - An unspecified network tier.// Will be used as PREMIUM.// "NETWORK_TIER_STANDARD" - A standard network tier.// "NETWORK_TIER_PREMIUM" - A premium network tier.NetworkTierstring `json:"networkTier,omitempty"`// Subnetwork: Optional. The subnetwork to connect the NIC to.Subnetworkstring `json:"subnetwork,omitempty"`// ForceSendFields is a list of field names (e.g. "ExternalIp") 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. "ExternalIp") 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:"-"`}NetworkInterface: NetworkInterface represents a NIC of a VM.
func (NetworkInterface)MarshalJSON¶
func (sNetworkInterface) MarshalJSON() ([]byte,error)
typeOSDescription¶added inv0.139.0
type OSDescription struct {// Offer: OS offer.Offerstring `json:"offer,omitempty"`// Plan: OS plan.Planstring `json:"plan,omitempty"`// Publisher: OS publisher.Publisherstring `json:"publisher,omitempty"`// Type: OS type.Typestring `json:"type,omitempty"`// ForceSendFields is a list of field names (e.g. "Offer") 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. "Offer") 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:"-"`}OSDescription: A message describing the VM's OS. Including OS, Publisher,Offer and Plan if applicable.
func (OSDescription)MarshalJSON¶added inv0.139.0
func (sOSDescription) MarshalJSON() ([]byte,error)
typeOSDisk¶added inv0.139.0
type OSDisk struct {// Name: The disk's full name.Namestring `json:"name,omitempty"`// SizeGb: The disk's size in GB.SizeGbint64 `json:"sizeGb,omitempty"`// Type: The disk's type.Typestring `json:"type,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:"-"`}OSDisk: A message describing the OS disk.
func (OSDisk)MarshalJSON¶added inv0.139.0
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¶
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 user has// requested cancellation of the operation. Operations that have successfully// been cancelled have 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 the long-running operation.
func (OperationMetadata)MarshalJSON¶
func (sOperationMetadata) MarshalJSON() ([]byte,error)
typePauseMigrationRequest¶
type PauseMigrationRequest struct {}PauseMigrationRequest: Request message for 'PauseMigration' request.
typePersistentDisk¶added inv0.133.0
type PersistentDisk struct {// DiskUri: The URI of the Persistent Disk.DiskUristring `json:"diskUri,omitempty"`// SourceDiskNumber: The ordinal number of the source VM disk.SourceDiskNumberint64 `json:"sourceDiskNumber,omitempty"`// ForceSendFields is a list of field names (e.g. "DiskUri") 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. "DiskUri") 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:"-"`}PersistentDisk: Details of a created Persistent Disk.
func (PersistentDisk)MarshalJSON¶added inv0.133.0
func (sPersistentDisk) MarshalJSON() ([]byte,error)
typePersistentDiskDefaults¶added inv0.133.0
type PersistentDiskDefaults struct {// AdditionalLabels: A map of labels to associate with the Persistent Disk.AdditionalLabels map[string]string `json:"additionalLabels,omitempty"`// DiskName: Optional. The name of the Persistent Disk to create.DiskNamestring `json:"diskName,omitempty"`// DiskType: The disk type to use.//// Possible values:// "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED" - An unspecified disk type. Will be// used as STANDARD.// "COMPUTE_ENGINE_DISK_TYPE_STANDARD" - A Standard disk type.// "COMPUTE_ENGINE_DISK_TYPE_SSD" - SSD hard disk type.// "COMPUTE_ENGINE_DISK_TYPE_BALANCED" - An alternative to SSD persistent// disks that balance performance and cost.// "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED" - Hyperdisk balanced disk// type.DiskTypestring `json:"diskType,omitempty"`// Encryption: Optional. The encryption to apply to the disk.Encryption *Encryption `json:"encryption,omitempty"`// SourceDiskNumber: Required. The ordinal number of the source VM disk.SourceDiskNumberint64 `json:"sourceDiskNumber,omitempty"`// VmAttachmentDetails: Optional. Details for attachment of the disk to a VM.// Used when the disk is set to be attached to a target VM.VmAttachmentDetails *VmAttachmentDetails `json:"vmAttachmentDetails,omitempty"`// ForceSendFields is a list of field names (e.g. "AdditionalLabels") 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. "AdditionalLabels") 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:"-"`}PersistentDiskDefaults: Details for creation of a Persistent Disk.
func (PersistentDiskDefaults)MarshalJSON¶added inv0.133.0
func (sPersistentDiskDefaults) MarshalJSON() ([]byte,error)
typePostProcessingStep¶added inv0.67.0
type PostProcessingStep struct {}PostProcessingStep: PostProcessingStep contains specific step details.
typePreparingVMDisksStep¶added inv0.84.0
type PreparingVMDisksStep struct {}PreparingVMDisksStep: PreparingVMDisksStep contains specific step details.
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 "vmmigration.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.
typeProjectsLocationsGroupsAddGroupMigrationCall¶
type ProjectsLocationsGroupsAddGroupMigrationCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGroupsAddGroupMigrationCall)Context¶
func (c *ProjectsLocationsGroupsAddGroupMigrationCall) Context(ctxcontext.Context) *ProjectsLocationsGroupsAddGroupMigrationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGroupsAddGroupMigrationCall)Do¶
func (c *ProjectsLocationsGroupsAddGroupMigrationCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.groups.addGroupMigration" 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 (*ProjectsLocationsGroupsAddGroupMigrationCall)Fields¶
func (c *ProjectsLocationsGroupsAddGroupMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsAddGroupMigrationCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGroupsAddGroupMigrationCall)Header¶
func (c *ProjectsLocationsGroupsAddGroupMigrationCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsGroupsCreateCall¶
type ProjectsLocationsGroupsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGroupsCreateCall)Context¶
func (c *ProjectsLocationsGroupsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsGroupsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGroupsCreateCall)Do¶
func (c *ProjectsLocationsGroupsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.groups.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 (*ProjectsLocationsGroupsCreateCall)Fields¶
func (c *ProjectsLocationsGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGroupsCreateCall)GroupId¶
func (c *ProjectsLocationsGroupsCreateCall) GroupId(groupIdstring) *ProjectsLocationsGroupsCreateCall
GroupId sets the optional parameter "groupId": Required. The groupidentifier.
func (*ProjectsLocationsGroupsCreateCall)Header¶
func (c *ProjectsLocationsGroupsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGroupsCreateCall)RequestId¶
func (c *ProjectsLocationsGroupsCreateCall) RequestId(requestIdstring) *ProjectsLocationsGroupsCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsGroupsDeleteCall¶
type ProjectsLocationsGroupsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGroupsDeleteCall)Context¶
func (c *ProjectsLocationsGroupsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsGroupsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGroupsDeleteCall)Do¶
func (c *ProjectsLocationsGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.groups.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 (*ProjectsLocationsGroupsDeleteCall)Fields¶
func (c *ProjectsLocationsGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGroupsDeleteCall)Header¶
func (c *ProjectsLocationsGroupsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGroupsDeleteCall)RequestId¶
func (c *ProjectsLocationsGroupsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsGroupsDeleteCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsGroupsGetCall¶
type ProjectsLocationsGroupsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGroupsGetCall)Context¶
func (c *ProjectsLocationsGroupsGetCall) Context(ctxcontext.Context) *ProjectsLocationsGroupsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGroupsGetCall)Do¶
func (c *ProjectsLocationsGroupsGetCall) Do(opts ...googleapi.CallOption) (*Group,error)
Do executes the "vmmigration.projects.locations.groups.get" call.Any non-2xx status code is an error. Response headers are in either*Group.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 (*ProjectsLocationsGroupsGetCall)Fields¶
func (c *ProjectsLocationsGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGroupsGetCall)Header¶
func (c *ProjectsLocationsGroupsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGroupsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsGroupsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGroupsGetCall
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.
typeProjectsLocationsGroupsListCall¶
type ProjectsLocationsGroupsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGroupsListCall)Context¶
func (c *ProjectsLocationsGroupsListCall) Context(ctxcontext.Context) *ProjectsLocationsGroupsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGroupsListCall)Do¶
func (c *ProjectsLocationsGroupsListCall) Do(opts ...googleapi.CallOption) (*ListGroupsResponse,error)
Do executes the "vmmigration.projects.locations.groups.list" call.Any non-2xx status code is an error. Response headers are in either*ListGroupsResponse.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 (*ProjectsLocationsGroupsListCall)Fields¶
func (c *ProjectsLocationsGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGroupsListCall)Filter¶
func (c *ProjectsLocationsGroupsListCall) Filter(filterstring) *ProjectsLocationsGroupsListCall
Filter sets the optional parameter "filter": The filter request.
func (*ProjectsLocationsGroupsListCall)Header¶
func (c *ProjectsLocationsGroupsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGroupsListCall)IfNoneMatch¶
func (c *ProjectsLocationsGroupsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGroupsListCall
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 (*ProjectsLocationsGroupsListCall)OrderBy¶
func (c *ProjectsLocationsGroupsListCall) OrderBy(orderBystring) *ProjectsLocationsGroupsListCall
OrderBy sets the optional parameter "orderBy": the order by fields for theresult.
func (*ProjectsLocationsGroupsListCall)PageSize¶
func (c *ProjectsLocationsGroupsListCall) PageSize(pageSizeint64) *ProjectsLocationsGroupsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofgroups to return. The service may return fewer than this value. Ifunspecified, at most 500 groups will be returned. The maximum value is 1000;values above 1000 will be coerced to 1000.
func (*ProjectsLocationsGroupsListCall)PageToken¶
func (c *ProjectsLocationsGroupsListCall) PageToken(pageTokenstring) *ProjectsLocationsGroupsListCall
PageToken sets the optional parameter "pageToken": Required. A page token,received from a previous `ListGroups` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListGroups` must match the call that provided the page token.
func (*ProjectsLocationsGroupsListCall)Pages¶
func (c *ProjectsLocationsGroupsListCall) Pages(ctxcontext.Context, f func(*ListGroupsResponse)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.
typeProjectsLocationsGroupsPatchCall¶
type ProjectsLocationsGroupsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGroupsPatchCall)Context¶
func (c *ProjectsLocationsGroupsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsGroupsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGroupsPatchCall)Do¶
func (c *ProjectsLocationsGroupsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.groups.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 (*ProjectsLocationsGroupsPatchCall)Fields¶
func (c *ProjectsLocationsGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGroupsPatchCall)Header¶
func (c *ProjectsLocationsGroupsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGroupsPatchCall)RequestId¶
func (c *ProjectsLocationsGroupsPatchCall) RequestId(requestIdstring) *ProjectsLocationsGroupsPatchCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsGroupsPatchCall)UpdateMask¶
func (c *ProjectsLocationsGroupsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsGroupsPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the Group resource by the update.The fields specified in the update_mask are relative to the resource, notthe full request. A field will be overwritten if it is in the mask. If theuser does not provide a mask then all fields will be overwritten.
typeProjectsLocationsGroupsRemoveGroupMigrationCall¶
type ProjectsLocationsGroupsRemoveGroupMigrationCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGroupsRemoveGroupMigrationCall)Context¶
func (c *ProjectsLocationsGroupsRemoveGroupMigrationCall) Context(ctxcontext.Context) *ProjectsLocationsGroupsRemoveGroupMigrationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGroupsRemoveGroupMigrationCall)Do¶
func (c *ProjectsLocationsGroupsRemoveGroupMigrationCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.groups.removeGroupMigration" 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 (*ProjectsLocationsGroupsRemoveGroupMigrationCall)Fields¶
func (c *ProjectsLocationsGroupsRemoveGroupMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsRemoveGroupMigrationCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGroupsRemoveGroupMigrationCall)Header¶
func (c *ProjectsLocationsGroupsRemoveGroupMigrationCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsGroupsService¶
type ProjectsLocationsGroupsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsGroupsService¶
func NewProjectsLocationsGroupsService(s *Service) *ProjectsLocationsGroupsService
func (*ProjectsLocationsGroupsService)AddGroupMigration¶
func (r *ProjectsLocationsGroupsService) AddGroupMigration(groupstring, addgroupmigrationrequest *AddGroupMigrationRequest) *ProjectsLocationsGroupsAddGroupMigrationCall
AddGroupMigration: Adds a MigratingVm to a Group.
- group: The full path name of the Group to add to.
func (*ProjectsLocationsGroupsService)Create¶
func (r *ProjectsLocationsGroupsService) Create(parentstring, group *Group) *ProjectsLocationsGroupsCreateCall
Create: Creates a new Group in a given project and location.
- parent: The Group's parent.
func (*ProjectsLocationsGroupsService)Delete¶
func (r *ProjectsLocationsGroupsService) Delete(namestring) *ProjectsLocationsGroupsDeleteCall
Delete: Deletes a single Group.
- name: The Group name.
func (*ProjectsLocationsGroupsService)Get¶
func (r *ProjectsLocationsGroupsService) Get(namestring) *ProjectsLocationsGroupsGetCall
Get: Gets details of a single Group.
- name: The group name.
func (*ProjectsLocationsGroupsService)List¶
func (r *ProjectsLocationsGroupsService) List(parentstring) *ProjectsLocationsGroupsListCall
List: Lists Groups in a given project and location.
- parent: The parent, which owns this collection of groups.
func (*ProjectsLocationsGroupsService)Patch¶
func (r *ProjectsLocationsGroupsService) Patch(namestring, group *Group) *ProjectsLocationsGroupsPatchCall
Patch: Updates the parameters of a single Group.
- name: Output only. The Group name.
func (*ProjectsLocationsGroupsService)RemoveGroupMigration¶
func (r *ProjectsLocationsGroupsService) RemoveGroupMigration(groupstring, removegroupmigrationrequest *RemoveGroupMigrationRequest) *ProjectsLocationsGroupsRemoveGroupMigrationCall
RemoveGroupMigration: Removes a MigratingVm from a Group.
- group: The name of the Group.
typeProjectsLocationsImageImportsCreateCall¶added inv0.168.0
type ProjectsLocationsImageImportsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsImageImportsCreateCall)Context¶added inv0.168.0
func (c *ProjectsLocationsImageImportsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsImageImportsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsImageImportsCreateCall)Do¶added inv0.168.0
func (c *ProjectsLocationsImageImportsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.imageImports.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 (*ProjectsLocationsImageImportsCreateCall)Fields¶added inv0.168.0
func (c *ProjectsLocationsImageImportsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsImageImportsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsImageImportsCreateCall)Header¶added inv0.168.0
func (c *ProjectsLocationsImageImportsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsImageImportsCreateCall)ImageImportId¶added inv0.168.0
func (c *ProjectsLocationsImageImportsCreateCall) ImageImportId(imageImportIdstring) *ProjectsLocationsImageImportsCreateCall
ImageImportId sets the optional parameter "imageImportId": Required. Theimage import identifier. This value maximum length is 63 characters, andvalid characters are /a-z-/. It must start with an english letter and mustnot end with a hyphen.
func (*ProjectsLocationsImageImportsCreateCall)RequestId¶added inv0.168.0
func (c *ProjectsLocationsImageImportsCreateCall) RequestId(requestIdstring) *ProjectsLocationsImageImportsCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsImageImportsDeleteCall¶added inv0.168.0
type ProjectsLocationsImageImportsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsImageImportsDeleteCall)Context¶added inv0.168.0
func (c *ProjectsLocationsImageImportsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsImageImportsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsImageImportsDeleteCall)Do¶added inv0.168.0
func (c *ProjectsLocationsImageImportsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.imageImports.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 (*ProjectsLocationsImageImportsDeleteCall)Fields¶added inv0.168.0
func (c *ProjectsLocationsImageImportsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsImageImportsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsImageImportsDeleteCall)Header¶added inv0.168.0
func (c *ProjectsLocationsImageImportsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsImageImportsDeleteCall)RequestId¶added inv0.168.0
func (c *ProjectsLocationsImageImportsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsImageImportsDeleteCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and t he request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsImageImportsGetCall¶added inv0.168.0
type ProjectsLocationsImageImportsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsImageImportsGetCall)Context¶added inv0.168.0
func (c *ProjectsLocationsImageImportsGetCall) Context(ctxcontext.Context) *ProjectsLocationsImageImportsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsImageImportsGetCall)Do¶added inv0.168.0
func (c *ProjectsLocationsImageImportsGetCall) Do(opts ...googleapi.CallOption) (*ImageImport,error)
Do executes the "vmmigration.projects.locations.imageImports.get" call.Any non-2xx status code is an error. Response headers are in either*ImageImport.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 (*ProjectsLocationsImageImportsGetCall)Fields¶added inv0.168.0
func (c *ProjectsLocationsImageImportsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsImageImportsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsImageImportsGetCall)Header¶added inv0.168.0
func (c *ProjectsLocationsImageImportsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsImageImportsGetCall)IfNoneMatch¶added inv0.168.0
func (c *ProjectsLocationsImageImportsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsImageImportsGetCall
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.
typeProjectsLocationsImageImportsImageImportJobsCancelCall¶added inv0.168.0
type ProjectsLocationsImageImportsImageImportJobsCancelCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsImageImportsImageImportJobsCancelCall)Context¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsCancelCall) Context(ctxcontext.Context) *ProjectsLocationsImageImportsImageImportJobsCancelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsImageImportsImageImportJobsCancelCall)Do¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsCancelCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.imageImports.imageImportJobs.cancel" 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 (*ProjectsLocationsImageImportsImageImportJobsCancelCall)Fields¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsImageImportsImageImportJobsCancelCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsImageImportsImageImportJobsCancelCall)Header¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsCancelCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsImageImportsImageImportJobsGetCall¶added inv0.168.0
type ProjectsLocationsImageImportsImageImportJobsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsImageImportsImageImportJobsGetCall)Context¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsGetCall) Context(ctxcontext.Context) *ProjectsLocationsImageImportsImageImportJobsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsImageImportsImageImportJobsGetCall)Do¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsGetCall) Do(opts ...googleapi.CallOption) (*ImageImportJob,error)
Do executes the "vmmigration.projects.locations.imageImports.imageImportJobs.get" call.Any non-2xx status code is an error. Response headers are in either*ImageImportJob.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 (*ProjectsLocationsImageImportsImageImportJobsGetCall)Fields¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsImageImportsImageImportJobsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsImageImportsImageImportJobsGetCall)Header¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsImageImportsImageImportJobsGetCall)IfNoneMatch¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsImageImportsImageImportJobsGetCall
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.
typeProjectsLocationsImageImportsImageImportJobsListCall¶added inv0.168.0
type ProjectsLocationsImageImportsImageImportJobsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsImageImportsImageImportJobsListCall)Context¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsListCall) Context(ctxcontext.Context) *ProjectsLocationsImageImportsImageImportJobsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsImageImportsImageImportJobsListCall)Do¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsListCall) Do(opts ...googleapi.CallOption) (*ListImageImportJobsResponse,error)
Do executes the "vmmigration.projects.locations.imageImports.imageImportJobs.list" call.Any non-2xx status code is an error. Response headers are in either*ListImageImportJobsResponse.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 (*ProjectsLocationsImageImportsImageImportJobsListCall)Fields¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsImageImportsImageImportJobsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsImageImportsImageImportJobsListCall)Filter¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsListCall) Filter(filterstring) *ProjectsLocationsImageImportsImageImportJobsListCall
Filter sets the optional parameter "filter": The filter request (accordingto AIP-160).
func (*ProjectsLocationsImageImportsImageImportJobsListCall)Header¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsImageImportsImageImportJobsListCall)IfNoneMatch¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsImageImportsImageImportJobsListCall
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 (*ProjectsLocationsImageImportsImageImportJobsListCall)OrderBy¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsListCall) OrderBy(orderBystring) *ProjectsLocationsImageImportsImageImportJobsListCall
OrderBy sets the optional parameter "orderBy": The order by fields for theresult (according to AIP-132). Currently ordering is only possible by "name"field.
func (*ProjectsLocationsImageImportsImageImportJobsListCall)PageSize¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsListCall) PageSize(pageSizeint64) *ProjectsLocationsImageImportsImageImportJobsListCall
PageSize sets the optional parameter "pageSize": The maximum number oftargets to return. The service may return fewer than this value. Ifunspecified, at most 500 targets will be returned. The maximum value is1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsImageImportsImageImportJobsListCall)PageToken¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsListCall) PageToken(pageTokenstring) *ProjectsLocationsImageImportsImageImportJobsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListImageImportJobs` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListImageImportJobs` must match the call that provided the page token.
func (*ProjectsLocationsImageImportsImageImportJobsListCall)Pages¶added inv0.168.0
func (c *ProjectsLocationsImageImportsImageImportJobsListCall) Pages(ctxcontext.Context, f func(*ListImageImportJobsResponse)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.
typeProjectsLocationsImageImportsImageImportJobsService¶added inv0.168.0
type ProjectsLocationsImageImportsImageImportJobsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsImageImportsImageImportJobsService¶added inv0.168.0
func NewProjectsLocationsImageImportsImageImportJobsService(s *Service) *ProjectsLocationsImageImportsImageImportJobsService
func (*ProjectsLocationsImageImportsImageImportJobsService)Cancel¶added inv0.168.0
func (r *ProjectsLocationsImageImportsImageImportJobsService) Cancel(namestring, cancelimageimportjobrequest *CancelImageImportJobRequest) *ProjectsLocationsImageImportsImageImportJobsCancelCall
Cancel: Initiates the cancellation of a running ImageImportJob.
- name: The image import job id.
func (*ProjectsLocationsImageImportsImageImportJobsService)Get¶added inv0.168.0
func (r *ProjectsLocationsImageImportsImageImportJobsService) Get(namestring) *ProjectsLocationsImageImportsImageImportJobsGetCall
Get: Gets details of a single ImageImportJob.
- name: The ImageImportJob name.
func (*ProjectsLocationsImageImportsImageImportJobsService)List¶added inv0.168.0
func (r *ProjectsLocationsImageImportsImageImportJobsService) List(parentstring) *ProjectsLocationsImageImportsImageImportJobsListCall
List: Lists ImageImportJobs in a given project.
- parent: The parent, which owns this collection of targets.
typeProjectsLocationsImageImportsListCall¶added inv0.168.0
type ProjectsLocationsImageImportsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsImageImportsListCall)Context¶added inv0.168.0
func (c *ProjectsLocationsImageImportsListCall) Context(ctxcontext.Context) *ProjectsLocationsImageImportsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsImageImportsListCall)Do¶added inv0.168.0
func (c *ProjectsLocationsImageImportsListCall) Do(opts ...googleapi.CallOption) (*ListImageImportsResponse,error)
Do executes the "vmmigration.projects.locations.imageImports.list" call.Any non-2xx status code is an error. Response headers are in either*ListImageImportsResponse.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 (*ProjectsLocationsImageImportsListCall)Fields¶added inv0.168.0
func (c *ProjectsLocationsImageImportsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsImageImportsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsImageImportsListCall)Filter¶added inv0.168.0
func (c *ProjectsLocationsImageImportsListCall) Filter(filterstring) *ProjectsLocationsImageImportsListCall
Filter sets the optional parameter "filter": The filter request (accordingto AIP-160).
func (*ProjectsLocationsImageImportsListCall)Header¶added inv0.168.0
func (c *ProjectsLocationsImageImportsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsImageImportsListCall)IfNoneMatch¶added inv0.168.0
func (c *ProjectsLocationsImageImportsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsImageImportsListCall
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 (*ProjectsLocationsImageImportsListCall)OrderBy¶added inv0.168.0
func (c *ProjectsLocationsImageImportsListCall) OrderBy(orderBystring) *ProjectsLocationsImageImportsListCall
OrderBy sets the optional parameter "orderBy": The order by fields for theresult (according to AIP-132). Currently ordering is only possible by "name"field.
func (*ProjectsLocationsImageImportsListCall)PageSize¶added inv0.168.0
func (c *ProjectsLocationsImageImportsListCall) PageSize(pageSizeint64) *ProjectsLocationsImageImportsListCall
PageSize sets the optional parameter "pageSize": The maximum number oftargets to return. The service may return fewer than this value. Ifunspecified, at most 500 targets will be returned. The maximum value is1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsImageImportsListCall)PageToken¶added inv0.168.0
func (c *ProjectsLocationsImageImportsListCall) PageToken(pageTokenstring) *ProjectsLocationsImageImportsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListImageImports` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListImageImports` must match the call that provided the page token.
func (*ProjectsLocationsImageImportsListCall)Pages¶added inv0.168.0
func (c *ProjectsLocationsImageImportsListCall) Pages(ctxcontext.Context, f func(*ListImageImportsResponse)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.
typeProjectsLocationsImageImportsService¶added inv0.168.0
type ProjectsLocationsImageImportsService struct {ImageImportJobs *ProjectsLocationsImageImportsImageImportJobsService// contains filtered or unexported fields}funcNewProjectsLocationsImageImportsService¶added inv0.168.0
func NewProjectsLocationsImageImportsService(s *Service) *ProjectsLocationsImageImportsService
func (*ProjectsLocationsImageImportsService)Create¶added inv0.168.0
func (r *ProjectsLocationsImageImportsService) Create(parentstring, imageimport *ImageImport) *ProjectsLocationsImageImportsCreateCall
Create: Creates a new ImageImport in a given project.
- parent: The ImageImport's parent.
func (*ProjectsLocationsImageImportsService)Delete¶added inv0.168.0
func (r *ProjectsLocationsImageImportsService) Delete(namestring) *ProjectsLocationsImageImportsDeleteCall
Delete: Deletes a single ImageImport.
- name: The ImageImport name.
func (*ProjectsLocationsImageImportsService)Get¶added inv0.168.0
func (r *ProjectsLocationsImageImportsService) Get(namestring) *ProjectsLocationsImageImportsGetCall
Get: Gets details of a single ImageImport.
- name: The ImageImport name.
func (*ProjectsLocationsImageImportsService)List¶added inv0.168.0
func (r *ProjectsLocationsImageImportsService) List(parentstring) *ProjectsLocationsImageImportsListCall
List: Lists ImageImports in a given project.
- parent: The parent, which owns this collection of targets.
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 "vmmigration.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¶
type ProjectsLocationsOperationsCancelCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsCancelCall)Context¶
func (c *ProjectsLocationsOperationsCancelCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsCancelCall)Do¶
func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "vmmigration.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¶
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¶
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 "vmmigration.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 "vmmigration.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 "vmmigration.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.253.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,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across 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 *Service) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService)Cancel¶
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 returns`google.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 to`Code.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 returns`google.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 {Groups *ProjectsLocationsGroupsServiceImageImports *ProjectsLocationsImageImportsServiceOperations *ProjectsLocationsOperationsServiceSources *ProjectsLocationsSourcesServiceTargetProjects *ProjectsLocationsTargetProjectsService// contains filtered or unexported fields}funcNewProjectsLocationsService¶
func NewProjectsLocationsService(s *Service) *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.
typeProjectsLocationsSourcesCreateCall¶
type ProjectsLocationsSourcesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesCreateCall)Context¶
func (c *ProjectsLocationsSourcesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesCreateCall)Do¶
func (c *ProjectsLocationsSourcesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.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 (*ProjectsLocationsSourcesCreateCall)Fields¶
func (c *ProjectsLocationsSourcesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesCreateCall)Header¶
func (c *ProjectsLocationsSourcesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesCreateCall)RequestId¶
func (c *ProjectsLocationsSourcesCreateCall) RequestId(requestIdstring) *ProjectsLocationsSourcesCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsSourcesCreateCall)SourceId¶
func (c *ProjectsLocationsSourcesCreateCall) SourceId(sourceIdstring) *ProjectsLocationsSourcesCreateCall
SourceId sets the optional parameter "sourceId": Required. The sourceidentifier.
typeProjectsLocationsSourcesDatacenterConnectorsCreateCall¶
type ProjectsLocationsSourcesDatacenterConnectorsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesDatacenterConnectorsCreateCall)Context¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesDatacenterConnectorsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesDatacenterConnectorsCreateCall)DatacenterConnectorId¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsCreateCall) DatacenterConnectorId(datacenterConnectorIdstring) *ProjectsLocationsSourcesDatacenterConnectorsCreateCall
DatacenterConnectorId sets the optional parameter "datacenterConnectorId":Required. The datacenterConnector identifier.
func (*ProjectsLocationsSourcesDatacenterConnectorsCreateCall)Do¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.datacenterConnectors.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 (*ProjectsLocationsSourcesDatacenterConnectorsCreateCall)Fields¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDatacenterConnectorsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesDatacenterConnectorsCreateCall)Header¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesDatacenterConnectorsCreateCall)RequestId¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsCreateCall) RequestId(requestIdstring) *ProjectsLocationsSourcesDatacenterConnectorsCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsSourcesDatacenterConnectorsDeleteCall¶
type ProjectsLocationsSourcesDatacenterConnectorsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesDatacenterConnectorsDeleteCall)Context¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesDatacenterConnectorsDeleteCall)Do¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.datacenterConnectors.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 (*ProjectsLocationsSourcesDatacenterConnectorsDeleteCall)Fields¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesDatacenterConnectorsDeleteCall)Header¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesDatacenterConnectorsDeleteCall)RequestId¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsSourcesDatacenterConnectorsGetCall¶
type ProjectsLocationsSourcesDatacenterConnectorsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesDatacenterConnectorsGetCall)Context¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsGetCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesDatacenterConnectorsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesDatacenterConnectorsGetCall)Do¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsGetCall) Do(opts ...googleapi.CallOption) (*DatacenterConnector,error)
Do executes the "vmmigration.projects.locations.sources.datacenterConnectors.get" call.Any non-2xx status code is an error. Response headers are in either*DatacenterConnector.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 (*ProjectsLocationsSourcesDatacenterConnectorsGetCall)Fields¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDatacenterConnectorsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesDatacenterConnectorsGetCall)Header¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesDatacenterConnectorsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesDatacenterConnectorsGetCall
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.
typeProjectsLocationsSourcesDatacenterConnectorsListCall¶
type ProjectsLocationsSourcesDatacenterConnectorsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesDatacenterConnectorsListCall)Context¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesDatacenterConnectorsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesDatacenterConnectorsListCall)Do¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) Do(opts ...googleapi.CallOption) (*ListDatacenterConnectorsResponse,error)
Do executes the "vmmigration.projects.locations.sources.datacenterConnectors.list" call.Any non-2xx status code is an error. Response headers are in either*ListDatacenterConnectorsResponse.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsSourcesDatacenterConnectorsListCall)Fields¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDatacenterConnectorsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesDatacenterConnectorsListCall)Filter¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) Filter(filterstring) *ProjectsLocationsSourcesDatacenterConnectorsListCall
Filter sets the optional parameter "filter": The filter request.
func (*ProjectsLocationsSourcesDatacenterConnectorsListCall)Header¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesDatacenterConnectorsListCall)IfNoneMatch¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesDatacenterConnectorsListCall
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 (*ProjectsLocationsSourcesDatacenterConnectorsListCall)OrderBy¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) OrderBy(orderBystring) *ProjectsLocationsSourcesDatacenterConnectorsListCall
OrderBy sets the optional parameter "orderBy": the order by fields for theresult.
func (*ProjectsLocationsSourcesDatacenterConnectorsListCall)PageSize¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) PageSize(pageSizeint64) *ProjectsLocationsSourcesDatacenterConnectorsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofconnectors to return. The service may return fewer than this value. Ifunspecified, at most 500 sources will be returned. The maximum value is1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsSourcesDatacenterConnectorsListCall)PageToken¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) PageToken(pageTokenstring) *ProjectsLocationsSourcesDatacenterConnectorsListCall
PageToken sets the optional parameter "pageToken": Required. A page token,received from a previous `ListDatacenterConnectors` call. Provide this toretrieve the subsequent page. When paginating, all other parameters providedto `ListDatacenterConnectors` must match the call that provided the pagetoken.
func (*ProjectsLocationsSourcesDatacenterConnectorsListCall)Pages¶
func (c *ProjectsLocationsSourcesDatacenterConnectorsListCall) Pages(ctxcontext.Context, f func(*ListDatacenterConnectorsResponse)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.
typeProjectsLocationsSourcesDatacenterConnectorsService¶
type ProjectsLocationsSourcesDatacenterConnectorsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsSourcesDatacenterConnectorsService¶
func NewProjectsLocationsSourcesDatacenterConnectorsService(s *Service) *ProjectsLocationsSourcesDatacenterConnectorsService
func (*ProjectsLocationsSourcesDatacenterConnectorsService)Create¶
func (r *ProjectsLocationsSourcesDatacenterConnectorsService) Create(parentstring, datacenterconnector *DatacenterConnector) *ProjectsLocationsSourcesDatacenterConnectorsCreateCall
Create: Creates a new DatacenterConnector in a given Source.
- parent: The DatacenterConnector's parent. Required. The Source in wherethe new DatacenterConnector will be created. For example:`projects/my-project/locations/us-central1/sources/my-source`.
func (*ProjectsLocationsSourcesDatacenterConnectorsService)Delete¶
func (r *ProjectsLocationsSourcesDatacenterConnectorsService) Delete(namestring) *ProjectsLocationsSourcesDatacenterConnectorsDeleteCall
Delete: Deletes a single DatacenterConnector.
- name: The DatacenterConnector name.
func (*ProjectsLocationsSourcesDatacenterConnectorsService)Get¶
func (r *ProjectsLocationsSourcesDatacenterConnectorsService) Get(namestring) *ProjectsLocationsSourcesDatacenterConnectorsGetCall
Get: Gets details of a single DatacenterConnector.
- name: The name of the DatacenterConnector.
func (*ProjectsLocationsSourcesDatacenterConnectorsService)List¶
func (r *ProjectsLocationsSourcesDatacenterConnectorsService) List(parentstring) *ProjectsLocationsSourcesDatacenterConnectorsListCall
List: Lists DatacenterConnectors in a given Source.
- parent: The parent, which owns this collection of connectors.
func (*ProjectsLocationsSourcesDatacenterConnectorsService)UpgradeAppliance¶added inv0.69.0
func (r *ProjectsLocationsSourcesDatacenterConnectorsService) UpgradeAppliance(datacenterConnectorstring, upgradeappliancerequest *UpgradeApplianceRequest) *ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall
UpgradeAppliance: Upgrades the appliance relate to this DatacenterConnectorto the in-place updateable version.
- datacenterConnector: The DatacenterConnector name.
typeProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall¶added inv0.69.0
type ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall)Context¶added inv0.69.0
func (c *ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall)Do¶added inv0.69.0
func (c *ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.datacenterConnectors.upgradeAppliance" 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 (*ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall)Fields¶added inv0.69.0
func (c *ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall)Header¶added inv0.69.0
func (c *ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsSourcesDeleteCall¶
type ProjectsLocationsSourcesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesDeleteCall)Context¶
func (c *ProjectsLocationsSourcesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesDeleteCall)Do¶
func (c *ProjectsLocationsSourcesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.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 (*ProjectsLocationsSourcesDeleteCall)Fields¶
func (c *ProjectsLocationsSourcesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesDeleteCall)Header¶
func (c *ProjectsLocationsSourcesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesDeleteCall)RequestId¶
func (c *ProjectsLocationsSourcesDeleteCall) RequestId(requestIdstring) *ProjectsLocationsSourcesDeleteCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsSourcesDiskMigrationJobsCancelCall¶added inv0.188.0
type ProjectsLocationsSourcesDiskMigrationJobsCancelCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesDiskMigrationJobsCancelCall)Context¶added inv0.188.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsCancelCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesDiskMigrationJobsCancelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesDiskMigrationJobsCancelCall)Do¶added inv0.188.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsCancelCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.diskMigrationJobs.cancel" 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 (*ProjectsLocationsSourcesDiskMigrationJobsCancelCall)Fields¶added inv0.188.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDiskMigrationJobsCancelCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesDiskMigrationJobsCancelCall)Header¶added inv0.188.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsCancelCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsSourcesDiskMigrationJobsCreateCall¶added inv0.249.0
type ProjectsLocationsSourcesDiskMigrationJobsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesDiskMigrationJobsCreateCall)Context¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesDiskMigrationJobsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesDiskMigrationJobsCreateCall)DiskMigrationJobId¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsCreateCall) DiskMigrationJobId(diskMigrationJobIdstring) *ProjectsLocationsSourcesDiskMigrationJobsCreateCall
DiskMigrationJobId sets the optional parameter "diskMigrationJobId":Required. The DiskMigrationJob identifier. The maximum length of this valueis 63 characters. Valid characters are lower case Latin letters, digits andhyphen. It must start with a Latin letter and must not end with a hyphen.
func (*ProjectsLocationsSourcesDiskMigrationJobsCreateCall)Do¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.diskMigrationJobs.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 (*ProjectsLocationsSourcesDiskMigrationJobsCreateCall)Fields¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDiskMigrationJobsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesDiskMigrationJobsCreateCall)Header¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesDiskMigrationJobsCreateCall)RequestId¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsCreateCall) RequestId(requestIdstring) *ProjectsLocationsSourcesDiskMigrationJobsCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request timed out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsSourcesDiskMigrationJobsDeleteCall¶added inv0.249.0
type ProjectsLocationsSourcesDiskMigrationJobsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesDiskMigrationJobsDeleteCall)Context¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesDiskMigrationJobsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesDiskMigrationJobsDeleteCall)Do¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.diskMigrationJobs.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 (*ProjectsLocationsSourcesDiskMigrationJobsDeleteCall)Fields¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDiskMigrationJobsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesDiskMigrationJobsDeleteCall)Header¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsSourcesDiskMigrationJobsGetCall¶added inv0.249.0
type ProjectsLocationsSourcesDiskMigrationJobsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesDiskMigrationJobsGetCall)Context¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsGetCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesDiskMigrationJobsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesDiskMigrationJobsGetCall)Do¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsGetCall) Do(opts ...googleapi.CallOption) (*DiskMigrationJob,error)
Do executes the "vmmigration.projects.locations.sources.diskMigrationJobs.get" call.Any non-2xx status code is an error. Response headers are in either*DiskMigrationJob.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 (*ProjectsLocationsSourcesDiskMigrationJobsGetCall)Fields¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDiskMigrationJobsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesDiskMigrationJobsGetCall)Header¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesDiskMigrationJobsGetCall)IfNoneMatch¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesDiskMigrationJobsGetCall
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.
typeProjectsLocationsSourcesDiskMigrationJobsListCall¶added inv0.249.0
type ProjectsLocationsSourcesDiskMigrationJobsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesDiskMigrationJobsListCall)Context¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesDiskMigrationJobsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesDiskMigrationJobsListCall)Do¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) Do(opts ...googleapi.CallOption) (*ListDiskMigrationJobsResponse,error)
Do executes the "vmmigration.projects.locations.sources.diskMigrationJobs.list" call.Any non-2xx status code is an error. Response headers are in either*ListDiskMigrationJobsResponse.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 (*ProjectsLocationsSourcesDiskMigrationJobsListCall)Fields¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDiskMigrationJobsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesDiskMigrationJobsListCall)Filter¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) Filter(filterstring) *ProjectsLocationsSourcesDiskMigrationJobsListCall
Filter sets the optional parameter "filter": The filter request (accordingto AIP-160).
func (*ProjectsLocationsSourcesDiskMigrationJobsListCall)Header¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesDiskMigrationJobsListCall)IfNoneMatch¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesDiskMigrationJobsListCall
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 (*ProjectsLocationsSourcesDiskMigrationJobsListCall)OrderBy¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) OrderBy(orderBystring) *ProjectsLocationsSourcesDiskMigrationJobsListCall
OrderBy sets the optional parameter "orderBy": Ordering of the result list.
func (*ProjectsLocationsSourcesDiskMigrationJobsListCall)PageSize¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) PageSize(pageSizeint64) *ProjectsLocationsSourcesDiskMigrationJobsListCall
PageSize sets the optional parameter "pageSize": The maximum number of diskmigration jobs to return. The service may return fewer than this value. Ifunspecified, at most 500 disk migration jobs will be returned. The maximumvalue is 1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsSourcesDiskMigrationJobsListCall)PageToken¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) PageToken(pageTokenstring) *ProjectsLocationsSourcesDiskMigrationJobsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListDiskMigrationJobs` call. Provide this to retrieve thesubsequent page. When paginating, all parameters provided to`ListDiskMigrationJobs` except `page_size` must match the call that providedthe page token.
func (*ProjectsLocationsSourcesDiskMigrationJobsListCall)Pages¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsListCall) Pages(ctxcontext.Context, f func(*ListDiskMigrationJobsResponse)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.
typeProjectsLocationsSourcesDiskMigrationJobsPatchCall¶added inv0.249.0
type ProjectsLocationsSourcesDiskMigrationJobsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesDiskMigrationJobsPatchCall)Context¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesDiskMigrationJobsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesDiskMigrationJobsPatchCall)Do¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.diskMigrationJobs.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 (*ProjectsLocationsSourcesDiskMigrationJobsPatchCall)Fields¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDiskMigrationJobsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesDiskMigrationJobsPatchCall)Header¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesDiskMigrationJobsPatchCall)RequestId¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsPatchCall) RequestId(requestIdstring) *ProjectsLocationsSourcesDiskMigrationJobsPatchCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request timed out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsSourcesDiskMigrationJobsPatchCall)UpdateMask¶added inv0.249.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsSourcesDiskMigrationJobsPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the DiskMigrationJob resource by theupdate. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask, then a mask equivalent to allfields that are populated (have a non-empty value), will be implied.
typeProjectsLocationsSourcesDiskMigrationJobsRunCall¶added inv0.188.0
type ProjectsLocationsSourcesDiskMigrationJobsRunCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesDiskMigrationJobsRunCall)Context¶added inv0.188.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsRunCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesDiskMigrationJobsRunCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesDiskMigrationJobsRunCall)Do¶added inv0.188.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsRunCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.diskMigrationJobs.run" 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 (*ProjectsLocationsSourcesDiskMigrationJobsRunCall)Fields¶added inv0.188.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDiskMigrationJobsRunCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesDiskMigrationJobsRunCall)Header¶added inv0.188.0
func (c *ProjectsLocationsSourcesDiskMigrationJobsRunCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsSourcesDiskMigrationJobsService¶added inv0.188.0
type ProjectsLocationsSourcesDiskMigrationJobsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsSourcesDiskMigrationJobsService¶added inv0.188.0
func NewProjectsLocationsSourcesDiskMigrationJobsService(s *Service) *ProjectsLocationsSourcesDiskMigrationJobsService
func (*ProjectsLocationsSourcesDiskMigrationJobsService)Cancel¶added inv0.188.0
func (r *ProjectsLocationsSourcesDiskMigrationJobsService) Cancel(namestring, canceldiskmigrationjobrequest *CancelDiskMigrationJobRequest) *ProjectsLocationsSourcesDiskMigrationJobsCancelCall
Cancel: Cancels the disk migration job.
- name: The name of the DiskMigrationJob.
func (*ProjectsLocationsSourcesDiskMigrationJobsService)Create¶added inv0.249.0
func (r *ProjectsLocationsSourcesDiskMigrationJobsService) Create(parentstring, diskmigrationjob *DiskMigrationJob) *ProjectsLocationsSourcesDiskMigrationJobsCreateCall
Create: Creates a new disk migration job in a given Source.
- parent: The DiskMigrationJob's parent.
func (*ProjectsLocationsSourcesDiskMigrationJobsService)Delete¶added inv0.249.0
func (r *ProjectsLocationsSourcesDiskMigrationJobsService) Delete(namestring) *ProjectsLocationsSourcesDiskMigrationJobsDeleteCall
Delete: Deletes a single DiskMigrationJob.
- name: The name of the DiskMigrationJob.
func (*ProjectsLocationsSourcesDiskMigrationJobsService)Get¶added inv0.249.0
func (r *ProjectsLocationsSourcesDiskMigrationJobsService) Get(namestring) *ProjectsLocationsSourcesDiskMigrationJobsGetCall
Get: Gets details of a single DiskMigrationJob.
- name: The name of the DiskMigrationJob.
func (*ProjectsLocationsSourcesDiskMigrationJobsService)List¶added inv0.249.0
func (r *ProjectsLocationsSourcesDiskMigrationJobsService) List(parentstring) *ProjectsLocationsSourcesDiskMigrationJobsListCall
List: Lists DiskMigrationJobs in a given Source.
- parent: The parent, which owns this collection of DiskMigrationJobs.
func (*ProjectsLocationsSourcesDiskMigrationJobsService)Patch¶added inv0.249.0
func (r *ProjectsLocationsSourcesDiskMigrationJobsService) Patch(nameidstring, diskmigrationjob *DiskMigrationJob) *ProjectsLocationsSourcesDiskMigrationJobsPatchCall
Patch: Updates the parameters of a single DiskMigrationJob.
- name: Output only. Identifier. The identifier of the DiskMigrationJob.
func (*ProjectsLocationsSourcesDiskMigrationJobsService)Run¶added inv0.188.0
func (r *ProjectsLocationsSourcesDiskMigrationJobsService) Run(namestring, rundiskmigrationjobrequest *RunDiskMigrationJobRequest) *ProjectsLocationsSourcesDiskMigrationJobsRunCall
Run: Runs the disk migration job.
- name: The name of the DiskMigrationJob.
typeProjectsLocationsSourcesFetchInventoryCall¶
type ProjectsLocationsSourcesFetchInventoryCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesFetchInventoryCall)Context¶
func (c *ProjectsLocationsSourcesFetchInventoryCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesFetchInventoryCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesFetchInventoryCall)Do¶
func (c *ProjectsLocationsSourcesFetchInventoryCall) Do(opts ...googleapi.CallOption) (*FetchInventoryResponse,error)
Do executes the "vmmigration.projects.locations.sources.fetchInventory" call.Any non-2xx status code is an error. Response headers are in either*FetchInventoryResponse.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 (*ProjectsLocationsSourcesFetchInventoryCall)Fields¶
func (c *ProjectsLocationsSourcesFetchInventoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesFetchInventoryCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesFetchInventoryCall)ForceRefresh¶
func (c *ProjectsLocationsSourcesFetchInventoryCall) ForceRefresh(forceRefreshbool) *ProjectsLocationsSourcesFetchInventoryCall
ForceRefresh sets the optional parameter "forceRefresh": If this flag is setto true, the source will be queried instead of using cached results. Usingthis flag will make the call slower.
func (*ProjectsLocationsSourcesFetchInventoryCall)Header¶
func (c *ProjectsLocationsSourcesFetchInventoryCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesFetchInventoryCall)IfNoneMatch¶
func (c *ProjectsLocationsSourcesFetchInventoryCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesFetchInventoryCall
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 (*ProjectsLocationsSourcesFetchInventoryCall)PageSize¶added inv0.81.0
func (c *ProjectsLocationsSourcesFetchInventoryCall) PageSize(pageSizeint64) *ProjectsLocationsSourcesFetchInventoryCall
PageSize sets the optional parameter "pageSize": The maximum number of VMsto return. The service may return fewer than this value. For AWS source: Ifunspecified, at most 500 VMs will be returned. The maximum value is 1000;values above 1000 will be coerced to 1000. For VMWare source: Ifunspecified, all VMs will be returned. There is no limit for maximum value.
func (*ProjectsLocationsSourcesFetchInventoryCall)PageToken¶added inv0.81.0
func (c *ProjectsLocationsSourcesFetchInventoryCall) PageToken(pageTokenstring) *ProjectsLocationsSourcesFetchInventoryCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `FetchInventory` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`FetchInventory` must match the call that provided the page token.
func (*ProjectsLocationsSourcesFetchInventoryCall)Pages¶added inv0.81.0
func (c *ProjectsLocationsSourcesFetchInventoryCall) Pages(ctxcontext.Context, f func(*FetchInventoryResponse)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.
typeProjectsLocationsSourcesFetchStorageInventoryCall¶added inv0.249.0
type ProjectsLocationsSourcesFetchStorageInventoryCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesFetchStorageInventoryCall)Context¶added inv0.249.0
func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesFetchStorageInventoryCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesFetchStorageInventoryCall)Do¶added inv0.249.0
func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) Do(opts ...googleapi.CallOption) (*FetchStorageInventoryResponse,error)
Do executes the "vmmigration.projects.locations.sources.fetchStorageInventory" call.Any non-2xx status code is an error. Response headers are in either*FetchStorageInventoryResponse.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 (*ProjectsLocationsSourcesFetchStorageInventoryCall)Fields¶added inv0.249.0
func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesFetchStorageInventoryCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesFetchStorageInventoryCall)ForceRefresh¶added inv0.249.0
func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) ForceRefresh(forceRefreshbool) *ProjectsLocationsSourcesFetchStorageInventoryCall
ForceRefresh sets the optional parameter "forceRefresh": If this flag is setto true, the source will be queried instead of using cached results. Usingthis flag will make the call slower.
func (*ProjectsLocationsSourcesFetchStorageInventoryCall)Header¶added inv0.249.0
func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesFetchStorageInventoryCall)IfNoneMatch¶added inv0.249.0
func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesFetchStorageInventoryCall
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 (*ProjectsLocationsSourcesFetchStorageInventoryCall)PageSize¶added inv0.249.0
func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) PageSize(pageSizeint64) *ProjectsLocationsSourcesFetchStorageInventoryCall
PageSize sets the optional parameter "pageSize": The maximum number of VMsto return. The service may return fewer than this value.
func (*ProjectsLocationsSourcesFetchStorageInventoryCall)PageToken¶added inv0.249.0
func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) PageToken(pageTokenstring) *ProjectsLocationsSourcesFetchStorageInventoryCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `FetchStorageInventory` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`FetchStorageInventory` must match the call that provided the page token.
func (*ProjectsLocationsSourcesFetchStorageInventoryCall)Pages¶added inv0.249.0
func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) Pages(ctxcontext.Context, f func(*FetchStorageInventoryResponse)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 (*ProjectsLocationsSourcesFetchStorageInventoryCall)Type¶added inv0.249.0
func (c *ProjectsLocationsSourcesFetchStorageInventoryCall) Type(type_string) *ProjectsLocationsSourcesFetchStorageInventoryCall
Type sets the optional parameter "type": Required. The type of the storageinventory to fetch.
Possible values:
"STORAGE_TYPE_UNSPECIFIED" - The type is unspecified."DISKS" - The type is disks."SNAPSHOTS" - The type is snapshots.
typeProjectsLocationsSourcesGetCall¶
type ProjectsLocationsSourcesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesGetCall)Context¶
func (c *ProjectsLocationsSourcesGetCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesGetCall)Do¶
func (c *ProjectsLocationsSourcesGetCall) Do(opts ...googleapi.CallOption) (*Source,error)
Do executes the "vmmigration.projects.locations.sources.get" call.Any non-2xx status code is an error. Response headers are in either*Source.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 (*ProjectsLocationsSourcesGetCall)Fields¶
func (c *ProjectsLocationsSourcesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesGetCall)Header¶
func (c *ProjectsLocationsSourcesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesGetCall)IfNoneMatch¶
func (c *ProjectsLocationsSourcesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesGetCall
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.
typeProjectsLocationsSourcesListCall¶
type ProjectsLocationsSourcesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesListCall)Context¶
func (c *ProjectsLocationsSourcesListCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesListCall)Do¶
func (c *ProjectsLocationsSourcesListCall) Do(opts ...googleapi.CallOption) (*ListSourcesResponse,error)
Do executes the "vmmigration.projects.locations.sources.list" call.Any non-2xx status code is an error. Response headers are in either*ListSourcesResponse.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 (*ProjectsLocationsSourcesListCall)Fields¶
func (c *ProjectsLocationsSourcesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesListCall)Filter¶
func (c *ProjectsLocationsSourcesListCall) Filter(filterstring) *ProjectsLocationsSourcesListCall
Filter sets the optional parameter "filter": The filter request.
func (*ProjectsLocationsSourcesListCall)Header¶
func (c *ProjectsLocationsSourcesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesListCall)IfNoneMatch¶
func (c *ProjectsLocationsSourcesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesListCall
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 (*ProjectsLocationsSourcesListCall)OrderBy¶
func (c *ProjectsLocationsSourcesListCall) OrderBy(orderBystring) *ProjectsLocationsSourcesListCall
OrderBy sets the optional parameter "orderBy": the order by fields for theresult.
func (*ProjectsLocationsSourcesListCall)PageSize¶
func (c *ProjectsLocationsSourcesListCall) PageSize(pageSizeint64) *ProjectsLocationsSourcesListCall
PageSize sets the optional parameter "pageSize": The maximum number ofsources to return. The service may return fewer than this value. Ifunspecified, at most 500 sources will be returned. The maximum value is1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsSourcesListCall)PageToken¶
func (c *ProjectsLocationsSourcesListCall) PageToken(pageTokenstring) *ProjectsLocationsSourcesListCall
PageToken sets the optional parameter "pageToken": Required. A page token,received from a previous `ListSources` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListSources` must match the call that provided the page token.
func (*ProjectsLocationsSourcesListCall)Pages¶
func (c *ProjectsLocationsSourcesListCall) Pages(ctxcontext.Context, f func(*ListSourcesResponse)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.
typeProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall¶
type ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.cloneJobs.cancel" 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 (*ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall¶
type ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall)CloneJobId¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) CloneJobId(cloneJobIdstring) *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall
CloneJobId sets the optional parameter "cloneJobId": Required. The clone jobidentifier.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.cloneJobs.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 (*ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall)RequestId¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) RequestId(requestIdstring) *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsSourcesMigratingVmsCloneJobsGetCall¶
type ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall) Do(opts ...googleapi.CallOption) (*CloneJob,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.cloneJobs.get" call.Any non-2xx status code is an error. Response headers are in either*CloneJob.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 (*ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall
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.
typeProjectsLocationsSourcesMigratingVmsCloneJobsListCall¶
type ProjectsLocationsSourcesMigratingVmsCloneJobsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Do(opts ...googleapi.CallOption) (*ListCloneJobsResponse,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.cloneJobs.list" call.Any non-2xx status code is an error. Response headers are in either*ListCloneJobsResponse.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 (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall)Filter¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Filter(filterstring) *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
Filter sets the optional parameter "filter": The filter request.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall)IfNoneMatch¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
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 (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall)OrderBy¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) OrderBy(orderBystring) *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
OrderBy sets the optional parameter "orderBy": the order by fields for theresult.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall)PageSize¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) PageSize(pageSizeint64) *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
PageSize sets the optional parameter "pageSize": The maximum number of clonejobs to return. The service may return fewer than this value. Ifunspecified, at most 500 clone jobs will be returned. The maximum value is1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall)PageToken¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) PageToken(pageTokenstring) *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
PageToken sets the optional parameter "pageToken": Required. A page token,received from a previous `ListCloneJobs` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListCloneJobs` must match the call that provided the page token.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall)Pages¶
func (c *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Pages(ctxcontext.Context, f func(*ListCloneJobsResponse)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.
typeProjectsLocationsSourcesMigratingVmsCloneJobsService¶
type ProjectsLocationsSourcesMigratingVmsCloneJobsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsSourcesMigratingVmsCloneJobsService¶
func NewProjectsLocationsSourcesMigratingVmsCloneJobsService(s *Service) *ProjectsLocationsSourcesMigratingVmsCloneJobsService
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsService)Cancel¶
func (r *ProjectsLocationsSourcesMigratingVmsCloneJobsService) Cancel(namestring, cancelclonejobrequest *CancelCloneJobRequest) *ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall
Cancel: Initiates the cancellation of a running clone job.
- name: The clone job id.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsService)Create¶
func (r *ProjectsLocationsSourcesMigratingVmsCloneJobsService) Create(parentstring, clonejob *CloneJob) *ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall
Create: Initiates a Clone of a specific migrating VM.
- parent: The Clone's parent.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsService)Get¶
func (r *ProjectsLocationsSourcesMigratingVmsCloneJobsService) Get(namestring) *ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall
Get: Gets details of a single CloneJob.
- name: The name of the CloneJob.
func (*ProjectsLocationsSourcesMigratingVmsCloneJobsService)List¶
func (r *ProjectsLocationsSourcesMigratingVmsCloneJobsService) List(parentstring) *ProjectsLocationsSourcesMigratingVmsCloneJobsListCall
List: Lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobsare listed.
- parent: The parent, which owns this collection of source VMs.
typeProjectsLocationsSourcesMigratingVmsCreateCall¶
type ProjectsLocationsSourcesMigratingVmsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsCreateCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsCreateCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.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 (*ProjectsLocationsSourcesMigratingVmsCreateCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsCreateCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesMigratingVmsCreateCall)MigratingVmId¶
func (c *ProjectsLocationsSourcesMigratingVmsCreateCall) MigratingVmId(migratingVmIdstring) *ProjectsLocationsSourcesMigratingVmsCreateCall
MigratingVmId sets the optional parameter "migratingVmId": Required. ThemigratingVm identifier.
func (*ProjectsLocationsSourcesMigratingVmsCreateCall)RequestId¶
func (c *ProjectsLocationsSourcesMigratingVmsCreateCall) RequestId(requestIdstring) *ProjectsLocationsSourcesMigratingVmsCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall¶
type ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.cutoverJobs.cancel" 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 (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall¶
type ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall)CutoverJobId¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) CutoverJobId(cutoverJobIdstring) *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall
CutoverJobId sets the optional parameter "cutoverJobId": Required. Thecutover job identifier.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.cutoverJobs.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 (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall)RequestId¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) RequestId(requestIdstring) *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall¶
type ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall) Do(opts ...googleapi.CallOption) (*CutoverJob,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.cutoverJobs.get" call.Any non-2xx status code is an error. Response headers are in either*CutoverJob.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 (*ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall
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.
typeProjectsLocationsSourcesMigratingVmsCutoverJobsListCall¶
type ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Do(opts ...googleapi.CallOption) (*ListCutoverJobsResponse,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.cutoverJobs.list" call.Any non-2xx status code is an error. Response headers are in either*ListCutoverJobsResponse.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 (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall)Filter¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Filter(filterstring) *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
Filter sets the optional parameter "filter": The filter request.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall)IfNoneMatch¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
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 (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall)OrderBy¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) OrderBy(orderBystring) *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
OrderBy sets the optional parameter "orderBy": the order by fields for theresult.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall)PageSize¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) PageSize(pageSizeint64) *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofcutover jobs to return. The service may return fewer than this value. Ifunspecified, at most 500 cutover jobs will be returned. The maximum value is1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall)PageToken¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) PageToken(pageTokenstring) *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
PageToken sets the optional parameter "pageToken": Required. A page token,received from a previous `ListCutoverJobs` call. Provide this to retrievethe subsequent page. When paginating, all other parameters provided to`ListCutoverJobs` must match the call that provided the page token.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall)Pages¶
func (c *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Pages(ctxcontext.Context, f func(*ListCutoverJobsResponse)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.
typeProjectsLocationsSourcesMigratingVmsCutoverJobsService¶
type ProjectsLocationsSourcesMigratingVmsCutoverJobsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsSourcesMigratingVmsCutoverJobsService¶
func NewProjectsLocationsSourcesMigratingVmsCutoverJobsService(s *Service) *ProjectsLocationsSourcesMigratingVmsCutoverJobsService
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsService)Cancel¶
func (r *ProjectsLocationsSourcesMigratingVmsCutoverJobsService) Cancel(namestring, cancelcutoverjobrequest *CancelCutoverJobRequest) *ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall
Cancel: Initiates the cancellation of a running cutover job.
- name: The cutover job id.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsService)Create¶
func (r *ProjectsLocationsSourcesMigratingVmsCutoverJobsService) Create(parentstring, cutoverjob *CutoverJob) *ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall
Create: Initiates a Cutover of a specific migrating VM. The returned LRO iscompleted when the cutover job resource is created and the job is initiated.
- parent: The Cutover's parent.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsService)Get¶
func (r *ProjectsLocationsSourcesMigratingVmsCutoverJobsService) Get(namestring) *ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall
Get: Gets details of a single CutoverJob.
- name: The name of the CutoverJob.
func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsService)List¶
func (r *ProjectsLocationsSourcesMigratingVmsCutoverJobsService) List(parentstring) *ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall
List: Lists the CutoverJobs of a migrating VM. Only 25 most recentCutoverJobs are listed.
- parent: The parent, which owns this collection of migrating VMs.
typeProjectsLocationsSourcesMigratingVmsDeleteCall¶
type ProjectsLocationsSourcesMigratingVmsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsDeleteCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsDeleteCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.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 (*ProjectsLocationsSourcesMigratingVmsDeleteCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsDeleteCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsSourcesMigratingVmsExtendMigrationCall¶added inv0.236.0
type ProjectsLocationsSourcesMigratingVmsExtendMigrationCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsExtendMigrationCall)Context¶added inv0.236.0
func (c *ProjectsLocationsSourcesMigratingVmsExtendMigrationCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsExtendMigrationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsExtendMigrationCall)Do¶added inv0.236.0
func (c *ProjectsLocationsSourcesMigratingVmsExtendMigrationCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.extendMigration" 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 (*ProjectsLocationsSourcesMigratingVmsExtendMigrationCall)Fields¶added inv0.236.0
func (c *ProjectsLocationsSourcesMigratingVmsExtendMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsExtendMigrationCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsExtendMigrationCall)Header¶added inv0.236.0
func (c *ProjectsLocationsSourcesMigratingVmsExtendMigrationCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall¶
type ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.finalizeMigration" 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 (*ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsSourcesMigratingVmsGetCall¶
type ProjectsLocationsSourcesMigratingVmsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsGetCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsGetCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsGetCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsGetCall) Do(opts ...googleapi.CallOption) (*MigratingVm,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.get" call.Any non-2xx status code is an error. Response headers are in either*MigratingVm.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 (*ProjectsLocationsSourcesMigratingVmsGetCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsGetCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesMigratingVmsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsSourcesMigratingVmsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesMigratingVmsGetCall
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 (*ProjectsLocationsSourcesMigratingVmsGetCall)View¶added inv0.61.0
func (c *ProjectsLocationsSourcesMigratingVmsGetCall) View(viewstring) *ProjectsLocationsSourcesMigratingVmsGetCall
View sets the optional parameter "view": The level of details of themigrating VM.
Possible values:
"MIGRATING_VM_VIEW_UNSPECIFIED" - View is unspecified. The API will
fallback to the default value.
"MIGRATING_VM_VIEW_BASIC" - Get the migrating VM basic details. The basic
details do not include the recent clone jobs and recent cutover jobs lists.
"MIGRATING_VM_VIEW_FULL" - Include everything.
typeProjectsLocationsSourcesMigratingVmsListCall¶
type ProjectsLocationsSourcesMigratingVmsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsListCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsListCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsListCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsListCall) Do(opts ...googleapi.CallOption) (*ListMigratingVmsResponse,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.list" call.Any non-2xx status code is an error. Response headers are in either*ListMigratingVmsResponse.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 (*ProjectsLocationsSourcesMigratingVmsListCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsListCall)Filter¶
func (c *ProjectsLocationsSourcesMigratingVmsListCall) Filter(filterstring) *ProjectsLocationsSourcesMigratingVmsListCall
Filter sets the optional parameter "filter": The filter request.
func (*ProjectsLocationsSourcesMigratingVmsListCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesMigratingVmsListCall)IfNoneMatch¶
func (c *ProjectsLocationsSourcesMigratingVmsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesMigratingVmsListCall
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 (*ProjectsLocationsSourcesMigratingVmsListCall)OrderBy¶
func (c *ProjectsLocationsSourcesMigratingVmsListCall) OrderBy(orderBystring) *ProjectsLocationsSourcesMigratingVmsListCall
OrderBy sets the optional parameter "orderBy": the order by fields for theresult.
func (*ProjectsLocationsSourcesMigratingVmsListCall)PageSize¶
func (c *ProjectsLocationsSourcesMigratingVmsListCall) PageSize(pageSizeint64) *ProjectsLocationsSourcesMigratingVmsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofmigrating VMs to return. The service may return fewer than this value. Ifunspecified, at most 500 migrating VMs will be returned. The maximum valueis 1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsSourcesMigratingVmsListCall)PageToken¶
func (c *ProjectsLocationsSourcesMigratingVmsListCall) PageToken(pageTokenstring) *ProjectsLocationsSourcesMigratingVmsListCall
PageToken sets the optional parameter "pageToken": Required. A page token,received from a previous `ListMigratingVms` call. Provide this to retrievethe subsequent page. When paginating, all other parameters provided to`ListMigratingVms` must match the call that provided the page token.
func (*ProjectsLocationsSourcesMigratingVmsListCall)Pages¶
func (c *ProjectsLocationsSourcesMigratingVmsListCall) Pages(ctxcontext.Context, f func(*ListMigratingVmsResponse)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 (*ProjectsLocationsSourcesMigratingVmsListCall)View¶added inv0.61.0
func (c *ProjectsLocationsSourcesMigratingVmsListCall) View(viewstring) *ProjectsLocationsSourcesMigratingVmsListCall
View sets the optional parameter "view": The level of details of eachmigrating VM.
Possible values:
"MIGRATING_VM_VIEW_UNSPECIFIED" - View is unspecified. The API will
fallback to the default value.
"MIGRATING_VM_VIEW_BASIC" - Get the migrating VM basic details. The basic
details do not include the recent clone jobs and recent cutover jobs lists.
"MIGRATING_VM_VIEW_FULL" - Include everything.
typeProjectsLocationsSourcesMigratingVmsPatchCall¶
type ProjectsLocationsSourcesMigratingVmsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsPatchCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsPatchCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.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 (*ProjectsLocationsSourcesMigratingVmsPatchCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsPatchCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesMigratingVmsPatchCall)RequestId¶
func (c *ProjectsLocationsSourcesMigratingVmsPatchCall) RequestId(requestIdstring) *ProjectsLocationsSourcesMigratingVmsPatchCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsSourcesMigratingVmsPatchCall)UpdateMask¶
func (c *ProjectsLocationsSourcesMigratingVmsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsSourcesMigratingVmsPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the MigratingVm resource by theupdate. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsSourcesMigratingVmsPauseMigrationCall¶
type ProjectsLocationsSourcesMigratingVmsPauseMigrationCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsPauseMigrationCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsPauseMigrationCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsPauseMigrationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsPauseMigrationCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsPauseMigrationCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.pauseMigration" 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 (*ProjectsLocationsSourcesMigratingVmsPauseMigrationCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsPauseMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsPauseMigrationCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsPauseMigrationCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsPauseMigrationCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall¶added inv0.84.0
type ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall)Context¶added inv0.84.0
func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall)Do¶added inv0.84.0
func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall) Do(opts ...googleapi.CallOption) (*ReplicationCycle,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.replicationCycles.get" call.Any non-2xx status code is an error. Response headers are in either*ReplicationCycle.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 (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall)Fields¶added inv0.84.0
func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall)Header¶added inv0.84.0
func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall)IfNoneMatch¶added inv0.84.0
func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall
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.
typeProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall¶added inv0.84.0
type ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall)Context¶added inv0.84.0
func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall)Do¶added inv0.84.0
func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) Do(opts ...googleapi.CallOption) (*ListReplicationCyclesResponse,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.replicationCycles.list" call.Any non-2xx status code is an error. Response headers are in either*ListReplicationCyclesResponse.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 (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall)Fields¶added inv0.84.0
func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall)Filter¶added inv0.84.0
func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) Filter(filterstring) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
Filter sets the optional parameter "filter": The filter request.
func (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall)Header¶added inv0.84.0
func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall)IfNoneMatch¶added inv0.84.0
func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
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 (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall)OrderBy¶added inv0.84.0
func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) OrderBy(orderBystring) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
OrderBy sets the optional parameter "orderBy": the order by fields for theresult.
func (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall)PageSize¶added inv0.84.0
func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) PageSize(pageSizeint64) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
PageSize sets the optional parameter "pageSize": The maximum number ofreplication cycles to return. The service may return fewer than this value.If unspecified, at most 100 migrating VMs will be returned. The maximumvalue is 100; values above 100 will be coerced to 100.
func (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall)PageToken¶added inv0.84.0
func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) PageToken(pageTokenstring) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
PageToken sets the optional parameter "pageToken": Required. A page token,received from a previous `ListReplicationCycles` call. Provide this toretrieve the subsequent page. When paginating, all other parameters providedto `ListReplicationCycles` must match the call that provided the page token.
func (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall)Pages¶added inv0.84.0
func (c *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall) Pages(ctxcontext.Context, f func(*ListReplicationCyclesResponse)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.
typeProjectsLocationsSourcesMigratingVmsReplicationCyclesService¶added inv0.84.0
type ProjectsLocationsSourcesMigratingVmsReplicationCyclesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsSourcesMigratingVmsReplicationCyclesService¶added inv0.84.0
func NewProjectsLocationsSourcesMigratingVmsReplicationCyclesService(s *Service) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesService
func (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesService)Get¶added inv0.84.0
func (r *ProjectsLocationsSourcesMigratingVmsReplicationCyclesService) Get(namestring) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesGetCall
Get: Gets details of a single ReplicationCycle.
- name: The name of the ReplicationCycle.
func (*ProjectsLocationsSourcesMigratingVmsReplicationCyclesService)List¶added inv0.84.0
func (r *ProjectsLocationsSourcesMigratingVmsReplicationCyclesService) List(parentstring) *ProjectsLocationsSourcesMigratingVmsReplicationCyclesListCall
List: Lists ReplicationCycles in a given MigratingVM.
- parent: The parent, which owns this collection of ReplicationCycles.
typeProjectsLocationsSourcesMigratingVmsResumeMigrationCall¶
type ProjectsLocationsSourcesMigratingVmsResumeMigrationCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsResumeMigrationCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsResumeMigrationCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsResumeMigrationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsResumeMigrationCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsResumeMigrationCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.resumeMigration" 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 (*ProjectsLocationsSourcesMigratingVmsResumeMigrationCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsResumeMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsResumeMigrationCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsResumeMigrationCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsResumeMigrationCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsSourcesMigratingVmsService¶
type ProjectsLocationsSourcesMigratingVmsService struct {CloneJobs *ProjectsLocationsSourcesMigratingVmsCloneJobsServiceCutoverJobs *ProjectsLocationsSourcesMigratingVmsCutoverJobsServiceReplicationCycles *ProjectsLocationsSourcesMigratingVmsReplicationCyclesService// contains filtered or unexported fields}funcNewProjectsLocationsSourcesMigratingVmsService¶
func NewProjectsLocationsSourcesMigratingVmsService(s *Service) *ProjectsLocationsSourcesMigratingVmsService
func (*ProjectsLocationsSourcesMigratingVmsService)Create¶
func (r *ProjectsLocationsSourcesMigratingVmsService) Create(parentstring, migratingvm *MigratingVm) *ProjectsLocationsSourcesMigratingVmsCreateCall
Create: Creates a new MigratingVm in a given Source.
- parent: The MigratingVm's parent.
func (*ProjectsLocationsSourcesMigratingVmsService)Delete¶
func (r *ProjectsLocationsSourcesMigratingVmsService) Delete(namestring) *ProjectsLocationsSourcesMigratingVmsDeleteCall
Delete: Deletes a single MigratingVm.
- name: The name of the MigratingVm.
func (*ProjectsLocationsSourcesMigratingVmsService)ExtendMigration¶added inv0.236.0
func (r *ProjectsLocationsSourcesMigratingVmsService) ExtendMigration(migratingVmstring, extendmigrationrequest *ExtendMigrationRequest) *ProjectsLocationsSourcesMigratingVmsExtendMigrationCall
ExtendMigration: Extend the migrating VM time to live.
- migratingVm: The name of the MigratingVm.
func (*ProjectsLocationsSourcesMigratingVmsService)FinalizeMigration¶
func (r *ProjectsLocationsSourcesMigratingVmsService) FinalizeMigration(migratingVmstring, finalizemigrationrequest *FinalizeMigrationRequest) *ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall
FinalizeMigration: Marks a migration as completed, deleting migrationresources that are no longer being used. Only applicable after cutover isdone.
- migratingVm: The name of the MigratingVm.
func (*ProjectsLocationsSourcesMigratingVmsService)Get¶
func (r *ProjectsLocationsSourcesMigratingVmsService) Get(namestring) *ProjectsLocationsSourcesMigratingVmsGetCall
Get: Gets details of a single MigratingVm.
- name: The name of the MigratingVm.
func (*ProjectsLocationsSourcesMigratingVmsService)List¶
func (r *ProjectsLocationsSourcesMigratingVmsService) List(parentstring) *ProjectsLocationsSourcesMigratingVmsListCall
List: Lists MigratingVms in a given Source.
- parent: The parent, which owns this collection of MigratingVms.
func (*ProjectsLocationsSourcesMigratingVmsService)Patch¶
func (r *ProjectsLocationsSourcesMigratingVmsService) Patch(nameidstring, migratingvm *MigratingVm) *ProjectsLocationsSourcesMigratingVmsPatchCall
Patch: Updates the parameters of a single MigratingVm.
- name: Output only. The identifier of the MigratingVm.
func (*ProjectsLocationsSourcesMigratingVmsService)PauseMigration¶
func (r *ProjectsLocationsSourcesMigratingVmsService) PauseMigration(migratingVmstring, pausemigrationrequest *PauseMigrationRequest) *ProjectsLocationsSourcesMigratingVmsPauseMigrationCall
PauseMigration: Pauses a migration for a VM. If cycle tasks are running theywill be cancelled, preserving source task data. Further replication cycleswill not be triggered while the VM is paused.
- migratingVm: The name of the MigratingVm.
func (*ProjectsLocationsSourcesMigratingVmsService)ResumeMigration¶
func (r *ProjectsLocationsSourcesMigratingVmsService) ResumeMigration(migratingVmstring, resumemigrationrequest *ResumeMigrationRequest) *ProjectsLocationsSourcesMigratingVmsResumeMigrationCall
ResumeMigration: Resumes a migration for a VM. When called on a pausedmigration, will start the process of uploading data and creating snapshots;when called on a completed cut-over migration, will update the migration toactive state and start the process of uploading data and creating snapshots.
- migratingVm: The name of the MigratingVm.
func (*ProjectsLocationsSourcesMigratingVmsService)StartMigration¶
func (r *ProjectsLocationsSourcesMigratingVmsService) StartMigration(migratingVmstring, startmigrationrequest *StartMigrationRequest) *ProjectsLocationsSourcesMigratingVmsStartMigrationCall
StartMigration: Starts migration for a VM. Starts the process of uploadingdata and creating snapshots, in replication cycles scheduled by the policy.
- migratingVm: The name of the MigratingVm.
typeProjectsLocationsSourcesMigratingVmsStartMigrationCall¶
type ProjectsLocationsSourcesMigratingVmsStartMigrationCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesMigratingVmsStartMigrationCall)Context¶
func (c *ProjectsLocationsSourcesMigratingVmsStartMigrationCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesMigratingVmsStartMigrationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesMigratingVmsStartMigrationCall)Do¶
func (c *ProjectsLocationsSourcesMigratingVmsStartMigrationCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.migratingVms.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 (*ProjectsLocationsSourcesMigratingVmsStartMigrationCall)Fields¶
func (c *ProjectsLocationsSourcesMigratingVmsStartMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesMigratingVmsStartMigrationCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesMigratingVmsStartMigrationCall)Header¶
func (c *ProjectsLocationsSourcesMigratingVmsStartMigrationCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsSourcesPatchCall¶
type ProjectsLocationsSourcesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesPatchCall)Context¶
func (c *ProjectsLocationsSourcesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesPatchCall)Do¶
func (c *ProjectsLocationsSourcesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.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 (*ProjectsLocationsSourcesPatchCall)Fields¶
func (c *ProjectsLocationsSourcesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesPatchCall)Header¶
func (c *ProjectsLocationsSourcesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesPatchCall)RequestId¶
func (c *ProjectsLocationsSourcesPatchCall) RequestId(requestIdstring) *ProjectsLocationsSourcesPatchCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsSourcesPatchCall)UpdateMask¶
func (c *ProjectsLocationsSourcesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsSourcesPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the Source resource by the update.The fields specified in the update_mask are relative to the resource, notthe full request. A field will be overwritten if it is in the mask. If theuser does not provide a mask then all fields will be overwritten.
typeProjectsLocationsSourcesService¶
type ProjectsLocationsSourcesService struct {DatacenterConnectors *ProjectsLocationsSourcesDatacenterConnectorsServiceDiskMigrationJobs *ProjectsLocationsSourcesDiskMigrationJobsServiceMigratingVms *ProjectsLocationsSourcesMigratingVmsServiceUtilizationReports *ProjectsLocationsSourcesUtilizationReportsService// contains filtered or unexported fields}funcNewProjectsLocationsSourcesService¶
func NewProjectsLocationsSourcesService(s *Service) *ProjectsLocationsSourcesService
func (*ProjectsLocationsSourcesService)Create¶
func (r *ProjectsLocationsSourcesService) Create(parentstring, source *Source) *ProjectsLocationsSourcesCreateCall
Create: Creates a new Source in a given project and location.
- parent: The Source's parent.
func (*ProjectsLocationsSourcesService)Delete¶
func (r *ProjectsLocationsSourcesService) Delete(namestring) *ProjectsLocationsSourcesDeleteCall
Delete: Deletes a single Source.
- name: The Source name.
func (*ProjectsLocationsSourcesService)FetchInventory¶
func (r *ProjectsLocationsSourcesService) FetchInventory(sourcestring) *ProjectsLocationsSourcesFetchInventoryCall
FetchInventory: List remote source's inventory of VMs. The remote source isthe onprem vCenter (remote in the sense it's not in Compute Engine). Theinventory describes the list of existing VMs in that source. Note that thisoperation lists the VMs on the remote source, as opposed to listing theMigratingVms resources in the vmmigration service.
- source: The name of the Source.
func (*ProjectsLocationsSourcesService)FetchStorageInventory¶added inv0.249.0
func (r *ProjectsLocationsSourcesService) FetchStorageInventory(sourcestring) *ProjectsLocationsSourcesFetchStorageInventoryCall
FetchStorageInventory: List remote source's inventory of storage resources.The remote source is another cloud vendor (e.g. AWS, Azure). The inventorydescribes the list of existing storage resources in that source. Note thatthis operation lists the resources on the remote source, as opposed tolisting the MigratingVms resources in the vmmigration service.
- source: The name of the Source.
func (*ProjectsLocationsSourcesService)Get¶
func (r *ProjectsLocationsSourcesService) Get(namestring) *ProjectsLocationsSourcesGetCall
Get: Gets details of a single Source.
- name: The Source name.
func (*ProjectsLocationsSourcesService)List¶
func (r *ProjectsLocationsSourcesService) List(parentstring) *ProjectsLocationsSourcesListCall
List: Lists Sources in a given project and location.
- parent: The parent, which owns this collection of sources.
func (*ProjectsLocationsSourcesService)Patch¶
func (r *ProjectsLocationsSourcesService) Patch(namestring, source *Source) *ProjectsLocationsSourcesPatchCall
Patch: Updates the parameters of a single Source.
- name: Output only. The Source name.
typeProjectsLocationsSourcesUtilizationReportsCreateCall¶
type ProjectsLocationsSourcesUtilizationReportsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesUtilizationReportsCreateCall)Context¶
func (c *ProjectsLocationsSourcesUtilizationReportsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesUtilizationReportsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesUtilizationReportsCreateCall)Do¶
func (c *ProjectsLocationsSourcesUtilizationReportsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.utilizationReports.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 (*ProjectsLocationsSourcesUtilizationReportsCreateCall)Fields¶
func (c *ProjectsLocationsSourcesUtilizationReportsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesUtilizationReportsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesUtilizationReportsCreateCall)Header¶
func (c *ProjectsLocationsSourcesUtilizationReportsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesUtilizationReportsCreateCall)RequestId¶
func (c *ProjectsLocationsSourcesUtilizationReportsCreateCall) RequestId(requestIdstring) *ProjectsLocationsSourcesUtilizationReportsCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsSourcesUtilizationReportsCreateCall)UtilizationReportId¶
func (c *ProjectsLocationsSourcesUtilizationReportsCreateCall) UtilizationReportId(utilizationReportIdstring) *ProjectsLocationsSourcesUtilizationReportsCreateCall
UtilizationReportId sets the optional parameter "utilizationReportId":Required. The ID to use for the report, which will become the finalcomponent of the reports's resource name. This value maximum length is 63characters, and valid characters are /a-z-/. It must start with an englishletter and must not end with a hyphen.
typeProjectsLocationsSourcesUtilizationReportsDeleteCall¶
type ProjectsLocationsSourcesUtilizationReportsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesUtilizationReportsDeleteCall)Context¶
func (c *ProjectsLocationsSourcesUtilizationReportsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesUtilizationReportsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesUtilizationReportsDeleteCall)Do¶
func (c *ProjectsLocationsSourcesUtilizationReportsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.sources.utilizationReports.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 (*ProjectsLocationsSourcesUtilizationReportsDeleteCall)Fields¶
func (c *ProjectsLocationsSourcesUtilizationReportsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesUtilizationReportsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesUtilizationReportsDeleteCall)Header¶
func (c *ProjectsLocationsSourcesUtilizationReportsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesUtilizationReportsDeleteCall)RequestId¶
func (c *ProjectsLocationsSourcesUtilizationReportsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsSourcesUtilizationReportsDeleteCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsSourcesUtilizationReportsGetCall¶
type ProjectsLocationsSourcesUtilizationReportsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesUtilizationReportsGetCall)Context¶
func (c *ProjectsLocationsSourcesUtilizationReportsGetCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesUtilizationReportsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesUtilizationReportsGetCall)Do¶
func (c *ProjectsLocationsSourcesUtilizationReportsGetCall) Do(opts ...googleapi.CallOption) (*UtilizationReport,error)
Do executes the "vmmigration.projects.locations.sources.utilizationReports.get" call.Any non-2xx status code is an error. Response headers are in either*UtilizationReport.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 (*ProjectsLocationsSourcesUtilizationReportsGetCall)Fields¶
func (c *ProjectsLocationsSourcesUtilizationReportsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesUtilizationReportsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesUtilizationReportsGetCall)Header¶
func (c *ProjectsLocationsSourcesUtilizationReportsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesUtilizationReportsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsSourcesUtilizationReportsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesUtilizationReportsGetCall
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 (*ProjectsLocationsSourcesUtilizationReportsGetCall)View¶
func (c *ProjectsLocationsSourcesUtilizationReportsGetCall) View(viewstring) *ProjectsLocationsSourcesUtilizationReportsGetCall
View sets the optional parameter "view": The level of details of the report.Defaults to FULL
Possible values:
"UTILIZATION_REPORT_VIEW_UNSPECIFIED" - The default / unset value. The API
will default to FULL on single report request and BASIC for multiple reportsrequest.
"BASIC" - Get the report metadata, without the list of VMs and their
utilization info.
"FULL" - Include everything.
typeProjectsLocationsSourcesUtilizationReportsListCall¶
type ProjectsLocationsSourcesUtilizationReportsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSourcesUtilizationReportsListCall)Context¶
func (c *ProjectsLocationsSourcesUtilizationReportsListCall) Context(ctxcontext.Context) *ProjectsLocationsSourcesUtilizationReportsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSourcesUtilizationReportsListCall)Do¶
func (c *ProjectsLocationsSourcesUtilizationReportsListCall) Do(opts ...googleapi.CallOption) (*ListUtilizationReportsResponse,error)
Do executes the "vmmigration.projects.locations.sources.utilizationReports.list" call.Any non-2xx status code is an error. Response headers are in either*ListUtilizationReportsResponse.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 (*ProjectsLocationsSourcesUtilizationReportsListCall)Fields¶
func (c *ProjectsLocationsSourcesUtilizationReportsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesUtilizationReportsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSourcesUtilizationReportsListCall)Filter¶
func (c *ProjectsLocationsSourcesUtilizationReportsListCall) Filter(filterstring) *ProjectsLocationsSourcesUtilizationReportsListCall
Filter sets the optional parameter "filter": The filter request.
func (*ProjectsLocationsSourcesUtilizationReportsListCall)Header¶
func (c *ProjectsLocationsSourcesUtilizationReportsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSourcesUtilizationReportsListCall)IfNoneMatch¶
func (c *ProjectsLocationsSourcesUtilizationReportsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSourcesUtilizationReportsListCall
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 (*ProjectsLocationsSourcesUtilizationReportsListCall)OrderBy¶
func (c *ProjectsLocationsSourcesUtilizationReportsListCall) OrderBy(orderBystring) *ProjectsLocationsSourcesUtilizationReportsListCall
OrderBy sets the optional parameter "orderBy": the order by fields for theresult.
func (*ProjectsLocationsSourcesUtilizationReportsListCall)PageSize¶
func (c *ProjectsLocationsSourcesUtilizationReportsListCall) PageSize(pageSizeint64) *ProjectsLocationsSourcesUtilizationReportsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofreports to return. The service may return fewer than this value. Ifunspecified, at most 500 reports will be returned. The maximum value is1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsSourcesUtilizationReportsListCall)PageToken¶
func (c *ProjectsLocationsSourcesUtilizationReportsListCall) PageToken(pageTokenstring) *ProjectsLocationsSourcesUtilizationReportsListCall
PageToken sets the optional parameter "pageToken": Required. A page token,received from a previous `ListUtilizationReports` call. Provide this toretrieve the subsequent page. When paginating, all other parameters providedto `ListUtilizationReports` must match the call that provided the pagetoken.
func (*ProjectsLocationsSourcesUtilizationReportsListCall)Pages¶
func (c *ProjectsLocationsSourcesUtilizationReportsListCall) Pages(ctxcontext.Context, f func(*ListUtilizationReportsResponse)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 (*ProjectsLocationsSourcesUtilizationReportsListCall)View¶
func (c *ProjectsLocationsSourcesUtilizationReportsListCall) View(viewstring) *ProjectsLocationsSourcesUtilizationReportsListCall
View sets the optional parameter "view": The level of details of eachreport. Defaults to BASIC.
Possible values:
"UTILIZATION_REPORT_VIEW_UNSPECIFIED" - The default / unset value. The API
will default to FULL on single report request and BASIC for multiple reportsrequest.
"BASIC" - Get the report metadata, without the list of VMs and their
utilization info.
"FULL" - Include everything.
typeProjectsLocationsSourcesUtilizationReportsService¶
type ProjectsLocationsSourcesUtilizationReportsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsSourcesUtilizationReportsService¶
func NewProjectsLocationsSourcesUtilizationReportsService(s *Service) *ProjectsLocationsSourcesUtilizationReportsService
func (*ProjectsLocationsSourcesUtilizationReportsService)Create¶
func (r *ProjectsLocationsSourcesUtilizationReportsService) Create(parentstring, utilizationreport *UtilizationReport) *ProjectsLocationsSourcesUtilizationReportsCreateCall
Create: Creates a new UtilizationReport.
- parent: The Utilization Report's parent.
func (*ProjectsLocationsSourcesUtilizationReportsService)Delete¶
func (r *ProjectsLocationsSourcesUtilizationReportsService) Delete(namestring) *ProjectsLocationsSourcesUtilizationReportsDeleteCall
Delete: Deletes a single Utilization Report.
- name: The Utilization Report name.
func (*ProjectsLocationsSourcesUtilizationReportsService)Get¶
func (r *ProjectsLocationsSourcesUtilizationReportsService) Get(namestring) *ProjectsLocationsSourcesUtilizationReportsGetCall
Get: Gets a single Utilization Report.
- name: The Utilization Report name.
func (*ProjectsLocationsSourcesUtilizationReportsService)List¶
func (r *ProjectsLocationsSourcesUtilizationReportsService) List(parentstring) *ProjectsLocationsSourcesUtilizationReportsListCall
List: Lists Utilization Reports of the given Source.
- parent: The Utilization Reports parent.
typeProjectsLocationsTargetProjectsCreateCall¶
type ProjectsLocationsTargetProjectsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTargetProjectsCreateCall)Context¶
func (c *ProjectsLocationsTargetProjectsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsTargetProjectsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTargetProjectsCreateCall)Do¶
func (c *ProjectsLocationsTargetProjectsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.targetProjects.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 (*ProjectsLocationsTargetProjectsCreateCall)Fields¶
func (c *ProjectsLocationsTargetProjectsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetProjectsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTargetProjectsCreateCall)Header¶
func (c *ProjectsLocationsTargetProjectsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTargetProjectsCreateCall)RequestId¶
func (c *ProjectsLocationsTargetProjectsCreateCall) RequestId(requestIdstring) *ProjectsLocationsTargetProjectsCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsTargetProjectsCreateCall)TargetProjectId¶
func (c *ProjectsLocationsTargetProjectsCreateCall) TargetProjectId(targetProjectIdstring) *ProjectsLocationsTargetProjectsCreateCall
TargetProjectId sets the optional parameter "targetProjectId": Required. Thetarget_project identifier.
typeProjectsLocationsTargetProjectsDeleteCall¶
type ProjectsLocationsTargetProjectsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTargetProjectsDeleteCall)Context¶
func (c *ProjectsLocationsTargetProjectsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsTargetProjectsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTargetProjectsDeleteCall)Do¶
func (c *ProjectsLocationsTargetProjectsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.targetProjects.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 (*ProjectsLocationsTargetProjectsDeleteCall)Fields¶
func (c *ProjectsLocationsTargetProjectsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetProjectsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTargetProjectsDeleteCall)Header¶
func (c *ProjectsLocationsTargetProjectsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTargetProjectsDeleteCall)RequestId¶
func (c *ProjectsLocationsTargetProjectsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsTargetProjectsDeleteCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsTargetProjectsGetCall¶
type ProjectsLocationsTargetProjectsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTargetProjectsGetCall)Context¶
func (c *ProjectsLocationsTargetProjectsGetCall) Context(ctxcontext.Context) *ProjectsLocationsTargetProjectsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTargetProjectsGetCall)Do¶
func (c *ProjectsLocationsTargetProjectsGetCall) Do(opts ...googleapi.CallOption) (*TargetProject,error)
Do executes the "vmmigration.projects.locations.targetProjects.get" call.Any non-2xx status code is an error. Response headers are in either*TargetProject.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 (*ProjectsLocationsTargetProjectsGetCall)Fields¶
func (c *ProjectsLocationsTargetProjectsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetProjectsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTargetProjectsGetCall)Header¶
func (c *ProjectsLocationsTargetProjectsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTargetProjectsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsTargetProjectsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsTargetProjectsGetCall
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.
typeProjectsLocationsTargetProjectsListCall¶
type ProjectsLocationsTargetProjectsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTargetProjectsListCall)Context¶
func (c *ProjectsLocationsTargetProjectsListCall) Context(ctxcontext.Context) *ProjectsLocationsTargetProjectsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTargetProjectsListCall)Do¶
func (c *ProjectsLocationsTargetProjectsListCall) Do(opts ...googleapi.CallOption) (*ListTargetProjectsResponse,error)
Do executes the "vmmigration.projects.locations.targetProjects.list" call.Any non-2xx status code is an error. Response headers are in either*ListTargetProjectsResponse.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 (*ProjectsLocationsTargetProjectsListCall)Fields¶
func (c *ProjectsLocationsTargetProjectsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetProjectsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTargetProjectsListCall)Filter¶
func (c *ProjectsLocationsTargetProjectsListCall) Filter(filterstring) *ProjectsLocationsTargetProjectsListCall
Filter sets the optional parameter "filter": The filter request.
func (*ProjectsLocationsTargetProjectsListCall)Header¶
func (c *ProjectsLocationsTargetProjectsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTargetProjectsListCall)IfNoneMatch¶
func (c *ProjectsLocationsTargetProjectsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsTargetProjectsListCall
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 (*ProjectsLocationsTargetProjectsListCall)OrderBy¶
func (c *ProjectsLocationsTargetProjectsListCall) OrderBy(orderBystring) *ProjectsLocationsTargetProjectsListCall
OrderBy sets the optional parameter "orderBy": the order by fields for theresult.
func (*ProjectsLocationsTargetProjectsListCall)PageSize¶
func (c *ProjectsLocationsTargetProjectsListCall) PageSize(pageSizeint64) *ProjectsLocationsTargetProjectsListCall
PageSize sets the optional parameter "pageSize": The maximum number oftargets to return. The service may return fewer than this value. Ifunspecified, at most 500 targets will be returned. The maximum value is1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsTargetProjectsListCall)PageToken¶
func (c *ProjectsLocationsTargetProjectsListCall) PageToken(pageTokenstring) *ProjectsLocationsTargetProjectsListCall
PageToken sets the optional parameter "pageToken": Required. A page token,received from a previous `ListTargets` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListTargets` must match the call that provided the page token.
func (*ProjectsLocationsTargetProjectsListCall)Pages¶
func (c *ProjectsLocationsTargetProjectsListCall) Pages(ctxcontext.Context, f func(*ListTargetProjectsResponse)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.
typeProjectsLocationsTargetProjectsPatchCall¶
type ProjectsLocationsTargetProjectsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTargetProjectsPatchCall)Context¶
func (c *ProjectsLocationsTargetProjectsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsTargetProjectsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTargetProjectsPatchCall)Do¶
func (c *ProjectsLocationsTargetProjectsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmmigration.projects.locations.targetProjects.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 (*ProjectsLocationsTargetProjectsPatchCall)Fields¶
func (c *ProjectsLocationsTargetProjectsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetProjectsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTargetProjectsPatchCall)Header¶
func (c *ProjectsLocationsTargetProjectsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTargetProjectsPatchCall)RequestId¶
func (c *ProjectsLocationsTargetProjectsPatchCall) RequestId(requestIdstring) *ProjectsLocationsTargetProjectsPatchCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server will guarantee that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsTargetProjectsPatchCall)UpdateMask¶
func (c *ProjectsLocationsTargetProjectsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsTargetProjectsPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the TargetProject resource by theupdate. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsTargetProjectsService¶
type ProjectsLocationsTargetProjectsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsTargetProjectsService¶
func NewProjectsLocationsTargetProjectsService(s *Service) *ProjectsLocationsTargetProjectsService
func (*ProjectsLocationsTargetProjectsService)Create¶
func (r *ProjectsLocationsTargetProjectsService) Create(parentstring, targetproject *TargetProject) *ProjectsLocationsTargetProjectsCreateCall
Create: Creates a new TargetProject in a given project. NOTE: TargetProjectis a global resource; hence the only supported value for location is`global`.
- parent: The TargetProject's parent.
func (*ProjectsLocationsTargetProjectsService)Delete¶
func (r *ProjectsLocationsTargetProjectsService) Delete(namestring) *ProjectsLocationsTargetProjectsDeleteCall
Delete: Deletes a single TargetProject. NOTE: TargetProject is a globalresource; hence the only supported value for location is `global`.
- name: The TargetProject name.
func (*ProjectsLocationsTargetProjectsService)Get¶
func (r *ProjectsLocationsTargetProjectsService) Get(namestring) *ProjectsLocationsTargetProjectsGetCall
Get: Gets details of a single TargetProject. NOTE: TargetProject is a globalresource; hence the only supported value for location is `global`.
- name: The TargetProject name.
func (*ProjectsLocationsTargetProjectsService)List¶
func (r *ProjectsLocationsTargetProjectsService) List(parentstring) *ProjectsLocationsTargetProjectsListCall
List: Lists TargetProjects in a given project. NOTE: TargetProject is aglobal resource; hence the only supported value for location is `global`.
- parent: The parent, which owns this collection of targets.
func (*ProjectsLocationsTargetProjectsService)Patch¶
func (r *ProjectsLocationsTargetProjectsService) Patch(namestring, targetproject *TargetProject) *ProjectsLocationsTargetProjectsPatchCall
Patch: Updates the parameters of a single TargetProject. NOTE: TargetProjectis a global resource; hence the only supported value for location is`global`.
- name: Output only. The name of the target project.
typeProjectsService¶
type ProjectsService struct {Locations *ProjectsLocationsService// contains filtered or unexported fields}funcNewProjectsService¶
func NewProjectsService(s *Service) *ProjectsService
typeProvisioningTargetDiskStep¶added inv0.249.0
type ProvisioningTargetDiskStep struct {}ProvisioningTargetDiskStep: ProvisioningTargetDiskStep contains specificstep details.
typeRemoveGroupMigrationRequest¶
type RemoveGroupMigrationRequest struct {// MigratingVm: The MigratingVm to remove.MigratingVmstring `json:"migratingVm,omitempty"`// ForceSendFields is a list of field names (e.g. "MigratingVm") 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. "MigratingVm") 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:"-"`}RemoveGroupMigrationRequest: Request message for 'RemoveMigration' request.
func (RemoveGroupMigrationRequest)MarshalJSON¶
func (sRemoveGroupMigrationRequest) MarshalJSON() ([]byte,error)
typeReplicatingStep¶added inv0.67.0
type ReplicatingStep struct {// LastThirtyMinutesAverageBytesPerSecond: The source disks replication rate// for the last 30 minutes in bytes per second.LastThirtyMinutesAverageBytesPerSecondint64 `json:"lastThirtyMinutesAverageBytesPerSecond,omitempty,string"`// LastTwoMinutesAverageBytesPerSecond: The source disks replication rate for// the last 2 minutes in bytes per second.LastTwoMinutesAverageBytesPerSecondint64 `json:"lastTwoMinutesAverageBytesPerSecond,omitempty,string"`// ReplicatedBytes: Replicated bytes in the step.ReplicatedBytesint64 `json:"replicatedBytes,omitempty,string"`// TotalBytes: Total bytes to be handled in the step.TotalBytesint64 `json:"totalBytes,omitempty,string"`// ForceSendFields is a list of field names (e.g.// "LastThirtyMinutesAverageBytesPerSecond") 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.// "LastThirtyMinutesAverageBytesPerSecond") to include in API requests with// the JSON null value. By default, fields with empty values are omitted from// API requests. Seehttps://pkg.go.dev/google.golang.org/api#hdr-NullFields// for more details.NullFields []string `json:"-"`}ReplicatingStep: ReplicatingStep contains specific step details.
func (ReplicatingStep)MarshalJSON¶added inv0.67.0
func (sReplicatingStep) MarshalJSON() ([]byte,error)
typeReplicationCycle¶
type ReplicationCycle struct {// CycleNumber: The cycle's ordinal number.CycleNumberint64 `json:"cycleNumber,omitempty"`// EndTime: The time the replication cycle has ended.EndTimestring `json:"endTime,omitempty"`// Error: Output only. Provides details on the state of the cycle in case of an// error.Error *Status `json:"error,omitempty"`// Name: The identifier of the ReplicationCycle.Namestring `json:"name,omitempty"`// Progress: The current progress in percentage of this cycle.Progressint64 `json:"progress,omitempty"`// ProgressPercent: The current progress in percentage of this cycle. Was// replaced by 'steps' field, which breaks down the cycle progression more// accurately.ProgressPercentint64 `json:"progressPercent,omitempty"`// StartTime: The time the replication cycle has started.StartTimestring `json:"startTime,omitempty"`// State: State of the ReplicationCycle.//// Possible values:// "STATE_UNSPECIFIED" - The state is unknown. This is used for API// compatibility only and is not used by the system.// "RUNNING" - The replication cycle is running.// "PAUSED" - The replication cycle is paused.// "FAILED" - The replication cycle finished with errors.// "SUCCEEDED" - The replication cycle finished successfully.Statestring `json:"state,omitempty"`// Steps: The cycle's steps list representing its progress.Steps []*CycleStep `json:"steps,omitempty"`// TotalPauseDuration: The accumulated duration the replication cycle was// paused.TotalPauseDurationstring `json:"totalPauseDuration,omitempty"`// Warnings: Output only. Warnings that occurred during the cycle.Warnings []*MigrationWarning `json:"warnings,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CycleNumber") 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. "CycleNumber") 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:"-"`}ReplicationCycle: ReplicationCycle contains information about the currentreplication cycle status.
func (ReplicationCycle)MarshalJSON¶
func (sReplicationCycle) MarshalJSON() ([]byte,error)
typeReplicationSync¶
type ReplicationSync struct {// LastSyncTime: The most updated snapshot created time in the source that// finished replication.LastSyncTimestring `json:"lastSyncTime,omitempty"`// ForceSendFields is a list of field names (e.g. "LastSyncTime") 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. "LastSyncTime") 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:"-"`}ReplicationSync: ReplicationSync contain information about the last replicasync to the cloud.
func (ReplicationSync)MarshalJSON¶
func (sReplicationSync) MarshalJSON() ([]byte,error)
typeResumeMigrationRequest¶
type ResumeMigrationRequest struct {}ResumeMigrationRequest: Request message for 'ResumeMigration' request.
typeRunDiskMigrationJobRequest¶added inv0.188.0
type RunDiskMigrationJobRequest struct {}RunDiskMigrationJobRequest: Request message for 'RunDiskMigrationJobRequest'request.
typeSchedulePolicy¶
type SchedulePolicy struct {// IdleDuration: The idle duration between replication stages.IdleDurationstring `json:"idleDuration,omitempty"`// SkipOsAdaptation: A flag to indicate whether to skip OS adaptation during// the replication sync. OS adaptation is a process where the VM's operating// system undergoes changes and adaptations to fully function on Compute// Engine.SkipOsAdaptationbool `json:"skipOsAdaptation,omitempty"`// ForceSendFields is a list of field names (e.g. "IdleDuration") 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. "IdleDuration") 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:"-"`}SchedulePolicy: A policy for scheduling replications.
func (SchedulePolicy)MarshalJSON¶
func (sSchedulePolicy) MarshalJSON() ([]byte,error)
typeSchedulingNodeAffinity¶
type SchedulingNodeAffinity struct {// Key: The label key of Node resource to reference.Keystring `json:"key,omitempty"`// Operator: The operator to use for the node resources specified in the// `values` parameter.//// Possible values:// "OPERATOR_UNSPECIFIED" - An unknown, unexpected behavior.// "IN" - The node resource group should be in these resources affinity.// "NOT_IN" - The node resource group should not be in these resources// affinity.Operatorstring `json:"operator,omitempty"`// Values: Corresponds to the label values of Node resource.Values []string `json:"values,omitempty"`// ForceSendFields is a list of field names (e.g. "Key") 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. "Key") 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:"-"`}SchedulingNodeAffinity: Node Affinity: the configuration of desired nodesonto which this Instance could be scheduled. Based onhttps://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling
func (SchedulingNodeAffinity)MarshalJSON¶
func (sSchedulingNodeAffinity) MarshalJSON() ([]byte,error)
typeService¶
type Service struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentProjects *ProjectsService// contains filtered or unexported fields} funcNewdeprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead.To provide a custom HTTP client, use option.WithHTTPClient.If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
funcNewService¶
NewService creates a new Service.
typeServiceAccount¶added inv0.190.0
type ServiceAccount struct {// Email: Required. The email address of the service account.Emailstring `json:"email,omitempty"`// Scopes: Optional. The list of scopes to be made available for this service// account.Scopes []string `json:"scopes,omitempty"`// ForceSendFields is a list of field names (e.g. "Email") 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. "Email") 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:"-"`}ServiceAccount: Service account to assign to the instance created by themachine image.
func (ServiceAccount)MarshalJSON¶added inv0.190.0
func (sServiceAccount) MarshalJSON() ([]byte,error)
typeShieldedInstanceConfig¶added inv0.190.0
type ShieldedInstanceConfig struct {// EnableIntegrityMonitoring: Optional. Defines whether the instance created by// the machine image has integrity monitoring enabled. This can be set to true// only if the image boot option is EFI, and vTPM is enabled.EnableIntegrityMonitoringbool `json:"enableIntegrityMonitoring,omitempty"`// EnableVtpm: Optional. Defines whether the instance created by the machine// image has vTPM enabled. This can be set to true only if the image boot// option is EFI.EnableVtpmbool `json:"enableVtpm,omitempty"`// SecureBoot: Optional. Defines whether the instance created by the machine// image has Secure Boot enabled. This can be set to true only if the image// boot option is EFI.//// Possible values:// "SECURE_BOOT_UNSPECIFIED" - No explicit value is selected. Will use the// configuration of the source (if exists, otherwise the default will be// false).// "TRUE" - Use secure boot. This can be set to true only if the image boot// option is EFI.// "FALSE" - Do not use secure boot.SecureBootstring `json:"secureBoot,omitempty"`// ForceSendFields is a list of field names (e.g. "EnableIntegrityMonitoring")// 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. "EnableIntegrityMonitoring") 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:"-"`}ShieldedInstanceConfig: Shielded instance configuration.
func (ShieldedInstanceConfig)MarshalJSON¶added inv0.190.0
func (sShieldedInstanceConfig) MarshalJSON() ([]byte,error)
typeShuttingDownSourceVMStep¶added inv0.84.0
type ShuttingDownSourceVMStep struct {}ShuttingDownSourceVMStep: ShuttingDownSourceVMStep contains specific stepdetails.
typeSkipOsAdaptation¶added inv0.190.0
type SkipOsAdaptation struct {}SkipOsAdaptation: Mentions that the machine image import is not using OSadaptation process.
typeSource¶
type Source struct {// Aws: AWS type source details.Aws *AwsSourceDetails `json:"aws,omitempty"`// Azure: Azure type source details.Azure *AzureSourceDetails `json:"azure,omitempty"`// CreateTime: Output only. The create time timestamp.CreateTimestring `json:"createTime,omitempty"`// Description: User-provided description of the source.Descriptionstring `json:"description,omitempty"`// Encryption: Optional. Immutable. The encryption details of the source data// stored by the service.Encryption *Encryption `json:"encryption,omitempty"`// Error: Output only. Provides details on the state of the Source in case of// an error.Error *Status `json:"error,omitempty"`// Labels: The labels of the source.Labels map[string]string `json:"labels,omitempty"`// Name: Output only. The Source name.Namestring `json:"name,omitempty"`// UpdateTime: Output only. The update time timestamp.UpdateTimestring `json:"updateTime,omitempty"`// Vmware: Vmware type source details.Vmware *VmwareSourceDetails `json:"vmware,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Aws") 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. "Aws") 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:"-"`}Source: Source message describes a specific vm migration Source resource. Itcontains the source environment information.
func (Source)MarshalJSON¶
typeSourceStorageResource¶added inv0.249.0
type SourceStorageResource struct {// AwsDiskDetails: Source AWS volume details.AwsDiskDetails *AwsSourceDiskDetails `json:"awsDiskDetails,omitempty"`// ForceSendFields is a list of field names (e.g. "AwsDiskDetails") 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. "AwsDiskDetails") 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:"-"`}SourceStorageResource: SourceStorageResource describes a storage resource inthe source.
func (SourceStorageResource)MarshalJSON¶added inv0.249.0
func (sSourceStorageResource) MarshalJSON() ([]byte,error)
typeStartMigrationRequest¶
type StartMigrationRequest struct {}StartMigrationRequest: Request message for 'StartMigrationRequest' request.
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¶
typeTag¶added inv0.104.0
type Tag struct {// Key: Required. Key of tag.Keystring `json:"key,omitempty"`// Value: Required. Value of tag.Valuestring `json:"value,omitempty"`// ForceSendFields is a list of field names (e.g. "Key") 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. "Key") 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:"-"`}Tag: Tag is an AWS tag representation.
func (Tag)MarshalJSON¶added inv0.104.0
typeTargetProject¶
type TargetProject struct {// CreateTime: Output only. The time this target project resource was created// (not related to when the Compute Engine project it points to was created).CreateTimestring `json:"createTime,omitempty"`// Description: The target project's description.Descriptionstring `json:"description,omitempty"`// Name: Output only. The name of the target project.Namestring `json:"name,omitempty"`// Project: Required. The target project ID (number) or project name.Projectstring `json:"project,omitempty"`// UpdateTime: Output only. The last time the target project resource was// 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:"-"`}TargetProject: TargetProject message represents a target Compute Engineproject for a migration or a clone.
func (TargetProject)MarshalJSON¶
func (sTargetProject) MarshalJSON() ([]byte,error)
typeTargetVMDetails¶
type TargetVMDetails struct {// AppliedLicense: Output only. The OS license returned from the adaptation// module report.AppliedLicense *AppliedLicense `json:"appliedLicense,omitempty"`// BootOption: Output only. The VM Boot Option, as set in the source VM.//// Possible values:// "BOOT_OPTION_UNSPECIFIED" - The boot option is unknown.// "EFI" - The boot option is EFI.// "BIOS" - The boot option is BIOS.BootOptionstring `json:"bootOption,omitempty"`// ComputeScheduling: Compute instance scheduling information (if empty default// is used).ComputeScheduling *ComputeScheduling `json:"computeScheduling,omitempty"`// DiskType: The disk type to use in the VM.//// Possible values:// "DISK_TYPE_UNSPECIFIED" - An unspecified disk type. Will be used as// STANDARD.// "STANDARD" - A Standard disk type.// "BALANCED" - An alternative to SSD persistent disks that balance// performance and cost.// "SSD" - SSD hard disk type.// "HYPERDISK_BALANCED" - Hyperdisk balanced disk type.DiskTypestring `json:"diskType,omitempty"`// ExternalIp: The external IP to define in the VM.ExternalIpstring `json:"externalIp,omitempty"`// InternalIp: The internal IP to define in the VM. The formats accepted are:// `ephemeral` \ ipv4 address \ a named address resource full path.InternalIpstring `json:"internalIp,omitempty"`// Labels: A map of labels to associate with the VM.Labels map[string]string `json:"labels,omitempty"`// LicenseType: The license type to use in OS adaptation.//// Possible values:// "DEFAULT" - The license type is the default for the OS.// "PAYG" - The license type is Pay As You Go license type.// "BYOL" - The license type is Bring Your Own License type.LicenseTypestring `json:"licenseType,omitempty"`// MachineType: The machine type to create the VM with.MachineTypestring `json:"machineType,omitempty"`// MachineTypeSeries: The machine type series to create the VM with.MachineTypeSeriesstring `json:"machineTypeSeries,omitempty"`// Metadata: The metadata key/value pairs to assign to the VM.Metadata map[string]string `json:"metadata,omitempty"`// Name: The name of the VM to create.Namestring `json:"name,omitempty"`// Network: The network to connect the VM to.Networkstring `json:"network,omitempty"`// NetworkInterfaces: List of NICs connected to this VM.NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty"`// NetworkTags: A list of network tags to associate with the VM.NetworkTags []string `json:"networkTags,omitempty"`// Project: Output only. The project in which to create the VM.Projectstring `json:"project,omitempty"`// SecureBoot: Defines whether the instance has Secure Boot enabled. This can// be set to true only if the vm boot option is EFI.SecureBootbool `json:"secureBoot,omitempty"`// ServiceAccount: The service account to associate the VM with.ServiceAccountstring `json:"serviceAccount,omitempty"`// Subnetwork: The subnetwork to connect the VM to.Subnetworkstring `json:"subnetwork,omitempty"`// TargetProject: The full path of the resource of type TargetProject which// represents the Compute Engine project in which to create this VM.TargetProjectstring `json:"targetProject,omitempty"`// Zone: The zone in which to create the VM.Zonestring `json:"zone,omitempty"`// ForceSendFields is a list of field names (e.g. "AppliedLicense") 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. "AppliedLicense") 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:"-"`}TargetVMDetails: TargetVMDetails is a collection of details for creating aVM in a target Compute Engine project.
func (TargetVMDetails)MarshalJSON¶
func (sTargetVMDetails) MarshalJSON() ([]byte,error)
typeUpgradeApplianceRequest¶added inv0.69.0
type UpgradeApplianceRequest struct {// RequestId: A request ID to identify requests. Specify a unique request ID so// that if you must retry your request, the server will know to ignore the// request if it has already been completed. The server will guarantee that for// at least 60 minutes after the first request. For example, consider a// situation where you make an initial request and the request times out. If// you make the request again with the same request ID, the server can check if// original operation with the same request ID was received, and if so, will// ignore the second request. This prevents clients from accidentally creating// duplicate commitments. The request ID must be a valid UUID with the// exception that zero UUID is not supported// (00000000-0000-0000-0000-000000000000).RequestIdstring `json:"requestId,omitempty"`// ForceSendFields is a list of field names (e.g. "RequestId") 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. "RequestId") 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:"-"`}UpgradeApplianceRequest: Request message for 'UpgradeAppliance' request.
func (UpgradeApplianceRequest)MarshalJSON¶added inv0.69.0
func (sUpgradeApplianceRequest) MarshalJSON() ([]byte,error)
typeUpgradeStatus¶added inv0.69.0
type UpgradeStatus struct {// Error: Output only. Provides details on the state of the upgrade operation// in case of an error.Error *Status `json:"error,omitempty"`// PreviousVersion: The version from which we upgraded.PreviousVersionstring `json:"previousVersion,omitempty"`// StartTime: The time the operation was started.StartTimestring `json:"startTime,omitempty"`// State: The state of the upgradeAppliance operation.//// Possible values:// "STATE_UNSPECIFIED" - The state was not sampled by the health checks yet.// "RUNNING" - The upgrade has started.// "FAILED" - The upgrade failed.// "SUCCEEDED" - The upgrade finished successfully.Statestring `json:"state,omitempty"`// Version: The version to upgrade to.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "Error") 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. "Error") 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:"-"`}UpgradeStatus: UpgradeStatus contains information about upgradeApplianceoperation.
func (UpgradeStatus)MarshalJSON¶added inv0.69.0
func (sUpgradeStatus) MarshalJSON() ([]byte,error)
typeUtilizationReport¶
type UtilizationReport struct {// CreateTime: Output only. The time the report was created (this refers to the// time of the request, not the time the report creation completed).CreateTimestring `json:"createTime,omitempty"`// DisplayName: The report display name, as assigned by the user.DisplayNamestring `json:"displayName,omitempty"`// Error: Output only. Provides details on the state of the report in case of// an error.Error *Status `json:"error,omitempty"`// FrameEndTime: Output only. The point in time when the time frame ends.// Notice that the time frame is counted backwards. For instance if the// "frame_end_time" value is 2021/01/20 and the time frame is WEEK then the// report covers the week between 2021/01/20 and 2021/01/14.FrameEndTimestring `json:"frameEndTime,omitempty"`// Name: Output only. The report unique name.Namestring `json:"name,omitempty"`// State: Output only. Current state of the report.//// Possible values:// "STATE_UNSPECIFIED" - The state is unknown. This value is not in use.// "CREATING" - The report is in the making.// "SUCCEEDED" - Report creation completed successfully.// "FAILED" - Report creation failed.Statestring `json:"state,omitempty"`// StateTime: Output only. The time the state was last set.StateTimestring `json:"stateTime,omitempty"`// TimeFrame: Time frame of the report.//// Possible values:// "TIME_FRAME_UNSPECIFIED" - The time frame was not specified and will// default to WEEK.// "WEEK" - One week.// "MONTH" - One month.// "YEAR" - One year.TimeFramestring `json:"timeFrame,omitempty"`// VmCount: Output only. Total number of VMs included in the report.VmCountint64 `json:"vmCount,omitempty"`// Vms: List of utilization information per VM. When sent as part of the// request, the "vm_id" field is used in order to specify which VMs to include// in the report. In that case all other fields are ignored.Vms []*VmUtilizationInfo `json:"vms,omitempty"`// VmsCount: Output only. Total number of VMs included in the report.VmsCountint64 `json:"vmsCount,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:"-"`}UtilizationReport: Utilization report details the utilization (CPU, memory,etc.) of selected source VMs.
func (UtilizationReport)MarshalJSON¶
func (sUtilizationReport) MarshalJSON() ([]byte,error)
typeVmAttachmentDetails¶added inv0.143.0
type VmAttachmentDetails struct {// DeviceName: Optional. Specifies a unique device name of your choice that is// reflected into the /dev/disk/by-id/google-* tree of a Linux operating system// running within the instance. If not specified, the server chooses a default// device name to apply to this disk, in the form persistent-disk-x, where x is// a number assigned by Google Compute Engine. This field is only applicable// for persistent disks.DeviceNamestring `json:"deviceName,omitempty"`// ForceSendFields is a list of field names (e.g. "DeviceName") 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. "DeviceName") 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:"-"`}VmAttachmentDetails: Details for attachment of the disk to a VM.
func (VmAttachmentDetails)MarshalJSON¶added inv0.143.0
func (sVmAttachmentDetails) MarshalJSON() ([]byte,error)
typeVmCapabilities¶added inv0.139.0
type VmCapabilities struct {// LastOsCapabilitiesUpdateTime: Output only. The last time OS capabilities// list was updated.LastOsCapabilitiesUpdateTimestring `json:"lastOsCapabilitiesUpdateTime,omitempty"`// OsCapabilities: Output only. Unordered list. List of certain VM OS// capabilities needed for some Compute Engine features.//// Possible values:// "OS_CAPABILITY_UNSPECIFIED" - This is for API compatibility only and is// not in use.// "OS_CAPABILITY_NVME_STORAGE_ACCESS" - NVMe driver installed and the VM can// use NVMe PD or local SSD.// "OS_CAPABILITY_GVNIC_NETWORK_INTERFACE" - gVNIC virtual NIC driver// supported.// "OS_CAPABILITY_IDPF_NETWORK_INTERFACE" - IDPF virtual NIC driver// supported.OsCapabilities []string `json:"osCapabilities,omitempty"`// ForceSendFields is a list of field names (e.g.// "LastOsCapabilitiesUpdateTime") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. Seehttps://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields// for more details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LastOsCapabilitiesUpdateTime") 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:"-"`}VmCapabilities: Migrating VM source information about the VM capabilitiesneeded for some Compute Engine features.
func (VmCapabilities)MarshalJSON¶added inv0.139.0
func (sVmCapabilities) MarshalJSON() ([]byte,error)
typeVmUtilizationInfo¶
type VmUtilizationInfo struct {// Utilization: Utilization metrics for this VM.Utilization *VmUtilizationMetrics `json:"utilization,omitempty"`// VmId: The VM's ID in the source.VmIdstring `json:"vmId,omitempty"`// VmwareVmDetails: The description of the VM in a Source of type Vmware.VmwareVmDetails *VmwareVmDetails `json:"vmwareVmDetails,omitempty"`// ForceSendFields is a list of field names (e.g. "Utilization") 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. "Utilization") 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:"-"`}VmUtilizationInfo: Utilization information of a single VM.
func (VmUtilizationInfo)MarshalJSON¶
func (sVmUtilizationInfo) MarshalJSON() ([]byte,error)
typeVmUtilizationMetrics¶
type VmUtilizationMetrics struct {// CpuAverage: Average CPU usage, percent.CpuAverageint64 `json:"cpuAverage,omitempty"`// CpuAveragePercent: Average CPU usage, percent.CpuAveragePercentint64 `json:"cpuAveragePercent,omitempty"`// CpuMax: Max CPU usage, percent.CpuMaxint64 `json:"cpuMax,omitempty"`// CpuMaxPercent: Max CPU usage, percent.CpuMaxPercentint64 `json:"cpuMaxPercent,omitempty"`// DiskIoRateAverage: Average disk IO rate, in kilobytes per second.DiskIoRateAverageint64 `json:"diskIoRateAverage,omitempty,string"`// DiskIoRateAverageKbps: Average disk IO rate, in kilobytes per second.DiskIoRateAverageKbpsint64 `json:"diskIoRateAverageKbps,omitempty,string"`// DiskIoRateMax: Max disk IO rate, in kilobytes per second.DiskIoRateMaxint64 `json:"diskIoRateMax,omitempty,string"`// DiskIoRateMaxKbps: Max disk IO rate, in kilobytes per second.DiskIoRateMaxKbpsint64 `json:"diskIoRateMaxKbps,omitempty,string"`// MemoryAverage: Average memory usage, percent.MemoryAverageint64 `json:"memoryAverage,omitempty"`// MemoryAveragePercent: Average memory usage, percent.MemoryAveragePercentint64 `json:"memoryAveragePercent,omitempty"`// MemoryMax: Max memory usage, percent.MemoryMaxint64 `json:"memoryMax,omitempty"`// MemoryMaxPercent: Max memory usage, percent.MemoryMaxPercentint64 `json:"memoryMaxPercent,omitempty"`// NetworkThroughputAverage: Average network throughput (combined// transmit-rates and receive-rates), in kilobytes per second.NetworkThroughputAverageint64 `json:"networkThroughputAverage,omitempty,string"`// NetworkThroughputAverageKbps: Average network throughput (combined// transmit-rates and receive-rates), in kilobytes per second.NetworkThroughputAverageKbpsint64 `json:"networkThroughputAverageKbps,omitempty,string"`// NetworkThroughputMax: Max network throughput (combined transmit-rates and// receive-rates), in kilobytes per second.NetworkThroughputMaxint64 `json:"networkThroughputMax,omitempty,string"`// NetworkThroughputMaxKbps: Max network throughput (combined transmit-rates// and receive-rates), in kilobytes per second.NetworkThroughputMaxKbpsint64 `json:"networkThroughputMaxKbps,omitempty,string"`// ForceSendFields is a list of field names (e.g. "CpuAverage") 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. "CpuAverage") 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:"-"`}VmUtilizationMetrics: Utilization metrics values for a single VM.
func (VmUtilizationMetrics)MarshalJSON¶
func (sVmUtilizationMetrics) MarshalJSON() ([]byte,error)
typeVmwareDiskDetails¶added inv0.139.0
type VmwareDiskDetails struct {// DiskNumber: Output only. The ordinal number of the disk.DiskNumberint64 `json:"diskNumber,omitempty"`// Label: Output only. The disk label.Labelstring `json:"label,omitempty"`// SizeGb: Output only. Size in GB.SizeGbint64 `json:"sizeGb,omitempty,string"`// ForceSendFields is a list of field names (e.g. "DiskNumber") 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. "DiskNumber") 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:"-"`}VmwareDiskDetails: The details of a Vmware VM disk.
func (VmwareDiskDetails)MarshalJSON¶added inv0.139.0
func (sVmwareDiskDetails) MarshalJSON() ([]byte,error)
typeVmwareSourceDetails¶
type VmwareSourceDetails struct {// Password: Input only. The credentials password. This is write only and can// not be read in a GET operation.Passwordstring `json:"password,omitempty"`// ResolvedVcenterHost: The hostname of the vcenter.ResolvedVcenterHoststring `json:"resolvedVcenterHost,omitempty"`// Thumbprint: The thumbprint representing the certificate for the vcenter.Thumbprintstring `json:"thumbprint,omitempty"`// Username: The credentials username.Usernamestring `json:"username,omitempty"`// VcenterIp: The ip address of the vcenter this Source represents.VcenterIpstring `json:"vcenterIp,omitempty"`// ForceSendFields is a list of field names (e.g. "Password") 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. "Password") 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:"-"`}VmwareSourceDetails: VmwareSourceDetails message describes a specific sourcedetails for the vmware source type.
func (VmwareSourceDetails)MarshalJSON¶
func (sVmwareSourceDetails) MarshalJSON() ([]byte,error)
typeVmwareSourceVmDetails¶added inv0.139.0
type VmwareSourceVmDetails struct {// Architecture: Output only. The VM architecture.//// Possible values:// "VM_ARCHITECTURE_UNSPECIFIED" - The architecture is unknown.// "VM_ARCHITECTURE_X86_FAMILY" - The architecture is one of the x86// architectures.// "VM_ARCHITECTURE_ARM64" - The architecture is ARM64.Architecturestring `json:"architecture,omitempty"`// CommittedStorageBytes: Output only. The total size of the disks being// migrated in bytes.CommittedStorageBytesint64 `json:"committedStorageBytes,omitempty,string"`// Disks: Output only. The disks attached to the source VM.Disks []*VmwareDiskDetails `json:"disks,omitempty"`// Firmware: Output only. The firmware type of the source VM.//// Possible values:// "FIRMWARE_UNSPECIFIED" - The firmware is unknown.// "EFI" - The firmware is EFI.// "BIOS" - The firmware is BIOS.Firmwarestring `json:"firmware,omitempty"`// VmCapabilitiesInfo: Output only. Information about VM capabilities needed// for some Compute Engine features.VmCapabilitiesInfo *VmCapabilities `json:"vmCapabilitiesInfo,omitempty"`// ForceSendFields is a list of field names (e.g. "Architecture") 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. "Architecture") 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:"-"`}VmwareSourceVmDetails: Represent the source Vmware VM details.
func (VmwareSourceVmDetails)MarshalJSON¶added inv0.139.0
func (sVmwareSourceVmDetails) MarshalJSON() ([]byte,error)
typeVmwareVmDetails¶
type VmwareVmDetails struct {// Architecture: Output only. The CPU architecture.//// Possible values:// "VM_ARCHITECTURE_UNSPECIFIED" - The architecture is unknown.// "VM_ARCHITECTURE_X86_FAMILY" - The architecture is one of the x86// architectures.// "VM_ARCHITECTURE_ARM64" - The architecture is ARM64.Architecturestring `json:"architecture,omitempty"`// BootOption: Output only. The VM Boot Option.//// Possible values:// "BOOT_OPTION_UNSPECIFIED" - The boot option is unknown.// "EFI" - The boot option is EFI.// "BIOS" - The boot option is BIOS.BootOptionstring `json:"bootOption,omitempty"`// CommittedStorage: The total size of the storage allocated to the VM in MB.CommittedStorageint64 `json:"committedStorage,omitempty,string"`// CommittedStorageMb: The total size of the storage allocated to the VM in MB.CommittedStorageMbint64 `json:"committedStorageMb,omitempty,string"`// CpuCount: The number of cpus in the VM.CpuCountint64 `json:"cpuCount,omitempty"`// DatacenterDescription: The descriptive name of the vCenter's datacenter this// VM is contained in.DatacenterDescriptionstring `json:"datacenterDescription,omitempty"`// DatacenterId: The id of the vCenter's datacenter this VM is contained in.DatacenterIdstring `json:"datacenterId,omitempty"`// DiskCount: The number of disks the VM has.DiskCountint64 `json:"diskCount,omitempty"`// DisplayName: The display name of the VM. Note that this is not necessarily// unique.DisplayNamestring `json:"displayName,omitempty"`// GuestDescription: The VM's OS. See for example//https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html// for types of strings this might hold.GuestDescriptionstring `json:"guestDescription,omitempty"`// MemoryMb: The size of the memory of the VM in MB.MemoryMbint64 `json:"memoryMb,omitempty"`// PowerState: The power state of the VM at the moment list was taken.//// Possible values:// "POWER_STATE_UNSPECIFIED" - Power state is not specified.// "ON" - The VM is turned ON.// "OFF" - The VM is turned OFF.// "SUSPENDED" - The VM is suspended. This is similar to hibernation or sleep// mode.PowerStatestring `json:"powerState,omitempty"`// Uuid: The unique identifier of the VM in vCenter.Uuidstring `json:"uuid,omitempty"`// VmId: The VM's id in the source (note that this is not the MigratingVm's// id). This is the moref id of the VM.VmIdstring `json:"vmId,omitempty"`// ForceSendFields is a list of field names (e.g. "Architecture") 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. "Architecture") 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:"-"`}VmwareVmDetails: VmwareVmDetails describes a VM in vCenter.
func (VmwareVmDetails)MarshalJSON¶
func (sVmwareVmDetails) MarshalJSON() ([]byte,error)
typeVmwareVmsDetails¶
type VmwareVmsDetails struct {// Details: The details of the vmware VMs.Details []*VmwareVmDetails `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:"-"`}VmwareVmsDetails: VmwareVmsDetails describes VMs in vCenter.
func (VmwareVmsDetails)MarshalJSON¶
func (sVmwareVmsDetails) MarshalJSON() ([]byte,error)