servicemanagementpb

package
v1.9.7 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

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

View Source
var File_google_api_servicemanagement_v1_resources_proto protoreflect.FileDescriptor
View Source
var File_google_api_servicemanagement_v1_servicemanager_proto protoreflect.FileDescriptor

Functions

func RegisterServiceManagerServer

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

Types

type 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 deprecated

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

type ConfigFile

type ConfigFile struct {

	// The file name of the configuration file (full or relative path).
	FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
	// The bytes that constitute the file.
	FileContents []byte `protobuf:"bytes,3,opt,name=file_contents,json=fileContents,proto3" json:"file_contents,omitempty"`
	// The type of configuration file this represents.
	FileType ConfigFile_FileType `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

Generic specification of a source configuration file

func (*ConfigFile) Descriptor deprecated

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

type ConfigFile_FileType

type ConfigFile_FileType int32
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 deprecated

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

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 deprecated

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

type 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 deprecated

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

type CreateServiceConfigRequest

type CreateServiceConfigRequest struct {

	// Required. The name of the service.  See the
	// [overview](https://cloud.google.com/service-management/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 deprecated

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

type 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 deprecated

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

type CreateServiceRolloutRequest

type CreateServiceRolloutRequest struct {

	// Required. The name of the service.  See the
	// [overview](https://cloud.google.com/service-management/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 deprecated

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

type DeleteServiceRequest

type DeleteServiceRequest struct {

	// Required. The name of the service.  See the
	// [overview](https://cloud.google.com/service-management/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 deprecated

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

type 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 deprecated

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

type Diagnostic_Kind

type Diagnostic_Kind int32

The kind of diagnostic information possible.

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 deprecated

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

type EnableServiceResponse added in v1.9.2

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

Operation payload for EnableService method.

func (*EnableServiceResponse) Descriptor deprecated added in v1.9.2

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

Deprecated: Use EnableServiceResponse.ProtoReflect.Descriptor instead.

func (*EnableServiceResponse) ProtoMessage added in v1.9.2

func (*EnableServiceResponse) ProtoMessage()

func (*EnableServiceResponse) ProtoReflect added in v1.9.2

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

func (*EnableServiceResponse) Reset added in v1.9.2

func (x *EnableServiceResponse) Reset()

func (*EnableServiceResponse) String added in v1.9.2

func (x *EnableServiceResponse) String() string

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 *anypb.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 *anypb.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 deprecated

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

Deprecated: Use GenerateConfigReportRequest.ProtoReflect.Descriptor instead.

func (*GenerateConfigReportRequest) GetNewConfig

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

func (*GenerateConfigReportRequest) GetOldConfig

func (x *GenerateConfigReportRequest) GetOldConfig() *anypb.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

type 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 deprecated

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

type GetServiceConfigRequest

type GetServiceConfigRequest struct {

	// Required. The name of the service.  See the
	// [overview](https://cloud.google.com/service-management/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 service configuration resource.
	//
	// This field must be specified for the server to return all fields, including
	// `SourceInfo`.
	ConfigId string `protobuf:"bytes,2,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
	// Specifies which parts of the Service Config should be returned in the
	// response.
	View GetServiceConfigRequest_ConfigView `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request message for GetServiceConfig method.

func (*GetServiceConfigRequest) Descriptor deprecated

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

type GetServiceConfigRequest_ConfigView

type GetServiceConfigRequest_ConfigView int32
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 deprecated

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

Deprecated: Use GetServiceConfigRequest_ConfigView.Descriptor instead.

func (GetServiceConfigRequest_ConfigView) Number

func (GetServiceConfigRequest_ConfigView) String

func (GetServiceConfigRequest_ConfigView) Type

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 deprecated

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

type GetServiceRolloutRequest

type GetServiceRolloutRequest struct {

	// Required. The name of the service.  See the
	// [overview](https://cloud.google.com/service-management/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 deprecated

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

type ListServiceConfigsRequest

type ListServiceConfigsRequest struct {

	// Required. The name of the service.  See the
	// [overview](https://cloud.google.com/service-management/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 deprecated

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

type 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 deprecated

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

type ListServiceRolloutsRequest

type ListServiceRolloutsRequest struct {

	// Required. The name of the service.  See the
	// [overview](https://cloud.google.com/service-management/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:
	//
	//	-- By [status]
	//	[google.api.servicemanagement.v1.Rollout.RolloutStatus]. For example,
	//	`filter='status=SUCCESS'`
	//
	//	-- By [strategy]
	//	[google.api.servicemanagement.v1.Rollout.strategy]. For example,
	//	`filter='strategy=TrafficPercentStrategy'`
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Request message for 'ListServiceRollouts'

func (*ListServiceRolloutsRequest) Descriptor deprecated

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

type 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 deprecated

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

type 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 500.
	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:<project_id>
	//
	// Deprecated: Marked as deprecated in google/api/servicemanagement/v1/servicemanager.proto.
	ConsumerId string `protobuf:"bytes,7,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for `ListServices` method.

func (*ListServicesRequest) Descriptor deprecated

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

Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.

func (*ListServicesRequest) GetConsumerId deprecated

func (x *ListServicesRequest) GetConsumerId() string

Deprecated: Marked as deprecated in google/api/servicemanagement/v1/servicemanager.proto.

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

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

type 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 deprecated

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

type 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 *timestamppb.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 deprecated

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() *timestamppb.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

type OperationMetadata_Status

type OperationMetadata_Status int32

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

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 deprecated

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

type OperationMetadata_Step

type OperationMetadata_Step struct {

	// The short description of the step.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The status code.
	Status OperationMetadata_Status `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents the status of one operation step.

func (*OperationMetadata_Step) Descriptor deprecated

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

type 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 <date><revision number>, where "date" is the create
	// date in ISO 8601 format.  "revision number" is a monotonically increasing
	// positive number that is reset every day for each service.
	// An example of the generated rollout_id is '2016-02-16r1'
	RolloutId string `protobuf:"bytes,1,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
	// Creation time of the rollout. Readonly.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The user who created the Rollout. Readonly.
	CreatedBy string `protobuf:"bytes,3,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// The status of this rollout. Readonly. In case of a failed rollout,
	// the system will automatically rollback to the current Rollout
	// version. Readonly.
	Status Rollout_RolloutStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.api.servicemanagement.v1.Rollout_RolloutStatus" json:"status,omitempty"`
	// Strategy that defines which versions of service configurations should be
	// pushed
	// and how they should be used at runtime.
	//
	// Types that are assignable to Strategy:
	//
	//	*Rollout_TrafficPercentStrategy_
	//	*Rollout_DeleteServiceStrategy_
	Strategy isRollout_Strategy `protobuf_oneof:"strategy"`
	// The name of the service associated with this Rollout.
	ServiceName string `protobuf:"bytes,8,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use Rollout.ProtoReflect.Descriptor instead.

func (*Rollout) GetCreateTime

func (x *Rollout) GetCreateTime() *timestamppb.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

type 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 deprecated

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

type 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"`
}

type Rollout_RolloutStatus

type Rollout_RolloutStatus int32

Status of a Rollout.

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 deprecated

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

type Rollout_TrafficPercentStrategy

type Rollout_TrafficPercentStrategy struct {

	// Maps service configuration IDs to their corresponding traffic percentage.
	// Key is the service configuration ID, Value is the traffic percentage
	// which must be greater than 0.0 and the sum must equal to 100.0.
	Percentages map[string]float64 `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

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 deprecated

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

type 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"`
}

type 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<response: ManagedService>
	CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a managed service. This method will change the service to the
	// `Soft-Delete` state for 30 days. Within this period, service producers may
	// call
	// [UndeleteService][google.api.servicemanagement.v1.ServiceManager.UndeleteService]
	// to restore the service. After 30 days, the service will be permanently
	// deleted.
	//
	// Operation<response: google.protobuf.Empty>
	DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Revives a previously deleted managed service. The method restores the
	// service using the configuration at the time the service was deleted.
	// The target service must exist and must have been deleted within the
	// last 30 days.
	//
	// Operation<response: UndeleteServiceResponse>
	UndeleteService(ctx context.Context, in *UndeleteServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists the history of the service configuration for a managed service,
	// from the newest to the oldest.
	ListServiceConfigs(ctx context.Context, in *ListServiceConfigsRequest, opts ...grpc.CallOption) (*ListServiceConfigsResponse, error)
	// Gets a service configuration (version) for a managed service.
	GetServiceConfig(ctx context.Context, in *GetServiceConfigRequest, opts ...grpc.CallOption) (*serviceconfig.Service, error)
	// Creates a new service configuration (version) for a managed service.
	// This method only stores the service configuration. To roll out the service
	// configuration to backend systems please call
	// [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].
	//
	// Only the 100 most recent service configurations and ones referenced by
	// existing rollouts are kept for each service. The rest will be deleted
	// eventually.
	CreateServiceConfig(ctx context.Context, in *CreateServiceConfigRequest, opts ...grpc.CallOption) (*serviceconfig.Service, error)
	// Creates a new service configuration (version) for a managed service based
	// on
	// user-supplied configuration source files (for example: OpenAPI
	// Specification). This method stores the source configurations as well as the
	// generated service configuration. To rollout the service configuration to
	// other services,
	// please call
	// [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].
	//
	// Only the 100 most recent configuration sources and ones referenced by
	// existing service configurtions are kept for each service. The rest will be
	// deleted eventually.
	//
	// Operation<response: SubmitConfigSourceResponse>
	SubmitConfigSource(ctx context.Context, in *SubmitConfigSourceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists the history of the service configuration rollouts for a managed
	// service, from the newest to the oldest.
	ListServiceRollouts(ctx context.Context, in *ListServiceRolloutsRequest, opts ...grpc.CallOption) (*ListServiceRolloutsResponse, error)
	// Gets a service configuration
	// [rollout][google.api.servicemanagement.v1.Rollout].
	GetServiceRollout(ctx context.Context, in *GetServiceRolloutRequest, opts ...grpc.CallOption) (*Rollout, error)
	// Creates a new service configuration rollout. Based on rollout, the
	// Google Service Management will roll out the service configurations to
	// different backend services. For example, the logging configuration will be
	// pushed to Google Cloud Logging.
	//
	// Please note that any previous pending and running Rollouts and associated
	// Operations will be automatically cancelled so that the latest Rollout will
	// not be blocked by previous Rollouts.
	//
	// Only the 100 most recent (in any state) and the last 10 successful (if not
	// already part of the set of 100 most recent) rollouts are kept for each
	// service. The rest will be deleted eventually.
	//
	// Operation<response: Rollout>
	CreateServiceRollout(ctx context.Context, in *CreateServiceRolloutRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Generates and returns a report (errors, warnings and changes from
	// existing configurations) associated with
	// GenerateConfigReportRequest.new_value
	//
	// If GenerateConfigReportRequest.old_value is specified,
	// GenerateConfigReportRequest will contain a single ChangeReport based on the
	// comparison between GenerateConfigReportRequest.new_value and
	// GenerateConfigReportRequest.old_value.
	// If GenerateConfigReportRequest.old_value is not specified, this method
	// will compare GenerateConfigReportRequest.new_value with the last pushed
	// service configuration.
	GenerateConfigReport(ctx context.Context, in *GenerateConfigReportRequest, opts ...grpc.CallOption) (*GenerateConfigReportResponse, error)
}

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.

type 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<response: ManagedService>
	CreateService(context.Context, *CreateServiceRequest) (*longrunningpb.Operation, error)
	// Deletes a managed service. This method will change the service to the
	// `Soft-Delete` state for 30 days. Within this period, service producers may
	// call
	// [UndeleteService][google.api.servicemanagement.v1.ServiceManager.UndeleteService]
	// to restore the service. After 30 days, the service will be permanently
	// deleted.
	//
	// Operation<response: google.protobuf.Empty>
	DeleteService(context.Context, *DeleteServiceRequest) (*longrunningpb.Operation, error)
	// Revives a previously deleted managed service. The method restores the
	// service using the configuration at the time the service was deleted.
	// The target service must exist and must have been deleted within the
	// last 30 days.
	//
	// Operation<response: UndeleteServiceResponse>
	UndeleteService(context.Context, *UndeleteServiceRequest) (*longrunningpb.Operation, error)
	// Lists the history of the service configuration for a managed service,
	// from the newest to the oldest.
	ListServiceConfigs(context.Context, *ListServiceConfigsRequest) (*ListServiceConfigsResponse, error)
	// Gets a service configuration (version) for a managed service.
	GetServiceConfig(context.Context, *GetServiceConfigRequest) (*serviceconfig.Service, error)
	// Creates a new service configuration (version) for a managed service.
	// This method only stores the service configuration. To roll out the service
	// configuration to backend systems please call
	// [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].
	//
	// Only the 100 most recent service configurations and ones referenced by
	// existing rollouts are kept for each service. The rest will be deleted
	// eventually.
	CreateServiceConfig(context.Context, *CreateServiceConfigRequest) (*serviceconfig.Service, error)
	// Creates a new service configuration (version) for a managed service based
	// on
	// user-supplied configuration source files (for example: OpenAPI
	// Specification). This method stores the source configurations as well as the
	// generated service configuration. To rollout the service configuration to
	// other services,
	// please call
	// [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].
	//
	// Only the 100 most recent configuration sources and ones referenced by
	// existing service configurtions are kept for each service. The rest will be
	// deleted eventually.
	//
	// Operation<response: SubmitConfigSourceResponse>
	SubmitConfigSource(context.Context, *SubmitConfigSourceRequest) (*longrunningpb.Operation, error)
	// Lists the history of the service configuration rollouts for a managed
	// service, from the newest to the oldest.
	ListServiceRollouts(context.Context, *ListServiceRolloutsRequest) (*ListServiceRolloutsResponse, error)
	// Gets a service configuration
	// [rollout][google.api.servicemanagement.v1.Rollout].
	GetServiceRollout(context.Context, *GetServiceRolloutRequest) (*Rollout, error)
	// Creates a new service configuration rollout. Based on rollout, the
	// Google Service Management will roll out the service configurations to
	// different backend services. For example, the logging configuration will be
	// pushed to Google Cloud Logging.
	//
	// Please note that any previous pending and running Rollouts and associated
	// Operations will be automatically cancelled so that the latest Rollout will
	// not be blocked by previous Rollouts.
	//
	// Only the 100 most recent (in any state) and the last 10 successful (if not
	// already part of the set of 100 most recent) rollouts are kept for each
	// service. The rest will be deleted eventually.
	//
	// Operation<response: Rollout>
	CreateServiceRollout(context.Context, *CreateServiceRolloutRequest) (*longrunningpb.Operation, error)
	// Generates and returns a report (errors, warnings and changes from
	// existing configurations) associated with
	// GenerateConfigReportRequest.new_value
	//
	// If GenerateConfigReportRequest.old_value is specified,
	// GenerateConfigReportRequest will contain a single ChangeReport based on the
	// comparison between GenerateConfigReportRequest.new_value and
	// GenerateConfigReportRequest.old_value.
	// If GenerateConfigReportRequest.old_value is not specified, this method
	// will compare GenerateConfigReportRequest.new_value with the last pushed
	// service configuration.
	GenerateConfigReport(context.Context, *GenerateConfigReportRequest) (*GenerateConfigReportResponse, error)
}

ServiceManagerServer is the server API for ServiceManager service.

type SubmitConfigSourceRequest

type SubmitConfigSourceRequest struct {

	// Required. The name of the service.  See the
	// [overview](https://cloud.google.com/service-management/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 deprecated

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

type 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 deprecated

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

type UndeleteServiceRequest

type UndeleteServiceRequest struct {

	// Required. The name of the service. See the
	// [overview](https://cloud.google.com/service-management/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 deprecated

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

type 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 deprecated

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

type 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

Jump to

Keyboard shortcuts

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