apphubpb

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Application_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "DELETING",
	}
	Application_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"ACTIVE":            2,
		"DELETING":          3,
	}
)

Enum value maps for Application_State.

View Source
var (
	Scope_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "REGIONAL",
	}
	Scope_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"REGIONAL":         1,
	}
)

Enum value maps for Scope_Type.

View Source
var (
	Criticality_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "MISSION_CRITICAL",
		2: "HIGH",
		3: "MEDIUM",
		4: "LOW",
	}
	Criticality_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"MISSION_CRITICAL": 1,
		"HIGH":             2,
		"MEDIUM":           3,
		"LOW":              4,
	}
)

Enum value maps for Criticality_Type.

View Source
var (
	Environment_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "PRODUCTION",
		2: "STAGING",
		3: "TEST",
		4: "DEVELOPMENT",
	}
	Environment_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"PRODUCTION":       1,
		"STAGING":          2,
		"TEST":             3,
		"DEVELOPMENT":      4,
	}
)

Enum value maps for Environment_Type.

View Source
var (
	Service_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "DELETING",
		4: "DETACHED",
	}
	Service_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"ACTIVE":            2,
		"DELETING":          3,
		"DETACHED":          4,
	}
)

Enum value maps for Service_State.

View Source
var (
	ServiceProjectAttachment_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "DELETING",
	}
	ServiceProjectAttachment_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"ACTIVE":            2,
		"DELETING":          3,
	}
)

Enum value maps for ServiceProjectAttachment_State.

View Source
var (
	Workload_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "DELETING",
		4: "DETACHED",
	}
	Workload_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"ACTIVE":            2,
		"DELETING":          3,
		"DETACHED":          4,
	}
)

Enum value maps for Workload_State.

View Source
var File_google_cloud_apphub_v1_apphub_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apphub_v1_application_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apphub_v1_attributes_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apphub_v1_service_project_attachment_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apphub_v1_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apphub_v1_workload_proto protoreflect.FileDescriptor

Functions

func RegisterAppHubServer

func RegisterAppHubServer(s *grpc.Server, srv AppHubServer)

Types

type AppHubClient

type AppHubClient interface {
	// Lists a service project attachment for a given service project. You can
	// call this API from any project to find if it is attached to a host project.
	LookupServiceProjectAttachment(ctx context.Context, in *LookupServiceProjectAttachmentRequest, opts ...grpc.CallOption) (*LookupServiceProjectAttachmentResponse, error)
	// Lists service projects attached to the host project.
	ListServiceProjectAttachments(ctx context.Context, in *ListServiceProjectAttachmentsRequest, opts ...grpc.CallOption) (*ListServiceProjectAttachmentsResponse, error)
	// Attaches a service project to the host project.
	CreateServiceProjectAttachment(ctx context.Context, in *CreateServiceProjectAttachmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets a service project attachment.
	GetServiceProjectAttachment(ctx context.Context, in *GetServiceProjectAttachmentRequest, opts ...grpc.CallOption) (*ServiceProjectAttachment, error)
	// Deletes a service project attachment.
	DeleteServiceProjectAttachment(ctx context.Context, in *DeleteServiceProjectAttachmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Detaches a service project from a host project.
	// You can call this API from any service project without needing access to
	// the host project that it is attached to.
	DetachServiceProjectAttachment(ctx context.Context, in *DetachServiceProjectAttachmentRequest, opts ...grpc.CallOption) (*DetachServiceProjectAttachmentResponse, error)
	// Lists Discovered Services that can be added to an Application in a host
	// project and location.
	ListDiscoveredServices(ctx context.Context, in *ListDiscoveredServicesRequest, opts ...grpc.CallOption) (*ListDiscoveredServicesResponse, error)
	// Gets a Discovered Service in a host project and location.
	GetDiscoveredService(ctx context.Context, in *GetDiscoveredServiceRequest, opts ...grpc.CallOption) (*DiscoveredService, error)
	// Lists a Discovered Service in a host project and location, with a
	// given resource URI.
	LookupDiscoveredService(ctx context.Context, in *LookupDiscoveredServiceRequest, opts ...grpc.CallOption) (*LookupDiscoveredServiceResponse, error)
	// Lists Services in an Application.
	ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
	// Creates a Service in an Application.
	CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets a Service in an Application.
	GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error)
	// Updates a Service in an Application.
	UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a Service from an Application.
	DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists Discovered Workloads that can be added to an Application in a host
	// project and location.
	ListDiscoveredWorkloads(ctx context.Context, in *ListDiscoveredWorkloadsRequest, opts ...grpc.CallOption) (*ListDiscoveredWorkloadsResponse, error)
	// Gets a Discovered Workload in a host project and location.
	GetDiscoveredWorkload(ctx context.Context, in *GetDiscoveredWorkloadRequest, opts ...grpc.CallOption) (*DiscoveredWorkload, error)
	// Lists a Discovered Workload in a host project and location, with a
	// given resource URI.
	LookupDiscoveredWorkload(ctx context.Context, in *LookupDiscoveredWorkloadRequest, opts ...grpc.CallOption) (*LookupDiscoveredWorkloadResponse, error)
	// Lists Workloads in an Application.
	ListWorkloads(ctx context.Context, in *ListWorkloadsRequest, opts ...grpc.CallOption) (*ListWorkloadsResponse, error)
	// Creates a Workload in an Application.
	CreateWorkload(ctx context.Context, in *CreateWorkloadRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets a Workload in an Application.
	GetWorkload(ctx context.Context, in *GetWorkloadRequest, opts ...grpc.CallOption) (*Workload, error)
	// Updates a Workload in an Application.
	UpdateWorkload(ctx context.Context, in *UpdateWorkloadRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a Workload from an Application.
	DeleteWorkload(ctx context.Context, in *DeleteWorkloadRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists Applications in a host project and location.
	ListApplications(ctx context.Context, in *ListApplicationsRequest, opts ...grpc.CallOption) (*ListApplicationsResponse, error)
	// Creates an Application in a host project and location.
	CreateApplication(ctx context.Context, in *CreateApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets an Application in a host project and location.
	GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error)
	// Updates an Application in a host project and location.
	UpdateApplication(ctx context.Context, in *UpdateApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes an Application in a host project and location.
	DeleteApplication(ctx context.Context, in *DeleteApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

AppHubClient is the client API for AppHub service.

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

func NewAppHubClient

func NewAppHubClient(cc grpc.ClientConnInterface) AppHubClient

type AppHubServer

type AppHubServer interface {
	// Lists a service project attachment for a given service project. You can
	// call this API from any project to find if it is attached to a host project.
	LookupServiceProjectAttachment(context.Context, *LookupServiceProjectAttachmentRequest) (*LookupServiceProjectAttachmentResponse, error)
	// Lists service projects attached to the host project.
	ListServiceProjectAttachments(context.Context, *ListServiceProjectAttachmentsRequest) (*ListServiceProjectAttachmentsResponse, error)
	// Attaches a service project to the host project.
	CreateServiceProjectAttachment(context.Context, *CreateServiceProjectAttachmentRequest) (*longrunningpb.Operation, error)
	// Gets a service project attachment.
	GetServiceProjectAttachment(context.Context, *GetServiceProjectAttachmentRequest) (*ServiceProjectAttachment, error)
	// Deletes a service project attachment.
	DeleteServiceProjectAttachment(context.Context, *DeleteServiceProjectAttachmentRequest) (*longrunningpb.Operation, error)
	// Detaches a service project from a host project.
	// You can call this API from any service project without needing access to
	// the host project that it is attached to.
	DetachServiceProjectAttachment(context.Context, *DetachServiceProjectAttachmentRequest) (*DetachServiceProjectAttachmentResponse, error)
	// Lists Discovered Services that can be added to an Application in a host
	// project and location.
	ListDiscoveredServices(context.Context, *ListDiscoveredServicesRequest) (*ListDiscoveredServicesResponse, error)
	// Gets a Discovered Service in a host project and location.
	GetDiscoveredService(context.Context, *GetDiscoveredServiceRequest) (*DiscoveredService, error)
	// Lists a Discovered Service in a host project and location, with a
	// given resource URI.
	LookupDiscoveredService(context.Context, *LookupDiscoveredServiceRequest) (*LookupDiscoveredServiceResponse, error)
	// Lists Services in an Application.
	ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
	// Creates a Service in an Application.
	CreateService(context.Context, *CreateServiceRequest) (*longrunningpb.Operation, error)
	// Gets a Service in an Application.
	GetService(context.Context, *GetServiceRequest) (*Service, error)
	// Updates a Service in an Application.
	UpdateService(context.Context, *UpdateServiceRequest) (*longrunningpb.Operation, error)
	// Deletes a Service from an Application.
	DeleteService(context.Context, *DeleteServiceRequest) (*longrunningpb.Operation, error)
	// Lists Discovered Workloads that can be added to an Application in a host
	// project and location.
	ListDiscoveredWorkloads(context.Context, *ListDiscoveredWorkloadsRequest) (*ListDiscoveredWorkloadsResponse, error)
	// Gets a Discovered Workload in a host project and location.
	GetDiscoveredWorkload(context.Context, *GetDiscoveredWorkloadRequest) (*DiscoveredWorkload, error)
	// Lists a Discovered Workload in a host project and location, with a
	// given resource URI.
	LookupDiscoveredWorkload(context.Context, *LookupDiscoveredWorkloadRequest) (*LookupDiscoveredWorkloadResponse, error)
	// Lists Workloads in an Application.
	ListWorkloads(context.Context, *ListWorkloadsRequest) (*ListWorkloadsResponse, error)
	// Creates a Workload in an Application.
	CreateWorkload(context.Context, *CreateWorkloadRequest) (*longrunningpb.Operation, error)
	// Gets a Workload in an Application.
	GetWorkload(context.Context, *GetWorkloadRequest) (*Workload, error)
	// Updates a Workload in an Application.
	UpdateWorkload(context.Context, *UpdateWorkloadRequest) (*longrunningpb.Operation, error)
	// Deletes a Workload from an Application.
	DeleteWorkload(context.Context, *DeleteWorkloadRequest) (*longrunningpb.Operation, error)
	// Lists Applications in a host project and location.
	ListApplications(context.Context, *ListApplicationsRequest) (*ListApplicationsResponse, error)
	// Creates an Application in a host project and location.
	CreateApplication(context.Context, *CreateApplicationRequest) (*longrunningpb.Operation, error)
	// Gets an Application in a host project and location.
	GetApplication(context.Context, *GetApplicationRequest) (*Application, error)
	// Updates an Application in a host project and location.
	UpdateApplication(context.Context, *UpdateApplicationRequest) (*longrunningpb.Operation, error)
	// Deletes an Application in a host project and location.
	DeleteApplication(context.Context, *DeleteApplicationRequest) (*longrunningpb.Operation, error)
}

AppHubServer is the server API for AppHub service.

type Application

type Application struct {

	// Identifier. The resource name of an Application. Format:
	// "projects/{host-project-id}/locations/{location}/applications/{application-id}"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. User-defined name for the Application.
	// Can have a maximum length of 63 characters.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. User-defined description of an Application.
	// Can have a maximum length of 2048 characters.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. Consumer provided attributes.
	Attributes *Attributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// Output only. Create time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Update time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Required. Immutable. Defines what data can be included into this
	// Application. Limits which Services and Workloads can be registered.
	Scope *Scope `protobuf:"bytes,9,opt,name=scope,proto3" json:"scope,omitempty"`
	// Output only. A universally unique identifier (in UUID4 format) for the
	// `Application`.
	Uid string `protobuf:"bytes,10,opt,name=uid,proto3" json:"uid,omitempty"`
	// Output only. Application state.
	State Application_State `protobuf:"varint,11,opt,name=state,proto3,enum=google.cloud.apphub.v1.Application_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Application defines the governance boundary for App Hub Entities that perform a logical end-to-end business function. App Hub supports application level IAM permission to align with governance requirements.

func (*Application) Descriptor deprecated

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

Deprecated: Use Application.ProtoReflect.Descriptor instead.

func (*Application) GetAttributes

func (x *Application) GetAttributes() *Attributes

func (*Application) GetCreateTime

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

func (*Application) GetDescription

func (x *Application) GetDescription() string

func (*Application) GetDisplayName

func (x *Application) GetDisplayName() string

func (*Application) GetName

func (x *Application) GetName() string

func (*Application) GetScope

func (x *Application) GetScope() *Scope

func (*Application) GetState

func (x *Application) GetState() Application_State

func (*Application) GetUid

func (x *Application) GetUid() string

func (*Application) GetUpdateTime

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

func (*Application) ProtoMessage

func (*Application) ProtoMessage()

func (*Application) ProtoReflect

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

func (*Application) Reset

func (x *Application) Reset()

func (*Application) String

func (x *Application) String() string

type Application_State

type Application_State int32

Application state.

const (
	// Unspecified state.
	Application_STATE_UNSPECIFIED Application_State = 0
	// The Application is being created.
	Application_CREATING Application_State = 1
	// The Application is ready to register Services and Workloads.
	Application_ACTIVE Application_State = 2
	// The Application is being deleted.
	Application_DELETING Application_State = 3
)

func (Application_State) Descriptor

func (Application_State) Enum

func (Application_State) EnumDescriptor deprecated

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

Deprecated: Use Application_State.Descriptor instead.

func (Application_State) Number

func (Application_State) String

func (x Application_State) String() string

func (Application_State) Type

type Attributes

type Attributes struct {

	// Optional. User-defined criticality information.
	Criticality *Criticality `protobuf:"bytes,1,opt,name=criticality,proto3" json:"criticality,omitempty"`
	// Optional. User-defined environment information.
	Environment *Environment `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"`
	// Optional. Developer team that owns development and coding.
	DeveloperOwners []*ContactInfo `protobuf:"bytes,3,rep,name=developer_owners,json=developerOwners,proto3" json:"developer_owners,omitempty"`
	// Optional. Operator team that ensures runtime and operations.
	OperatorOwners []*ContactInfo `protobuf:"bytes,4,rep,name=operator_owners,json=operatorOwners,proto3" json:"operator_owners,omitempty"`
	// Optional. Business team that ensures user needs are met and value is
	// delivered
	BusinessOwners []*ContactInfo `protobuf:"bytes,5,rep,name=business_owners,json=businessOwners,proto3" json:"business_owners,omitempty"`
	// contains filtered or unexported fields
}

Consumer provided attributes.

func (*Attributes) Descriptor deprecated

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

Deprecated: Use Attributes.ProtoReflect.Descriptor instead.

func (*Attributes) GetBusinessOwners

func (x *Attributes) GetBusinessOwners() []*ContactInfo

func (*Attributes) GetCriticality

func (x *Attributes) GetCriticality() *Criticality

func (*Attributes) GetDeveloperOwners

func (x *Attributes) GetDeveloperOwners() []*ContactInfo

func (*Attributes) GetEnvironment

func (x *Attributes) GetEnvironment() *Environment

func (*Attributes) GetOperatorOwners

func (x *Attributes) GetOperatorOwners() []*ContactInfo

func (*Attributes) ProtoMessage

func (*Attributes) ProtoMessage()

func (*Attributes) ProtoReflect

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

func (*Attributes) Reset

func (x *Attributes) Reset()

func (*Attributes) String

func (x *Attributes) String() string

type ContactInfo

type ContactInfo struct {

	// Optional. Contact's name.
	// Can have a maximum length of 63 characters.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Required. Email address of the contacts.
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

Contact information of stakeholders.

func (*ContactInfo) Descriptor deprecated

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

Deprecated: Use ContactInfo.ProtoReflect.Descriptor instead.

func (*ContactInfo) GetDisplayName

func (x *ContactInfo) GetDisplayName() string

func (*ContactInfo) GetEmail

func (x *ContactInfo) GetEmail() string

func (*ContactInfo) ProtoMessage

func (*ContactInfo) ProtoMessage()

func (*ContactInfo) ProtoReflect

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

func (*ContactInfo) Reset

func (x *ContactInfo) Reset()

func (*ContactInfo) String

func (x *ContactInfo) String() string

type CreateApplicationRequest

type CreateApplicationRequest struct {

	// Required. Project and location to create Application in.
	// Expected format: `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The Application identifier.
	// Must contain only lowercase letters, numbers
	// or hyphens, with the first character a letter, the last a letter or a
	// number, and a 63 character maximum.
	ApplicationId string `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	// Required. The resource being created
	Application *Application `protobuf:"bytes,3,opt,name=application,proto3" json:"application,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,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request for CreateApplication.

func (*CreateApplicationRequest) Descriptor deprecated

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

Deprecated: Use CreateApplicationRequest.ProtoReflect.Descriptor instead.

func (*CreateApplicationRequest) GetApplication

func (x *CreateApplicationRequest) GetApplication() *Application

func (*CreateApplicationRequest) GetApplicationId

func (x *CreateApplicationRequest) GetApplicationId() string

func (*CreateApplicationRequest) GetParent

func (x *CreateApplicationRequest) GetParent() string

func (*CreateApplicationRequest) GetRequestId

func (x *CreateApplicationRequest) GetRequestId() string

func (*CreateApplicationRequest) ProtoMessage

func (*CreateApplicationRequest) ProtoMessage()

func (*CreateApplicationRequest) ProtoReflect

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

func (*CreateApplicationRequest) Reset

func (x *CreateApplicationRequest) Reset()

func (*CreateApplicationRequest) String

func (x *CreateApplicationRequest) String() string

type CreateServiceProjectAttachmentRequest

type CreateServiceProjectAttachmentRequest struct {

	// Required. Host project ID and location to which service project is being
	// attached. Only global location is supported. Expected format:
	// `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The service project attachment identifier must contain the
	// project id of the service project specified in the
	// service_project_attachment.service_project field.
	ServiceProjectAttachmentId string `` /* 143-byte string literal not displayed */
	// Required. The resource being created.
	ServiceProjectAttachment *ServiceProjectAttachment `` /* 135-byte string literal not displayed */
	// 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,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request for CreateServiceProjectAttachment.

func (*CreateServiceProjectAttachmentRequest) Descriptor deprecated

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

Deprecated: Use CreateServiceProjectAttachmentRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceProjectAttachmentRequest) GetParent

func (*CreateServiceProjectAttachmentRequest) GetRequestId

func (*CreateServiceProjectAttachmentRequest) GetServiceProjectAttachment

func (x *CreateServiceProjectAttachmentRequest) GetServiceProjectAttachment() *ServiceProjectAttachment

func (*CreateServiceProjectAttachmentRequest) GetServiceProjectAttachmentId

func (x *CreateServiceProjectAttachmentRequest) GetServiceProjectAttachmentId() string

func (*CreateServiceProjectAttachmentRequest) ProtoMessage

func (*CreateServiceProjectAttachmentRequest) ProtoMessage()

func (*CreateServiceProjectAttachmentRequest) ProtoReflect

func (*CreateServiceProjectAttachmentRequest) Reset

func (*CreateServiceProjectAttachmentRequest) String

type CreateServiceRequest

type CreateServiceRequest struct {

	// Required. Fully qualified name of the parent Application to create the
	// Service in. Expected format:
	// `projects/{project}/locations/{location}/applications/{application}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The Service identifier.
	// Must contain only lowercase letters, numbers
	// or hyphens, with the first character a letter, the last a letter or a
	// number, and a 63 character maximum.
	ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Required. The resource being created.
	Service *Service `protobuf:"bytes,3,opt,name=service,proto3" json:"service,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,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request for CreateService.

func (*CreateServiceRequest) Descriptor deprecated

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

Deprecated: Use CreateServiceRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceRequest) GetParent

func (x *CreateServiceRequest) GetParent() string

func (*CreateServiceRequest) GetRequestId

func (x *CreateServiceRequest) GetRequestId() string

func (*CreateServiceRequest) GetService

func (x *CreateServiceRequest) GetService() *Service

func (*CreateServiceRequest) GetServiceId

func (x *CreateServiceRequest) GetServiceId() string

func (*CreateServiceRequest) ProtoMessage

func (*CreateServiceRequest) ProtoMessage()

func (*CreateServiceRequest) ProtoReflect

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

func (*CreateServiceRequest) Reset

func (x *CreateServiceRequest) Reset()

func (*CreateServiceRequest) String

func (x *CreateServiceRequest) String() string

type CreateWorkloadRequest

type CreateWorkloadRequest struct {

	// Required. Fully qualified name of the Application to create Workload in.
	// Expected format:
	// `projects/{project}/locations/{location}/applications/{application}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The Workload identifier.
	// Must contain only lowercase letters, numbers
	// or hyphens, with the first character a letter, the last a letter or a
	// number, and a 63 character maximum.
	WorkloadId string `protobuf:"bytes,2,opt,name=workload_id,json=workloadId,proto3" json:"workload_id,omitempty"`
	// Required. The resource being created.
	Workload *Workload `protobuf:"bytes,3,opt,name=workload,proto3" json:"workload,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,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request for CreateWorkload.

func (*CreateWorkloadRequest) Descriptor deprecated

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

Deprecated: Use CreateWorkloadRequest.ProtoReflect.Descriptor instead.

func (*CreateWorkloadRequest) GetParent

func (x *CreateWorkloadRequest) GetParent() string

func (*CreateWorkloadRequest) GetRequestId

func (x *CreateWorkloadRequest) GetRequestId() string

func (*CreateWorkloadRequest) GetWorkload

func (x *CreateWorkloadRequest) GetWorkload() *Workload

func (*CreateWorkloadRequest) GetWorkloadId

func (x *CreateWorkloadRequest) GetWorkloadId() string

func (*CreateWorkloadRequest) ProtoMessage

func (*CreateWorkloadRequest) ProtoMessage()

func (*CreateWorkloadRequest) ProtoReflect

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

func (*CreateWorkloadRequest) Reset

func (x *CreateWorkloadRequest) Reset()

func (*CreateWorkloadRequest) String

func (x *CreateWorkloadRequest) String() string

type Criticality

type Criticality struct {

	// Required. Criticality Type.
	Type Criticality_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.apphub.v1.Criticality_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Criticality of the Application, Service, or Workload

func (*Criticality) Descriptor deprecated

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

Deprecated: Use Criticality.ProtoReflect.Descriptor instead.

func (*Criticality) GetType

func (x *Criticality) GetType() Criticality_Type

func (*Criticality) ProtoMessage

func (*Criticality) ProtoMessage()

func (*Criticality) ProtoReflect

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

func (*Criticality) Reset

func (x *Criticality) Reset()

func (*Criticality) String

func (x *Criticality) String() string

type Criticality_Type

type Criticality_Type int32

Criticality Type.

const (
	// Unspecified type.
	Criticality_TYPE_UNSPECIFIED Criticality_Type = 0
	// Mission critical service, application or workload.
	Criticality_MISSION_CRITICAL Criticality_Type = 1
	// High impact.
	Criticality_HIGH Criticality_Type = 2
	// Medium impact.
	Criticality_MEDIUM Criticality_Type = 3
	// Low impact.
	Criticality_LOW Criticality_Type = 4
)

func (Criticality_Type) Descriptor

func (Criticality_Type) Enum

func (Criticality_Type) EnumDescriptor deprecated

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

Deprecated: Use Criticality_Type.Descriptor instead.

func (Criticality_Type) Number

func (Criticality_Type) String

func (x Criticality_Type) String() string

func (Criticality_Type) Type

type DeleteApplicationRequest

type DeleteApplicationRequest struct {

	// Required. Fully qualified name of the Application to delete.
	// Expected format:
	// `projects/{project}/locations/{location}/applications/{application}`.
	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
}

Request for DeleteApplication.

func (*DeleteApplicationRequest) Descriptor deprecated

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

Deprecated: Use DeleteApplicationRequest.ProtoReflect.Descriptor instead.

func (*DeleteApplicationRequest) GetName

func (x *DeleteApplicationRequest) GetName() string

func (*DeleteApplicationRequest) GetRequestId

func (x *DeleteApplicationRequest) GetRequestId() string

func (*DeleteApplicationRequest) ProtoMessage

func (*DeleteApplicationRequest) ProtoMessage()

func (*DeleteApplicationRequest) ProtoReflect

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

func (*DeleteApplicationRequest) Reset

func (x *DeleteApplicationRequest) Reset()

func (*DeleteApplicationRequest) String

func (x *DeleteApplicationRequest) String() string

type DeleteServiceProjectAttachmentRequest

type DeleteServiceProjectAttachmentRequest struct {

	// Required. Fully qualified name of the service project attachment to delete.
	// Expected format:
	// `projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}`.
	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
}

Request for DeleteServiceProjectAttachment.

func (*DeleteServiceProjectAttachmentRequest) Descriptor deprecated

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

Deprecated: Use DeleteServiceProjectAttachmentRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceProjectAttachmentRequest) GetName

func (*DeleteServiceProjectAttachmentRequest) GetRequestId

func (*DeleteServiceProjectAttachmentRequest) ProtoMessage

func (*DeleteServiceProjectAttachmentRequest) ProtoMessage()

func (*DeleteServiceProjectAttachmentRequest) ProtoReflect

func (*DeleteServiceProjectAttachmentRequest) Reset

func (*DeleteServiceProjectAttachmentRequest) String

type DeleteServiceRequest

type DeleteServiceRequest struct {

	// Required. Fully qualified name of the Service to delete from an
	// Application. Expected format:
	// `projects/{project}/locations/{location}/applications/{application}/services/{service}`.
	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
}

Request for DeleteService.

func (*DeleteServiceRequest) Descriptor deprecated

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

Deprecated: Use DeleteServiceRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceRequest) GetName

func (x *DeleteServiceRequest) GetName() string

func (*DeleteServiceRequest) GetRequestId

func (x *DeleteServiceRequest) GetRequestId() string

func (*DeleteServiceRequest) ProtoMessage

func (*DeleteServiceRequest) ProtoMessage()

func (*DeleteServiceRequest) ProtoReflect

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

func (*DeleteServiceRequest) Reset

func (x *DeleteServiceRequest) Reset()

func (*DeleteServiceRequest) String

func (x *DeleteServiceRequest) String() string

type DeleteWorkloadRequest

type DeleteWorkloadRequest struct {

	// Required. Fully qualified name of the Workload to delete from an
	// Application. Expected format:
	// `projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.
	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
}

Request for DeleteWorkload.

func (*DeleteWorkloadRequest) Descriptor deprecated

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

Deprecated: Use DeleteWorkloadRequest.ProtoReflect.Descriptor instead.

func (*DeleteWorkloadRequest) GetName

func (x *DeleteWorkloadRequest) GetName() string

func (*DeleteWorkloadRequest) GetRequestId

func (x *DeleteWorkloadRequest) GetRequestId() string

func (*DeleteWorkloadRequest) ProtoMessage

func (*DeleteWorkloadRequest) ProtoMessage()

func (*DeleteWorkloadRequest) ProtoReflect

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

func (*DeleteWorkloadRequest) Reset

func (x *DeleteWorkloadRequest) Reset()

func (*DeleteWorkloadRequest) String

func (x *DeleteWorkloadRequest) String() string

type DetachServiceProjectAttachmentRequest

type DetachServiceProjectAttachmentRequest struct {

	// Required. Service project id and location to detach from a host project.
	// Only global location is supported. Expected format:
	// `projects/{project}/locations/{location}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for DetachServiceProjectAttachment.

func (*DetachServiceProjectAttachmentRequest) Descriptor deprecated

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

Deprecated: Use DetachServiceProjectAttachmentRequest.ProtoReflect.Descriptor instead.

func (*DetachServiceProjectAttachmentRequest) GetName

func (*DetachServiceProjectAttachmentRequest) ProtoMessage

func (*DetachServiceProjectAttachmentRequest) ProtoMessage()

func (*DetachServiceProjectAttachmentRequest) ProtoReflect

func (*DetachServiceProjectAttachmentRequest) Reset

func (*DetachServiceProjectAttachmentRequest) String

type DetachServiceProjectAttachmentResponse

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

Response for DetachServiceProjectAttachment.

func (*DetachServiceProjectAttachmentResponse) Descriptor deprecated

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

Deprecated: Use DetachServiceProjectAttachmentResponse.ProtoReflect.Descriptor instead.

func (*DetachServiceProjectAttachmentResponse) ProtoMessage

func (*DetachServiceProjectAttachmentResponse) ProtoReflect

func (*DetachServiceProjectAttachmentResponse) Reset

func (*DetachServiceProjectAttachmentResponse) String

type DiscoveredService

type DiscoveredService struct {

	// Identifier. The resource name of the discovered service. Format:
	// "projects/{host-project-id}/locations/{location}/discoveredServices/{uuid}""
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Reference to an underlying networking resource that can
	// comprise a Service. These are immutable.
	ServiceReference *ServiceReference `protobuf:"bytes,2,opt,name=service_reference,json=serviceReference,proto3" json:"service_reference,omitempty"`
	// Output only. Properties of an underlying compute resource that can comprise
	// a Service. These are immutable.
	ServiceProperties *ServiceProperties `protobuf:"bytes,3,opt,name=service_properties,json=serviceProperties,proto3" json:"service_properties,omitempty"`
	// contains filtered or unexported fields
}

DiscoveredService is a network/api interface that exposes some functionality to clients for consumption over the network. A discovered service can be registered to a App Hub service.

func (*DiscoveredService) Descriptor deprecated

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

Deprecated: Use DiscoveredService.ProtoReflect.Descriptor instead.

func (*DiscoveredService) GetName

func (x *DiscoveredService) GetName() string

func (*DiscoveredService) GetServiceProperties

func (x *DiscoveredService) GetServiceProperties() *ServiceProperties

func (*DiscoveredService) GetServiceReference

func (x *DiscoveredService) GetServiceReference() *ServiceReference

func (*DiscoveredService) ProtoMessage

func (*DiscoveredService) ProtoMessage()

func (*DiscoveredService) ProtoReflect

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

func (*DiscoveredService) Reset

func (x *DiscoveredService) Reset()

func (*DiscoveredService) String

func (x *DiscoveredService) String() string

type DiscoveredWorkload

type DiscoveredWorkload struct {

	// Identifier. The resource name of the discovered workload. Format:
	// "projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Reference of an underlying compute resource represented by the
	// Workload. These are immutable.
	WorkloadReference *WorkloadReference `protobuf:"bytes,2,opt,name=workload_reference,json=workloadReference,proto3" json:"workload_reference,omitempty"`
	// Output only. Properties of an underlying compute resource represented by
	// the Workload. These are immutable.
	WorkloadProperties *WorkloadProperties `protobuf:"bytes,3,opt,name=workload_properties,json=workloadProperties,proto3" json:"workload_properties,omitempty"`
	// contains filtered or unexported fields
}

DiscoveredWorkload is a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality. A discovered workload can be registered to an App Hub Workload.

func (*DiscoveredWorkload) Descriptor deprecated

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

Deprecated: Use DiscoveredWorkload.ProtoReflect.Descriptor instead.

func (*DiscoveredWorkload) GetName

func (x *DiscoveredWorkload) GetName() string

func (*DiscoveredWorkload) GetWorkloadProperties

func (x *DiscoveredWorkload) GetWorkloadProperties() *WorkloadProperties

func (*DiscoveredWorkload) GetWorkloadReference

func (x *DiscoveredWorkload) GetWorkloadReference() *WorkloadReference

func (*DiscoveredWorkload) ProtoMessage

func (*DiscoveredWorkload) ProtoMessage()

func (*DiscoveredWorkload) ProtoReflect

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

func (*DiscoveredWorkload) Reset

func (x *DiscoveredWorkload) Reset()

func (*DiscoveredWorkload) String

func (x *DiscoveredWorkload) String() string

type Environment

type Environment struct {

	// Required. Environment Type.
	Type Environment_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.apphub.v1.Environment_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Environment of the Application, Service, or Workload

func (*Environment) Descriptor deprecated

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

Deprecated: Use Environment.ProtoReflect.Descriptor instead.

func (*Environment) GetType

func (x *Environment) GetType() Environment_Type

func (*Environment) ProtoMessage

func (*Environment) ProtoMessage()

func (*Environment) ProtoReflect

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

func (*Environment) Reset

func (x *Environment) Reset()

func (*Environment) String

func (x *Environment) String() string

type Environment_Type

type Environment_Type int32

Environment Type.

const (
	// Unspecified type.
	Environment_TYPE_UNSPECIFIED Environment_Type = 0
	// Production environment.
	Environment_PRODUCTION Environment_Type = 1
	// Staging environment.
	Environment_STAGING Environment_Type = 2
	// Test environment.
	Environment_TEST Environment_Type = 3
	// Development environment.
	Environment_DEVELOPMENT Environment_Type = 4
)

func (Environment_Type) Descriptor

func (Environment_Type) Enum

func (Environment_Type) EnumDescriptor deprecated

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

Deprecated: Use Environment_Type.Descriptor instead.

func (Environment_Type) Number

func (Environment_Type) String

func (x Environment_Type) String() string

func (Environment_Type) Type

type GetApplicationRequest

type GetApplicationRequest struct {

	// Required. Fully qualified name of the Application to fetch.
	// Expected format:
	// `projects/{project}/locations/{location}/applications/{application}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for GetApplication.

func (*GetApplicationRequest) Descriptor deprecated

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

Deprecated: Use GetApplicationRequest.ProtoReflect.Descriptor instead.

func (*GetApplicationRequest) GetName

func (x *GetApplicationRequest) GetName() string

func (*GetApplicationRequest) ProtoMessage

func (*GetApplicationRequest) ProtoMessage()

func (*GetApplicationRequest) ProtoReflect

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

func (*GetApplicationRequest) Reset

func (x *GetApplicationRequest) Reset()

func (*GetApplicationRequest) String

func (x *GetApplicationRequest) String() string

type GetDiscoveredServiceRequest

type GetDiscoveredServiceRequest struct {

	// Required. Fully qualified name of the Discovered Service to fetch.
	// Expected format:
	// `projects/{project}/locations/{location}/discoveredServices/{discoveredService}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for GetDiscoveredService.

func (*GetDiscoveredServiceRequest) Descriptor deprecated

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

Deprecated: Use GetDiscoveredServiceRequest.ProtoReflect.Descriptor instead.

func (*GetDiscoveredServiceRequest) GetName

func (x *GetDiscoveredServiceRequest) GetName() string

func (*GetDiscoveredServiceRequest) ProtoMessage

func (*GetDiscoveredServiceRequest) ProtoMessage()

func (*GetDiscoveredServiceRequest) ProtoReflect

func (*GetDiscoveredServiceRequest) Reset

func (x *GetDiscoveredServiceRequest) Reset()

func (*GetDiscoveredServiceRequest) String

func (x *GetDiscoveredServiceRequest) String() string

type GetDiscoveredWorkloadRequest

type GetDiscoveredWorkloadRequest struct {

	// Required. Fully qualified name of the Discovered Workload to fetch.
	// Expected format:
	// `projects/{project}/locations/{location}/discoveredWorkloads/{discoveredWorkload}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for GetDiscoveredWorkload.

func (*GetDiscoveredWorkloadRequest) Descriptor deprecated

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

Deprecated: Use GetDiscoveredWorkloadRequest.ProtoReflect.Descriptor instead.

func (*GetDiscoveredWorkloadRequest) GetName

func (x *GetDiscoveredWorkloadRequest) GetName() string

func (*GetDiscoveredWorkloadRequest) ProtoMessage

func (*GetDiscoveredWorkloadRequest) ProtoMessage()

func (*GetDiscoveredWorkloadRequest) ProtoReflect

func (*GetDiscoveredWorkloadRequest) Reset

func (x *GetDiscoveredWorkloadRequest) Reset()

func (*GetDiscoveredWorkloadRequest) String

type GetServiceProjectAttachmentRequest

type GetServiceProjectAttachmentRequest struct {

	// Required. Fully qualified name of the service project attachment to
	// retrieve. Expected format:
	// `projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for GetServiceProjectAttachment.

func (*GetServiceProjectAttachmentRequest) Descriptor deprecated

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

Deprecated: Use GetServiceProjectAttachmentRequest.ProtoReflect.Descriptor instead.

func (*GetServiceProjectAttachmentRequest) GetName

func (*GetServiceProjectAttachmentRequest) ProtoMessage

func (*GetServiceProjectAttachmentRequest) ProtoMessage()

func (*GetServiceProjectAttachmentRequest) ProtoReflect

func (*GetServiceProjectAttachmentRequest) Reset

func (*GetServiceProjectAttachmentRequest) String

type GetServiceRequest

type GetServiceRequest struct {

	// Required. Fully qualified name of the Service to fetch.
	// Expected format:
	// `projects/{project}/locations/{location}/applications/{application}/services/{service}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for GetService.

func (*GetServiceRequest) Descriptor deprecated

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

Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.

func (*GetServiceRequest) GetName

func (x *GetServiceRequest) GetName() string

func (*GetServiceRequest) ProtoMessage

func (*GetServiceRequest) ProtoMessage()

func (*GetServiceRequest) ProtoReflect

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

func (*GetServiceRequest) Reset

func (x *GetServiceRequest) Reset()

func (*GetServiceRequest) String

func (x *GetServiceRequest) String() string

type GetWorkloadRequest

type GetWorkloadRequest struct {

	// Required. Fully qualified name of the Workload to fetch.
	// Expected format:
	// `projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for GetWorkload.

func (*GetWorkloadRequest) Descriptor deprecated

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

Deprecated: Use GetWorkloadRequest.ProtoReflect.Descriptor instead.

func (*GetWorkloadRequest) GetName

func (x *GetWorkloadRequest) GetName() string

func (*GetWorkloadRequest) ProtoMessage

func (*GetWorkloadRequest) ProtoMessage()

func (*GetWorkloadRequest) ProtoReflect

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

func (*GetWorkloadRequest) Reset

func (x *GetWorkloadRequest) Reset()

func (*GetWorkloadRequest) String

func (x *GetWorkloadRequest) String() string

type ListApplicationsRequest

type ListApplicationsRequest struct {

	// Required. Project and location to list Applications on.
	// Expected format: `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. 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"`
	// Optional. 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"`
	// Optional. Filtering results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. 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
}

Request for ListApplications.

func (*ListApplicationsRequest) Descriptor deprecated

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

Deprecated: Use ListApplicationsRequest.ProtoReflect.Descriptor instead.

func (*ListApplicationsRequest) GetFilter

func (x *ListApplicationsRequest) GetFilter() string

func (*ListApplicationsRequest) GetOrderBy

func (x *ListApplicationsRequest) GetOrderBy() string

func (*ListApplicationsRequest) GetPageSize

func (x *ListApplicationsRequest) GetPageSize() int32

func (*ListApplicationsRequest) GetPageToken

func (x *ListApplicationsRequest) GetPageToken() string

func (*ListApplicationsRequest) GetParent

func (x *ListApplicationsRequest) GetParent() string

func (*ListApplicationsRequest) ProtoMessage

func (*ListApplicationsRequest) ProtoMessage()

func (*ListApplicationsRequest) ProtoReflect

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

func (*ListApplicationsRequest) Reset

func (x *ListApplicationsRequest) Reset()

func (*ListApplicationsRequest) String

func (x *ListApplicationsRequest) String() string

type ListApplicationsResponse

type ListApplicationsResponse struct {

	// List of Applications.
	Applications []*Application `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,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
}

Response for ListApplications.

func (*ListApplicationsResponse) Descriptor deprecated

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

Deprecated: Use ListApplicationsResponse.ProtoReflect.Descriptor instead.

func (*ListApplicationsResponse) GetApplications

func (x *ListApplicationsResponse) GetApplications() []*Application

func (*ListApplicationsResponse) GetNextPageToken

func (x *ListApplicationsResponse) GetNextPageToken() string

func (*ListApplicationsResponse) GetUnreachable

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

func (*ListApplicationsResponse) ProtoMessage

func (*ListApplicationsResponse) ProtoMessage()

func (*ListApplicationsResponse) ProtoReflect

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

func (*ListApplicationsResponse) Reset

func (x *ListApplicationsResponse) Reset()

func (*ListApplicationsResponse) String

func (x *ListApplicationsResponse) String() string

type ListDiscoveredServicesRequest

type ListDiscoveredServicesRequest struct {

	// Required. Project and location to list Discovered Services on.
	// Expected format: `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. 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"`
	// Optional. 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"`
	// Optional. Filtering results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. 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
}

Request for ListDiscoveredServices.

func (*ListDiscoveredServicesRequest) Descriptor deprecated

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

Deprecated: Use ListDiscoveredServicesRequest.ProtoReflect.Descriptor instead.

func (*ListDiscoveredServicesRequest) GetFilter

func (x *ListDiscoveredServicesRequest) GetFilter() string

func (*ListDiscoveredServicesRequest) GetOrderBy

func (x *ListDiscoveredServicesRequest) GetOrderBy() string

func (*ListDiscoveredServicesRequest) GetPageSize

func (x *ListDiscoveredServicesRequest) GetPageSize() int32

func (*ListDiscoveredServicesRequest) GetPageToken

func (x *ListDiscoveredServicesRequest) GetPageToken() string

func (*ListDiscoveredServicesRequest) GetParent

func (x *ListDiscoveredServicesRequest) GetParent() string

func (*ListDiscoveredServicesRequest) ProtoMessage

func (*ListDiscoveredServicesRequest) ProtoMessage()

func (*ListDiscoveredServicesRequest) ProtoReflect

func (*ListDiscoveredServicesRequest) Reset

func (x *ListDiscoveredServicesRequest) Reset()

func (*ListDiscoveredServicesRequest) String

type ListDiscoveredServicesResponse

type ListDiscoveredServicesResponse struct {

	// List of Discovered Services.
	DiscoveredServices []*DiscoveredService `protobuf:"bytes,1,rep,name=discovered_services,json=discoveredServices,proto3" json:"discovered_services,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
}

Response for ListDiscoveredServices.

func (*ListDiscoveredServicesResponse) Descriptor deprecated

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

Deprecated: Use ListDiscoveredServicesResponse.ProtoReflect.Descriptor instead.

func (*ListDiscoveredServicesResponse) GetDiscoveredServices

func (x *ListDiscoveredServicesResponse) GetDiscoveredServices() []*DiscoveredService

func (*ListDiscoveredServicesResponse) GetNextPageToken

func (x *ListDiscoveredServicesResponse) GetNextPageToken() string

func (*ListDiscoveredServicesResponse) GetUnreachable

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

func (*ListDiscoveredServicesResponse) ProtoMessage

func (*ListDiscoveredServicesResponse) ProtoMessage()

func (*ListDiscoveredServicesResponse) ProtoReflect

func (*ListDiscoveredServicesResponse) Reset

func (x *ListDiscoveredServicesResponse) Reset()

func (*ListDiscoveredServicesResponse) String

type ListDiscoveredWorkloadsRequest

type ListDiscoveredWorkloadsRequest struct {

	// Required. Project and location to list Discovered Workloads on.
	// Expected format: `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. 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"`
	// Optional. 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"`
	// Optional. Filtering results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. 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
}

Request for ListDiscoveredWorkloads.

func (*ListDiscoveredWorkloadsRequest) Descriptor deprecated

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

Deprecated: Use ListDiscoveredWorkloadsRequest.ProtoReflect.Descriptor instead.

func (*ListDiscoveredWorkloadsRequest) GetFilter

func (x *ListDiscoveredWorkloadsRequest) GetFilter() string

func (*ListDiscoveredWorkloadsRequest) GetOrderBy

func (x *ListDiscoveredWorkloadsRequest) GetOrderBy() string

func (*ListDiscoveredWorkloadsRequest) GetPageSize

func (x *ListDiscoveredWorkloadsRequest) GetPageSize() int32

func (*ListDiscoveredWorkloadsRequest) GetPageToken

func (x *ListDiscoveredWorkloadsRequest) GetPageToken() string

func (*ListDiscoveredWorkloadsRequest) GetParent

func (x *ListDiscoveredWorkloadsRequest) GetParent() string

func (*ListDiscoveredWorkloadsRequest) ProtoMessage

func (*ListDiscoveredWorkloadsRequest) ProtoMessage()

func (*ListDiscoveredWorkloadsRequest) ProtoReflect

func (*ListDiscoveredWorkloadsRequest) Reset

func (x *ListDiscoveredWorkloadsRequest) Reset()

func (*ListDiscoveredWorkloadsRequest) String

type ListDiscoveredWorkloadsResponse

type ListDiscoveredWorkloadsResponse struct {

	// List of Discovered Workloads.
	DiscoveredWorkloads []*DiscoveredWorkload `protobuf:"bytes,1,rep,name=discovered_workloads,json=discoveredWorkloads,proto3" json:"discovered_workloads,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
}

Response for ListDiscoveredWorkloads.

func (*ListDiscoveredWorkloadsResponse) Descriptor deprecated

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

Deprecated: Use ListDiscoveredWorkloadsResponse.ProtoReflect.Descriptor instead.

func (*ListDiscoveredWorkloadsResponse) GetDiscoveredWorkloads

func (x *ListDiscoveredWorkloadsResponse) GetDiscoveredWorkloads() []*DiscoveredWorkload

func (*ListDiscoveredWorkloadsResponse) GetNextPageToken

func (x *ListDiscoveredWorkloadsResponse) GetNextPageToken() string

func (*ListDiscoveredWorkloadsResponse) GetUnreachable

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

func (*ListDiscoveredWorkloadsResponse) ProtoMessage

func (*ListDiscoveredWorkloadsResponse) ProtoMessage()

func (*ListDiscoveredWorkloadsResponse) ProtoReflect

func (*ListDiscoveredWorkloadsResponse) Reset

func (*ListDiscoveredWorkloadsResponse) String

type ListServiceProjectAttachmentsRequest

type ListServiceProjectAttachmentsRequest struct {

	// Required. Host project ID and location to list service project attachments.
	// Only global location is supported. Expected format:
	// `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. 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"`
	// Optional. 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"`
	// Optional. Filtering results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. 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
}

Request for ListServiceProjectAttachments.

func (*ListServiceProjectAttachmentsRequest) Descriptor deprecated

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

Deprecated: Use ListServiceProjectAttachmentsRequest.ProtoReflect.Descriptor instead.

func (*ListServiceProjectAttachmentsRequest) GetFilter

func (*ListServiceProjectAttachmentsRequest) GetOrderBy

func (*ListServiceProjectAttachmentsRequest) GetPageSize

func (*ListServiceProjectAttachmentsRequest) GetPageToken

func (x *ListServiceProjectAttachmentsRequest) GetPageToken() string

func (*ListServiceProjectAttachmentsRequest) GetParent

func (*ListServiceProjectAttachmentsRequest) ProtoMessage

func (*ListServiceProjectAttachmentsRequest) ProtoMessage()

func (*ListServiceProjectAttachmentsRequest) ProtoReflect

func (*ListServiceProjectAttachmentsRequest) Reset

func (*ListServiceProjectAttachmentsRequest) String

type ListServiceProjectAttachmentsResponse

type ListServiceProjectAttachmentsResponse struct {

	// List of service project attachments.
	ServiceProjectAttachments []*ServiceProjectAttachment `` /* 138-byte string literal not displayed */
	// 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
}

Response for ListServiceProjectAttachments.

func (*ListServiceProjectAttachmentsResponse) Descriptor deprecated

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

Deprecated: Use ListServiceProjectAttachmentsResponse.ProtoReflect.Descriptor instead.

func (*ListServiceProjectAttachmentsResponse) GetNextPageToken

func (x *ListServiceProjectAttachmentsResponse) GetNextPageToken() string

func (*ListServiceProjectAttachmentsResponse) GetServiceProjectAttachments

func (x *ListServiceProjectAttachmentsResponse) GetServiceProjectAttachments() []*ServiceProjectAttachment

func (*ListServiceProjectAttachmentsResponse) GetUnreachable

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

func (*ListServiceProjectAttachmentsResponse) ProtoMessage

func (*ListServiceProjectAttachmentsResponse) ProtoMessage()

func (*ListServiceProjectAttachmentsResponse) ProtoReflect

func (*ListServiceProjectAttachmentsResponse) Reset

func (*ListServiceProjectAttachmentsResponse) String

type ListServicesRequest

type ListServicesRequest struct {

	// Required. Fully qualified name of the parent Application to list Services
	// for. Expected format:
	// `projects/{project}/locations/{location}/applications/{application}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. 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"`
	// Optional. 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"`
	// Optional. Filtering results
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. 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
}

Request for ListServices.

func (*ListServicesRequest) Descriptor deprecated

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

Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.

func (*ListServicesRequest) GetFilter

func (x *ListServicesRequest) GetFilter() string

func (*ListServicesRequest) GetOrderBy

func (x *ListServicesRequest) GetOrderBy() string

func (*ListServicesRequest) GetPageSize

func (x *ListServicesRequest) GetPageSize() int32

func (*ListServicesRequest) GetPageToken

func (x *ListServicesRequest) GetPageToken() string

func (*ListServicesRequest) GetParent

func (x *ListServicesRequest) GetParent() string

func (*ListServicesRequest) ProtoMessage

func (*ListServicesRequest) ProtoMessage()

func (*ListServicesRequest) ProtoReflect

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

func (*ListServicesRequest) Reset

func (x *ListServicesRequest) Reset()

func (*ListServicesRequest) String

func (x *ListServicesRequest) String() string

type ListServicesResponse

type ListServicesResponse struct {

	// List of Services.
	Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,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
}

Response for ListServices.

func (*ListServicesResponse) Descriptor deprecated

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

Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.

func (*ListServicesResponse) GetNextPageToken

func (x *ListServicesResponse) GetNextPageToken() string

func (*ListServicesResponse) GetServices

func (x *ListServicesResponse) GetServices() []*Service

func (*ListServicesResponse) GetUnreachable

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

func (*ListServicesResponse) ProtoMessage

func (*ListServicesResponse) ProtoMessage()

func (*ListServicesResponse) ProtoReflect

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

func (*ListServicesResponse) Reset

func (x *ListServicesResponse) Reset()

func (*ListServicesResponse) String

func (x *ListServicesResponse) String() string

type ListWorkloadsRequest

type ListWorkloadsRequest struct {

	// Required. Fully qualified name of the parent Application to list Workloads
	// for. Expected format:
	// `projects/{project}/locations/{location}/applications/{application}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. 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"`
	// Optional. 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"`
	// Optional. Filtering results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. 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
}

Request for ListWorkloads.

func (*ListWorkloadsRequest) Descriptor deprecated

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

Deprecated: Use ListWorkloadsRequest.ProtoReflect.Descriptor instead.

func (*ListWorkloadsRequest) GetFilter

func (x *ListWorkloadsRequest) GetFilter() string

func (*ListWorkloadsRequest) GetOrderBy

func (x *ListWorkloadsRequest) GetOrderBy() string

func (*ListWorkloadsRequest) GetPageSize

func (x *ListWorkloadsRequest) GetPageSize() int32

func (*ListWorkloadsRequest) GetPageToken

func (x *ListWorkloadsRequest) GetPageToken() string

func (*ListWorkloadsRequest) GetParent

func (x *ListWorkloadsRequest) GetParent() string

func (*ListWorkloadsRequest) ProtoMessage

func (*ListWorkloadsRequest) ProtoMessage()

func (*ListWorkloadsRequest) ProtoReflect

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

func (*ListWorkloadsRequest) Reset

func (x *ListWorkloadsRequest) Reset()

func (*ListWorkloadsRequest) String

func (x *ListWorkloadsRequest) String() string

type ListWorkloadsResponse

type ListWorkloadsResponse struct {

	// List of Workloads.
	Workloads []*Workload `protobuf:"bytes,1,rep,name=workloads,proto3" json:"workloads,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
}

Response for ListWorkloads.

func (*ListWorkloadsResponse) Descriptor deprecated

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

Deprecated: Use ListWorkloadsResponse.ProtoReflect.Descriptor instead.

func (*ListWorkloadsResponse) GetNextPageToken

func (x *ListWorkloadsResponse) GetNextPageToken() string

func (*ListWorkloadsResponse) GetUnreachable

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

func (*ListWorkloadsResponse) GetWorkloads

func (x *ListWorkloadsResponse) GetWorkloads() []*Workload

func (*ListWorkloadsResponse) ProtoMessage

func (*ListWorkloadsResponse) ProtoMessage()

func (*ListWorkloadsResponse) ProtoReflect

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

func (*ListWorkloadsResponse) Reset

func (x *ListWorkloadsResponse) Reset()

func (*ListWorkloadsResponse) String

func (x *ListWorkloadsResponse) String() string

type LookupDiscoveredServiceRequest

type LookupDiscoveredServiceRequest struct {

	// Required. Host project ID and location to lookup Discovered Service in.
	// Expected format: `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Resource URI to find DiscoveredService for.
	// Accepts both project number and project ID and does translation when
	// needed.
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

Request for LookupDiscoveredService.

func (*LookupDiscoveredServiceRequest) Descriptor deprecated

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

Deprecated: Use LookupDiscoveredServiceRequest.ProtoReflect.Descriptor instead.

func (*LookupDiscoveredServiceRequest) GetParent

func (x *LookupDiscoveredServiceRequest) GetParent() string

func (*LookupDiscoveredServiceRequest) GetUri

func (*LookupDiscoveredServiceRequest) ProtoMessage

func (*LookupDiscoveredServiceRequest) ProtoMessage()

func (*LookupDiscoveredServiceRequest) ProtoReflect

func (*LookupDiscoveredServiceRequest) Reset

func (x *LookupDiscoveredServiceRequest) Reset()

func (*LookupDiscoveredServiceRequest) String

type LookupDiscoveredServiceResponse

type LookupDiscoveredServiceResponse struct {

	// Discovered Service if exists, empty otherwise.
	DiscoveredService *DiscoveredService `protobuf:"bytes,1,opt,name=discovered_service,json=discoveredService,proto3" json:"discovered_service,omitempty"`
	// contains filtered or unexported fields
}

Response for LookupDiscoveredService.

func (*LookupDiscoveredServiceResponse) Descriptor deprecated

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

Deprecated: Use LookupDiscoveredServiceResponse.ProtoReflect.Descriptor instead.

func (*LookupDiscoveredServiceResponse) GetDiscoveredService

func (x *LookupDiscoveredServiceResponse) GetDiscoveredService() *DiscoveredService

func (*LookupDiscoveredServiceResponse) ProtoMessage

func (*LookupDiscoveredServiceResponse) ProtoMessage()

func (*LookupDiscoveredServiceResponse) ProtoReflect

func (*LookupDiscoveredServiceResponse) Reset

func (*LookupDiscoveredServiceResponse) String

type LookupDiscoveredWorkloadRequest

type LookupDiscoveredWorkloadRequest struct {

	// Required. Host project ID and location to lookup Discovered Workload in.
	// Expected format: `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Resource URI to find Discovered Workload for.
	// Accepts both project number and project ID and does translation when
	// needed.
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

Request for LookupDiscoveredWorkload.

func (*LookupDiscoveredWorkloadRequest) Descriptor deprecated

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

Deprecated: Use LookupDiscoveredWorkloadRequest.ProtoReflect.Descriptor instead.

func (*LookupDiscoveredWorkloadRequest) GetParent

func (x *LookupDiscoveredWorkloadRequest) GetParent() string

func (*LookupDiscoveredWorkloadRequest) GetUri

func (*LookupDiscoveredWorkloadRequest) ProtoMessage

func (*LookupDiscoveredWorkloadRequest) ProtoMessage()

func (*LookupDiscoveredWorkloadRequest) ProtoReflect

func (*LookupDiscoveredWorkloadRequest) Reset

func (*LookupDiscoveredWorkloadRequest) String

type LookupDiscoveredWorkloadResponse

type LookupDiscoveredWorkloadResponse struct {

	// Discovered Workload if exists, empty otherwise.
	DiscoveredWorkload *DiscoveredWorkload `protobuf:"bytes,1,opt,name=discovered_workload,json=discoveredWorkload,proto3" json:"discovered_workload,omitempty"`
	// contains filtered or unexported fields
}

Response for LookupDiscoveredWorkload.

func (*LookupDiscoveredWorkloadResponse) Descriptor deprecated

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

Deprecated: Use LookupDiscoveredWorkloadResponse.ProtoReflect.Descriptor instead.

func (*LookupDiscoveredWorkloadResponse) GetDiscoveredWorkload

func (x *LookupDiscoveredWorkloadResponse) GetDiscoveredWorkload() *DiscoveredWorkload

func (*LookupDiscoveredWorkloadResponse) ProtoMessage

func (*LookupDiscoveredWorkloadResponse) ProtoMessage()

func (*LookupDiscoveredWorkloadResponse) ProtoReflect

func (*LookupDiscoveredWorkloadResponse) Reset

func (*LookupDiscoveredWorkloadResponse) String

type LookupServiceProjectAttachmentRequest

type LookupServiceProjectAttachmentRequest struct {

	// Required. Service project ID and location to lookup service project
	// attachment for. Only global location is supported. Expected format:
	// `projects/{project}/locations/{location}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for LookupServiceProjectAttachment.

func (*LookupServiceProjectAttachmentRequest) Descriptor deprecated

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

Deprecated: Use LookupServiceProjectAttachmentRequest.ProtoReflect.Descriptor instead.

func (*LookupServiceProjectAttachmentRequest) GetName

func (*LookupServiceProjectAttachmentRequest) ProtoMessage

func (*LookupServiceProjectAttachmentRequest) ProtoMessage()

func (*LookupServiceProjectAttachmentRequest) ProtoReflect

func (*LookupServiceProjectAttachmentRequest) Reset

func (*LookupServiceProjectAttachmentRequest) String

type LookupServiceProjectAttachmentResponse

type LookupServiceProjectAttachmentResponse struct {

	// Service project attachment for a project if exists, empty otherwise.
	ServiceProjectAttachment *ServiceProjectAttachment `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response for LookupServiceProjectAttachment.

func (*LookupServiceProjectAttachmentResponse) Descriptor deprecated

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

Deprecated: Use LookupServiceProjectAttachmentResponse.ProtoReflect.Descriptor instead.

func (*LookupServiceProjectAttachmentResponse) GetServiceProjectAttachment

func (x *LookupServiceProjectAttachmentResponse) GetServiceProjectAttachment() *ServiceProjectAttachment

func (*LookupServiceProjectAttachmentResponse) ProtoMessage

func (*LookupServiceProjectAttachmentResponse) ProtoReflect

func (*LookupServiceProjectAttachmentResponse) Reset

func (*LookupServiceProjectAttachmentResponse) 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 been cancelled successfully
	// 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 Scope

type Scope struct {

	// Required. Scope Type.
	Type Scope_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.apphub.v1.Scope_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Scope of an application.

func (*Scope) Descriptor deprecated

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

Deprecated: Use Scope.ProtoReflect.Descriptor instead.

func (*Scope) GetType

func (x *Scope) GetType() Scope_Type

func (*Scope) ProtoMessage

func (*Scope) ProtoMessage()

func (*Scope) ProtoReflect

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

func (*Scope) Reset

func (x *Scope) Reset()

func (*Scope) String

func (x *Scope) String() string

type Scope_Type

type Scope_Type int32

Scope Type.

const (
	// Unspecified type.
	Scope_TYPE_UNSPECIFIED Scope_Type = 0
	// Regional type.
	Scope_REGIONAL Scope_Type = 1
)

func (Scope_Type) Descriptor

func (Scope_Type) Descriptor() protoreflect.EnumDescriptor

func (Scope_Type) Enum

func (x Scope_Type) Enum() *Scope_Type

func (Scope_Type) EnumDescriptor deprecated

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

Deprecated: Use Scope_Type.Descriptor instead.

func (Scope_Type) Number

func (x Scope_Type) Number() protoreflect.EnumNumber

func (Scope_Type) String

func (x Scope_Type) String() string

func (Scope_Type) Type

type Service

type Service struct {

	// Identifier. The resource name of a Service. Format:
	// "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. User-defined name for the Service.
	// Can have a maximum length of 63 characters.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. User-defined description of a Service.
	// Can have a maximum length of 2048 characters.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Reference to an underlying networking resource that can
	// comprise a Service. These are immutable.
	ServiceReference *ServiceReference `protobuf:"bytes,4,opt,name=service_reference,json=serviceReference,proto3" json:"service_reference,omitempty"`
	// Output only. Properties of an underlying compute resource that can comprise
	// a Service. These are immutable.
	ServiceProperties *ServiceProperties `protobuf:"bytes,5,opt,name=service_properties,json=serviceProperties,proto3" json:"service_properties,omitempty"`
	// Optional. Consumer provided attributes.
	Attributes *Attributes `protobuf:"bytes,6,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// Required. Immutable. The resource name of the original discovered service.
	DiscoveredService string `protobuf:"bytes,7,opt,name=discovered_service,json=discoveredService,proto3" json:"discovered_service,omitempty"`
	// Output only. Create time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Update time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. A universally unique identifier (UUID) for the `Service` in
	// the UUID4 format.
	Uid string `protobuf:"bytes,10,opt,name=uid,proto3" json:"uid,omitempty"`
	// Output only. Service state.
	State Service_State `protobuf:"varint,11,opt,name=state,proto3,enum=google.cloud.apphub.v1.Service_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Service is an App Hub data model that contains a discovered service, which represents a network/api interface that exposes some functionality to clients for consumption over the network.

func (*Service) Descriptor deprecated

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetAttributes

func (x *Service) GetAttributes() *Attributes

func (*Service) GetCreateTime

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

func (*Service) GetDescription

func (x *Service) GetDescription() string

func (*Service) GetDiscoveredService

func (x *Service) GetDiscoveredService() string

func (*Service) GetDisplayName

func (x *Service) GetDisplayName() string

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) GetServiceProperties

func (x *Service) GetServiceProperties() *ServiceProperties

func (*Service) GetServiceReference

func (x *Service) GetServiceReference() *ServiceReference

func (*Service) GetState

func (x *Service) GetState() Service_State

func (*Service) GetUid

func (x *Service) GetUid() string

func (*Service) GetUpdateTime

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

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type ServiceProjectAttachment

type ServiceProjectAttachment struct {

	// Identifier. The resource name of a ServiceProjectAttachment. Format:
	// "projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}."
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Immutable. Service project name in the format: "projects/abc" or
	// "projects/123". As input, project name with either project id or number are
	// accepted. As output, this field will contain project number.
	ServiceProject string `protobuf:"bytes,2,opt,name=service_project,json=serviceProject,proto3" json:"service_project,omitempty"`
	// Output only. Create time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. A globally unique identifier (in UUID4 format) for the
	// `ServiceProjectAttachment`.
	Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"`
	// Output only. ServiceProjectAttachment state.
	State ServiceProjectAttachment_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.apphub.v1.ServiceProjectAttachment_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

ServiceProjectAttachment represents an attachment from a service project to a host project. Service projects contain the underlying cloud infrastructure resources, and expose these resources to the host project through a ServiceProjectAttachment. With the attachments, the host project can provide an aggregated view of resources across all service projects.

func (*ServiceProjectAttachment) Descriptor deprecated

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

Deprecated: Use ServiceProjectAttachment.ProtoReflect.Descriptor instead.

func (*ServiceProjectAttachment) GetCreateTime

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

func (*ServiceProjectAttachment) GetName

func (x *ServiceProjectAttachment) GetName() string

func (*ServiceProjectAttachment) GetServiceProject

func (x *ServiceProjectAttachment) GetServiceProject() string

func (*ServiceProjectAttachment) GetState

func (*ServiceProjectAttachment) GetUid

func (x *ServiceProjectAttachment) GetUid() string

func (*ServiceProjectAttachment) ProtoMessage

func (*ServiceProjectAttachment) ProtoMessage()

func (*ServiceProjectAttachment) ProtoReflect

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

func (*ServiceProjectAttachment) Reset

func (x *ServiceProjectAttachment) Reset()

func (*ServiceProjectAttachment) String

func (x *ServiceProjectAttachment) String() string

type ServiceProjectAttachment_State

type ServiceProjectAttachment_State int32

ServiceProjectAttachment state.

const (
	// Unspecified state.
	ServiceProjectAttachment_STATE_UNSPECIFIED ServiceProjectAttachment_State = 0
	// The ServiceProjectAttachment is being created.
	ServiceProjectAttachment_CREATING ServiceProjectAttachment_State = 1
	// The ServiceProjectAttachment is ready.
	// This means Services and Workloads under the corresponding
	// ServiceProjectAttachment is ready for registration.
	ServiceProjectAttachment_ACTIVE ServiceProjectAttachment_State = 2
	// The ServiceProjectAttachment is being deleted.
	ServiceProjectAttachment_DELETING ServiceProjectAttachment_State = 3
)

func (ServiceProjectAttachment_State) Descriptor

func (ServiceProjectAttachment_State) Enum

func (ServiceProjectAttachment_State) EnumDescriptor deprecated

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

Deprecated: Use ServiceProjectAttachment_State.Descriptor instead.

func (ServiceProjectAttachment_State) Number

func (ServiceProjectAttachment_State) String

func (ServiceProjectAttachment_State) Type

type ServiceProperties

type ServiceProperties struct {

	// Output only. The service project identifier that the underlying cloud
	// resource resides in.
	GcpProject string `protobuf:"bytes,1,opt,name=gcp_project,json=gcpProject,proto3" json:"gcp_project,omitempty"`
	// Output only. The location that the underlying resource resides in, for
	// example, us-west1.
	Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// Output only. The location that the underlying resource resides in if it is
	// zonal, for example, us-west1-a).
	Zone string `protobuf:"bytes,3,opt,name=zone,proto3" json:"zone,omitempty"`
	// contains filtered or unexported fields
}

Properties of an underlying cloud resource that can comprise a Service.

func (*ServiceProperties) Descriptor deprecated

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

Deprecated: Use ServiceProperties.ProtoReflect.Descriptor instead.

func (*ServiceProperties) GetGcpProject

func (x *ServiceProperties) GetGcpProject() string

func (*ServiceProperties) GetLocation

func (x *ServiceProperties) GetLocation() string

func (*ServiceProperties) GetZone

func (x *ServiceProperties) GetZone() string

func (*ServiceProperties) ProtoMessage

func (*ServiceProperties) ProtoMessage()

func (*ServiceProperties) ProtoReflect

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

func (*ServiceProperties) Reset

func (x *ServiceProperties) Reset()

func (*ServiceProperties) String

func (x *ServiceProperties) String() string

type ServiceReference

type ServiceReference struct {

	// Output only. The underlying resource URI (For example, URI of Forwarding
	// Rule, URL Map, and Backend Service).
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

Reference to an underlying networking resource that can comprise a Service.

func (*ServiceReference) Descriptor deprecated

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

Deprecated: Use ServiceReference.ProtoReflect.Descriptor instead.

func (*ServiceReference) GetUri

func (x *ServiceReference) GetUri() string

func (*ServiceReference) ProtoMessage

func (*ServiceReference) ProtoMessage()

func (*ServiceReference) ProtoReflect

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

func (*ServiceReference) Reset

func (x *ServiceReference) Reset()

func (*ServiceReference) String

func (x *ServiceReference) String() string

type Service_State

type Service_State int32

Service state.

const (
	// Unspecified state.
	Service_STATE_UNSPECIFIED Service_State = 0
	// The service is being created.
	Service_CREATING Service_State = 1
	// The service is ready.
	Service_ACTIVE Service_State = 2
	// The service is being deleted.
	Service_DELETING Service_State = 3
	// The underlying networking resources have been deleted.
	Service_DETACHED Service_State = 4
)

func (Service_State) Descriptor

func (Service_State) Enum

func (x Service_State) Enum() *Service_State

func (Service_State) EnumDescriptor deprecated

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

Deprecated: Use Service_State.Descriptor instead.

func (Service_State) Number

func (Service_State) String

func (x Service_State) String() string

func (Service_State) Type

type UnimplementedAppHubServer

type UnimplementedAppHubServer struct {
}

UnimplementedAppHubServer can be embedded to have forward compatible implementations.

func (*UnimplementedAppHubServer) CreateApplication

func (*UnimplementedAppHubServer) CreateService

func (*UnimplementedAppHubServer) CreateServiceProjectAttachment

func (*UnimplementedAppHubServer) CreateWorkload

func (*UnimplementedAppHubServer) DeleteApplication

func (*UnimplementedAppHubServer) DeleteService

func (*UnimplementedAppHubServer) DeleteServiceProjectAttachment

func (*UnimplementedAppHubServer) DeleteWorkload

func (*UnimplementedAppHubServer) GetApplication

func (*UnimplementedAppHubServer) GetDiscoveredService

func (*UnimplementedAppHubServer) GetDiscoveredWorkload

func (*UnimplementedAppHubServer) GetService

func (*UnimplementedAppHubServer) GetWorkload

func (*UnimplementedAppHubServer) ListApplications

func (*UnimplementedAppHubServer) ListServices

func (*UnimplementedAppHubServer) ListWorkloads

func (*UnimplementedAppHubServer) UpdateApplication

func (*UnimplementedAppHubServer) UpdateService

func (*UnimplementedAppHubServer) UpdateWorkload

type UpdateApplicationRequest

type UpdateApplicationRequest struct {

	// Required. Field mask is used to specify the fields to be overwritten in the
	// Application resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request.
	// The API changes the values of the fields as specified in the update_mask.
	// The API ignores the values of all fields not covered by the update_mask.
	// You can also unset a field by not specifying it in the updated message, but
	// adding the field to the mask. This clears whatever value the field
	// previously had.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The resource being updated.
	Application *Application `protobuf:"bytes,2,opt,name=application,proto3" json:"application,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
}

Request for UpdateApplication.

func (*UpdateApplicationRequest) Descriptor deprecated

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

Deprecated: Use UpdateApplicationRequest.ProtoReflect.Descriptor instead.

func (*UpdateApplicationRequest) GetApplication

func (x *UpdateApplicationRequest) GetApplication() *Application

func (*UpdateApplicationRequest) GetRequestId

func (x *UpdateApplicationRequest) GetRequestId() string

func (*UpdateApplicationRequest) GetUpdateMask

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

func (*UpdateApplicationRequest) ProtoMessage

func (*UpdateApplicationRequest) ProtoMessage()

func (*UpdateApplicationRequest) ProtoReflect

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

func (*UpdateApplicationRequest) Reset

func (x *UpdateApplicationRequest) Reset()

func (*UpdateApplicationRequest) String

func (x *UpdateApplicationRequest) String() string

type UpdateServiceRequest

type UpdateServiceRequest struct {

	// Required. Field mask is used to specify the fields to be overwritten in the
	// Service resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request.
	// The API changes the values of the fields as specified in the update_mask.
	// The API ignores the values of all fields not covered by the update_mask.
	// You can also unset a field by not specifying it in the updated message, but
	// adding the field to the mask. This clears whatever value the field
	// previously had.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The resource being updated.
	Service *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,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
}

Request for UpdateService.

func (*UpdateServiceRequest) Descriptor deprecated

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

Deprecated: Use UpdateServiceRequest.ProtoReflect.Descriptor instead.

func (*UpdateServiceRequest) GetRequestId

func (x *UpdateServiceRequest) GetRequestId() string

func (*UpdateServiceRequest) GetService

func (x *UpdateServiceRequest) GetService() *Service

func (*UpdateServiceRequest) GetUpdateMask

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

func (*UpdateServiceRequest) ProtoMessage

func (*UpdateServiceRequest) ProtoMessage()

func (*UpdateServiceRequest) ProtoReflect

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

func (*UpdateServiceRequest) Reset

func (x *UpdateServiceRequest) Reset()

func (*UpdateServiceRequest) String

func (x *UpdateServiceRequest) String() string

type UpdateWorkloadRequest

type UpdateWorkloadRequest struct {

	// Required. Field mask is used to specify the fields to be overwritten in the
	// Workload resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request.
	// The API changes the values of the fields as specified in the update_mask.
	// The API ignores the values of all fields not covered by the update_mask.
	// You can also unset a field by not specifying it in the updated message, but
	// adding the field to the mask. This clears whatever value the field
	// previously had.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The resource being updated.
	Workload *Workload `protobuf:"bytes,2,opt,name=workload,proto3" json:"workload,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
}

Request for UpdateWorkload.

func (*UpdateWorkloadRequest) Descriptor deprecated

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

Deprecated: Use UpdateWorkloadRequest.ProtoReflect.Descriptor instead.

func (*UpdateWorkloadRequest) GetRequestId

func (x *UpdateWorkloadRequest) GetRequestId() string

func (*UpdateWorkloadRequest) GetUpdateMask

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

func (*UpdateWorkloadRequest) GetWorkload

func (x *UpdateWorkloadRequest) GetWorkload() *Workload

func (*UpdateWorkloadRequest) ProtoMessage

func (*UpdateWorkloadRequest) ProtoMessage()

func (*UpdateWorkloadRequest) ProtoReflect

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

func (*UpdateWorkloadRequest) Reset

func (x *UpdateWorkloadRequest) Reset()

func (*UpdateWorkloadRequest) String

func (x *UpdateWorkloadRequest) String() string

type Workload

type Workload struct {

	// Identifier. The resource name of the Workload. Format:
	// "projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. User-defined name for the Workload.
	// Can have a maximum length of 63 characters.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. User-defined description of a Workload.
	// Can have a maximum length of 2048 characters.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Reference of an underlying compute resource represented by the
	// Workload. These are immutable.
	WorkloadReference *WorkloadReference `protobuf:"bytes,4,opt,name=workload_reference,json=workloadReference,proto3" json:"workload_reference,omitempty"`
	// Output only. Properties of an underlying compute resource represented by
	// the Workload. These are immutable.
	WorkloadProperties *WorkloadProperties `protobuf:"bytes,5,opt,name=workload_properties,json=workloadProperties,proto3" json:"workload_properties,omitempty"`
	// Required. Immutable. The resource name of the original discovered workload.
	DiscoveredWorkload string `protobuf:"bytes,6,opt,name=discovered_workload,json=discoveredWorkload,proto3" json:"discovered_workload,omitempty"`
	// Optional. Consumer provided attributes.
	Attributes *Attributes `protobuf:"bytes,7,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// Output only. Create time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Update time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. A universally unique identifier (UUID) for the `Workload` in
	// the UUID4 format.
	Uid string `protobuf:"bytes,10,opt,name=uid,proto3" json:"uid,omitempty"`
	// Output only. Workload state.
	State Workload_State `protobuf:"varint,11,opt,name=state,proto3,enum=google.cloud.apphub.v1.Workload_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Workload is an App Hub data model that contains a discovered workload, which represents a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality.

func (*Workload) Descriptor deprecated

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

Deprecated: Use Workload.ProtoReflect.Descriptor instead.

func (*Workload) GetAttributes

func (x *Workload) GetAttributes() *Attributes

func (*Workload) GetCreateTime

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

func (*Workload) GetDescription

func (x *Workload) GetDescription() string

func (*Workload) GetDiscoveredWorkload

func (x *Workload) GetDiscoveredWorkload() string

func (*Workload) GetDisplayName

func (x *Workload) GetDisplayName() string

func (*Workload) GetName

func (x *Workload) GetName() string

func (*Workload) GetState

func (x *Workload) GetState() Workload_State

func (*Workload) GetUid

func (x *Workload) GetUid() string

func (*Workload) GetUpdateTime

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

func (*Workload) GetWorkloadProperties

func (x *Workload) GetWorkloadProperties() *WorkloadProperties

func (*Workload) GetWorkloadReference

func (x *Workload) GetWorkloadReference() *WorkloadReference

func (*Workload) ProtoMessage

func (*Workload) ProtoMessage()

func (*Workload) ProtoReflect

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

func (*Workload) Reset

func (x *Workload) Reset()

func (*Workload) String

func (x *Workload) String() string

type WorkloadProperties

type WorkloadProperties struct {

	// Output only. The service project identifier that the underlying cloud
	// resource resides in. Empty for non cloud resources.
	GcpProject string `protobuf:"bytes,1,opt,name=gcp_project,json=gcpProject,proto3" json:"gcp_project,omitempty"`
	// Output only. The location that the underlying compute resource resides in
	// (e.g us-west1).
	Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// Output only. The location that the underlying compute resource resides in
	// if it is zonal (e.g us-west1-a).
	Zone string `protobuf:"bytes,3,opt,name=zone,proto3" json:"zone,omitempty"`
	// contains filtered or unexported fields
}

Properties of an underlying compute resource represented by the Workload.

func (*WorkloadProperties) Descriptor deprecated

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

Deprecated: Use WorkloadProperties.ProtoReflect.Descriptor instead.

func (*WorkloadProperties) GetGcpProject

func (x *WorkloadProperties) GetGcpProject() string

func (*WorkloadProperties) GetLocation

func (x *WorkloadProperties) GetLocation() string

func (*WorkloadProperties) GetZone

func (x *WorkloadProperties) GetZone() string

func (*WorkloadProperties) ProtoMessage

func (*WorkloadProperties) ProtoMessage()

func (*WorkloadProperties) ProtoReflect

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

func (*WorkloadProperties) Reset

func (x *WorkloadProperties) Reset()

func (*WorkloadProperties) String

func (x *WorkloadProperties) String() string

type WorkloadReference

type WorkloadReference struct {

	// Output only. The underlying compute resource uri.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

Reference of an underlying compute resource represented by the Workload.

func (*WorkloadReference) Descriptor deprecated

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

Deprecated: Use WorkloadReference.ProtoReflect.Descriptor instead.

func (*WorkloadReference) GetUri

func (x *WorkloadReference) GetUri() string

func (*WorkloadReference) ProtoMessage

func (*WorkloadReference) ProtoMessage()

func (*WorkloadReference) ProtoReflect

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

func (*WorkloadReference) Reset

func (x *WorkloadReference) Reset()

func (*WorkloadReference) String

func (x *WorkloadReference) String() string

type Workload_State

type Workload_State int32

Workload state.

const (
	// Unspecified state.
	Workload_STATE_UNSPECIFIED Workload_State = 0
	// The Workload is being created.
	Workload_CREATING Workload_State = 1
	// The Workload is ready.
	Workload_ACTIVE Workload_State = 2
	// The Workload is being deleted.
	Workload_DELETING Workload_State = 3
	// The underlying compute resources have been deleted.
	Workload_DETACHED Workload_State = 4
)

func (Workload_State) Descriptor

func (Workload_State) Enum

func (x Workload_State) Enum() *Workload_State

func (Workload_State) EnumDescriptor deprecated

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

Deprecated: Use Workload_State.Descriptor instead.

func (Workload_State) Number

func (Workload_State) String

func (x Workload_State) String() string

func (Workload_State) Type

Jump to

Keyboard shortcuts

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