Package cloud.google.com/go/servicemanagement/apiv1/servicemanagementpb (v1.4.0)

Stay organized with collections Save and categorize content based on your preferences.

Variables

OperationMetadata_Status_name, OperationMetadata_Status_value

var (
	OperationMetadata_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "DONE",
		2: "NOT_STARTED",
		3: "IN_PROGRESS",
		4: "FAILED",
		5: "CANCELLED",
	}
	OperationMetadata_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"DONE":               1,
		"NOT_STARTED":        2,
		"IN_PROGRESS":        3,
		"FAILED":             4,
		"CANCELLED":          5,
	}
)

Enum value maps for OperationMetadata_Status.

Diagnostic_Kind_name, Diagnostic_Kind_value

var (
	Diagnostic_Kind_name = map[int32]string{
		0: "WARNING",
		1: "ERROR",
	}
	Diagnostic_Kind_value = map[string]int32{
		"WARNING": 0,
		"ERROR":   1,
	}
)

Enum value maps for Diagnostic_Kind.

ConfigFile_FileType_name, ConfigFile_FileType_value

var (
	ConfigFile_FileType_name = map[int32]string{
		0: "FILE_TYPE_UNSPECIFIED",
		1: "SERVICE_CONFIG_YAML",
		2: "OPEN_API_JSON",
		3: "OPEN_API_YAML",
		4: "FILE_DESCRIPTOR_SET_PROTO",
		6: "PROTO_FILE",
	}
	ConfigFile_FileType_value = map[string]int32{
		"FILE_TYPE_UNSPECIFIED":     0,
		"SERVICE_CONFIG_YAML":       1,
		"OPEN_API_JSON":             2,
		"OPEN_API_YAML":             3,
		"FILE_DESCRIPTOR_SET_PROTO": 4,
		"PROTO_FILE":                6,
	}
)

Enum value maps for ConfigFile_FileType.

Rollout_RolloutStatus_name, Rollout_RolloutStatus_value

var (
	Rollout_RolloutStatus_name = map[int32]string{
		0: "ROLLOUT_STATUS_UNSPECIFIED",
		1: "IN_PROGRESS",
		2: "SUCCESS",
		3: "CANCELLED",
		4: "FAILED",
		5: "PENDING",
		6: "FAILED_ROLLED_BACK",
	}
	Rollout_RolloutStatus_value = map[string]int32{
		"ROLLOUT_STATUS_UNSPECIFIED": 0,
		"IN_PROGRESS":                1,
		"SUCCESS":                    2,
		"CANCELLED":                  3,
		"FAILED":                     4,
		"PENDING":                    5,
		"FAILED_ROLLED_BACK":         6,
	}
)

Enum value maps for Rollout_RolloutStatus.

GetServiceConfigRequest_ConfigView_name, GetServiceConfigRequest_ConfigView_value

var (
	GetServiceConfigRequest_ConfigView_name = map[int32]string{
		0: "BASIC",
		1: "FULL",
	}
	GetServiceConfigRequest_ConfigView_value = map[string]int32{
		"BASIC": 0,
		"FULL":  1,
	}
)

Enum value maps for GetServiceConfigRequest_ConfigView.

File_google_api_servicemanagement_v1_resources_proto

var File_google_api_servicemanagement_v1_resources_proto protoreflect.FileDescriptor

File_google_api_servicemanagement_v1_servicemanager_proto

var File_google_api_servicemanagement_v1_servicemanager_proto protoreflect.FileDescriptor

Functions

func RegisterServiceManagerServer

func RegisterServiceManagerServer(s *grpc.Server, srv ServiceManagerServer)

ChangeReport

type ChangeReport struct {

	// List of changes between two service configurations.
	// The changes will be alphabetically sorted based on the identifier
	// of each change.
	// A ConfigChange identifier is a dot separated path to the configuration.
	// Example: visibility.rules[selector='LibraryService.CreateBook'].restriction
	ConfigChanges []*configchange.ConfigChange `protobuf:"bytes,1,rep,name=config_changes,json=configChanges,proto3" json:"config_changes,omitempty"`
	// contains filtered or unexported fields
}

Change report associated with a particular service configuration.

It contains a list of ConfigChanges based on the comparison between two service configurations.

func (*ChangeReport) Descriptor

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

Deprecated: Use ChangeReport.ProtoReflect.Descriptor instead.

func (*ChangeReport) GetConfigChanges

func (x *ChangeReport) GetConfigChanges() []*configchange.ConfigChange

func (*ChangeReport) ProtoMessage

func (*ChangeReport) ProtoMessage()

func (*ChangeReport) ProtoReflect

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

func (*ChangeReport) Reset

func (x *ChangeReport) Reset()

func (*ChangeReport) String

func (x *ChangeReport) String() string

ConfigFile

type ConfigFile struct {
	FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`

	FileContents []byte `protobuf:"bytes,3,opt,name=file_contents,json=fileContents,proto3" json:"file_contents,omitempty"`

	FileType ConfigFile_FileType "" /* 143 byte string literal not displayed */

}

Generic specification of a source configuration file

func (*ConfigFile) Descriptor

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

Deprecated: Use ConfigFile.ProtoReflect.Descriptor instead.

func (*ConfigFile) GetFileContents

func (x *ConfigFile) GetFileContents() []byte

func (*ConfigFile) GetFilePath

func (x *ConfigFile) GetFilePath() string

func (*ConfigFile) GetFileType

func (x *ConfigFile) GetFileType() ConfigFile_FileType

func (*ConfigFile) ProtoMessage

func (*ConfigFile) ProtoMessage()

func (*ConfigFile) ProtoReflect

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

func (*ConfigFile) Reset

func (x *ConfigFile) Reset()

func (*ConfigFile) String

func (x *ConfigFile) String() string

ConfigFile_FileType

type ConfigFile_FileType int32

ConfigFile_FILE_TYPE_UNSPECIFIED, ConfigFile_SERVICE_CONFIG_YAML, ConfigFile_OPEN_API_JSON, ConfigFile_OPEN_API_YAML, ConfigFile_FILE_DESCRIPTOR_SET_PROTO, ConfigFile_PROTO_FILE

const (
	// Unknown file type.
	ConfigFile_FILE_TYPE_UNSPECIFIED ConfigFile_FileType = 0
	// YAML-specification of service.
	ConfigFile_SERVICE_CONFIG_YAML ConfigFile_FileType = 1
	// OpenAPI specification, serialized in JSON.
	ConfigFile_OPEN_API_JSON ConfigFile_FileType = 2
	// OpenAPI specification, serialized in YAML.
	ConfigFile_OPEN_API_YAML ConfigFile_FileType = 3
	// FileDescriptorSet, generated by protoc.
	//
	// To generate, use protoc with imports and source info included.
	// For an example test.proto file, the following command would put the value
	// in a new file named out.pb.
	//
	// $protoc --include_imports --include_source_info test.proto -o out.pb
	ConfigFile_FILE_DESCRIPTOR_SET_PROTO ConfigFile_FileType = 4
	// Uncompiled Proto file. Used for storage and display purposes only,
	// currently server-side compilation is not supported. Should match the
	// inputs to 'protoc' command used to generated FILE_DESCRIPTOR_SET_PROTO. A
	// file of this type can only be included if at least one file of type
	// FILE_DESCRIPTOR_SET_PROTO is included.
	ConfigFile_PROTO_FILE ConfigFile_FileType = 6
)

func (ConfigFile_FileType) Descriptor

func (ConfigFile_FileType) Enum

func (ConfigFile_FileType) EnumDescriptor

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

Deprecated: Use ConfigFile_FileType.Descriptor instead.

func (ConfigFile_FileType) Number

func (ConfigFile_FileType) String

func (x ConfigFile_FileType) String() string

func (ConfigFile_FileType) Type

ConfigRef

type ConfigRef struct {

	// Resource name of a service config. It must have the following
	// format: "services/{service name}/configs/{config id}".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Represents a service configuration with its name and id.

func (*ConfigRef) Descriptor

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

Deprecated: Use ConfigRef.ProtoReflect.Descriptor instead.

func (*ConfigRef) GetName

func (x *ConfigRef) GetName() string

func (*ConfigRef) ProtoMessage

func (*ConfigRef) ProtoMessage()

func (*ConfigRef) ProtoReflect

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

func (*ConfigRef) Reset

func (x *ConfigRef) Reset()

func (*ConfigRef) String

func (x *ConfigRef) String() string

ConfigSource

type ConfigSource struct {

	// A unique ID for a specific instance of this message, typically assigned
	// by the client for tracking purpose. If empty, the server may choose to
	// generate one instead.
	Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	// Set of source configuration files that are used to generate a service
	// configuration (`google.api.Service`).
	Files []*ConfigFile `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

Represents a source file which is used to generate the service configuration defined by google.api.Service.

func (*ConfigSource) Descriptor

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

Deprecated: Use ConfigSource.ProtoReflect.Descriptor instead.

func (*ConfigSource) GetFiles

func (x *ConfigSource) GetFiles() []*ConfigFile

func (*ConfigSource) GetId

func (x *ConfigSource) GetId() string

func (*ConfigSource) ProtoMessage

func (*ConfigSource) ProtoMessage()

func (*ConfigSource) ProtoReflect

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

func (*ConfigSource) Reset

func (x *ConfigSource) Reset()

func (*ConfigSource) String

func (x *ConfigSource) String() string

CreateServiceConfigRequest

type CreateServiceConfigRequest struct {

	// Required. The name of the service.  See the
	// [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
	// example: `example.googleapis.com`.
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// Required. The service configuration resource.
	ServiceConfig *serviceconfig.Service `protobuf:"bytes,2,opt,name=service_config,json=serviceConfig,proto3" json:"service_config,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateServiceConfig method.

func (*CreateServiceConfigRequest) Descriptor

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

Deprecated: Use CreateServiceConfigRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceConfigRequest) GetServiceConfig

func (x *CreateServiceConfigRequest) GetServiceConfig() *serviceconfig.Service

func (*CreateServiceConfigRequest) GetServiceName

func (x *CreateServiceConfigRequest) GetServiceName() string

func (*CreateServiceConfigRequest) ProtoMessage

func (*CreateServiceConfigRequest) ProtoMessage()

func (*CreateServiceConfigRequest) ProtoReflect

func (*CreateServiceConfigRequest) Reset

func (x *CreateServiceConfigRequest) Reset()

func (*CreateServiceConfigRequest) String

func (x *CreateServiceConfigRequest) String() string

CreateServiceRequest

type CreateServiceRequest struct {

	// Required. Initial values for the service resource.
	Service *ManagedService `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateService method.

func (*CreateServiceRequest) Descriptor

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

Deprecated: Use CreateServiceRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceRequest) GetService

func (x *CreateServiceRequest) GetService() *ManagedService

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

CreateServiceRolloutRequest

type CreateServiceRolloutRequest struct {

	// Required. The name of the service.  See the
	// [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
	// example: `example.googleapis.com`.
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// Required. The rollout resource. The `service_name` field is output only.
	Rollout *Rollout `protobuf:"bytes,2,opt,name=rollout,proto3" json:"rollout,omitempty"`
	// contains filtered or unexported fields
}

Request message for 'CreateServiceRollout'

func (*CreateServiceRolloutRequest) Descriptor

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

Deprecated: Use CreateServiceRolloutRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceRolloutRequest) GetRollout

func (x *CreateServiceRolloutRequest) GetRollout() *Rollout

func (*CreateServiceRolloutRequest) GetServiceName

func (x *CreateServiceRolloutRequest) GetServiceName() string

func (*CreateServiceRolloutRequest) ProtoMessage

func (*CreateServiceRolloutRequest) ProtoMessage()

func (*CreateServiceRolloutRequest) ProtoReflect

func (*CreateServiceRolloutRequest) Reset

func (x *CreateServiceRolloutRequest) Reset()

func (*CreateServiceRolloutRequest) String

func (x *CreateServiceRolloutRequest) String() string

DeleteServiceRequest

type DeleteServiceRequest struct {

	// Required. The name of the service.  See the
	// [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
	// example: `example.googleapis.com`.
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteService method.

func (*DeleteServiceRequest) Descriptor

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

Deprecated: Use DeleteServiceRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceRequest) GetServiceName

func (x *DeleteServiceRequest) GetServiceName() 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

Diagnostic

type Diagnostic struct {

	// File name and line number of the error or warning.
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// The kind of diagnostic information provided.
	Kind Diagnostic_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=google.api.servicemanagement.v1.Diagnostic_Kind" json:"kind,omitempty"`
	// Message describing the error or warning.
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Represents a diagnostic message (error or warning)

func (*Diagnostic) Descriptor

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

Deprecated: Use Diagnostic.ProtoReflect.Descriptor instead.

func (*Diagnostic) GetKind

func (x *Diagnostic) GetKind() Diagnostic_Kind

func (*Diagnostic) GetLocation

func (x *Diagnostic) GetLocation() string

func (*Diagnostic) GetMessage

func (x *Diagnostic) GetMessage() string

func (*Diagnostic) ProtoMessage

func (*Diagnostic) ProtoMessage()

func (*Diagnostic) ProtoReflect

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

func (*Diagnostic) Reset

func (x *Diagnostic) Reset()

func (*Diagnostic) String

func (x *Diagnostic) String() string

Diagnostic_Kind

type Diagnostic_Kind int32

The kind of diagnostic information possible.

Diagnostic_WARNING, Diagnostic_ERROR

const (
	// Warnings and errors
	Diagnostic_WARNING Diagnostic_Kind = 0
	// Only errors
	Diagnostic_ERROR Diagnostic_Kind = 1
)

func (Diagnostic_Kind) Descriptor

func (Diagnostic_Kind) Enum

func (x Diagnostic_Kind) Enum() *Diagnostic_Kind

func (Diagnostic_Kind) EnumDescriptor

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

Deprecated: Use Diagnostic_Kind.Descriptor instead.

func (Diagnostic_Kind) Number

func (Diagnostic_Kind) String

func (x Diagnostic_Kind) String() string

func (Diagnostic_Kind) Type

GenerateConfigReportRequest

type GenerateConfigReportRequest struct {

	// Required. Service configuration for which we want to generate the report.
	// For this version of API, the supported types are
	// [google.api.servicemanagement.v1.ConfigRef][google.api.servicemanagement.v1.ConfigRef],
	// [google.api.servicemanagement.v1.ConfigSource][google.api.servicemanagement.v1.ConfigSource],
	// and [google.api.Service][google.api.Service]
	NewConfig *any1.Any `protobuf:"bytes,1,opt,name=new_config,json=newConfig,proto3" json:"new_config,omitempty"`
	// Optional. Service configuration against which the comparison will be done.
	// For this version of API, the supported types are
	// [google.api.servicemanagement.v1.ConfigRef][google.api.servicemanagement.v1.ConfigRef],
	// [google.api.servicemanagement.v1.ConfigSource][google.api.servicemanagement.v1.ConfigSource],
	// and [google.api.Service][google.api.Service]
	OldConfig *any1.Any `protobuf:"bytes,2,opt,name=old_config,json=oldConfig,proto3" json:"old_config,omitempty"`
	// contains filtered or unexported fields
}

Request message for GenerateConfigReport method.

func (*GenerateConfigReportRequest) Descriptor

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

Deprecated: Use GenerateConfigReportRequest.ProtoReflect.Descriptor instead.

func (*GenerateConfigReportRequest) GetNewConfig

func (x *GenerateConfigReportRequest) GetNewConfig() *any1.Any

func (*GenerateConfigReportRequest) GetOldConfig

func (x *GenerateConfigReportRequest) GetOldConfig() *any1.Any

func (*GenerateConfigReportRequest) ProtoMessage

func (*GenerateConfigReportRequest) ProtoMessage()

func (*GenerateConfigReportRequest) ProtoReflect

func (*GenerateConfigReportRequest) Reset

func (x *GenerateConfigReportRequest) Reset()

func (*GenerateConfigReportRequest) String

func (x *GenerateConfigReportRequest) String() string

GenerateConfigReportResponse

type GenerateConfigReportResponse struct {

	// Name of the service this report belongs to.
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// ID of the service configuration this report belongs to.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// list of ChangeReport, each corresponding to comparison between two
	// service configurations.
	ChangeReports []*ChangeReport `protobuf:"bytes,3,rep,name=change_reports,json=changeReports,proto3" json:"change_reports,omitempty"`
	// Errors / Linter warnings associated with the service definition this
	// report
	// belongs to.
	Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

Response message for GenerateConfigReport method.

func (*GenerateConfigReportResponse) Descriptor

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

Deprecated: Use GenerateConfigReportResponse.ProtoReflect.Descriptor instead.

func (*GenerateConfigReportResponse) GetChangeReports

func (x *GenerateConfigReportResponse) GetChangeReports() []*ChangeReport

func (*GenerateConfigReportResponse) GetDiagnostics

func (x *GenerateConfigReportResponse) GetDiagnostics() []*Diagnostic

func (*GenerateConfigReportResponse) GetId

func (*GenerateConfigReportResponse) GetServiceName

func (x *GenerateConfigReportResponse) GetServiceName() string

func (*GenerateConfigReportResponse) ProtoMessage

func (*GenerateConfigReportResponse) ProtoMessage()

func (*GenerateConfigReportResponse) ProtoReflect

func (*GenerateConfigReportResponse) Reset

func (x *GenerateConfigReportResponse) Reset()

func (*GenerateConfigReportResponse) String

GetServiceConfigRequest

type GetServiceConfigRequest struct {
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`

	ConfigId string `protobuf:"bytes,2,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`

	View GetServiceConfigRequest_ConfigView "" /* 134 byte string literal not displayed */

}

Request message for GetServiceConfig method.

func (*GetServiceConfigRequest) Descriptor

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

Deprecated: Use GetServiceConfigRequest.ProtoReflect.Descriptor instead.

func (*GetServiceConfigRequest) GetConfigId

func (x *GetServiceConfigRequest) GetConfigId() string

func (*GetServiceConfigRequest) GetServiceName

func (x *GetServiceConfigRequest) GetServiceName() string

func (*GetServiceConfigRequest) GetView

func (*GetServiceConfigRequest) ProtoMessage

func (*GetServiceConfigRequest) ProtoMessage()

func (*GetServiceConfigRequest) ProtoReflect

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

func (*GetServiceConfigRequest) Reset

func (x *GetServiceConfigRequest) Reset()

func (*GetServiceConfigRequest) String

func (x *GetServiceConfigRequest) String() string

GetServiceConfigRequest_ConfigView

type GetServiceConfigRequest_ConfigView int32

GetServiceConfigRequest_BASIC, GetServiceConfigRequest_FULL

const (
	// Server response includes all fields except SourceInfo.
	GetServiceConfigRequest_BASIC GetServiceConfigRequest_ConfigView = 0
	// Server response includes all fields including SourceInfo.
	// SourceFiles are of type 'google.api.servicemanagement.v1.ConfigFile'
	// and are only available for configs created using the
	// SubmitConfigSource method.
	GetServiceConfigRequest_FULL GetServiceConfigRequest_ConfigView = 1
)

func (GetServiceConfigRequest_ConfigView) Descriptor

func (GetServiceConfigRequest_ConfigView) Enum

func (GetServiceConfigRequest_ConfigView) EnumDescriptor

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

Deprecated: Use GetServiceConfigRequest_ConfigView.Descriptor instead.

func (GetServiceConfigRequest_ConfigView) Number

func (GetServiceConfigRequest_ConfigView) String

func (GetServiceConfigRequest_ConfigView) Type

GetServiceRequest

type GetServiceRequest struct {

	// Required. The name of the service.  See the `ServiceManager` overview for
	// naming requirements.  For example: `example.googleapis.com`.
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetService method.

func (*GetServiceRequest) Descriptor

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

Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.

func (*GetServiceRequest) GetServiceName

func (x *GetServiceRequest) GetServiceName() 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

GetServiceRolloutRequest

type GetServiceRolloutRequest struct {

	// Required. The name of the service.  See the
	// [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
	// example: `example.googleapis.com`.
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// Required. The id of the rollout resource.
	RolloutId string `protobuf:"bytes,2,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetServiceRollout method.

func (*GetServiceRolloutRequest) Descriptor

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

Deprecated: Use GetServiceRolloutRequest.ProtoReflect.Descriptor instead.

func (*GetServiceRolloutRequest) GetRolloutId

func (x *GetServiceRolloutRequest) GetRolloutId() string

func (*GetServiceRolloutRequest) GetServiceName

func (x *GetServiceRolloutRequest) GetServiceName() string

func (*GetServiceRolloutRequest) ProtoMessage

func (*GetServiceRolloutRequest) ProtoMessage()

func (*GetServiceRolloutRequest) ProtoReflect

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

func (*GetServiceRolloutRequest) Reset

func (x *GetServiceRolloutRequest) Reset()

func (*GetServiceRolloutRequest) String

func (x *GetServiceRolloutRequest) String() string

ListServiceConfigsRequest

type ListServiceConfigsRequest struct {

	// Required. The name of the service.  See the
	// [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
	// example: `example.googleapis.com`.
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// The token of the page to retrieve.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The max number of items to include in the response list. Page size is 50
	// if not specified. Maximum value is 100.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListServiceConfigs method.

func (*ListServiceConfigsRequest) Descriptor

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

Deprecated: Use ListServiceConfigsRequest.ProtoReflect.Descriptor instead.

func (*ListServiceConfigsRequest) GetPageSize

func (x *ListServiceConfigsRequest) GetPageSize() int32

func (*ListServiceConfigsRequest) GetPageToken

func (x *ListServiceConfigsRequest) GetPageToken() string

func (*ListServiceConfigsRequest) GetServiceName

func (x *ListServiceConfigsRequest) GetServiceName() string

func (*ListServiceConfigsRequest) ProtoMessage

func (*ListServiceConfigsRequest) ProtoMessage()

func (*ListServiceConfigsRequest) ProtoReflect

func (*ListServiceConfigsRequest) Reset

func (x *ListServiceConfigsRequest) Reset()

func (*ListServiceConfigsRequest) String

func (x *ListServiceConfigsRequest) String() string

ListServiceConfigsResponse

type ListServiceConfigsResponse struct {

	// The list of service configuration resources.
	ServiceConfigs []*serviceconfig.Service `protobuf:"bytes,1,rep,name=service_configs,json=serviceConfigs,proto3" json:"service_configs,omitempty"`
	// The token of the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListServiceConfigs method.

func (*ListServiceConfigsResponse) Descriptor

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

Deprecated: Use ListServiceConfigsResponse.ProtoReflect.Descriptor instead.

func (*ListServiceConfigsResponse) GetNextPageToken

func (x *ListServiceConfigsResponse) GetNextPageToken() string

func (*ListServiceConfigsResponse) GetServiceConfigs

func (x *ListServiceConfigsResponse) GetServiceConfigs() []*serviceconfig.Service

func (*ListServiceConfigsResponse) ProtoMessage

func (*ListServiceConfigsResponse) ProtoMessage()

func (*ListServiceConfigsResponse) ProtoReflect

func (*ListServiceConfigsResponse) Reset

func (x *ListServiceConfigsResponse) Reset()

func (*ListServiceConfigsResponse) String

func (x *ListServiceConfigsResponse) String() string

ListServiceRolloutsRequest

type ListServiceRolloutsRequest struct {

	// Required. The name of the service.  See the
	// [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
	// example: `example.googleapis.com`.
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// The token of the page to retrieve.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The max number of items to include in the response list. Page size is 50
	// if not specified. Maximum value is 100.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Required. Use `filter` to return subset of rollouts.
	// The following filters are supported:
	//
	//	-- To limit the results to only those in
	//	   status (google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',
	//	   use filter='status=SUCCESS'
	//	-- To limit the results to those in
	//	   status (google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
	//	   or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Request message for 'ListServiceRollouts'

func (*ListServiceRolloutsRequest) Descriptor

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

Deprecated: Use ListServiceRolloutsRequest.ProtoReflect.Descriptor instead.

func (*ListServiceRolloutsRequest) GetFilter

func (x *ListServiceRolloutsRequest) GetFilter() string

func (*ListServiceRolloutsRequest) GetPageSize

func (x *ListServiceRolloutsRequest) GetPageSize() int32

func (*ListServiceRolloutsRequest) GetPageToken

func (x *ListServiceRolloutsRequest) GetPageToken() string

func (*ListServiceRolloutsRequest) GetServiceName

func (x *ListServiceRolloutsRequest) GetServiceName() string

func (*ListServiceRolloutsRequest) ProtoMessage

func (*ListServiceRolloutsRequest) ProtoMessage()

func (*ListServiceRolloutsRequest) ProtoReflect

func (*ListServiceRolloutsRequest) Reset

func (x *ListServiceRolloutsRequest) Reset()

func (*ListServiceRolloutsRequest) String

func (x *ListServiceRolloutsRequest) String() string

ListServiceRolloutsResponse

type ListServiceRolloutsResponse struct {

	// The list of rollout resources.
	Rollouts []*Rollout `protobuf:"bytes,1,rep,name=rollouts,proto3" json:"rollouts,omitempty"`
	// The token of the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListServiceRollouts method.

func (*ListServiceRolloutsResponse) Descriptor

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

Deprecated: Use ListServiceRolloutsResponse.ProtoReflect.Descriptor instead.

func (*ListServiceRolloutsResponse) GetNextPageToken

func (x *ListServiceRolloutsResponse) GetNextPageToken() string

func (*ListServiceRolloutsResponse) GetRollouts

func (x *ListServiceRolloutsResponse) GetRollouts() []*Rollout

func (*ListServiceRolloutsResponse) ProtoMessage

func (*ListServiceRolloutsResponse) ProtoMessage()

func (*ListServiceRolloutsResponse) ProtoReflect

func (*ListServiceRolloutsResponse) Reset

func (x *ListServiceRolloutsResponse) Reset()

func (*ListServiceRolloutsResponse) String

func (x *ListServiceRolloutsResponse) String() string

ListServicesRequest

type ListServicesRequest struct {

	// Include services produced by the specified project.
	ProducerProjectId string `protobuf:"bytes,1,opt,name=producer_project_id,json=producerProjectId,proto3" json:"producer_project_id,omitempty"`
	// The max number of items to include in the response list. Page size is 50
	// if not specified. Maximum value is 100.
	PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token identifying which result to start with; returned by a previous list
	// call.
	PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Include services consumed by the specified consumer.
	//
	// The Google Service Management implementation accepts the following
	// forms:
	// - project:

Request message for ListServices method.

func (*ListServicesRequest) Descriptor

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

Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.

func (*ListServicesRequest) GetConsumerId

func (x *ListServicesRequest) GetConsumerId() string

Deprecated: Do not use.

func (*ListServicesRequest) GetPageSize

func (x *ListServicesRequest) GetPageSize() int32

func (*ListServicesRequest) GetPageToken

func (x *ListServicesRequest) GetPageToken() string

func (*ListServicesRequest) GetProducerProjectId

func (x *ListServicesRequest) GetProducerProjectId() 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

ListServicesResponse

type ListServicesResponse struct {

	// The returned services will only have the name field set.
	Services []*ManagedService `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// Token that can be passed to `ListServices` to resume a paginated query.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListServices method.

func (*ListServicesResponse) Descriptor

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() []*ManagedService

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

ManagedService

type ManagedService struct {

	// The name of the service. See the
	// [overview](https://cloud.google.com/service-infrastructure/docs/overview)
	// for naming requirements.
	ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// ID of the project that produces and owns this service.
	ProducerProjectId string `protobuf:"bytes,3,opt,name=producer_project_id,json=producerProjectId,proto3" json:"producer_project_id,omitempty"`
	// contains filtered or unexported fields
}

The full representation of a Service that is managed by Google Service Management.

func (*ManagedService) Descriptor

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

Deprecated: Use ManagedService.ProtoReflect.Descriptor instead.

func (*ManagedService) GetProducerProjectId

func (x *ManagedService) GetProducerProjectId() string

func (*ManagedService) GetServiceName

func (x *ManagedService) GetServiceName() string

func (*ManagedService) ProtoMessage

func (*ManagedService) ProtoMessage()

func (*ManagedService) ProtoReflect

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

func (*ManagedService) Reset

func (x *ManagedService) Reset()

func (*ManagedService) String

func (x *ManagedService) String() string

OperationMetadata

type OperationMetadata struct {

	// The full name of the resources that this operation is directly
	// associated with.
	ResourceNames []string `protobuf:"bytes,1,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"`
	// Detailed status information for each step. The order is undetermined.
	Steps []*OperationMetadata_Step `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"`
	// Percentage of completion of this operation, ranging from 0 to 100.
	ProgressPercentage int32 `protobuf:"varint,3,opt,name=progress_percentage,json=progressPercentage,proto3" json:"progress_percentage,omitempty"`
	// The start time of the operation.
	StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// contains filtered or unexported fields
}

The metadata associated with a long running operation resource.

func (*OperationMetadata) Descriptor

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

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetProgressPercentage

func (x *OperationMetadata) GetProgressPercentage() int32

func (*OperationMetadata) GetResourceNames

func (x *OperationMetadata) GetResourceNames() []string

func (*OperationMetadata) GetStartTime

func (x *OperationMetadata) GetStartTime() *timestamp.Timestamp

func (*OperationMetadata) GetSteps

func (x *OperationMetadata) GetSteps() []*OperationMetadata_Step

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

OperationMetadata_Status

type OperationMetadata_Status int32

Code describes the status of the operation (or one of its steps).

OperationMetadata_STATUS_UNSPECIFIED, OperationMetadata_DONE, OperationMetadata_NOT_STARTED, OperationMetadata_IN_PROGRESS, OperationMetadata_FAILED, OperationMetadata_CANCELLED

const (
	// Unspecifed code.
	OperationMetadata_STATUS_UNSPECIFIED OperationMetadata_Status = 0
	// The operation or step has completed without errors.
	OperationMetadata_DONE OperationMetadata_Status = 1
	// The operation or step has not started yet.
	OperationMetadata_NOT_STARTED OperationMetadata_Status = 2
	// The operation or step is in progress.
	OperationMetadata_IN_PROGRESS OperationMetadata_Status = 3
	// The operation or step has completed with errors. If the operation is
	// rollbackable, the rollback completed with errors too.
	OperationMetadata_FAILED OperationMetadata_Status = 4
	// The operation or step has completed with cancellation.
	OperationMetadata_CANCELLED OperationMetadata_Status = 5
)

func (OperationMetadata_Status) Descriptor

func (OperationMetadata_Status) Enum

func (OperationMetadata_Status) EnumDescriptor

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

Deprecated: Use OperationMetadata_Status.Descriptor instead.

func (OperationMetadata_Status) Number

func (OperationMetadata_Status) String

func (x OperationMetadata_Status) String() string

func (OperationMetadata_Status) Type

OperationMetadata_Step

type OperationMetadata_Step struct {
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`

	Status OperationMetadata_Status "" /* 128 byte string literal not displayed */

}

Represents the status of one operation step.

func (*OperationMetadata_Step) Descriptor

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

Deprecated: Use OperationMetadata_Step.ProtoReflect.Descriptor instead.

func (*OperationMetadata_Step) GetDescription

func (x *OperationMetadata_Step) GetDescription() string

func (*OperationMetadata_Step) GetStatus

func (*OperationMetadata_Step) ProtoMessage

func (*OperationMetadata_Step) ProtoMessage()

func (*OperationMetadata_Step) ProtoReflect

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

func (*OperationMetadata_Step) Reset

func (x *OperationMetadata_Step) Reset()

func (*OperationMetadata_Step) String

func (x *OperationMetadata_Step) String() string

Rollout

type Rollout struct {

	// Optional. Unique identifier of this Rollout. Must be no longer than 63
	// characters and only lower case letters, digits, '.', '_' and '-' are
	// allowed.
	//
	// If not specified by client, the server will generate one. The generated id
	// will have the form of 

A rollout resource that defines how service configuration versions are pushed to control plane systems. Typically, you create a new version of the service config, and then create a Rollout to push the service config.

func (*Rollout) Descriptor

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

Deprecated: Use Rollout.ProtoReflect.Descriptor instead.

func (*Rollout) GetCreateTime

func (x *Rollout) GetCreateTime() *timestamp.Timestamp

func (*Rollout) GetCreatedBy

func (x *Rollout) GetCreatedBy() string

func (*Rollout) GetDeleteServiceStrategy

func (x *Rollout) GetDeleteServiceStrategy() *Rollout_DeleteServiceStrategy

func (*Rollout) GetRolloutId

func (x *Rollout) GetRolloutId() string

func (*Rollout) GetServiceName

func (x *Rollout) GetServiceName() string

func (*Rollout) GetStatus

func (x *Rollout) GetStatus() Rollout_RolloutStatus

func (*Rollout) GetStrategy

func (m *Rollout) GetStrategy() isRollout_Strategy

func (*Rollout) GetTrafficPercentStrategy

func (x *Rollout) GetTrafficPercentStrategy() *Rollout_TrafficPercentStrategy

func (*Rollout) ProtoMessage

func (*Rollout) ProtoMessage()

func (*Rollout) ProtoReflect

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

func (*Rollout) Reset

func (x *Rollout) Reset()

func (*Rollout) String

func (x *Rollout) String() string

Rollout_DeleteServiceStrategy

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

Strategy used to delete a service. This strategy is a placeholder only used by the system generated rollout to delete a service.

func (*Rollout_DeleteServiceStrategy) Descriptor

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

Deprecated: Use Rollout_DeleteServiceStrategy.ProtoReflect.Descriptor instead.

func (*Rollout_DeleteServiceStrategy) ProtoMessage

func (*Rollout_DeleteServiceStrategy) ProtoMessage()

func (*Rollout_DeleteServiceStrategy) ProtoReflect

func (*Rollout_DeleteServiceStrategy) Reset

func (x *Rollout_DeleteServiceStrategy) Reset()

func (*Rollout_DeleteServiceStrategy) String

Rollout_DeleteServiceStrategy_

type Rollout_DeleteServiceStrategy_ struct {
	// The strategy associated with a rollout to delete a `ManagedService`.
	// Readonly.
	DeleteServiceStrategy *Rollout_DeleteServiceStrategy `protobuf:"bytes,200,opt,name=delete_service_strategy,json=deleteServiceStrategy,proto3,oneof"`
}

Rollout_RolloutStatus

type Rollout_RolloutStatus int32

Status of a Rollout.

Rollout_ROLLOUT_STATUS_UNSPECIFIED, Rollout_IN_PROGRESS, Rollout_SUCCESS, Rollout_CANCELLED, Rollout_FAILED, Rollout_PENDING, Rollout_FAILED_ROLLED_BACK

const (
	// No status specified.
	Rollout_ROLLOUT_STATUS_UNSPECIFIED Rollout_RolloutStatus = 0
	// The Rollout is in progress.
	Rollout_IN_PROGRESS Rollout_RolloutStatus = 1
	// The Rollout has completed successfully.
	Rollout_SUCCESS Rollout_RolloutStatus = 2
	// The Rollout has been cancelled. This can happen if you have overlapping
	// Rollout pushes, and the previous ones will be cancelled.
	Rollout_CANCELLED Rollout_RolloutStatus = 3
	// The Rollout has failed and the rollback attempt has failed too.
	Rollout_FAILED Rollout_RolloutStatus = 4
	// The Rollout has not started yet and is pending for execution.
	Rollout_PENDING Rollout_RolloutStatus = 5
	// The Rollout has failed and rolled back to the previous successful
	// Rollout.
	Rollout_FAILED_ROLLED_BACK Rollout_RolloutStatus = 6
)

func (Rollout_RolloutStatus) Descriptor

func (Rollout_RolloutStatus) Enum

func (Rollout_RolloutStatus) EnumDescriptor

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

Deprecated: Use Rollout_RolloutStatus.Descriptor instead.

func (Rollout_RolloutStatus) Number

func (Rollout_RolloutStatus) String

func (x Rollout_RolloutStatus) String() string

func (Rollout_RolloutStatus) Type

Rollout_TrafficPercentStrategy

type Rollout_TrafficPercentStrategy struct {
	Percentages map[string]float64 "" /* 165 byte string literal not displayed */

}

Strategy that specifies how clients of Google Service Controller want to send traffic to use different config versions. This is generally used by API proxy to split traffic based on your configured percentage for each config version.

One example of how to gradually rollout a new service configuration using this strategy: Day 1

Rollout {
  id: "example.googleapis.com/rollout_20160206"
  traffic_percent_strategy {
    percentages: {
      "example.googleapis.com/20160201": 70.00
      "example.googleapis.com/20160206": 30.00
    }
  }
}

Day 2

Rollout {
  id: "example.googleapis.com/rollout_20160207"
  traffic_percent_strategy: {
    percentages: {
      "example.googleapis.com/20160206": 100.00
    }
  }
}

func (*Rollout_TrafficPercentStrategy) Descriptor

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

Deprecated: Use Rollout_TrafficPercentStrategy.ProtoReflect.Descriptor instead.

func (*Rollout_TrafficPercentStrategy) GetPercentages

func (x *Rollout_TrafficPercentStrategy) GetPercentages() map[string]float64

func (*Rollout_TrafficPercentStrategy) ProtoMessage

func (*Rollout_TrafficPercentStrategy) ProtoMessage()

func (*Rollout_TrafficPercentStrategy) ProtoReflect

func (*Rollout_TrafficPercentStrategy) Reset

func (x *Rollout_TrafficPercentStrategy) Reset()

func (*Rollout_TrafficPercentStrategy) String

Rollout_TrafficPercentStrategy_

type Rollout_TrafficPercentStrategy_ struct {
	// Google Service Control selects service configurations based on
	// traffic percentage.
	TrafficPercentStrategy *Rollout_TrafficPercentStrategy `protobuf:"bytes,5,opt,name=traffic_percent_strategy,json=trafficPercentStrategy,proto3,oneof"`
}

ServiceManagerClient

type ServiceManagerClient interface {
	// Lists managed services.
	//
	// Returns all public services. For authenticated users, also returns all
	// services the calling user has "servicemanagement.services.get" permission
	// for.
	ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
	// Gets a managed service. Authentication is required unless the service is
	// public.
	GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*ManagedService, error)
	// Creates a new managed service.
	//
	// A managed service is immutable, and is subject to mandatory 30-day
	// data retention. You cannot move a service or recreate it within 30 days
	// after deletion.
	//
	// One producer project can own no more than 500 services. For security and
	// reliability purposes, a production service should be hosted in a
	// dedicated producer project.
	//
	// Operation

ServiceManagerClient is the client API for ServiceManager service.

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

func NewServiceManagerClient

func NewServiceManagerClient(cc grpc.ClientConnInterface) ServiceManagerClient

ServiceManagerServer

type ServiceManagerServer interface {
	// Lists managed services.
	//
	// Returns all public services. For authenticated users, also returns all
	// services the calling user has "servicemanagement.services.get" permission
	// for.
	ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
	// Gets a managed service. Authentication is required unless the service is
	// public.
	GetService(context.Context, *GetServiceRequest) (*ManagedService, error)
	// Creates a new managed service.
	//
	// A managed service is immutable, and is subject to mandatory 30-day
	// data retention. You cannot move a service or recreate it within 30 days
	// after deletion.
	//
	// One producer project can own no more than 500 services. For security and
	// reliability purposes, a production service should be hosted in a
	// dedicated producer project.
	//
	// Operation

ServiceManagerServer is the server API for ServiceManager service.

SubmitConfigSourceRequest

type SubmitConfigSourceRequest struct {

	// Required. The name of the service.  See the
	// [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.  For
	// example: `example.googleapis.com`.
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// Required. The source configuration for the service.
	ConfigSource *ConfigSource `protobuf:"bytes,2,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"`
	// Optional. If set, this will result in the generation of a
	// `google.api.Service` configuration based on the `ConfigSource` provided,
	// but the generated config and the sources will NOT be persisted.
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

Request message for SubmitConfigSource method.

func (*SubmitConfigSourceRequest) Descriptor

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

Deprecated: Use SubmitConfigSourceRequest.ProtoReflect.Descriptor instead.

func (*SubmitConfigSourceRequest) GetConfigSource

func (x *SubmitConfigSourceRequest) GetConfigSource() *ConfigSource

func (*SubmitConfigSourceRequest) GetServiceName

func (x *SubmitConfigSourceRequest) GetServiceName() string

func (*SubmitConfigSourceRequest) GetValidateOnly

func (x *SubmitConfigSourceRequest) GetValidateOnly() bool

func (*SubmitConfigSourceRequest) ProtoMessage

func (*SubmitConfigSourceRequest) ProtoMessage()

func (*SubmitConfigSourceRequest) ProtoReflect

func (*SubmitConfigSourceRequest) Reset

func (x *SubmitConfigSourceRequest) Reset()

func (*SubmitConfigSourceRequest) String

func (x *SubmitConfigSourceRequest) String() string

SubmitConfigSourceResponse

type SubmitConfigSourceResponse struct {

	// The generated service configuration.
	ServiceConfig *serviceconfig.Service `protobuf:"bytes,1,opt,name=service_config,json=serviceConfig,proto3" json:"service_config,omitempty"`
	// contains filtered or unexported fields
}

Response message for SubmitConfigSource method.

func (*SubmitConfigSourceResponse) Descriptor

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

Deprecated: Use SubmitConfigSourceResponse.ProtoReflect.Descriptor instead.

func (*SubmitConfigSourceResponse) GetServiceConfig

func (x *SubmitConfigSourceResponse) GetServiceConfig() *serviceconfig.Service

func (*SubmitConfigSourceResponse) ProtoMessage

func (*SubmitConfigSourceResponse) ProtoMessage()

func (*SubmitConfigSourceResponse) ProtoReflect

func (*SubmitConfigSourceResponse) Reset

func (x *SubmitConfigSourceResponse) Reset()

func (*SubmitConfigSourceResponse) String

func (x *SubmitConfigSourceResponse) String() string

UndeleteServiceRequest

type UndeleteServiceRequest struct {

	// Required. The name of the service. See the
	// [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
	// example: `example.googleapis.com`.
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// contains filtered or unexported fields
}

Request message for UndeleteService method.

func (*UndeleteServiceRequest) Descriptor

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

Deprecated: Use UndeleteServiceRequest.ProtoReflect.Descriptor instead.

func (*UndeleteServiceRequest) GetServiceName

func (x *UndeleteServiceRequest) GetServiceName() string

func (*UndeleteServiceRequest) ProtoMessage

func (*UndeleteServiceRequest) ProtoMessage()

func (*UndeleteServiceRequest) ProtoReflect

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

func (*UndeleteServiceRequest) Reset

func (x *UndeleteServiceRequest) Reset()

func (*UndeleteServiceRequest) String

func (x *UndeleteServiceRequest) String() string

UndeleteServiceResponse

type UndeleteServiceResponse struct {

	// Revived service resource.
	Service *ManagedService `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

Response message for UndeleteService method.

func (*UndeleteServiceResponse) Descriptor

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

Deprecated: Use UndeleteServiceResponse.ProtoReflect.Descriptor instead.

func (*UndeleteServiceResponse) GetService

func (x *UndeleteServiceResponse) GetService() *ManagedService

func (*UndeleteServiceResponse) ProtoMessage

func (*UndeleteServiceResponse) ProtoMessage()

func (*UndeleteServiceResponse) ProtoReflect

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

func (*UndeleteServiceResponse) Reset

func (x *UndeleteServiceResponse) Reset()

func (*UndeleteServiceResponse) String

func (x *UndeleteServiceResponse) String() string

UnimplementedServiceManagerServer

type UnimplementedServiceManagerServer struct {
}

UnimplementedServiceManagerServer can be embedded to have forward compatible implementations.

func (*UnimplementedServiceManagerServer) CreateService

func (*UnimplementedServiceManagerServer) CreateServiceConfig

func (*UnimplementedServiceManagerServer) CreateServiceRollout

func (*UnimplementedServiceManagerServer) DeleteService

func (*UnimplementedServiceManagerServer) GenerateConfigReport

func (*UnimplementedServiceManagerServer) GetService

func (*UnimplementedServiceManagerServer) GetServiceConfig

func (*UnimplementedServiceManagerServer) GetServiceRollout

func (*UnimplementedServiceManagerServer) ListServiceConfigs

func (*UnimplementedServiceManagerServer) ListServiceRollouts

func (*UnimplementedServiceManagerServer) ListServices

func (*UnimplementedServiceManagerServer) SubmitConfigSource

func (*UnimplementedServiceManagerServer) UndeleteService