rapidmigrationassessmentpb

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Collector_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STATE_INITIALIZING",
		2: "STATE_READY_TO_USE",
		3: "STATE_REGISTERED",
		4: "STATE_ACTIVE",
		5: "STATE_PAUSED",
		6: "STATE_DELETING",
		7: "STATE_DECOMMISSIONED",
		8: "STATE_ERROR",
	}
	Collector_State_value = map[string]int32{
		"STATE_UNSPECIFIED":    0,
		"STATE_INITIALIZING":   1,
		"STATE_READY_TO_USE":   2,
		"STATE_REGISTERED":     3,
		"STATE_ACTIVE":         4,
		"STATE_PAUSED":         5,
		"STATE_DELETING":       6,
		"STATE_DECOMMISSIONED": 7,
		"STATE_ERROR":          8,
	}
)

Enum value maps for Collector_State.

View Source
var (
	Annotation_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_LEGACY_EXPORT_CONSENT",
		2: "TYPE_QWIKLAB",
	}
	Annotation_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":           0,
		"TYPE_LEGACY_EXPORT_CONSENT": 1,
		"TYPE_QWIKLAB":               2,
	}
)

Enum value maps for Annotation_Type.

View Source
var File_google_cloud_rapidmigrationassessment_v1_api_entities_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_rapidmigrationassessment_v1_rapidmigrationassessment_proto protoreflect.FileDescriptor

Functions

func RegisterRapidMigrationAssessmentServer

func RegisterRapidMigrationAssessmentServer(s *grpc.Server, srv RapidMigrationAssessmentServer)

Types

type Annotation

type Annotation struct {

	// name of resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Create time stamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Update time stamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Labels as key value pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Type of an annotation.
	Type Annotation_Type `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.rapidmigrationassessment.v1.Annotation_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Message describing an Annotation

func (*Annotation) Descriptor deprecated

func (*Annotation) Descriptor() ([]byte, []int)

Deprecated: Use Annotation.ProtoReflect.Descriptor instead.

func (*Annotation) GetCreateTime

func (x *Annotation) GetCreateTime() *timestamppb.Timestamp

func (*Annotation) GetLabels

func (x *Annotation) GetLabels() map[string]string

func (*Annotation) GetName

func (x *Annotation) GetName() string

func (*Annotation) GetType

func (x *Annotation) GetType() Annotation_Type

func (*Annotation) GetUpdateTime

func (x *Annotation) GetUpdateTime() *timestamppb.Timestamp

func (*Annotation) ProtoMessage

func (*Annotation) ProtoMessage()

func (*Annotation) ProtoReflect

func (x *Annotation) ProtoReflect() protoreflect.Message

func (*Annotation) Reset

func (x *Annotation) Reset()

func (*Annotation) String

func (x *Annotation) String() string

type Annotation_Type

type Annotation_Type int32

Types for project level setting.

const (
	// Unknown type
	Annotation_TYPE_UNSPECIFIED Annotation_Type = 0
	// Indicates that this project has opted into StratoZone export.
	Annotation_TYPE_LEGACY_EXPORT_CONSENT Annotation_Type = 1
	// Indicates that this project is created by Qwiklab.
	Annotation_TYPE_QWIKLAB Annotation_Type = 2
)

func (Annotation_Type) Descriptor

func (Annotation_Type) Enum

func (x Annotation_Type) Enum() *Annotation_Type

func (Annotation_Type) EnumDescriptor deprecated

func (Annotation_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Annotation_Type.Descriptor instead.

func (Annotation_Type) Number

func (Annotation_Type) String

func (x Annotation_Type) String() string

func (Annotation_Type) Type

type Collector

type Collector struct {

	// name of resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Create time stamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Update time stamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Labels as key value pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// User specified name of the Collector.
	DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// User specified description of the Collector.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// Service Account email used to ingest data to this Collector.
	ServiceAccount string `protobuf:"bytes,7,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// Output only. Store cloud storage bucket name (which is a guid) created with
	// this Collector.
	Bucket string `protobuf:"bytes,8,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// User specified expected asset count.
	ExpectedAssetCount int64 `protobuf:"varint,9,opt,name=expected_asset_count,json=expectedAssetCount,proto3" json:"expected_asset_count,omitempty"`
	// Output only. State of the Collector.
	State Collector_State `` /* 127-byte string literal not displayed */
	// Output only. Client version.
	ClientVersion string `protobuf:"bytes,11,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
	// Output only. Reference to MC Source Guest Os Scan.
	GuestOsScan *GuestOsScan `protobuf:"bytes,12,opt,name=guest_os_scan,json=guestOsScan,proto3" json:"guest_os_scan,omitempty"`
	// Output only. Reference to MC Source vsphere_scan.
	VsphereScan *VSphereScan `protobuf:"bytes,13,opt,name=vsphere_scan,json=vsphereScan,proto3" json:"vsphere_scan,omitempty"`
	// How many days to collect data.
	CollectionDays int32 `protobuf:"varint,14,opt,name=collection_days,json=collectionDays,proto3" json:"collection_days,omitempty"`
	// Uri for EULA (End User License Agreement) from customer.
	EulaUri string `protobuf:"bytes,15,opt,name=eula_uri,json=eulaUri,proto3" json:"eula_uri,omitempty"`
	// contains filtered or unexported fields
}

Message describing Collector object.

func (*Collector) Descriptor deprecated

func (*Collector) Descriptor() ([]byte, []int)

Deprecated: Use Collector.ProtoReflect.Descriptor instead.

func (*Collector) GetBucket

func (x *Collector) GetBucket() string

func (*Collector) GetClientVersion

func (x *Collector) GetClientVersion() string

func (*Collector) GetCollectionDays

func (x *Collector) GetCollectionDays() int32

func (*Collector) GetCreateTime

func (x *Collector) GetCreateTime() *timestamppb.Timestamp

func (*Collector) GetDescription

func (x *Collector) GetDescription() string

func (*Collector) GetDisplayName

func (x *Collector) GetDisplayName() string

func (*Collector) GetEulaUri

func (x *Collector) GetEulaUri() string

func (*Collector) GetExpectedAssetCount

func (x *Collector) GetExpectedAssetCount() int64

func (*Collector) GetGuestOsScan

func (x *Collector) GetGuestOsScan() *GuestOsScan

func (*Collector) GetLabels

func (x *Collector) GetLabels() map[string]string

func (*Collector) GetName

func (x *Collector) GetName() string

func (*Collector) GetServiceAccount

func (x *Collector) GetServiceAccount() string

func (*Collector) GetState

func (x *Collector) GetState() Collector_State

func (*Collector) GetUpdateTime

func (x *Collector) GetUpdateTime() *timestamppb.Timestamp

func (*Collector) GetVsphereScan

func (x *Collector) GetVsphereScan() *VSphereScan

func (*Collector) ProtoMessage

func (*Collector) ProtoMessage()

func (*Collector) ProtoReflect

func (x *Collector) ProtoReflect() protoreflect.Message

func (*Collector) Reset

func (x *Collector) Reset()

func (*Collector) String

func (x *Collector) String() string

type Collector_State

type Collector_State int32

-- Using suggestion from API Linter Analyzer for nesting enum -- -- https://linter.aip.dev/216/nesting -- State of a Collector (server_side). States are used for internal purposes and named to keep convention of legacy product: https://cloud.google.com/migrate/stratozone/docs/about-stratoprobe.

const (
	// Collector state is not recognized.
	Collector_STATE_UNSPECIFIED Collector_State = 0
	// Collector started to create, but hasn't been completed MC source creation
	// and db object creation.
	Collector_STATE_INITIALIZING Collector_State = 1
	// Collector has been created, MC source creation and db object creation
	// completed.
	Collector_STATE_READY_TO_USE Collector_State = 2
	// Collector client has been registered with client.
	Collector_STATE_REGISTERED Collector_State = 3
	// Collector client is actively scanning.
	Collector_STATE_ACTIVE Collector_State = 4
	// Collector is not actively scanning.
	Collector_STATE_PAUSED Collector_State = 5
	// Collector is starting background job for deletion.
	Collector_STATE_DELETING Collector_State = 6
	// Collector completed all tasks for deletion.
	Collector_STATE_DECOMMISSIONED Collector_State = 7
	// Collector is in error state.
	Collector_STATE_ERROR Collector_State = 8
)

func (Collector_State) Descriptor

func (Collector_State) Enum

func (x Collector_State) Enum() *Collector_State

func (Collector_State) EnumDescriptor deprecated

func (Collector_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Collector_State.Descriptor instead.

func (Collector_State) Number

func (Collector_State) String

func (x Collector_State) String() string

func (Collector_State) Type

type CreateAnnotationRequest

type CreateAnnotationRequest struct {

	// Required. Name of the parent (project+location).
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The resource being created.
	Annotation *Annotation `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"`
	// Optional. An optional request ID to identify requests.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Message for creating an AnnotationS.

func (*CreateAnnotationRequest) Descriptor deprecated

func (*CreateAnnotationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAnnotationRequest.ProtoReflect.Descriptor instead.

func (*CreateAnnotationRequest) GetAnnotation

func (x *CreateAnnotationRequest) GetAnnotation() *Annotation

func (*CreateAnnotationRequest) GetParent

func (x *CreateAnnotationRequest) GetParent() string

func (*CreateAnnotationRequest) GetRequestId

func (x *CreateAnnotationRequest) GetRequestId() string

func (*CreateAnnotationRequest) ProtoMessage

func (*CreateAnnotationRequest) ProtoMessage()

func (*CreateAnnotationRequest) ProtoReflect

func (x *CreateAnnotationRequest) ProtoReflect() protoreflect.Message

func (*CreateAnnotationRequest) Reset

func (x *CreateAnnotationRequest) Reset()

func (*CreateAnnotationRequest) String

func (x *CreateAnnotationRequest) String() string

type CreateCollectorRequest

type CreateCollectorRequest struct {

	// Required. Name of the parent (project+location).
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Id of the requesting object.
	CollectorId string `protobuf:"bytes,2,opt,name=collector_id,json=collectorId,proto3" json:"collector_id,omitempty"`
	// Required. The resource being created.
	Collector *Collector `protobuf:"bytes,3,opt,name=collector,proto3" json:"collector,omitempty"`
	// Optional. An optional request ID to identify requests.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Message for creating a Collector.

func (*CreateCollectorRequest) Descriptor deprecated

func (*CreateCollectorRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateCollectorRequest.ProtoReflect.Descriptor instead.

func (*CreateCollectorRequest) GetCollector

func (x *CreateCollectorRequest) GetCollector() *Collector

func (*CreateCollectorRequest) GetCollectorId

func (x *CreateCollectorRequest) GetCollectorId() string

func (*CreateCollectorRequest) GetParent

func (x *CreateCollectorRequest) GetParent() string

func (*CreateCollectorRequest) GetRequestId

func (x *CreateCollectorRequest) GetRequestId() string

func (*CreateCollectorRequest) ProtoMessage

func (*CreateCollectorRequest) ProtoMessage()

func (*CreateCollectorRequest) ProtoReflect

func (x *CreateCollectorRequest) ProtoReflect() protoreflect.Message

func (*CreateCollectorRequest) Reset

func (x *CreateCollectorRequest) Reset()

func (*CreateCollectorRequest) String

func (x *CreateCollectorRequest) String() string

type DeleteCollectorRequest

type DeleteCollectorRequest struct {

	// Required. Name of the resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Message for deleting a Collector.

func (*DeleteCollectorRequest) Descriptor deprecated

func (*DeleteCollectorRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCollectorRequest.ProtoReflect.Descriptor instead.

func (*DeleteCollectorRequest) GetName

func (x *DeleteCollectorRequest) GetName() string

func (*DeleteCollectorRequest) GetRequestId

func (x *DeleteCollectorRequest) GetRequestId() string

func (*DeleteCollectorRequest) ProtoMessage

func (*DeleteCollectorRequest) ProtoMessage()

func (*DeleteCollectorRequest) ProtoReflect

func (x *DeleteCollectorRequest) ProtoReflect() protoreflect.Message

func (*DeleteCollectorRequest) Reset

func (x *DeleteCollectorRequest) Reset()

func (*DeleteCollectorRequest) String

func (x *DeleteCollectorRequest) String() string

type GetAnnotationRequest

type GetAnnotationRequest struct {

	// Required. Name of the resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for getting a specific Annotation

func (*GetAnnotationRequest) Descriptor deprecated

func (*GetAnnotationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAnnotationRequest.ProtoReflect.Descriptor instead.

func (*GetAnnotationRequest) GetName

func (x *GetAnnotationRequest) GetName() string

func (*GetAnnotationRequest) ProtoMessage

func (*GetAnnotationRequest) ProtoMessage()

func (*GetAnnotationRequest) ProtoReflect

func (x *GetAnnotationRequest) ProtoReflect() protoreflect.Message

func (*GetAnnotationRequest) Reset

func (x *GetAnnotationRequest) Reset()

func (*GetAnnotationRequest) String

func (x *GetAnnotationRequest) String() string

type GetCollectorRequest

type GetCollectorRequest struct {

	// Required. Name of the resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for getting a specific Collector.

func (*GetCollectorRequest) Descriptor deprecated

func (*GetCollectorRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCollectorRequest.ProtoReflect.Descriptor instead.

func (*GetCollectorRequest) GetName

func (x *GetCollectorRequest) GetName() string

func (*GetCollectorRequest) ProtoMessage

func (*GetCollectorRequest) ProtoMessage()

func (*GetCollectorRequest) ProtoReflect

func (x *GetCollectorRequest) ProtoReflect() protoreflect.Message

func (*GetCollectorRequest) Reset

func (x *GetCollectorRequest) Reset()

func (*GetCollectorRequest) String

func (x *GetCollectorRequest) String() string

type GuestOsScan

type GuestOsScan struct {

	// reference to the corresponding Guest OS Scan in MC Source.
	CoreSource string `protobuf:"bytes,1,opt,name=core_source,json=coreSource,proto3" json:"core_source,omitempty"`
	// contains filtered or unexported fields
}

Message describing a MC Source of type Guest OS Scan.

func (*GuestOsScan) Descriptor deprecated

func (*GuestOsScan) Descriptor() ([]byte, []int)

Deprecated: Use GuestOsScan.ProtoReflect.Descriptor instead.

func (*GuestOsScan) GetCoreSource

func (x *GuestOsScan) GetCoreSource() string

func (*GuestOsScan) ProtoMessage

func (*GuestOsScan) ProtoMessage()

func (*GuestOsScan) ProtoReflect

func (x *GuestOsScan) ProtoReflect() protoreflect.Message

func (*GuestOsScan) Reset

func (x *GuestOsScan) Reset()

func (*GuestOsScan) String

func (x *GuestOsScan) String() string

type ListCollectorsRequest

type ListCollectorsRequest struct {

	// Required. Parent value for ListCollectorsRequest.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer items than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Filtering results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Hint for how to order the results.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting list of Collectors.

func (*ListCollectorsRequest) Descriptor deprecated

func (*ListCollectorsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListCollectorsRequest.ProtoReflect.Descriptor instead.

func (*ListCollectorsRequest) GetFilter

func (x *ListCollectorsRequest) GetFilter() string

func (*ListCollectorsRequest) GetOrderBy

func (x *ListCollectorsRequest) GetOrderBy() string

func (*ListCollectorsRequest) GetPageSize

func (x *ListCollectorsRequest) GetPageSize() int32

func (*ListCollectorsRequest) GetPageToken

func (x *ListCollectorsRequest) GetPageToken() string

func (*ListCollectorsRequest) GetParent

func (x *ListCollectorsRequest) GetParent() string

func (*ListCollectorsRequest) ProtoMessage

func (*ListCollectorsRequest) ProtoMessage()

func (*ListCollectorsRequest) ProtoReflect

func (x *ListCollectorsRequest) ProtoReflect() protoreflect.Message

func (*ListCollectorsRequest) Reset

func (x *ListCollectorsRequest) Reset()

func (*ListCollectorsRequest) String

func (x *ListCollectorsRequest) String() string

type ListCollectorsResponse

type ListCollectorsResponse struct {

	// The list of Collectors.
	Collectors []*Collector `protobuf:"bytes,1,rep,name=collectors,proto3" json:"collectors,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Message for response to listing Collectors.

func (*ListCollectorsResponse) Descriptor deprecated

func (*ListCollectorsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListCollectorsResponse.ProtoReflect.Descriptor instead.

func (*ListCollectorsResponse) GetCollectors

func (x *ListCollectorsResponse) GetCollectors() []*Collector

func (*ListCollectorsResponse) GetNextPageToken

func (x *ListCollectorsResponse) GetNextPageToken() string

func (*ListCollectorsResponse) GetUnreachable

func (x *ListCollectorsResponse) GetUnreachable() []string

func (*ListCollectorsResponse) ProtoMessage

func (*ListCollectorsResponse) ProtoMessage()

func (*ListCollectorsResponse) ProtoReflect

func (x *ListCollectorsResponse) ProtoReflect() protoreflect.Message

func (*ListCollectorsResponse) Reset

func (x *ListCollectorsResponse) Reset()

func (*ListCollectorsResponse) String

func (x *ListCollectorsResponse) String() string

type OperationMetadata

type OperationMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Output only. Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Output only. Human-readable status of the operation, if any.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// 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][google.rpc.Status.code] of 1, corresponding to
	// `Code.CANCELLED`.
	RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. API version used to start the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Represents the metadata of the long-running operation.

func (*OperationMetadata) Descriptor deprecated

func (*OperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp

func (*OperationMetadata) GetEndTime

func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

func (x *OperationMetadata) ProtoReflect() protoreflect.Message

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type PauseCollectorRequest

type PauseCollectorRequest struct {

	// Required. Name of the resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Message for pausing a Collector.

func (*PauseCollectorRequest) Descriptor deprecated

func (*PauseCollectorRequest) Descriptor() ([]byte, []int)

Deprecated: Use PauseCollectorRequest.ProtoReflect.Descriptor instead.

func (*PauseCollectorRequest) GetName

func (x *PauseCollectorRequest) GetName() string

func (*PauseCollectorRequest) GetRequestId

func (x *PauseCollectorRequest) GetRequestId() string

func (*PauseCollectorRequest) ProtoMessage

func (*PauseCollectorRequest) ProtoMessage()

func (*PauseCollectorRequest) ProtoReflect

func (x *PauseCollectorRequest) ProtoReflect() protoreflect.Message

func (*PauseCollectorRequest) Reset

func (x *PauseCollectorRequest) Reset()

func (*PauseCollectorRequest) String

func (x *PauseCollectorRequest) String() string

type RapidMigrationAssessmentClient

type RapidMigrationAssessmentClient interface {
	// Create a Collector to manage the on-prem appliance which collects
	// information about Customer assets.
	CreateCollector(ctx context.Context, in *CreateCollectorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Creates an Annotation
	CreateAnnotation(ctx context.Context, in *CreateAnnotationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets details of a single Annotation.
	GetAnnotation(ctx context.Context, in *GetAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error)
	// Lists Collectors in a given project and location.
	ListCollectors(ctx context.Context, in *ListCollectorsRequest, opts ...grpc.CallOption) (*ListCollectorsResponse, error)
	// Gets details of a single Collector.
	GetCollector(ctx context.Context, in *GetCollectorRequest, opts ...grpc.CallOption) (*Collector, error)
	// Updates the parameters of a single Collector.
	UpdateCollector(ctx context.Context, in *UpdateCollectorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single Collector - changes state of collector to "Deleting".
	// Background jobs does final deletion thorugh producer api.
	DeleteCollector(ctx context.Context, in *DeleteCollectorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Resumes the given collector.
	ResumeCollector(ctx context.Context, in *ResumeCollectorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Registers the given collector.
	RegisterCollector(ctx context.Context, in *RegisterCollectorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Pauses the given collector.
	PauseCollector(ctx context.Context, in *PauseCollectorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

RapidMigrationAssessmentClient is the client API for RapidMigrationAssessment service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type RapidMigrationAssessmentServer

type RapidMigrationAssessmentServer interface {
	// Create a Collector to manage the on-prem appliance which collects
	// information about Customer assets.
	CreateCollector(context.Context, *CreateCollectorRequest) (*longrunningpb.Operation, error)
	// Creates an Annotation
	CreateAnnotation(context.Context, *CreateAnnotationRequest) (*longrunningpb.Operation, error)
	// Gets details of a single Annotation.
	GetAnnotation(context.Context, *GetAnnotationRequest) (*Annotation, error)
	// Lists Collectors in a given project and location.
	ListCollectors(context.Context, *ListCollectorsRequest) (*ListCollectorsResponse, error)
	// Gets details of a single Collector.
	GetCollector(context.Context, *GetCollectorRequest) (*Collector, error)
	// Updates the parameters of a single Collector.
	UpdateCollector(context.Context, *UpdateCollectorRequest) (*longrunningpb.Operation, error)
	// Deletes a single Collector - changes state of collector to "Deleting".
	// Background jobs does final deletion thorugh producer api.
	DeleteCollector(context.Context, *DeleteCollectorRequest) (*longrunningpb.Operation, error)
	// Resumes the given collector.
	ResumeCollector(context.Context, *ResumeCollectorRequest) (*longrunningpb.Operation, error)
	// Registers the given collector.
	RegisterCollector(context.Context, *RegisterCollectorRequest) (*longrunningpb.Operation, error)
	// Pauses the given collector.
	PauseCollector(context.Context, *PauseCollectorRequest) (*longrunningpb.Operation, error)
}

RapidMigrationAssessmentServer is the server API for RapidMigrationAssessment service.

type RegisterCollectorRequest

type RegisterCollectorRequest struct {

	// Required. Name of the resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Message for registering a Collector.

func (*RegisterCollectorRequest) Descriptor deprecated

func (*RegisterCollectorRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterCollectorRequest.ProtoReflect.Descriptor instead.

func (*RegisterCollectorRequest) GetName

func (x *RegisterCollectorRequest) GetName() string

func (*RegisterCollectorRequest) GetRequestId

func (x *RegisterCollectorRequest) GetRequestId() string

func (*RegisterCollectorRequest) ProtoMessage

func (*RegisterCollectorRequest) ProtoMessage()

func (*RegisterCollectorRequest) ProtoReflect

func (x *RegisterCollectorRequest) ProtoReflect() protoreflect.Message

func (*RegisterCollectorRequest) Reset

func (x *RegisterCollectorRequest) Reset()

func (*RegisterCollectorRequest) String

func (x *RegisterCollectorRequest) String() string

type ResumeCollectorRequest

type ResumeCollectorRequest struct {

	// Required. Name of the resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Message for resuming a Collector.

func (*ResumeCollectorRequest) Descriptor deprecated

func (*ResumeCollectorRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResumeCollectorRequest.ProtoReflect.Descriptor instead.

func (*ResumeCollectorRequest) GetName

func (x *ResumeCollectorRequest) GetName() string

func (*ResumeCollectorRequest) GetRequestId

func (x *ResumeCollectorRequest) GetRequestId() string

func (*ResumeCollectorRequest) ProtoMessage

func (*ResumeCollectorRequest) ProtoMessage()

func (*ResumeCollectorRequest) ProtoReflect

func (x *ResumeCollectorRequest) ProtoReflect() protoreflect.Message

func (*ResumeCollectorRequest) Reset

func (x *ResumeCollectorRequest) Reset()

func (*ResumeCollectorRequest) String

func (x *ResumeCollectorRequest) String() string

type UnimplementedRapidMigrationAssessmentServer

type UnimplementedRapidMigrationAssessmentServer struct {
}

UnimplementedRapidMigrationAssessmentServer can be embedded to have forward compatible implementations.

func (*UnimplementedRapidMigrationAssessmentServer) CreateAnnotation

func (*UnimplementedRapidMigrationAssessmentServer) CreateCollector

func (*UnimplementedRapidMigrationAssessmentServer) DeleteCollector

func (*UnimplementedRapidMigrationAssessmentServer) GetAnnotation

func (*UnimplementedRapidMigrationAssessmentServer) GetCollector

func (*UnimplementedRapidMigrationAssessmentServer) ListCollectors

func (*UnimplementedRapidMigrationAssessmentServer) PauseCollector

func (*UnimplementedRapidMigrationAssessmentServer) RegisterCollector

func (*UnimplementedRapidMigrationAssessmentServer) ResumeCollector

func (*UnimplementedRapidMigrationAssessmentServer) UpdateCollector

type UpdateCollectorRequest

type UpdateCollectorRequest struct {

	// Required. Field mask is used to specify the fields to be overwritten in the
	// Collector 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.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The resource being updated.
	Collector *Collector `protobuf:"bytes,2,opt,name=collector,proto3" json:"collector,omitempty"`
	// Optional. An optional 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
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Message for updating a Collector.

func (*UpdateCollectorRequest) Descriptor deprecated

func (*UpdateCollectorRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCollectorRequest.ProtoReflect.Descriptor instead.

func (*UpdateCollectorRequest) GetCollector

func (x *UpdateCollectorRequest) GetCollector() *Collector

func (*UpdateCollectorRequest) GetRequestId

func (x *UpdateCollectorRequest) GetRequestId() string

func (*UpdateCollectorRequest) GetUpdateMask

func (x *UpdateCollectorRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateCollectorRequest) ProtoMessage

func (*UpdateCollectorRequest) ProtoMessage()

func (*UpdateCollectorRequest) ProtoReflect

func (x *UpdateCollectorRequest) ProtoReflect() protoreflect.Message

func (*UpdateCollectorRequest) Reset

func (x *UpdateCollectorRequest) Reset()

func (*UpdateCollectorRequest) String

func (x *UpdateCollectorRequest) String() string

type VSphereScan

type VSphereScan struct {

	// reference to the corresponding VSphere Scan in MC Source.
	CoreSource string `protobuf:"bytes,1,opt,name=core_source,json=coreSource,proto3" json:"core_source,omitempty"`
	// contains filtered or unexported fields
}

Message describing a MC Source of type VSphere Scan.

func (*VSphereScan) Descriptor deprecated

func (*VSphereScan) Descriptor() ([]byte, []int)

Deprecated: Use VSphereScan.ProtoReflect.Descriptor instead.

func (*VSphereScan) GetCoreSource

func (x *VSphereScan) GetCoreSource() string

func (*VSphereScan) ProtoMessage

func (*VSphereScan) ProtoMessage()

func (*VSphereScan) ProtoReflect

func (x *VSphereScan) ProtoReflect() protoreflect.Message

func (*VSphereScan) Reset

func (x *VSphereScan) Reset()

func (*VSphereScan) String

func (x *VSphereScan) String() string

Jump to

Keyboard shortcuts

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