vmmigration

package
v0.74.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2022 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

Package vmmigration provides access to the VM Migration API.

For product documentation, see: https://cloud.google.com/migrate/compute-engine

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 for authentication.

For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

To use an API key for authentication (note: some APIs do not support API keys), use 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 OAuth flow), use option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
vmmigrationService, err := vmmigration.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See https://godoc.org/google.golang.org/api/option/ for details on options.

Index

Constants

View Source
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

type AddGroupMigrationRequest

type AddGroupMigrationRequest struct {
	// MigratingVm: The full path name of the MigratingVm to add.
	MigratingVm string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AddGroupMigrationRequest: Request message for 'AddGroupMigration' request.

func (*AddGroupMigrationRequest) MarshalJSON

func (s *AddGroupMigrationRequest) MarshalJSON() ([]byte, error)

type ApplianceVersion added in v0.69.0

type ApplianceVersion struct {
	// Critical: Determine whether it's critical to upgrade the appliance to
	// this version.
	Critical bool `json:"critical,omitempty"`

	// ReleaseNotesUri: Link to a page that contains the version release
	// notes.
	ReleaseNotesUri string `json:"releaseNotesUri,omitempty"`

	// Uri: A link for downloading the version.
	Uri string `json:"uri,omitempty"`

	// Version: The appliance version.
	Version string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ApplianceVersion: Describes an appliance version.

func (*ApplianceVersion) MarshalJSON added in v0.69.0

func (s *ApplianceVersion) MarshalJSON() ([]byte, error)

type AppliedLicense

type AppliedLicense struct {
	// OsLicense: The OS license returned from the adaptation module's
	// report.
	OsLicense string `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 is Bring Your Own License type.
	Type string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AppliedLicense: AppliedLicense holds the license data returned by adaptation module report.

func (*AppliedLicense) MarshalJSON

func (s *AppliedLicense) MarshalJSON() ([]byte, error)

type AvailableUpdates added in v0.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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AvailableUpdates: Holds informatiom about the available versions for upgrade.

func (*AvailableUpdates) MarshalJSON added in v0.69.0

func (s *AvailableUpdates) MarshalJSON() ([]byte, error)

type CancelCloneJobRequest

type CancelCloneJobRequest struct {
}

CancelCloneJobRequest: Request message for 'CancelCloneJob' request.

type CancelCutoverJobRequest

type CancelCutoverJobRequest struct {
}

CancelCutoverJobRequest: Request message for 'CancelCutoverJob' request.

type CancelOperationRequest

type CancelOperationRequest struct {
}

CancelOperationRequest: The request message for Operations.CancelOperation.

type CloneJob

type CloneJob struct {
	// 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).
	CreateTime string `json:"createTime,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.
	Name string `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.
	State string `json:"state,omitempty"`

	// StateTime: Output only. The time the state was last updated.
	StateTime string `json:"stateTime,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.
	// "ComputeEngineTargetDetails") to unconditionally include in API
	// requests. By default, fields with empty or default values are omitted
	// from API requests. However, any non-pointer, non-interface field
	// appearing in ForceSendFields will be sent to the server regardless of
	// whether the field is empty or not. This may be used to include empty
	// fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g.
	// "ComputeEngineTargetDetails") to include in API requests with the
	// JSON null value. By default, fields with empty values are omitted
	// from API requests. However, any field with an empty value appearing
	// in NullFields will be sent to the server as null. It is an error if a
	// field in this list has a non-empty value. This may be used to include
	// null fields in Patch requests.
	NullFields []string `json:"-"`
}

CloneJob: CloneJob describes the process of creating a clone of a MigratingVM to the requested target based on the latest successful uploaded snapshots. While the migration cycles of a MigratingVm take place, it is possible to verify the uploaded VM can be started in the cloud, by creating a clone. The clone can be created without any downtime, and it is created using the latest snapshots which are already in the cloud. The cloneJob is only responsible for its work, not its products, which means once it is finished, it will never touch the instance it created. It will only delete it in case of the CloneJob being cancelled or upon failure to clone.

func (*CloneJob) MarshalJSON

func (s *CloneJob) MarshalJSON() ([]byte, error)

type ComputeEngineTargetDefaults

type ComputeEngineTargetDefaults struct {
	// 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"`

	// 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.
	BootOption string `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:
	//   "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.
	DiskType string `json:"diskType,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.
	LicenseType string `json:"licenseType,omitempty"`

	// MachineType: The machine type to create the VM with.
	MachineType string `json:"machineType,omitempty"`

	// MachineTypeSeries: The machine type series to create the VM with.
	MachineTypeSeries string `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 map 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.
	SecureBoot bool `json:"secureBoot,omitempty"`

	// ServiceAccount: The service account to associate the VM with.
	ServiceAccount string `json:"serviceAccount,omitempty"`

	// TargetProject: The full path of the resource of type TargetProject
	// which represents the Compute Engine project in which to create this
	// VM.
	TargetProject string `json:"targetProject,omitempty"`

	// VmName: The name of the VM to create.
	VmName string `json:"vmName,omitempty"`

	// Zone: The zone in which to create the VM.
	Zone string `json:"zone,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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

ComputeEngineTargetDefaults: ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project.

func (*ComputeEngineTargetDefaults) MarshalJSON

func (s *ComputeEngineTargetDefaults) MarshalJSON() ([]byte, error)

type ComputeEngineTargetDetails

type ComputeEngineTargetDetails struct {
	// 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"`

	// 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.
	BootOption string `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:
	//   "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.
	DiskType string `json:"diskType,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.
	LicenseType string `json:"licenseType,omitempty"`

	// MachineType: The machine type to create the VM with.
	MachineType string `json:"machineType,omitempty"`

	// MachineTypeSeries: The machine type series to create the VM with.
	MachineTypeSeries string `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 map of network tags to associate with the VM.
	NetworkTags []string `json:"networkTags,omitempty"`

	// Project: The GCP target project ID or project name.
	Project string `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.
	SecureBoot bool `json:"secureBoot,omitempty"`

	// ServiceAccount: The service account to associate the VM with.
	ServiceAccount string `json:"serviceAccount,omitempty"`

	// VmName: The name of the VM to create.
	VmName string `json:"vmName,omitempty"`

	// Zone: The zone in which to create the VM.
	Zone string `json:"zone,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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

ComputeEngineTargetDetails: ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project.

func (*ComputeEngineTargetDetails) MarshalJSON

func (s *ComputeEngineTargetDetails) MarshalJSON() ([]byte, error)

type ComputeScheduling

type ComputeScheduling struct {
	AutomaticRestart bool `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.
	MinNodeCpus int64 `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.
	OnHostMaintenance string `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.
	RestartType string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

ComputeScheduling: Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes.

func (*ComputeScheduling) MarshalJSON

func (s *ComputeScheduling) MarshalJSON() ([]byte, error)

type CutoverJob

type CutoverJob struct {
	// 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).
	CreateTime string `json:"createTime,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.
	Name string `json:"name,omitempty"`

	// Progress: Output only. The current progress in percentage of the
	// cutover job.
	Progress int64 `json:"progress,omitempty"`

	// ProgressPercent: Output only. The current progress in percentage of
	// the cutover job.
	ProgressPercent int64 `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.
	State string `json:"state,omitempty"`

	// StateMessage: Output only. A message providing possible extra details
	// about the current state.
	StateMessage string `json:"stateMessage,omitempty"`

	// StateTime: Output only. The time the state was last updated.
	StateTime string `json:"stateTime,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.
	// "ComputeEngineTargetDetails") to unconditionally include in API
	// requests. By default, fields with empty or default values are omitted
	// from API requests. However, any non-pointer, non-interface field
	// appearing in ForceSendFields will be sent to the server regardless of
	// whether the field is empty or not. This may be used to include empty
	// fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g.
	// "ComputeEngineTargetDetails") to include in API requests with the
	// JSON null value. By default, fields with empty values are omitted
	// from API requests. However, any field with an empty value appearing
	// in NullFields will be sent to the server as null. It is an error if a
	// field in this list has a non-empty value. This may be used to include
	// null fields in Patch requests.
	NullFields []string `json:"-"`
}

CutoverJob: CutoverJob message describes a cutover of a migrating VM. The CutoverJob is the operation of shutting down the VM, creating a snapshot and clonning the VM using the replicated snapshot.

func (*CutoverJob) MarshalJSON

func (s *CutoverJob) MarshalJSON() ([]byte, error)

type CycleStep added in v0.67.0

type CycleStep struct {
	// EndTime: The time the cycle step has ended.
	EndTime string `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.
	StartTime string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

CycleStep: CycleStep hold information about a step progress.

func (*CycleStep) MarshalJSON added in v0.67.0

func (s *CycleStep) MarshalJSON() ([]byte, error)

type DatacenterConnector

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.
	ApplianceInfrastructureVersion string `json:"applianceInfrastructureVersion,omitempty"`

	// ApplianceSoftwareVersion: Output only. Appliance last installed
	// update bundle version. This is the version of the automatically
	// updatable components on the appliance.
	ApplianceSoftwareVersion string `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 GCP.
	Bucket string `json:"bucket,omitempty"`

	// CreateTime: Output only. The time the connector was created (as an
	// API call, not when it was actually installed).
	CreateTime string `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.
	Name string `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.
	RegistrationId string `json:"registrationId,omitempty"`

	// ServiceAccount: The service account to use in the connector when
	// communicating with the cloud.
	ServiceAccount string `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.
	State string `json:"state,omitempty"`

	// StateTime: Output only. The time the state was last set.
	StateTime string `json:"stateTime,omitempty"`

	// UpdateTime: Output only. The last time the connector was updated with
	// an API call.
	UpdateTime string `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.
	Version string `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. However, any non-pointer, non-interface field
	// appearing in ForceSendFields will be sent to the server regardless of
	// whether the field is empty or not. This may be used to include empty
	// fields in Patch requests.
	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. However, any field with an empty value appearing
	// in NullFields will be sent to the server as null. It is an error if a
	// field in this list has a non-empty value. This may be used to include
	// null fields in Patch requests.
	NullFields []string `json:"-"`
}

DatacenterConnector: DatacenterConnector message describes a connector between the Source and GCP, which is installed on a vmware datacenter (an OVA vm installed by the user) to connect the Datacenter to GCP and support vm migration data transfer.

func (*DatacenterConnector) MarshalJSON

func (s *DatacenterConnector) MarshalJSON() ([]byte, error)

type Empty

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 defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.

type FetchInventoryResponse

type FetchInventoryResponse struct {
	// UpdateTime: Output only. The timestamp when the source was last
	// queried (if the result is from the cache).
	UpdateTime string `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. "UpdateTime") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "UpdateTime") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

FetchInventoryResponse: Response message for fetchInventory.

func (*FetchInventoryResponse) MarshalJSON

func (s *FetchInventoryResponse) MarshalJSON() ([]byte, error)

type FinalizeMigrationRequest

type FinalizeMigrationRequest struct {
}

FinalizeMigrationRequest: Request message for 'FinalizeMigration' request.

type Group

type Group struct {
	// CreateTime: Output only. The create time timestamp.
	CreateTime string `json:"createTime,omitempty"`

	// Description: User-provided description of the group.
	Description string `json:"description,omitempty"`

	// DisplayName: Display name is a user defined name for this group which
	// can be updated.
	DisplayName string `json:"displayName,omitempty"`

	// Name: Output only. The Group name.
	Name string `json:"name,omitempty"`

	// UpdateTime: Output only. The update time timestamp.
	UpdateTime string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Group: Describes message for 'Group' resource. The Group is a collections of several MigratingVms.

func (*Group) MarshalJSON

func (s *Group) MarshalJSON() ([]byte, error)

type InitializingReplicationStep added in v0.67.0

type InitializingReplicationStep struct {
}

InitializingReplicationStep: InitializingReplicationStep contains specific step details.

type Link struct {
	// Description: Describes what the link offers.
	Description string `json:"description,omitempty"`

	// Url: The URL of the link.
	Url string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Link: Describes a URL link.

func (*Link) MarshalJSON

func (s *Link) MarshalJSON() ([]byte, error)

type ListCloneJobsResponse

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.
	NextPageToken string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListCloneJobsResponse: Response message for 'ListCloneJobs' request.

func (*ListCloneJobsResponse) MarshalJSON

func (s *ListCloneJobsResponse) MarshalJSON() ([]byte, error)

type ListCutoverJobsResponse

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.
	NextPageToken string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListCutoverJobsResponse: Response message for 'ListCutoverJobs' request.

func (*ListCutoverJobsResponse) MarshalJSON

func (s *ListCutoverJobsResponse) MarshalJSON() ([]byte, error)

type ListDatacenterConnectorsResponse

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.
	NextPageToken string `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. However, any non-pointer, non-interface field appearing in
	// ForceSendFields will be sent to the server regardless of whether the
	// field is empty or not. This may be used to include empty fields in
	// Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

ListDatacenterConnectorsResponse: Response message for 'ListDatacenterConnectors' request.

func (*ListDatacenterConnectorsResponse) MarshalJSON

func (s *ListDatacenterConnectorsResponse) MarshalJSON() ([]byte, error)

type ListGroupsResponse

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.
	NextPageToken string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListGroupsResponse: Response message for 'ListGroups' request.

func (*ListGroupsResponse) MarshalJSON

func (s *ListGroupsResponse) MarshalJSON() ([]byte, error)

type ListLocationsResponse

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.
	NextPageToken string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListLocationsResponse: The response message for Locations.ListLocations.

func (*ListLocationsResponse) MarshalJSON

func (s *ListLocationsResponse) MarshalJSON() ([]byte, error)

type ListMigratingVmsResponse

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.
	NextPageToken string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListMigratingVmsResponse: Response message for 'ListMigratingVms' request.

func (*ListMigratingVmsResponse) MarshalJSON

func (s *ListMigratingVmsResponse) MarshalJSON() ([]byte, error)

type ListOperationsResponse

type ListOperationsResponse struct {
	// NextPageToken: The standard List next-page token.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Operations: A list of operations that matches the specified filter in
	// the request.
	Operations []*Operation `json:"operations,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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListOperationsResponse: The response message for Operations.ListOperations.

func (*ListOperationsResponse) MarshalJSON

func (s *ListOperationsResponse) MarshalJSON() ([]byte, error)

type ListSourcesResponse

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.
	NextPageToken string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListSourcesResponse: Response message for 'ListSources' request.

func (*ListSourcesResponse) MarshalJSON

func (s *ListSourcesResponse) MarshalJSON() ([]byte, error)

type ListTargetProjectsResponse

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.
	NextPageToken string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListTargetProjectsResponse: Response message for 'ListTargetProjects' call.

func (*ListTargetProjectsResponse) MarshalJSON

func (s *ListTargetProjectsResponse) MarshalJSON() ([]byte, error)

type ListUtilizationReportsResponse

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.
	NextPageToken string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListUtilizationReportsResponse: Response message for 'ListUtilizationReports' request.

func (*ListUtilizationReportsResponse) MarshalJSON

func (s *ListUtilizationReportsResponse) MarshalJSON() ([]byte, error)

type LocalizedMessage

type LocalizedMessage struct {
	// Locale: The locale used following the specification defined at
	// http://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US",
	// "fr-CH", "es-MX"
	Locale string `json:"locale,omitempty"`

	// Message: The localized error message in the above locale.
	Message string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

LocalizedMessage: Provides a localized error message that is safe to return to the user which can be attached to an RPC error.

func (*LocalizedMessage) MarshalJSON

func (s *LocalizedMessage) MarshalJSON() ([]byte, error)

type Location

type Location struct {
	// DisplayName: The friendly name for this location, typically a nearby
	// city name. For example, "Tokyo".
	DisplayName string `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".
	LocationId string `json:"locationId,omitempty"`

	// Metadata: Service-specific metadata. For example the available
	// capacity at the given location.
	Metadata googleapi.RawMessage `json:"metadata,omitempty"`

	// Name: Resource name for the location, which may vary between
	// implementations. For example:
	// "projects/example-project/locations/us-east1"
	Name string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Location: A resource that represents Google Cloud Platform location.

func (*Location) MarshalJSON

func (s *Location) MarshalJSON() ([]byte, error)

type MigratingVm

type MigratingVm struct {
	// 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).
	CreateTime string `json:"createTime,omitempty"`

	// CurrentSyncInfo: Output only. The percentage progress of the current
	// running replication cycle.
	CurrentSyncInfo *ReplicationCycle `json:"currentSyncInfo,omitempty"`

	// Description: The description attached to the migrating VM by the
	// user.
	Description string `json:"description,omitempty"`

	// DisplayName: The display name attached to the MigratingVm by the
	// user.
	DisplayName string `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"`

	// 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.
	Group string `json:"group,omitempty"`

	// Labels: The labels of the migrating VM.
	Labels map[string]string `json:"labels,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.
	Name string `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-.
	SourceVmId string `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.
	State string `json:"state,omitempty"`

	// StateTime: Output only. The last time the migrating VM state was
	// updated.
	StateTime string `json:"stateTime,omitempty"`

	// TargetDefaults: The default configuration of the target VM that will
	// be created in GCP 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.
	UpdateTime string `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.
	// "ComputeEngineTargetDefaults") to unconditionally include in API
	// requests. By default, fields with empty or default values are omitted
	// from API requests. However, any non-pointer, non-interface field
	// appearing in ForceSendFields will be sent to the server regardless of
	// whether the field is empty or not. This may be used to include empty
	// fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g.
	// "ComputeEngineTargetDefaults") to include in API requests with the
	// JSON null value. By default, fields with empty values are omitted
	// from API requests. However, any field with an empty value appearing
	// in NullFields will be sent to the server as null. It is an error if a
	// field in this list has a non-empty value. This may be used to include
	// null fields in Patch requests.
	NullFields []string `json:"-"`
}

MigratingVm: MigratingVm describes the VM that will be migrated from a Source environment and its replication state.

func (*MigratingVm) MarshalJSON

func (s *MigratingVm) MarshalJSON() ([]byte, error)

type MigrationError

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 for Compute encountered an unknown error.
	//   "SOURCE_VALIDATION_ERROR" - Migrate for Compute encountered an
	// error while validating replication source health.
	//   "SOURCE_REPLICATION_ERROR" - Migrate for Compute encountered an
	// error during source data operation.
	//   "TARGET_REPLICATION_ERROR" - Migrate for Compute encountered an
	// error during target data operation.
	//   "OS_ADAPTATION_ERROR" - Migrate for Compute encountered an error
	// during OS adaptation.
	//   "CLONE_ERROR" - Migrate for Compute encountered an error in clone
	// operation.
	//   "CUTOVER_ERROR" - Migrate for Compute encountered an error in
	// cutover operation.
	//   "UTILIZATION_REPORT_ERROR" - Migrate for Compute encountered an
	// error during utilization report creation.
	//   "APPLIANCE_UPGRADE_ERROR" - Migrate for Compute encountered an
	// error during appliance upgrade.
	Code string `json:"code,omitempty"`

	// ErrorMessage: Output only. The localized error message.
	ErrorMessage *LocalizedMessage `json:"errorMessage,omitempty"`

	// ErrorTime: Output only. The time the error occurred.
	ErrorTime string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

MigrationError: Represents migration resource error information that can be used with google.rpc.Status message. MigrationError is used to present the user with error information in migration operations.

func (*MigrationError) MarshalJSON

func (s *MigrationError) MarshalJSON() ([]byte, error)

type NetworkInterface

type NetworkInterface struct {
	// ExternalIp: The external IP to define in the NIC.
	ExternalIp string `json:"externalIp,omitempty"`

	// InternalIp: The internal IP to define in the NIC. The formats
	// accepted are: `ephemeral` \ ipv4 address \ a named address resource
	// full path.
	InternalIp string `json:"internalIp,omitempty"`

	// Network: The network to connect the NIC to.
	Network string `json:"network,omitempty"`

	// Subnetwork: The subnetwork to connect the NIC to.
	Subnetwork string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

NetworkInterface: NetworkInterface represents a NIC of a VM.

func (*NetworkInterface) MarshalJSON

func (s *NetworkInterface) MarshalJSON() ([]byte, error)

type Operation

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.
	Done bool `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.
	Metadata googleapi.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}`.
	Name string `json:"name,omitempty"`

	// Response: The normal response of the operation in case of success. 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`.
	Response googleapi.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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Operation: This resource represents a long-running operation that is the result of a network API call.

func (*Operation) MarshalJSON

func (s *Operation) MarshalJSON() ([]byte, error)

type OperationMetadata

type OperationMetadata struct {
	// ApiVersion: Output only. API version used to start the operation.
	ApiVersion string `json:"apiVersion,omitempty"`

	// CreateTime: Output only. The time the operation was created.
	CreateTime string `json:"createTime,omitempty"`

	// EndTime: Output only. The time the operation finished running.
	EndTime string `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`.
	RequestedCancellation bool `json:"requestedCancellation,omitempty"`

	// StatusMessage: Output only. Human-readable status of the operation,
	// if any.
	StatusMessage string `json:"statusMessage,omitempty"`

	// Target: Output only. Server-defined resource path for the target of
	// the operation.
	Target string `json:"target,omitempty"`

	// Verb: Output only. Name of the verb executed by the operation.
	Verb string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

OperationMetadata: Represents the metadata of the long-running operation.

func (*OperationMetadata) MarshalJSON

func (s *OperationMetadata) MarshalJSON() ([]byte, error)

type PauseMigrationRequest

type PauseMigrationRequest struct {
}

PauseMigrationRequest: Request message for 'PauseMigration' request.

type PostProcessingStep added in v0.67.0

type PostProcessingStep struct {
}

PostProcessingStep: PostProcessingStep contains specific step details.

type ProjectsLocationsGetCall

type ProjectsLocationsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGetCall) Do

Do executes the "vmmigration.projects.locations.get" call. Exactly one of *Location or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Location.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGetCall) Header

func (c *ProjectsLocationsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsGetCall) IfNoneMatch

func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsGroupsAddGroupMigrationCall

type ProjectsLocationsGroupsAddGroupMigrationCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGroupsAddGroupMigrationCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGroupsAddGroupMigrationCall) Do

Do executes the "vmmigration.projects.locations.groups.addGroupMigration" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGroupsAddGroupMigrationCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGroupsAddGroupMigrationCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsGroupsCreateCall

type ProjectsLocationsGroupsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGroupsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGroupsCreateCall) Do

Do executes the "vmmigration.projects.locations.groups.create" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGroupsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGroupsCreateCall) GroupId

GroupId sets the optional parameter "groupId": Required. The group identifier.

func (*ProjectsLocationsGroupsCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsGroupsCreateCall) RequestId

RequestId sets the optional parameter "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 since the first request. For example, consider a situation where you make an initial request and t he 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).

type ProjectsLocationsGroupsDeleteCall

type ProjectsLocationsGroupsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGroupsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGroupsDeleteCall) Do

Do executes the "vmmigration.projects.locations.groups.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGroupsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGroupsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsGroupsDeleteCall) RequestId

RequestId sets the optional parameter "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 t he 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).

type ProjectsLocationsGroupsGetCall

type ProjectsLocationsGroupsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGroupsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGroupsGetCall) Do

Do executes the "vmmigration.projects.locations.groups.get" call. Exactly one of *Group or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Group.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGroupsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGroupsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsGroupsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsGroupsListCall

type ProjectsLocationsGroupsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGroupsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGroupsListCall) Do

Do executes the "vmmigration.projects.locations.groups.list" call. Exactly one of *ListGroupsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListGroupsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGroupsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGroupsListCall) Filter

Filter sets the optional parameter "filter": The filter request.

func (*ProjectsLocationsGroupsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsGroupsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsGroupsListCall) OrderBy

OrderBy sets the optional parameter "orderBy": the order by fields for the result.

func (*ProjectsLocationsGroupsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of groups to return. The service may return fewer than this value. If unspecified, at most 500 groups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsGroupsListCall) PageToken

PageToken sets the optional parameter "pageToken": Required. A page token, received from a previous `ListGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGroups` must match the call that provided the page token.

func (*ProjectsLocationsGroupsListCall) Pages

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.

type ProjectsLocationsGroupsPatchCall

type ProjectsLocationsGroupsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGroupsPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGroupsPatchCall) Do

Do executes the "vmmigration.projects.locations.groups.patch" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGroupsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGroupsPatchCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsGroupsPatchCall) RequestId

RequestId sets the optional parameter "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 since the first request. For example, consider a situation where you make an initial request and t he 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).

func (*ProjectsLocationsGroupsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the Group resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

type ProjectsLocationsGroupsRemoveGroupMigrationCall

type ProjectsLocationsGroupsRemoveGroupMigrationCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGroupsRemoveGroupMigrationCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGroupsRemoveGroupMigrationCall) Do

Do executes the "vmmigration.projects.locations.groups.removeGroupMigration" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGroupsRemoveGroupMigrationCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGroupsRemoveGroupMigrationCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsGroupsService

type ProjectsLocationsGroupsService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsGroupsService

func NewProjectsLocationsGroupsService(s *Service) *ProjectsLocationsGroupsService

func (*ProjectsLocationsGroupsService) AddGroupMigration

AddGroupMigration: Adds a MigratingVm to a Group.

- group: The full path name of the Group to add to.

func (*ProjectsLocationsGroupsService) Create

Create: Creates a new Group in a given project and location.

- parent: The Group's parent.

func (*ProjectsLocationsGroupsService) Delete

Delete: Deletes a single Group.

- name: The Group name.

func (*ProjectsLocationsGroupsService) Get

Get: Gets details of a single Group.

- name: The group name.

func (*ProjectsLocationsGroupsService) List

List: Lists Groups in a given project and location.

- parent: The parent, which owns this collection of groups.

func (*ProjectsLocationsGroupsService) Patch

Patch: Updates the parameters of a single Group.

- name: Output only. The Group name.

func (*ProjectsLocationsGroupsService) RemoveGroupMigration

func (r *ProjectsLocationsGroupsService) RemoveGroupMigration(group string, removegroupmigrationrequest *RemoveGroupMigrationRequest) *ProjectsLocationsGroupsRemoveGroupMigrationCall

RemoveGroupMigration: Removes a MigratingVm from a Group.

- group: The name of the Group.

type ProjectsLocationsListCall

type ProjectsLocationsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsListCall) Do

Do executes the "vmmigration.projects.locations.list" call. Exactly one of *ListLocationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListLocationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsListCall) Filter

Filter sets the optional parameter "filter": A filter to narrow down results to 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

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsListCall) IfNoneMatch

func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.

func (*ProjectsLocationsListCall) PageToken

PageToken sets the optional parameter "pageToken": A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.

func (*ProjectsLocationsListCall) Pages

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.

type ProjectsLocationsOperationsCancelCall

type ProjectsLocationsOperationsCancelCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsOperationsCancelCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsOperationsCancelCall) Do

Do executes the "vmmigration.projects.locations.operations.cancel" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsCancelCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsOperationsCancelCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsOperationsDeleteCall

type ProjectsLocationsOperationsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsOperationsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsOperationsDeleteCall) Do

Do executes the "vmmigration.projects.locations.operations.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsOperationsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsOperationsGetCall

type ProjectsLocationsOperationsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsOperationsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsOperationsGetCall) Do

Do executes the "vmmigration.projects.locations.operations.get" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsOperationsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsOperationsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsOperationsListCall

type ProjectsLocationsOperationsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsOperationsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsOperationsListCall) Do

Do executes the "vmmigration.projects.locations.operations.list" call. Exactly one of *ListOperationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsOperationsListCall) Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*ProjectsLocationsOperationsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsOperationsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsOperationsListCall) PageSize

PageSize sets the optional parameter "pageSize": The standard list page size.

func (*ProjectsLocationsOperationsListCall) PageToken

PageToken sets the optional parameter "pageToken": The standard list page token.

func (*ProjectsLocationsOperationsListCall) Pages

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.

type ProjectsLocationsOperationsService

type ProjectsLocationsOperationsService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsOperationsService

func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService

func (*ProjectsLocationsOperationsService) Cancel

Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.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

Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the 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

Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

- name: The name of the operation resource.

func (*ProjectsLocationsOperationsService) List

List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

- name: The name of the operation's parent resource.

type ProjectsLocationsService

type ProjectsLocationsService struct {
	Groups *ProjectsLocationsGroupsService

	Operations *ProjectsLocationsOperationsService

	Sources *ProjectsLocationsSourcesService

	TargetProjects *ProjectsLocationsTargetProjectsService
	// contains filtered or unexported fields
}

func NewProjectsLocationsService

func NewProjectsLocationsService(s *Service) *ProjectsLocationsService

func (*ProjectsLocationsService) Get

Get: Gets information about a location.

- name: Resource name for the location.

func (*ProjectsLocationsService) List

List: Lists information about the supported locations for this service.

  • name: The resource that owns the locations collection, if applicable.

type ProjectsLocationsSourcesCreateCall

type ProjectsLocationsSourcesCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesCreateCall) Do

Do executes the "vmmigration.projects.locations.sources.create" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesCreateCall) RequestId

RequestId sets the optional parameter "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 since the first request. For example, consider a situation where you make an initial request and t he 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).

func (*ProjectsLocationsSourcesCreateCall) SourceId

SourceId sets the optional parameter "sourceId": Required. The source identifier.

type ProjectsLocationsSourcesDatacenterConnectorsCreateCall

type ProjectsLocationsSourcesDatacenterConnectorsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesDatacenterConnectorsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesDatacenterConnectorsCreateCall) DatacenterConnectorId

DatacenterConnectorId sets the optional parameter "datacenterConnectorId": Required. The datacenterConnector identifier.

func (*ProjectsLocationsSourcesDatacenterConnectorsCreateCall) Do

Do executes the "vmmigration.projects.locations.sources.datacenterConnectors.create" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesDatacenterConnectorsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesDatacenterConnectorsCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesDatacenterConnectorsCreateCall) RequestId

RequestId sets the optional parameter "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 since the first request. For example, consider a situation where you make an initial request and t he 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).

type ProjectsLocationsSourcesDatacenterConnectorsDeleteCall

type ProjectsLocationsSourcesDatacenterConnectorsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesDatacenterConnectorsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesDatacenterConnectorsDeleteCall) Do

Do executes the "vmmigration.projects.locations.sources.datacenterConnectors.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesDatacenterConnectorsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesDatacenterConnectorsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesDatacenterConnectorsDeleteCall) RequestId

RequestId sets the optional parameter "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 t he 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).

type ProjectsLocationsSourcesDatacenterConnectorsGetCall

type ProjectsLocationsSourcesDatacenterConnectorsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesDatacenterConnectorsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesDatacenterConnectorsGetCall) Do

Do executes the "vmmigration.projects.locations.sources.datacenterConnectors.get" call. Exactly one of *DatacenterConnector or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DatacenterConnector.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesDatacenterConnectorsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesDatacenterConnectorsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesDatacenterConnectorsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsSourcesDatacenterConnectorsListCall

type ProjectsLocationsSourcesDatacenterConnectorsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesDatacenterConnectorsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesDatacenterConnectorsListCall) Do

Do executes the "vmmigration.projects.locations.sources.datacenterConnectors.list" call. Exactly one of *ListDatacenterConnectorsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListDatacenterConnectorsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesDatacenterConnectorsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesDatacenterConnectorsListCall) Filter

Filter sets the optional parameter "filter": The filter request.

func (*ProjectsLocationsSourcesDatacenterConnectorsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesDatacenterConnectorsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsSourcesDatacenterConnectorsListCall) OrderBy

OrderBy sets the optional parameter "orderBy": the order by fields for the result.

func (*ProjectsLocationsSourcesDatacenterConnectorsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of connectors to return. The service may return fewer than this value. If unspecified, at most 500 sources will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsSourcesDatacenterConnectorsListCall) PageToken

PageToken sets the optional parameter "pageToken": Required. A page token, received from a previous `ListDatacenterConnectors` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDatacenterConnectors` must match the call that provided the page token.

func (*ProjectsLocationsSourcesDatacenterConnectorsListCall) Pages

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.

type ProjectsLocationsSourcesDatacenterConnectorsService

type ProjectsLocationsSourcesDatacenterConnectorsService struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesDatacenterConnectorsService) Create

Create: Creates a new DatacenterConnector in a given Source.

  • parent: The DatacenterConnector's parent. Required. The Source in where the new DatacenterConnector will be created. For example: `projects/my-project/locations/us-central1/sources/my-source`.

func (*ProjectsLocationsSourcesDatacenterConnectorsService) Delete

Delete: Deletes a single DatacenterConnector.

- name: The DatacenterConnector name.

func (*ProjectsLocationsSourcesDatacenterConnectorsService) Get

Get: Gets details of a single DatacenterConnector.

- name: The name of the DatacenterConnector.

func (*ProjectsLocationsSourcesDatacenterConnectorsService) List

List: Lists DatacenterConnectors in a given Source.

- parent: The parent, which owns this collection of connectors.

func (*ProjectsLocationsSourcesDatacenterConnectorsService) UpgradeAppliance added in v0.69.0

UpgradeAppliance: Upgrades the appliance relate to this DatacenterConnector to the in-place updateable version.

- datacenterConnector: The DatacenterConnector name.

type ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall added in v0.69.0

type ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall) Context added in v0.69.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall) Do added in v0.69.0

Do executes the "vmmigration.projects.locations.sources.datacenterConnectors.upgradeAppliance" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall) Fields added in v0.69.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesDatacenterConnectorsUpgradeApplianceCall) Header added in v0.69.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsSourcesDeleteCall

type ProjectsLocationsSourcesDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesDeleteCall) Do

Do executes the "vmmigration.projects.locations.sources.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesDeleteCall) RequestId

RequestId sets the optional parameter "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 t he 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).

type ProjectsLocationsSourcesFetchInventoryCall

type ProjectsLocationsSourcesFetchInventoryCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesFetchInventoryCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesFetchInventoryCall) Do

Do executes the "vmmigration.projects.locations.sources.fetchInventory" call. Exactly one of *FetchInventoryResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FetchInventoryResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesFetchInventoryCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesFetchInventoryCall) ForceRefresh

ForceRefresh sets the optional parameter "forceRefresh": If this flag is set to true, the source will be queried instead of using cached results. Using this flag will make the call slower.

func (*ProjectsLocationsSourcesFetchInventoryCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesFetchInventoryCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsSourcesGetCall

type ProjectsLocationsSourcesGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesGetCall) Do

Do executes the "vmmigration.projects.locations.sources.get" call. Exactly one of *Source or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Source.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsSourcesListCall

type ProjectsLocationsSourcesListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesListCall) Do

Do executes the "vmmigration.projects.locations.sources.list" call. Exactly one of *ListSourcesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListSourcesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesListCall) Filter

Filter sets the optional parameter "filter": The filter request.

func (*ProjectsLocationsSourcesListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsSourcesListCall) OrderBy

OrderBy sets the optional parameter "orderBy": the order by fields for the result.

func (*ProjectsLocationsSourcesListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of sources to return. The service may return fewer than this value. If unspecified, at most 500 sources will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsSourcesListCall) PageToken

PageToken sets the optional parameter "pageToken": Required. A page token, received from a previous `ListSources` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSources` must match the call that provided the page token.

func (*ProjectsLocationsSourcesListCall) Pages

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.

type ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall

type ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.cloneJobs.cancel" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCancelCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall

type ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) CloneJobId

CloneJobId sets the optional parameter "cloneJobId": Required. The clone job identifier.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.cloneJobs.create" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsCreateCall) RequestId

RequestId sets the optional parameter "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 since the first request. For example, consider a situation where you make an initial request and t he 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).

type ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall

type ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.cloneJobs.get" call. Exactly one of *CloneJob or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CloneJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsSourcesMigratingVmsCloneJobsListCall

type ProjectsLocationsSourcesMigratingVmsCloneJobsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.cloneJobs.list" call. Exactly one of *ListCloneJobsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListCloneJobsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Filter

Filter sets the optional parameter "filter": The filter request.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) OrderBy

OrderBy sets the optional parameter "orderBy": the order by fields for the result.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of clone jobs to return. The service may return fewer than this value. If unspecified, at most 500 clone jobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) PageToken

PageToken sets the optional parameter "pageToken": Required. A page token, received from a previous `ListCloneJobs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCloneJobs` must match the call that provided the page token.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsListCall) Pages

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.

type ProjectsLocationsSourcesMigratingVmsCloneJobsService

type ProjectsLocationsSourcesMigratingVmsCloneJobsService struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsService) Cancel

Cancel: Initiates the cancellation of a running clone job.

- name: The clone job id.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsService) Create

Create: Initiates a Clone of a specific migrating VM.

- parent: The Clone's parent.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsService) Get

Get: Gets details of a single CloneJob.

- name: The name of the CloneJob.

func (*ProjectsLocationsSourcesMigratingVmsCloneJobsService) List

List: Lists CloneJobs of a given migrating VM.

- parent: The parent, which owns this collection of source VMs.

type ProjectsLocationsSourcesMigratingVmsCreateCall

type ProjectsLocationsSourcesMigratingVmsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsCreateCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.create" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesMigratingVmsCreateCall) MigratingVmId

MigratingVmId sets the optional parameter "migratingVmId": Required. The migratingVm identifier.

func (*ProjectsLocationsSourcesMigratingVmsCreateCall) RequestId

RequestId sets the optional parameter "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 since the first request. For example, consider a situation where you make an initial request and t he 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).

type ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall

type ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.cutoverJobs.cancel" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCancelCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall

type ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) CutoverJobId

CutoverJobId sets the optional parameter "cutoverJobId": Required. The cutover job identifier.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.cutoverJobs.create" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsCreateCall) RequestId

RequestId sets the optional parameter "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 since the first request. For example, consider a situation where you make an initial request and t he 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).

type ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall

type ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.cutoverJobs.get" call. Exactly one of *CutoverJob or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CutoverJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall

type ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.cutoverJobs.list" call. Exactly one of *ListCutoverJobsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListCutoverJobsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Filter

Filter sets the optional parameter "filter": The filter request.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) OrderBy

OrderBy sets the optional parameter "orderBy": the order by fields for the result.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of cutover jobs to return. The service may return fewer than this value. If unspecified, at most 500 cutover jobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) PageToken

PageToken sets the optional parameter "pageToken": Required. A page token, received from a previous `ListCutoverJobs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCutoverJobs` must match the call that provided the page token.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsListCall) Pages

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.

type ProjectsLocationsSourcesMigratingVmsCutoverJobsService

type ProjectsLocationsSourcesMigratingVmsCutoverJobsService struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsService) Cancel

Cancel: Initiates the cancellation of a running cutover job.

- name: The cutover job id.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsService) Create

Create: Initiates a Cutover of a specific migrating VM. The returned LRO is completed when the cutover job resource is created and the job is initiated.

- parent: The Cutover's parent.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsService) Get

Get: Gets details of a single CutoverJob.

- name: The name of the CutoverJob.

func (*ProjectsLocationsSourcesMigratingVmsCutoverJobsService) List

List: Lists CutoverJobs of a given migrating VM.

- parent: The parent, which owns this collection of migrating VMs.

type ProjectsLocationsSourcesMigratingVmsDeleteCall

type ProjectsLocationsSourcesMigratingVmsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsDeleteCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall

type ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.finalizeMigration" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsFinalizeMigrationCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsSourcesMigratingVmsGetCall

type ProjectsLocationsSourcesMigratingVmsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsGetCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.get" call. Exactly one of *MigratingVm or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *MigratingVm.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesMigratingVmsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsSourcesMigratingVmsGetCall) View added in v0.61.0

View sets the optional parameter "view": The level of details of the migrating 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.

type ProjectsLocationsSourcesMigratingVmsListCall

type ProjectsLocationsSourcesMigratingVmsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsListCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.list" call. Exactly one of *ListMigratingVmsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListMigratingVmsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsListCall) Filter

Filter sets the optional parameter "filter": The filter request.

func (*ProjectsLocationsSourcesMigratingVmsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesMigratingVmsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsSourcesMigratingVmsListCall) OrderBy

OrderBy sets the optional parameter "orderBy": the order by fields for the result.

func (*ProjectsLocationsSourcesMigratingVmsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of migrating VMs to return. The service may return fewer than this value. If unspecified, at most 500 migrating VMs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsSourcesMigratingVmsListCall) PageToken

PageToken sets the optional parameter "pageToken": Required. A page token, received from a previous `ListMigratingVms` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigratingVms` must match the call that provided the page token.

func (*ProjectsLocationsSourcesMigratingVmsListCall) Pages

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 in v0.61.0

View sets the optional parameter "view": The level of details of each migrating 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.

type ProjectsLocationsSourcesMigratingVmsPatchCall

type ProjectsLocationsSourcesMigratingVmsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsPatchCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.patch" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsPatchCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesMigratingVmsPatchCall) RequestId

RequestId sets the optional parameter "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 since the first request. For example, consider a situation where you make an initial request and t he 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).

func (*ProjectsLocationsSourcesMigratingVmsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the MigratingVm resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

type ProjectsLocationsSourcesMigratingVmsPauseMigrationCall

type ProjectsLocationsSourcesMigratingVmsPauseMigrationCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsPauseMigrationCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsPauseMigrationCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.pauseMigration" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsPauseMigrationCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsPauseMigrationCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsSourcesMigratingVmsResumeMigrationCall

type ProjectsLocationsSourcesMigratingVmsResumeMigrationCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsResumeMigrationCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsResumeMigrationCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.resumeMigration" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsResumeMigrationCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsResumeMigrationCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsSourcesMigratingVmsService

type ProjectsLocationsSourcesMigratingVmsService struct {
	CloneJobs *ProjectsLocationsSourcesMigratingVmsCloneJobsService

	CutoverJobs *ProjectsLocationsSourcesMigratingVmsCutoverJobsService
	// contains filtered or unexported fields
}

func NewProjectsLocationsSourcesMigratingVmsService

func NewProjectsLocationsSourcesMigratingVmsService(s *Service) *ProjectsLocationsSourcesMigratingVmsService

func (*ProjectsLocationsSourcesMigratingVmsService) Create

Create: Creates a new MigratingVm in a given Source.

- parent: The MigratingVm's parent.

func (*ProjectsLocationsSourcesMigratingVmsService) Delete

Delete: Deletes a single MigratingVm.

- name: The name of the MigratingVm.

func (*ProjectsLocationsSourcesMigratingVmsService) FinalizeMigration

FinalizeMigration: Marks a migration as completed, deleting migration resources that are no longer being used. Only applicable after cutover is done.

- migratingVm: The name of the MigratingVm.

func (*ProjectsLocationsSourcesMigratingVmsService) Get

Get: Gets details of a single MigratingVm.

- name: The name of the MigratingVm.

func (*ProjectsLocationsSourcesMigratingVmsService) List

List: Lists MigratingVms in a given Source.

- parent: The parent, which owns this collection of MigratingVms.

func (*ProjectsLocationsSourcesMigratingVmsService) Patch

Patch: Updates the parameters of a single MigratingVm.

- name: Output only. The identifier of the MigratingVm.

func (*ProjectsLocationsSourcesMigratingVmsService) PauseMigration

PauseMigration: Pauses a migration for a VM. If cycle tasks are running they will be cancelled, preserving source task data. Further replication cycles will not be triggered while the VM is paused.

- migratingVm: The name of the MigratingVm.

func (*ProjectsLocationsSourcesMigratingVmsService) ResumeMigration

ResumeMigration: Resumes a migration for a VM. When called on a paused migration, will start the process of uploading data and creating snapshots; when called on a completed cut-over migration, will update the migration to active state and start the process of uploading data and creating snapshots.

- migratingVm: The name of the MigratingVm.

func (*ProjectsLocationsSourcesMigratingVmsService) StartMigration

StartMigration: Starts migration for a VM. Starts the process of uploading data and creating snapshots, in replication cycles scheduled by the policy.

- migratingVm: The name of the MigratingVm.

type ProjectsLocationsSourcesMigratingVmsStartMigrationCall

type ProjectsLocationsSourcesMigratingVmsStartMigrationCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesMigratingVmsStartMigrationCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesMigratingVmsStartMigrationCall) Do

Do executes the "vmmigration.projects.locations.sources.migratingVms.startMigration" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesMigratingVmsStartMigrationCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesMigratingVmsStartMigrationCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsSourcesPatchCall

type ProjectsLocationsSourcesPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesPatchCall) Do

Do executes the "vmmigration.projects.locations.sources.patch" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesPatchCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesPatchCall) RequestId

RequestId sets the optional parameter "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 since the first request. For example, consider a situation where you make an initial request and t he 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).

func (*ProjectsLocationsSourcesPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the Source resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

type ProjectsLocationsSourcesService

type ProjectsLocationsSourcesService struct {
	DatacenterConnectors *ProjectsLocationsSourcesDatacenterConnectorsService

	MigratingVms *ProjectsLocationsSourcesMigratingVmsService

	UtilizationReports *ProjectsLocationsSourcesUtilizationReportsService
	// contains filtered or unexported fields
}

func NewProjectsLocationsSourcesService

func NewProjectsLocationsSourcesService(s *Service) *ProjectsLocationsSourcesService

func (*ProjectsLocationsSourcesService) Create

Create: Creates a new Source in a given project and location.

- parent: The Source's parent.

func (*ProjectsLocationsSourcesService) Delete

Delete: Deletes a single Source.

- name: The Source name.

func (*ProjectsLocationsSourcesService) FetchInventory

FetchInventory: List remote source's inventory of VMs. The remote source is the onprem vCenter (remote in the sense it's not in Compute Engine). The inventory describes the list of existing VMs in that source. Note that this operation lists the VMs on the remote source, as opposed to listing the MigratingVms resources in the vmmigration service.

- source: The name of the Source.

func (*ProjectsLocationsSourcesService) Get

Get: Gets details of a single Source.

- name: The Source name.

func (*ProjectsLocationsSourcesService) List

List: Lists Sources in a given project and location.

- parent: The parent, which owns this collection of sources.

func (*ProjectsLocationsSourcesService) Patch

Patch: Updates the parameters of a single Source.

- name: Output only. The Source name.

type ProjectsLocationsSourcesUtilizationReportsCreateCall

type ProjectsLocationsSourcesUtilizationReportsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesUtilizationReportsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesUtilizationReportsCreateCall) Do

Do executes the "vmmigration.projects.locations.sources.utilizationReports.create" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesUtilizationReportsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesUtilizationReportsCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesUtilizationReportsCreateCall) RequestId

RequestId sets the optional parameter "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 since the first request. For example, consider a situation where you make an initial request and t he 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).

func (*ProjectsLocationsSourcesUtilizationReportsCreateCall) UtilizationReportId

UtilizationReportId sets the optional parameter "utilizationReportId": Required. The ID to use for the report, which will become the final component of the reports's resource name. This value maximum length is 63 characters, and valid characters are /a-z-/. It must start with an english letter and must not end with a hyphen.

type ProjectsLocationsSourcesUtilizationReportsDeleteCall

type ProjectsLocationsSourcesUtilizationReportsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesUtilizationReportsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesUtilizationReportsDeleteCall) Do

Do executes the "vmmigration.projects.locations.sources.utilizationReports.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesUtilizationReportsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesUtilizationReportsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesUtilizationReportsDeleteCall) RequestId

RequestId sets the optional parameter "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 t he 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).

type ProjectsLocationsSourcesUtilizationReportsGetCall

type ProjectsLocationsSourcesUtilizationReportsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesUtilizationReportsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesUtilizationReportsGetCall) Do

Do executes the "vmmigration.projects.locations.sources.utilizationReports.get" call. Exactly one of *UtilizationReport or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UtilizationReport.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesUtilizationReportsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesUtilizationReportsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesUtilizationReportsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsSourcesUtilizationReportsGetCall) View

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 reports request.

"BASIC" - Get the report metadata, without the list of VMs and

their utilization info.

"FULL" - Include everything.

type ProjectsLocationsSourcesUtilizationReportsListCall

type ProjectsLocationsSourcesUtilizationReportsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesUtilizationReportsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesUtilizationReportsListCall) Do

Do executes the "vmmigration.projects.locations.sources.utilizationReports.list" call. Exactly one of *ListUtilizationReportsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListUtilizationReportsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesUtilizationReportsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesUtilizationReportsListCall) Filter

Filter sets the optional parameter "filter": The filter request.

func (*ProjectsLocationsSourcesUtilizationReportsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesUtilizationReportsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsSourcesUtilizationReportsListCall) OrderBy

OrderBy sets the optional parameter "orderBy": the order by fields for the result.

func (*ProjectsLocationsSourcesUtilizationReportsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of reports to return. The service may return fewer than this value. If unspecified, at most 500 reports will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsSourcesUtilizationReportsListCall) PageToken

PageToken sets the optional parameter "pageToken": Required. A page token, received from a previous `ListUtilizationReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUtilizationReports` must match the call that provided the page token.

func (*ProjectsLocationsSourcesUtilizationReportsListCall) Pages

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

View sets the optional parameter "view": The level of details of each report. 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 reports request.

"BASIC" - Get the report metadata, without the list of VMs and

their utilization info.

"FULL" - Include everything.

type ProjectsLocationsSourcesUtilizationReportsService

type ProjectsLocationsSourcesUtilizationReportsService struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsSourcesUtilizationReportsService) Create

Create: Creates a new UtilizationReport.

- parent: The Utilization Report's parent.

func (*ProjectsLocationsSourcesUtilizationReportsService) Delete

Delete: Deletes a single Utilization Report.

- name: The Utilization Report name.

func (*ProjectsLocationsSourcesUtilizationReportsService) Get

Get: Gets a single Utilization Report.

- name: The Utilization Report name.

func (*ProjectsLocationsSourcesUtilizationReportsService) List

List: Lists Utilization Reports of the given Source.

- parent: The Utilization Reports parent.

type ProjectsLocationsTargetProjectsCreateCall

type ProjectsLocationsTargetProjectsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTargetProjectsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsTargetProjectsCreateCall) Do

Do executes the "vmmigration.projects.locations.targetProjects.create" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTargetProjectsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsTargetProjectsCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsTargetProjectsCreateCall) RequestId

RequestId sets the optional parameter "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 since the first request. For example, consider a situation where you make an initial request and t he 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).

func (*ProjectsLocationsTargetProjectsCreateCall) TargetProjectId

TargetProjectId sets the optional parameter "targetProjectId": Required. The target_project identifier.

type ProjectsLocationsTargetProjectsDeleteCall

type ProjectsLocationsTargetProjectsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTargetProjectsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsTargetProjectsDeleteCall) Do

Do executes the "vmmigration.projects.locations.targetProjects.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTargetProjectsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsTargetProjectsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsTargetProjectsDeleteCall) RequestId

RequestId sets the optional parameter "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 t he 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).

type ProjectsLocationsTargetProjectsGetCall

type ProjectsLocationsTargetProjectsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTargetProjectsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsTargetProjectsGetCall) Do

Do executes the "vmmigration.projects.locations.targetProjects.get" call. Exactly one of *TargetProject or error will be non-nil. 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 check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTargetProjectsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsTargetProjectsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsTargetProjectsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsTargetProjectsListCall

type ProjectsLocationsTargetProjectsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTargetProjectsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsTargetProjectsListCall) Do

Do executes the "vmmigration.projects.locations.targetProjects.list" call. Exactly one of *ListTargetProjectsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListTargetProjectsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTargetProjectsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsTargetProjectsListCall) Filter

Filter sets the optional parameter "filter": The filter request.

func (*ProjectsLocationsTargetProjectsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsTargetProjectsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsTargetProjectsListCall) OrderBy

OrderBy sets the optional parameter "orderBy": the order by fields for the result.

func (*ProjectsLocationsTargetProjectsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of targets to return. The service may return fewer than this value. If unspecified, at most 500 targets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsTargetProjectsListCall) PageToken

PageToken sets the optional parameter "pageToken": Required. A page token, received from a previous `ListTargets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTargets` must match the call that provided the page token.

func (*ProjectsLocationsTargetProjectsListCall) Pages

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.

type ProjectsLocationsTargetProjectsPatchCall

type ProjectsLocationsTargetProjectsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTargetProjectsPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsTargetProjectsPatchCall) Do

Do executes the "vmmigration.projects.locations.targetProjects.patch" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTargetProjectsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsTargetProjectsPatchCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsTargetProjectsPatchCall) RequestId

RequestId sets the optional parameter "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 since the first request. For example, consider a situation where you make an initial request and t he 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).

func (*ProjectsLocationsTargetProjectsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the TargetProject resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

type ProjectsLocationsTargetProjectsService

type ProjectsLocationsTargetProjectsService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsTargetProjectsService

func NewProjectsLocationsTargetProjectsService(s *Service) *ProjectsLocationsTargetProjectsService

func (*ProjectsLocationsTargetProjectsService) Create

Create: Creates a new TargetProject in a given project. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`.

- parent: The TargetProject's parent.

func (*ProjectsLocationsTargetProjectsService) Delete

Delete: Deletes a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`.

- name: The TargetProject name.

func (*ProjectsLocationsTargetProjectsService) Get

Get: Gets details of a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`.

- name: The TargetProject name.

func (*ProjectsLocationsTargetProjectsService) List

List: Lists TargetProjects in a given project. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`.

- parent: The parent, which owns this collection of targets.

func (*ProjectsLocationsTargetProjectsService) Patch

Patch: Updates the parameters of a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`.

- name: Output only. The name of the target project.

type ProjectsService

type ProjectsService struct {
	Locations *ProjectsLocationsService
	// contains filtered or unexported fields
}

func NewProjectsService

func NewProjectsService(s *Service) *ProjectsService

type RemoveGroupMigrationRequest

type RemoveGroupMigrationRequest struct {
	// MigratingVm: The MigratingVm to remove.
	MigratingVm string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

RemoveGroupMigrationRequest: Request message for 'RemoveMigration' request.

func (*RemoveGroupMigrationRequest) MarshalJSON

func (s *RemoveGroupMigrationRequest) MarshalJSON() ([]byte, error)

type ReplicatingStep added in v0.67.0

type ReplicatingStep struct {
	// LastThirtyMinutesAverageBytesPerSecond: The source disks replication
	// rate for the last 30 minutes in bytes per second.
	LastThirtyMinutesAverageBytesPerSecond int64 `json:"lastThirtyMinutesAverageBytesPerSecond,omitempty,string"`

	// LastTwoMinutesAverageBytesPerSecond: The source disks replication
	// rate for the last 2 minutes in bytes per second.
	LastTwoMinutesAverageBytesPerSecond int64 `json:"lastTwoMinutesAverageBytesPerSecond,omitempty,string"`

	// ReplicatedBytes: Replicated bytes in the step.
	ReplicatedBytes int64 `json:"replicatedBytes,omitempty,string"`

	// TotalBytes: Total bytes to be handled in the step.
	TotalBytes int64 `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. However, any non-pointer, non-interface
	// field appearing in ForceSendFields will be sent to the server
	// regardless of whether the field is empty or not. This may be used to
	// include empty fields in Patch requests.
	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. However, any field with an empty value
	// appearing in NullFields will be sent to the server as null. It is an
	// error if a field in this list has a non-empty value. This may be used
	// to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ReplicatingStep: ReplicatingStep contains specific step details.

func (*ReplicatingStep) MarshalJSON added in v0.67.0

func (s *ReplicatingStep) MarshalJSON() ([]byte, error)

type ReplicationCycle

type ReplicationCycle struct {
	// Progress: The current progress in percentage of this cycle.
	Progress int64 `json:"progress,omitempty"`

	// ProgressPercent: The current progress in percentage of this cycle.
	ProgressPercent int64 `json:"progressPercent,omitempty"`

	// StartTime: The time the replication cycle has started.
	StartTime string `json:"startTime,omitempty"`

	// Steps: The cycle's steps list reflecting its progress.
	Steps []*CycleStep `json:"steps,omitempty"`

	// TotalPauseDuration: The accumulated duration the replication cycle
	// was paused.
	TotalPauseDuration string `json:"totalPauseDuration,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Progress") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Progress") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ReplicationCycle: ReplicationCycle contains information about the current replication cycle status.

func (*ReplicationCycle) MarshalJSON

func (s *ReplicationCycle) MarshalJSON() ([]byte, error)

type ReplicationSync

type ReplicationSync struct {
	// LastSyncTime: The most updated snapshot created time in the source
	// that finished replication.
	LastSyncTime string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ReplicationSync: ReplicationSync contain information about the last replica sync to the cloud.

func (*ReplicationSync) MarshalJSON

func (s *ReplicationSync) MarshalJSON() ([]byte, error)

type ResumeMigrationRequest

type ResumeMigrationRequest struct {
}

ResumeMigrationRequest: Request message for 'ResumeMigration' request.

type SchedulePolicy

type SchedulePolicy struct {
	// IdleDuration: The idle duration between replication stages.
	IdleDuration string `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.
	SkipOsAdaptation bool `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

SchedulePolicy: A policy for scheduling replications.

func (*SchedulePolicy) MarshalJSON

func (s *SchedulePolicy) MarshalJSON() ([]byte, error)

type SchedulingNodeAffinity

type SchedulingNodeAffinity struct {
	// Key: The label key of Node resource to reference.
	Key string `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.
	Operator string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

SchedulingNodeAffinity: Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling

func (*SchedulingNodeAffinity) MarshalJSON

func (s *SchedulingNodeAffinity) MarshalJSON() ([]byte, error)

type Service

type Service struct {
	BasePath  string // API endpoint base URL
	UserAgent string // optional additional User-Agent fragment

	Projects *ProjectsService
	// contains filtered or unexported fields
}

func New deprecated

func New(client *http.Client) (*Service, error)

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.

func NewService

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

NewService creates a new Service.

type Source

type Source struct {
	// CreateTime: Output only. The create time timestamp.
	CreateTime string `json:"createTime,omitempty"`

	// Description: User-provided description of the source.
	Description string `json:"description,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.
	Name string `json:"name,omitempty"`

	// UpdateTime: Output only. The update time timestamp.
	UpdateTime string `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. "CreateTime") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Source: Source message describes a specific vm migration Source resource. It contains the source environment information.

func (*Source) MarshalJSON

func (s *Source) MarshalJSON() ([]byte, error)

type StartMigrationRequest

type StartMigrationRequest struct {
}

StartMigrationRequest: Request message for 'StartMigrationRequest' request.

type Status

type Status struct {
	// Code: The status code, which should be an enum value of
	// google.rpc.Code.
	Code int64 `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.
	Message string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).

func (*Status) MarshalJSON

func (s *Status) MarshalJSON() ([]byte, error)

type TargetProject

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).
	CreateTime string `json:"createTime,omitempty"`

	// Description: The target project's description.
	Description string `json:"description,omitempty"`

	// Name: Output only. The name of the target project.
	Name string `json:"name,omitempty"`

	// Project: The target project ID (number) or project name.
	Project string `json:"project,omitempty"`

	// UpdateTime: Output only. The last time the target project resource
	// was updated.
	UpdateTime string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

TargetProject: TargetProject message represents a target Compute Engine project for a migration or a clone.

func (*TargetProject) MarshalJSON

func (s *TargetProject) MarshalJSON() ([]byte, error)

type TargetVMDetails

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.
	BootOption string `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.
	DiskType string `json:"diskType,omitempty"`

	// ExternalIp: The external IP to define in the VM.
	ExternalIp string `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.
	InternalIp string `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.
	LicenseType string `json:"licenseType,omitempty"`

	// MachineType: The machine type to create the VM with.
	MachineType string `json:"machineType,omitempty"`

	// MachineTypeSeries: The machine type series to create the VM with.
	MachineTypeSeries string `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.
	Name string `json:"name,omitempty"`

	// Network: The network to connect the VM to.
	Network string `json:"network,omitempty"`

	// NetworkInterfaces: List of NICs connected to this VM.
	NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty"`

	// NetworkTags: A map of network tags to associate with the VM.
	NetworkTags []string `json:"networkTags,omitempty"`

	// Project: Output only. The project in which to create the VM.
	Project string `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.
	SecureBoot bool `json:"secureBoot,omitempty"`

	// ServiceAccount: The service account to associate the VM with.
	ServiceAccount string `json:"serviceAccount,omitempty"`

	// Subnetwork: The subnetwork to connect the VM to.
	Subnetwork string `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.
	TargetProject string `json:"targetProject,omitempty"`

	// Zone: The zone in which to create the VM.
	Zone string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

TargetVMDetails: TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project.

func (*TargetVMDetails) MarshalJSON

func (s *TargetVMDetails) MarshalJSON() ([]byte, error)

type UpgradeApplianceRequest added in v0.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 t he 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).
	RequestId string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

UpgradeApplianceRequest: Request message for 'UpgradeAppliance' request.

func (*UpgradeApplianceRequest) MarshalJSON added in v0.69.0

func (s *UpgradeApplianceRequest) MarshalJSON() ([]byte, error)

type UpgradeStatus added in v0.69.0

type UpgradeStatus struct {
	// Error: 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.
	PreviousVersion string `json:"previousVersion,omitempty"`

	// StartTime: The time the operation was started.
	StartTime string `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.
	State string `json:"state,omitempty"`

	// Version: The version to upgrade to.
	Version string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

UpgradeStatus: UpgradeStatus contains information about upgradeAppliance operation.

func (*UpgradeStatus) MarshalJSON added in v0.69.0

func (s *UpgradeStatus) MarshalJSON() ([]byte, error)

type UtilizationReport

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).
	CreateTime string `json:"createTime,omitempty"`

	// DisplayName: The report display name, as assigned by the user.
	DisplayName string `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.
	FrameEndTime string `json:"frameEndTime,omitempty"`

	// Name: Output only. The report unique name.
	Name string `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.
	State string `json:"state,omitempty"`

	// StateTime: Output only. The time the state was last set.
	StateTime string `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.
	TimeFrame string `json:"timeFrame,omitempty"`

	// VmCount: Output only. Total number of VMs included in the report.
	VmCount int64 `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.
	VmsCount int64 `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

UtilizationReport: Utilization report details the utilization (CPU, memory, etc.) of selected source VMs.

func (*UtilizationReport) MarshalJSON

func (s *UtilizationReport) MarshalJSON() ([]byte, error)

type VmUtilizationInfo

type VmUtilizationInfo struct {
	// Utilization: Utilization metrics for this VM.
	Utilization *VmUtilizationMetrics `json:"utilization,omitempty"`

	// VmId: The VM's ID in the source.
	VmId string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

VmUtilizationInfo: Utilization information of a single VM.

func (*VmUtilizationInfo) MarshalJSON

func (s *VmUtilizationInfo) MarshalJSON() ([]byte, error)

type VmUtilizationMetrics

type VmUtilizationMetrics struct {
	// CpuAverage: Average CPU usage, percent.
	CpuAverage int64 `json:"cpuAverage,omitempty"`

	// CpuAveragePercent: Average CPU usage, percent.
	CpuAveragePercent int64 `json:"cpuAveragePercent,omitempty"`

	// CpuMax: Max CPU usage, percent.
	CpuMax int64 `json:"cpuMax,omitempty"`

	// CpuMaxPercent: Max CPU usage, percent.
	CpuMaxPercent int64 `json:"cpuMaxPercent,omitempty"`

	// DiskIoRateAverage: Average disk IO rate, in kilobytes per second.
	DiskIoRateAverage int64 `json:"diskIoRateAverage,omitempty,string"`

	// DiskIoRateAverageKbps: Average disk IO rate, in kilobytes per second.
	DiskIoRateAverageKbps int64 `json:"diskIoRateAverageKbps,omitempty,string"`

	// DiskIoRateMax: Max disk IO rate, in kilobytes per second.
	DiskIoRateMax int64 `json:"diskIoRateMax,omitempty,string"`

	// DiskIoRateMaxKbps: Max disk IO rate, in kilobytes per second.
	DiskIoRateMaxKbps int64 `json:"diskIoRateMaxKbps,omitempty,string"`

	// MemoryAverage: Average memory usage, percent.
	MemoryAverage int64 `json:"memoryAverage,omitempty"`

	// MemoryAveragePercent: Average memory usage, percent.
	MemoryAveragePercent int64 `json:"memoryAveragePercent,omitempty"`

	// MemoryMax: Max memory usage, percent.
	MemoryMax int64 `json:"memoryMax,omitempty"`

	// MemoryMaxPercent: Max memory usage, percent.
	MemoryMaxPercent int64 `json:"memoryMaxPercent,omitempty"`

	// NetworkThroughputAverage: Average network throughput (combined
	// transmit-rates and receive-rates), in kilobytes per second.
	NetworkThroughputAverage int64 `json:"networkThroughputAverage,omitempty,string"`

	// NetworkThroughputAverageKbps: Average network throughput (combined
	// transmit-rates and receive-rates), in kilobytes per second.
	NetworkThroughputAverageKbps int64 `json:"networkThroughputAverageKbps,omitempty,string"`

	// NetworkThroughputMax: Max network throughput (combined transmit-rates
	// and receive-rates), in kilobytes per second.
	NetworkThroughputMax int64 `json:"networkThroughputMax,omitempty,string"`

	// NetworkThroughputMaxKbps: Max network throughput (combined
	// transmit-rates and receive-rates), in kilobytes per second.
	NetworkThroughputMaxKbps int64 `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

VmUtilizationMetrics: Utilization metrics values for a single VM.

func (*VmUtilizationMetrics) MarshalJSON

func (s *VmUtilizationMetrics) MarshalJSON() ([]byte, error)

type VmwareSourceDetails

type VmwareSourceDetails struct {
	// Password: Input only. The credentials password. This is write only
	// and can not be read in a GET operation.
	Password string `json:"password,omitempty"`

	// Thumbprint: The thumbprint representing the certificate for the
	// vcenter.
	Thumbprint string `json:"thumbprint,omitempty"`

	// Username: The credentials username.
	Username string `json:"username,omitempty"`

	// VcenterIp: The ip address of the vcenter this Source represents.
	VcenterIp string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

VmwareSourceDetails: VmwareSourceDetails message describes a specific source details for the vmware source type.

func (*VmwareSourceDetails) MarshalJSON

func (s *VmwareSourceDetails) MarshalJSON() ([]byte, error)

type VmwareVmDetails

type VmwareVmDetails struct {
	// 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.
	BootOption string `json:"bootOption,omitempty"`

	// CommittedStorage: The total size of the storage allocated to the VM
	// in MB.
	CommittedStorage int64 `json:"committedStorage,omitempty,string"`

	// CommittedStorageMb: The total size of the storage allocated to the VM
	// in MB.
	CommittedStorageMb int64 `json:"committedStorageMb,omitempty,string"`

	// CpuCount: The number of cpus in the VM.
	CpuCount int64 `json:"cpuCount,omitempty"`

	// DatacenterDescription: The descriptive name of the vCenter's
	// datacenter this VM is contained in.
	DatacenterDescription string `json:"datacenterDescription,omitempty"`

	// DatacenterId: The id of the vCenter's datacenter this VM is contained
	// in.
	DatacenterId string `json:"datacenterId,omitempty"`

	// DiskCount: The number of disks the VM has.
	DiskCount int64 `json:"diskCount,omitempty"`

	// DisplayName: The display name of the VM. Note that this is not
	// necessarily unique.
	DisplayName string `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.
	GuestDescription string `json:"guestDescription,omitempty"`

	// MemoryMb: The size of the memory of the VM in MB.
	MemoryMb int64 `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.
	PowerState string `json:"powerState,omitempty"`

	// Uuid: The unique identifier of the VM in vCenter.
	Uuid string `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.
	VmId string `json:"vmId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "BootOption") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "BootOption") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

VmwareVmDetails: VmwareVmDetails describes a VM in vCenter.

func (*VmwareVmDetails) MarshalJSON

func (s *VmwareVmDetails) MarshalJSON() ([]byte, error)

type VmwareVmsDetails

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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

VmwareVmsDetails: VmwareVmsDetails describes VMs in vCenter.

func (*VmwareVmsDetails) MarshalJSON

func (s *VmwareVmsDetails) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL