Constants
RapidMigrationAssessment_CreateCollector_FullMethodName, RapidMigrationAssessment_CreateAnnotation_FullMethodName, RapidMigrationAssessment_GetAnnotation_FullMethodName, RapidMigrationAssessment_ListCollectors_FullMethodName, RapidMigrationAssessment_GetCollector_FullMethodName, RapidMigrationAssessment_UpdateCollector_FullMethodName, RapidMigrationAssessment_DeleteCollector_FullMethodName, RapidMigrationAssessment_ResumeCollector_FullMethodName, RapidMigrationAssessment_RegisterCollector_FullMethodName, RapidMigrationAssessment_PauseCollector_FullMethodName
const (
RapidMigrationAssessment_CreateCollector_FullMethodName = "/google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment/CreateCollector"
RapidMigrationAssessment_CreateAnnotation_FullMethodName = "/google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment/CreateAnnotation"
RapidMigrationAssessment_GetAnnotation_FullMethodName = "/google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment/GetAnnotation"
RapidMigrationAssessment_ListCollectors_FullMethodName = "/google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment/ListCollectors"
RapidMigrationAssessment_GetCollector_FullMethodName = "/google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment/GetCollector"
RapidMigrationAssessment_UpdateCollector_FullMethodName = "/google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment/UpdateCollector"
RapidMigrationAssessment_DeleteCollector_FullMethodName = "/google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment/DeleteCollector"
RapidMigrationAssessment_ResumeCollector_FullMethodName = "/google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment/ResumeCollector"
RapidMigrationAssessment_RegisterCollector_FullMethodName = "/google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment/RegisterCollector"
RapidMigrationAssessment_PauseCollector_FullMethodName = "/google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment/PauseCollector"
)
Variables
Collector_State_name, Collector_State_value
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.
Annotation_Type_name, Annotation_Type_value
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.
File_google_cloud_rapidmigrationassessment_v1_api_entities_proto
var File_google_cloud_rapidmigrationassessment_v1_api_entities_proto protoreflect.FileDescriptor
File_google_cloud_rapidmigrationassessment_v1_rapidmigrationassessment_proto
var File_google_cloud_rapidmigrationassessment_v1_rapidmigrationassessment_proto protoreflect.FileDescriptor
RapidMigrationAssessment_ServiceDesc
var RapidMigrationAssessment_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment",
HandlerType: (*RapidMigrationAssessmentServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateCollector",
Handler: _RapidMigrationAssessment_CreateCollector_Handler,
},
{
MethodName: "CreateAnnotation",
Handler: _RapidMigrationAssessment_CreateAnnotation_Handler,
},
{
MethodName: "GetAnnotation",
Handler: _RapidMigrationAssessment_GetAnnotation_Handler,
},
{
MethodName: "ListCollectors",
Handler: _RapidMigrationAssessment_ListCollectors_Handler,
},
{
MethodName: "GetCollector",
Handler: _RapidMigrationAssessment_GetCollector_Handler,
},
{
MethodName: "UpdateCollector",
Handler: _RapidMigrationAssessment_UpdateCollector_Handler,
},
{
MethodName: "DeleteCollector",
Handler: _RapidMigrationAssessment_DeleteCollector_Handler,
},
{
MethodName: "ResumeCollector",
Handler: _RapidMigrationAssessment_ResumeCollector_Handler,
},
{
MethodName: "RegisterCollector",
Handler: _RapidMigrationAssessment_RegisterCollector_Handler,
},
{
MethodName: "PauseCollector",
Handler: _RapidMigrationAssessment_PauseCollector_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/rapidmigrationassessment/v1/rapidmigrationassessment.proto",
}
RapidMigrationAssessment_ServiceDesc is the grpc.ServiceDesc for RapidMigrationAssessment service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterRapidMigrationAssessmentServer
func RegisterRapidMigrationAssessmentServer(s grpc.ServiceRegistrar, srv RapidMigrationAssessmentServer)
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 `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// 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
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
Annotation_Type
type Annotation_Type int32
Types for project level setting.
Annotation_TYPE_UNSPECIFIED, Annotation_TYPE_LEGACY_EXPORT_CONSENT, Annotation_TYPE_QWIKLAB
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) Descriptor() protoreflect.EnumDescriptor
func (Annotation_Type) Enum
func (x Annotation_Type) Enum() *Annotation_Type
func (Annotation_Type) EnumDescriptor
func (Annotation_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Annotation_Type.Descriptor instead.
func (Annotation_Type) Number
func (x Annotation_Type) Number() protoreflect.EnumNumber
func (Annotation_Type) String
func (x Annotation_Type) String() string
func (Annotation_Type) Type
func (Annotation_Type) Type() protoreflect.EnumType
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 `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// 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 `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.rapidmigrationassessment.v1.Collector_State" json:"state,omitempty"`
// 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: Use Collector.ProtoReflect.Descriptor instead.
func (*Collector) GetBucket
func (*Collector) GetClientVersion
func (*Collector) GetCollectionDays
func (*Collector) GetCreateTime
func (x *Collector) GetCreateTime() *timestamppb.Timestamp
func (*Collector) GetDescription
func (*Collector) GetDisplayName
func (*Collector) GetEulaUri
func (*Collector) GetExpectedAssetCount
func (*Collector) GetGuestOsScan
func (x *Collector) GetGuestOsScan() *GuestOsScan
func (*Collector) GetLabels
func (*Collector) GetName
func (*Collector) GetServiceAccount
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
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.
Collector_STATE_UNSPECIFIED, Collector_STATE_INITIALIZING, Collector_STATE_READY_TO_USE, Collector_STATE_REGISTERED, Collector_STATE_ACTIVE, Collector_STATE_PAUSED, Collector_STATE_DELETING, Collector_STATE_DECOMMISSIONED, Collector_STATE_ERROR
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) Descriptor() protoreflect.EnumDescriptor
func (Collector_State) Enum
func (x Collector_State) Enum() *Collector_State
func (Collector_State) EnumDescriptor
func (Collector_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Collector_State.Descriptor instead.
func (Collector_State) Number
func (x Collector_State) Number() protoreflect.EnumNumber
func (Collector_State) String
func (x Collector_State) String() string
func (Collector_State) Type
func (Collector_State) Type() protoreflect.EnumType
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 through 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRapidMigrationAssessmentClient
func NewRapidMigrationAssessmentClient(cc grpc.ClientConnInterface) RapidMigrationAssessmentClient
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 through 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. All implementations should embed UnimplementedRapidMigrationAssessmentServer for forward compatibility
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
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
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
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
UnimplementedRapidMigrationAssessmentServer
type UnimplementedRapidMigrationAssessmentServer struct {
}
UnimplementedRapidMigrationAssessmentServer should be embedded to have forward compatible implementations.
func (UnimplementedRapidMigrationAssessmentServer) CreateAnnotation
func (UnimplementedRapidMigrationAssessmentServer) CreateAnnotation(context.Context, *CreateAnnotationRequest) (*longrunningpb.Operation, error)
func (UnimplementedRapidMigrationAssessmentServer) CreateCollector
func (UnimplementedRapidMigrationAssessmentServer) CreateCollector(context.Context, *CreateCollectorRequest) (*longrunningpb.Operation, error)
func (UnimplementedRapidMigrationAssessmentServer) DeleteCollector
func (UnimplementedRapidMigrationAssessmentServer) DeleteCollector(context.Context, *DeleteCollectorRequest) (*longrunningpb.Operation, error)
func (UnimplementedRapidMigrationAssessmentServer) GetAnnotation
func (UnimplementedRapidMigrationAssessmentServer) GetAnnotation(context.Context, *GetAnnotationRequest) (*Annotation, error)
func (UnimplementedRapidMigrationAssessmentServer) GetCollector
func (UnimplementedRapidMigrationAssessmentServer) GetCollector(context.Context, *GetCollectorRequest) (*Collector, error)
func (UnimplementedRapidMigrationAssessmentServer) ListCollectors
func (UnimplementedRapidMigrationAssessmentServer) ListCollectors(context.Context, *ListCollectorsRequest) (*ListCollectorsResponse, error)
func (UnimplementedRapidMigrationAssessmentServer) PauseCollector
func (UnimplementedRapidMigrationAssessmentServer) PauseCollector(context.Context, *PauseCollectorRequest) (*longrunningpb.Operation, error)
func (UnimplementedRapidMigrationAssessmentServer) RegisterCollector
func (UnimplementedRapidMigrationAssessmentServer) RegisterCollector(context.Context, *RegisterCollectorRequest) (*longrunningpb.Operation, error)
func (UnimplementedRapidMigrationAssessmentServer) ResumeCollector
func (UnimplementedRapidMigrationAssessmentServer) ResumeCollector(context.Context, *ResumeCollectorRequest) (*longrunningpb.Operation, error)
func (UnimplementedRapidMigrationAssessmentServer) UpdateCollector
func (UnimplementedRapidMigrationAssessmentServer) UpdateCollector(context.Context, *UpdateCollectorRequest) (*longrunningpb.Operation, error)
UnsafeRapidMigrationAssessmentServer
type UnsafeRapidMigrationAssessmentServer interface {
// contains filtered or unexported methods
}
UnsafeRapidMigrationAssessmentServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RapidMigrationAssessmentServer will result in compilation errors.
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
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
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
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