apigeeregistrypb

package
v0.8.4 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: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Instance_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "INACTIVE",
		2: "CREATING",
		3: "ACTIVE",
		4: "UPDATING",
		5: "DELETING",
		6: "FAILED",
	}
	Instance_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"INACTIVE":          1,
		"CREATING":          2,
		"ACTIVE":            3,
		"UPDATING":          4,
		"DELETING":          5,
		"FAILED":            6,
	}
)

Enum value maps for Instance_State.

View Source
var File_google_cloud_apigeeregistry_v1_provisioning_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_registry_models_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_registry_service_proto protoreflect.FileDescriptor

Functions

func RegisterProvisioningServer

func RegisterProvisioningServer(s *grpc.Server, srv ProvisioningServer)

func RegisterRegistryServer

func RegisterRegistryServer(s *grpc.Server, srv RegistryServer)

Types

type Api

type Api struct {

	// Resource name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Human-meaningful name.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A detailed description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Last update timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// A user-definable description of the availability of this service.
	// Format: free-form, but we expect single words that describe availability,
	// e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
	Availability string `protobuf:"bytes,6,opt,name=availability,proto3" json:"availability,omitempty"`
	// The recommended version of the API.
	// Format: `apis/{api}/versions/{version}`
	RecommendedVersion string `protobuf:"bytes,7,opt,name=recommended_version,json=recommendedVersion,proto3" json:"recommended_version,omitempty"`
	// The recommended deployment of the API.
	// Format: `apis/{api}/deployments/{deployment}`
	RecommendedDeployment string `protobuf:"bytes,8,opt,name=recommended_deployment,json=recommendedDeployment,proto3" json:"recommended_deployment,omitempty"`
	// Labels attach identifying metadata to resources. Identifying metadata can
	// be used to filter list operations.
	//
	// Label keys and values can be no longer than 64 characters
	// (Unicode codepoints), can only contain lowercase letters, numeric
	// characters, underscores, and dashes. International characters are allowed.
	// No more than 64 user labels can be associated with one resource (System
	// labels are excluded).
	//
	// See https://goo.gl/xmQnxf for more information and examples of labels.
	// System reserved label keys are prefixed with
	// `apigeeregistry.googleapis.com/` and cannot be changed.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Annotations attach non-identifying metadata to resources.
	//
	// Annotation keys and values are less restricted than those of labels, but
	// should be generally used for small values of broad interest. Larger, topic-
	// specific metadata should be stored in Artifacts.
	Annotations map[string]string `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

A top-level description of an API. Produced by producers and are commitments to provide services.

func (*Api) Descriptor deprecated

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

Deprecated: Use Api.ProtoReflect.Descriptor instead.

func (*Api) GetAnnotations

func (x *Api) GetAnnotations() map[string]string

func (*Api) GetAvailability

func (x *Api) GetAvailability() string

func (*Api) GetCreateTime

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

func (*Api) GetDescription

func (x *Api) GetDescription() string

func (*Api) GetDisplayName

func (x *Api) GetDisplayName() string

func (*Api) GetLabels

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

func (*Api) GetName

func (x *Api) GetName() string

func (*Api) GetRecommendedDeployment

func (x *Api) GetRecommendedDeployment() string

func (*Api) GetRecommendedVersion

func (x *Api) GetRecommendedVersion() string

func (*Api) GetUpdateTime

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

func (*Api) ProtoMessage

func (*Api) ProtoMessage()

func (*Api) ProtoReflect

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

func (*Api) Reset

func (x *Api) Reset()

func (*Api) String

func (x *Api) String() string

type ApiDeployment

type ApiDeployment struct {

	// Resource name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Human-meaningful name.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A detailed description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Immutable. The revision ID of the deployment.
	// A new revision is committed whenever the deployment contents are changed.
	// The format is an 8-character hexadecimal string.
	RevisionId string `protobuf:"bytes,4,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
	// Output only. Creation timestamp; when the deployment resource was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Revision creation timestamp; when the represented revision was created.
	RevisionCreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=revision_create_time,json=revisionCreateTime,proto3" json:"revision_create_time,omitempty"`
	// Output only. Last update timestamp: when the represented revision was last modified.
	RevisionUpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=revision_update_time,json=revisionUpdateTime,proto3" json:"revision_update_time,omitempty"`
	// The full resource name (including revision ID) of the spec of the API being
	// served by the deployment. Changes to this value will update the revision.
	// Format: `apis/{api}/deployments/{deployment}`
	ApiSpecRevision string `protobuf:"bytes,8,opt,name=api_spec_revision,json=apiSpecRevision,proto3" json:"api_spec_revision,omitempty"`
	// The address where the deployment is serving. Changes to this value will
	// update the revision.
	EndpointUri string `protobuf:"bytes,9,opt,name=endpoint_uri,json=endpointUri,proto3" json:"endpoint_uri,omitempty"`
	// The address of the external channel of the API (e.g., the Developer
	// Portal). Changes to this value will not affect the revision.
	ExternalChannelUri string `protobuf:"bytes,10,opt,name=external_channel_uri,json=externalChannelUri,proto3" json:"external_channel_uri,omitempty"`
	// Text briefly identifying the intended audience of the API. Changes to this
	// value will not affect the revision.
	IntendedAudience string `protobuf:"bytes,11,opt,name=intended_audience,json=intendedAudience,proto3" json:"intended_audience,omitempty"`
	// Text briefly describing how to access the endpoint. Changes to this value
	// will not affect the revision.
	AccessGuidance string `protobuf:"bytes,12,opt,name=access_guidance,json=accessGuidance,proto3" json:"access_guidance,omitempty"`
	// Labels attach identifying metadata to resources. Identifying metadata can
	// be used to filter list operations.
	//
	// Label keys and values can be no longer than 64 characters
	// (Unicode codepoints), can only contain lowercase letters, numeric
	// characters, underscores and dashes. International characters are allowed.
	// No more than 64 user labels can be associated with one resource (System
	// labels are excluded).
	//
	// See https://goo.gl/xmQnxf for more information and examples of labels.
	// System reserved label keys are prefixed with
	// `apigeeregistry.googleapis.com/` and cannot be changed.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// Annotations attach non-identifying metadata to resources.
	//
	// Annotation keys and values are less restricted than those of labels, but
	// should be generally used for small values of broad interest. Larger, topic-
	// specific metadata should be stored in Artifacts.
	Annotations map[string]string `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

Describes a service running at particular address that provides a particular version of an API. ApiDeployments have revisions which correspond to different configurations of a single deployment in time. Revision identifiers should be updated whenever the served API spec or endpoint address changes.

func (*ApiDeployment) Descriptor deprecated

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

Deprecated: Use ApiDeployment.ProtoReflect.Descriptor instead.

func (*ApiDeployment) GetAccessGuidance

func (x *ApiDeployment) GetAccessGuidance() string

func (*ApiDeployment) GetAnnotations

func (x *ApiDeployment) GetAnnotations() map[string]string

func (*ApiDeployment) GetApiSpecRevision

func (x *ApiDeployment) GetApiSpecRevision() string

func (*ApiDeployment) GetCreateTime

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

func (*ApiDeployment) GetDescription

func (x *ApiDeployment) GetDescription() string

func (*ApiDeployment) GetDisplayName

func (x *ApiDeployment) GetDisplayName() string

func (*ApiDeployment) GetEndpointUri

func (x *ApiDeployment) GetEndpointUri() string

func (*ApiDeployment) GetExternalChannelUri

func (x *ApiDeployment) GetExternalChannelUri() string

func (*ApiDeployment) GetIntendedAudience

func (x *ApiDeployment) GetIntendedAudience() string

func (*ApiDeployment) GetLabels

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

func (*ApiDeployment) GetName

func (x *ApiDeployment) GetName() string

func (*ApiDeployment) GetRevisionCreateTime

func (x *ApiDeployment) GetRevisionCreateTime() *timestamppb.Timestamp

func (*ApiDeployment) GetRevisionId

func (x *ApiDeployment) GetRevisionId() string

func (*ApiDeployment) GetRevisionUpdateTime

func (x *ApiDeployment) GetRevisionUpdateTime() *timestamppb.Timestamp

func (*ApiDeployment) ProtoMessage

func (*ApiDeployment) ProtoMessage()

func (*ApiDeployment) ProtoReflect

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

func (*ApiDeployment) Reset

func (x *ApiDeployment) Reset()

func (*ApiDeployment) String

func (x *ApiDeployment) String() string

type ApiSpec

type ApiSpec struct {

	// Resource name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A possibly-hierarchical name used to refer to the spec from other specs.
	Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
	// A detailed description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Immutable. The revision ID of the spec.
	// A new revision is committed whenever the spec contents are changed.
	// The format is an 8-character hexadecimal string.
	RevisionId string `protobuf:"bytes,4,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
	// Output only. Creation timestamp; when the spec resource was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Revision creation timestamp; when the represented revision was created.
	RevisionCreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=revision_create_time,json=revisionCreateTime,proto3" json:"revision_create_time,omitempty"`
	// Output only. Last update timestamp: when the represented revision was last modified.
	RevisionUpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=revision_update_time,json=revisionUpdateTime,proto3" json:"revision_update_time,omitempty"`
	// A style (format) descriptor for this spec that is specified as a Media Type
	// (https://en.wikipedia.org/wiki/Media_type). Possible values include
	// `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and
	// `application/vnd.apigee.graphql`, with possible suffixes representing
	// compression types. These hypothetical names are defined in the vendor tree
	// defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final.
	// Content types can specify compression. Currently only GZip compression is
	// supported (indicated with "+gzip").
	MimeType string `protobuf:"bytes,8,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// Output only. The size of the spec file in bytes. If the spec is gzipped, this is the
	// size of the uncompressed spec.
	SizeBytes int32 `protobuf:"varint,9,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	// Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
	// the hash of the uncompressed spec.
	Hash string `protobuf:"bytes,10,opt,name=hash,proto3" json:"hash,omitempty"`
	// The original source URI of the spec (if one exists).
	// This is an external location that can be used for reference purposes
	// but which may not be authoritative since this external resource may
	// change after the spec is retrieved.
	SourceUri string `protobuf:"bytes,11,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"`
	// Input only. The contents of the spec.
	// Provided by API callers when specs are created or updated.
	// To access the contents of a spec, use GetApiSpecContents.
	Contents []byte `protobuf:"bytes,12,opt,name=contents,proto3" json:"contents,omitempty"`
	// Labels attach identifying metadata to resources. Identifying metadata can
	// be used to filter list operations.
	//
	// Label keys and values can be no longer than 64 characters
	// (Unicode codepoints), can only contain lowercase letters, numeric
	// characters, underscores and dashes. International characters are allowed.
	// No more than 64 user labels can be associated with one resource (System
	// labels are excluded).
	//
	// See https://goo.gl/xmQnxf for more information and examples of labels.
	// System reserved label keys are prefixed with
	// `apigeeregistry.googleapis.com/` and cannot be changed.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// Annotations attach non-identifying metadata to resources.
	//
	// Annotation keys and values are less restricted than those of labels, but
	// should be generally used for small values of broad interest. Larger, topic-
	// specific metadata should be stored in Artifacts.
	Annotations map[string]string `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

Describes a version of an API in a structured way. ApiSpecs provide formal descriptions that consumers can use to use a version. ApiSpec resources are intended to be fully-resolved descriptions of an ApiVersion. When specs consist of multiple files, these should be bundled together (e.g., in a zip archive) and stored as a unit. Multiple specs can exist to provide representations in different API description formats. Synchronization of these representations would be provided by tooling and background services.

func (*ApiSpec) Descriptor deprecated

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

Deprecated: Use ApiSpec.ProtoReflect.Descriptor instead.

func (*ApiSpec) GetAnnotations

func (x *ApiSpec) GetAnnotations() map[string]string

func (*ApiSpec) GetContents

func (x *ApiSpec) GetContents() []byte

func (*ApiSpec) GetCreateTime

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

func (*ApiSpec) GetDescription

func (x *ApiSpec) GetDescription() string

func (*ApiSpec) GetFilename

func (x *ApiSpec) GetFilename() string

func (*ApiSpec) GetHash

func (x *ApiSpec) GetHash() string

func (*ApiSpec) GetLabels

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

func (*ApiSpec) GetMimeType

func (x *ApiSpec) GetMimeType() string

func (*ApiSpec) GetName

func (x *ApiSpec) GetName() string

func (*ApiSpec) GetRevisionCreateTime

func (x *ApiSpec) GetRevisionCreateTime() *timestamppb.Timestamp

func (*ApiSpec) GetRevisionId

func (x *ApiSpec) GetRevisionId() string

func (*ApiSpec) GetRevisionUpdateTime

func (x *ApiSpec) GetRevisionUpdateTime() *timestamppb.Timestamp

func (*ApiSpec) GetSizeBytes

func (x *ApiSpec) GetSizeBytes() int32

func (*ApiSpec) GetSourceUri

func (x *ApiSpec) GetSourceUri() string

func (*ApiSpec) ProtoMessage

func (*ApiSpec) ProtoMessage()

func (*ApiSpec) ProtoReflect

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

func (*ApiSpec) Reset

func (x *ApiSpec) Reset()

func (*ApiSpec) String

func (x *ApiSpec) String() string

type ApiVersion

type ApiVersion struct {

	// Resource name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Human-meaningful name.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A detailed description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Last update timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// A user-definable description of the lifecycle phase of this API version.
	// Format: free-form, but we expect single words that describe API maturity,
	// e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
	// "DEPRECATED", "RETIRED".
	State string `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"`
	// Labels attach identifying metadata to resources. Identifying metadata can
	// be used to filter list operations.
	//
	// Label keys and values can be no longer than 64 characters
	// (Unicode codepoints), can only contain lowercase letters, numeric
	// characters, underscores and dashes. International characters are allowed.
	// No more than 64 user labels can be associated with one resource (System
	// labels are excluded).
	//
	// See https://goo.gl/xmQnxf for more information and examples of labels.
	// System reserved label keys are prefixed with
	// `apigeeregistry.googleapis.com/` and cannot be changed.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Annotations attach non-identifying metadata to resources.
	//
	// Annotation keys and values are less restricted than those of labels, but
	// should be generally used for small values of broad interest. Larger, topic-
	// specific metadata should be stored in Artifacts.
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

Describes a particular version of an API. ApiVersions are what consumers actually use.

func (*ApiVersion) Descriptor deprecated

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

Deprecated: Use ApiVersion.ProtoReflect.Descriptor instead.

func (*ApiVersion) GetAnnotations

func (x *ApiVersion) GetAnnotations() map[string]string

func (*ApiVersion) GetCreateTime

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

func (*ApiVersion) GetDescription

func (x *ApiVersion) GetDescription() string

func (*ApiVersion) GetDisplayName

func (x *ApiVersion) GetDisplayName() string

func (*ApiVersion) GetLabels

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

func (*ApiVersion) GetName

func (x *ApiVersion) GetName() string

func (*ApiVersion) GetState

func (x *ApiVersion) GetState() string

func (*ApiVersion) GetUpdateTime

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

func (*ApiVersion) ProtoMessage

func (*ApiVersion) ProtoMessage()

func (*ApiVersion) ProtoReflect

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

func (*ApiVersion) Reset

func (x *ApiVersion) Reset()

func (*ApiVersion) String

func (x *ApiVersion) String() string

type Artifact

type Artifact struct {

	// Resource name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Last update timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// A content type specifier for the artifact.
	// Content type specifiers are Media Types
	// (https://en.wikipedia.org/wiki/Media_type) with a possible "schema"
	// parameter that specifies a schema for the stored information.
	// Content types can specify compression. Currently only GZip compression is
	// supported (indicated with "+gzip").
	MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// Output only. The size of the artifact in bytes. If the artifact is gzipped, this is
	// the size of the uncompressed artifact.
	SizeBytes int32 `protobuf:"varint,5,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	// Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
	// this is the hash of the uncompressed artifact.
	Hash string `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"`
	// Input only. The contents of the artifact.
	// Provided by API callers when artifacts are created or replaced.
	// To access the contents of an artifact, use GetArtifactContents.
	Contents []byte `protobuf:"bytes,7,opt,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

Artifacts of resources. Artifacts are unique (single-value) per resource and are used to store metadata that is too large or numerous to be stored directly on the resource. Since artifacts are stored separately from parent resources, they should generally be used for metadata that is needed infrequently, i.e., not for display in primary views of the resource but perhaps displayed or downloaded upon request. The `ListArtifacts` method allows artifacts to be quickly enumerated and checked for presence without downloading their (potentially-large) contents.

func (*Artifact) Descriptor deprecated

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

Deprecated: Use Artifact.ProtoReflect.Descriptor instead.

func (*Artifact) GetContents

func (x *Artifact) GetContents() []byte

func (*Artifact) GetCreateTime

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

func (*Artifact) GetHash

func (x *Artifact) GetHash() string

func (*Artifact) GetMimeType

func (x *Artifact) GetMimeType() string

func (*Artifact) GetName

func (x *Artifact) GetName() string

func (*Artifact) GetSizeBytes

func (x *Artifact) GetSizeBytes() int32

func (*Artifact) GetUpdateTime

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

func (*Artifact) ProtoMessage

func (*Artifact) ProtoMessage()

func (*Artifact) ProtoReflect

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

func (*Artifact) Reset

func (x *Artifact) Reset()

func (*Artifact) String

func (x *Artifact) String() string

type CreateApiDeploymentRequest

type CreateApiDeploymentRequest struct {

	// Required. The parent, which owns this collection of deployments.
	// Format: `projects/*/locations/*/apis/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The deployment to create.
	ApiDeployment *ApiDeployment `protobuf:"bytes,2,opt,name=api_deployment,json=apiDeployment,proto3" json:"api_deployment,omitempty"`
	// Required. The ID to use for the deployment, which will become the final component of
	// the deployment's resource name.
	//
	// This value should be 4-63 characters, and valid characters
	// are /[a-z][0-9]-/.
	//
	// Following AIP-162, IDs must not have the form of a UUID.
	ApiDeploymentId string `protobuf:"bytes,3,opt,name=api_deployment_id,json=apiDeploymentId,proto3" json:"api_deployment_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateApiDeployment.

func (*CreateApiDeploymentRequest) Descriptor deprecated

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

Deprecated: Use CreateApiDeploymentRequest.ProtoReflect.Descriptor instead.

func (*CreateApiDeploymentRequest) GetApiDeployment

func (x *CreateApiDeploymentRequest) GetApiDeployment() *ApiDeployment

func (*CreateApiDeploymentRequest) GetApiDeploymentId

func (x *CreateApiDeploymentRequest) GetApiDeploymentId() string

func (*CreateApiDeploymentRequest) GetParent

func (x *CreateApiDeploymentRequest) GetParent() string

func (*CreateApiDeploymentRequest) ProtoMessage

func (*CreateApiDeploymentRequest) ProtoMessage()

func (*CreateApiDeploymentRequest) ProtoReflect

func (*CreateApiDeploymentRequest) Reset

func (x *CreateApiDeploymentRequest) Reset()

func (*CreateApiDeploymentRequest) String

func (x *CreateApiDeploymentRequest) String() string

type CreateApiRequest

type CreateApiRequest struct {

	// Required. The parent, which owns this collection of APIs.
	// Format: `projects/*/locations/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The API to create.
	Api *Api `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"`
	// Required. The ID to use for the API, which will become the final component of
	// the API's resource name.
	//
	// This value should be 4-63 characters, and valid characters
	// are /[a-z][0-9]-/.
	//
	// Following AIP-162, IDs must not have the form of a UUID.
	ApiId string `protobuf:"bytes,3,opt,name=api_id,json=apiId,proto3" json:"api_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateApi.

func (*CreateApiRequest) Descriptor deprecated

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

Deprecated: Use CreateApiRequest.ProtoReflect.Descriptor instead.

func (*CreateApiRequest) GetApi

func (x *CreateApiRequest) GetApi() *Api

func (*CreateApiRequest) GetApiId

func (x *CreateApiRequest) GetApiId() string

func (*CreateApiRequest) GetParent

func (x *CreateApiRequest) GetParent() string

func (*CreateApiRequest) ProtoMessage

func (*CreateApiRequest) ProtoMessage()

func (*CreateApiRequest) ProtoReflect

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

func (*CreateApiRequest) Reset

func (x *CreateApiRequest) Reset()

func (*CreateApiRequest) String

func (x *CreateApiRequest) String() string

type CreateApiSpecRequest

type CreateApiSpecRequest struct {

	// Required. The parent, which owns this collection of specs.
	// Format: `projects/*/locations/*/apis/*/versions/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The spec to create.
	ApiSpec *ApiSpec `protobuf:"bytes,2,opt,name=api_spec,json=apiSpec,proto3" json:"api_spec,omitempty"`
	// Required. The ID to use for the spec, which will become the final component of
	// the spec's resource name.
	//
	// This value should be 4-63 characters, and valid characters
	// are /[a-z][0-9]-/.
	//
	// Following AIP-162, IDs must not have the form of a UUID.
	ApiSpecId string `protobuf:"bytes,3,opt,name=api_spec_id,json=apiSpecId,proto3" json:"api_spec_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateApiSpec.

func (*CreateApiSpecRequest) Descriptor deprecated

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

Deprecated: Use CreateApiSpecRequest.ProtoReflect.Descriptor instead.

func (*CreateApiSpecRequest) GetApiSpec

func (x *CreateApiSpecRequest) GetApiSpec() *ApiSpec

func (*CreateApiSpecRequest) GetApiSpecId

func (x *CreateApiSpecRequest) GetApiSpecId() string

func (*CreateApiSpecRequest) GetParent

func (x *CreateApiSpecRequest) GetParent() string

func (*CreateApiSpecRequest) ProtoMessage

func (*CreateApiSpecRequest) ProtoMessage()

func (*CreateApiSpecRequest) ProtoReflect

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

func (*CreateApiSpecRequest) Reset

func (x *CreateApiSpecRequest) Reset()

func (*CreateApiSpecRequest) String

func (x *CreateApiSpecRequest) String() string

type CreateApiVersionRequest

type CreateApiVersionRequest struct {

	// Required. The parent, which owns this collection of versions.
	// Format: `projects/*/locations/*/apis/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The version to create.
	ApiVersion *ApiVersion `protobuf:"bytes,2,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// Required. The ID to use for the version, which will become the final component of
	// the version's resource name.
	//
	// This value should be 1-63 characters, and valid characters
	// are /[a-z][0-9]-/.
	//
	// Following AIP-162, IDs must not have the form of a UUID.
	ApiVersionId string `protobuf:"bytes,3,opt,name=api_version_id,json=apiVersionId,proto3" json:"api_version_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateApiVersion.

func (*CreateApiVersionRequest) Descriptor deprecated

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

Deprecated: Use CreateApiVersionRequest.ProtoReflect.Descriptor instead.

func (*CreateApiVersionRequest) GetApiVersion

func (x *CreateApiVersionRequest) GetApiVersion() *ApiVersion

func (*CreateApiVersionRequest) GetApiVersionId

func (x *CreateApiVersionRequest) GetApiVersionId() string

func (*CreateApiVersionRequest) GetParent

func (x *CreateApiVersionRequest) GetParent() string

func (*CreateApiVersionRequest) ProtoMessage

func (*CreateApiVersionRequest) ProtoMessage()

func (*CreateApiVersionRequest) ProtoReflect

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

func (*CreateApiVersionRequest) Reset

func (x *CreateApiVersionRequest) Reset()

func (*CreateApiVersionRequest) String

func (x *CreateApiVersionRequest) String() string

type CreateArtifactRequest

type CreateArtifactRequest struct {

	// Required. The parent, which owns this collection of artifacts.
	// Format: `{parent}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The artifact to create.
	Artifact *Artifact `protobuf:"bytes,2,opt,name=artifact,proto3" json:"artifact,omitempty"`
	// Required. The ID to use for the artifact, which will become the final component of
	// the artifact's resource name.
	//
	// This value should be 4-63 characters, and valid characters
	// are /[a-z][0-9]-/.
	//
	// Following AIP-162, IDs must not have the form of a UUID.
	ArtifactId string `protobuf:"bytes,3,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateArtifact.

func (*CreateArtifactRequest) Descriptor deprecated

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

Deprecated: Use CreateArtifactRequest.ProtoReflect.Descriptor instead.

func (*CreateArtifactRequest) GetArtifact

func (x *CreateArtifactRequest) GetArtifact() *Artifact

func (*CreateArtifactRequest) GetArtifactId

func (x *CreateArtifactRequest) GetArtifactId() string

func (*CreateArtifactRequest) GetParent

func (x *CreateArtifactRequest) GetParent() string

func (*CreateArtifactRequest) ProtoMessage

func (*CreateArtifactRequest) ProtoMessage()

func (*CreateArtifactRequest) ProtoReflect

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

func (*CreateArtifactRequest) Reset

func (x *CreateArtifactRequest) Reset()

func (*CreateArtifactRequest) String

func (x *CreateArtifactRequest) String() string

type CreateInstanceRequest

type CreateInstanceRequest struct {

	// Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Identifier to assign to the Instance. Must be unique within scope of the
	// parent resource.
	InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// Required. The Instance.
	Instance *Instance `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateInstance.

func (*CreateInstanceRequest) Descriptor deprecated

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

Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.

func (*CreateInstanceRequest) GetInstance

func (x *CreateInstanceRequest) GetInstance() *Instance

func (*CreateInstanceRequest) GetInstanceId

func (x *CreateInstanceRequest) GetInstanceId() string

func (*CreateInstanceRequest) GetParent

func (x *CreateInstanceRequest) GetParent() string

func (*CreateInstanceRequest) ProtoMessage

func (*CreateInstanceRequest) ProtoMessage()

func (*CreateInstanceRequest) ProtoReflect

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

func (*CreateInstanceRequest) Reset

func (x *CreateInstanceRequest) Reset()

func (*CreateInstanceRequest) String

func (x *CreateInstanceRequest) String() string

type DeleteApiDeploymentRequest

type DeleteApiDeploymentRequest struct {

	// Required. The name of the deployment to delete.
	// Format: `projects/*/locations/*/apis/*/deployments/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If set to true, any child resources will also be deleted.
	// (Otherwise, the request will only work if there are no child resources.)
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteApiDeployment.

func (*DeleteApiDeploymentRequest) Descriptor deprecated

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

Deprecated: Use DeleteApiDeploymentRequest.ProtoReflect.Descriptor instead.

func (*DeleteApiDeploymentRequest) GetForce

func (x *DeleteApiDeploymentRequest) GetForce() bool

func (*DeleteApiDeploymentRequest) GetName

func (x *DeleteApiDeploymentRequest) GetName() string

func (*DeleteApiDeploymentRequest) ProtoMessage

func (*DeleteApiDeploymentRequest) ProtoMessage()

func (*DeleteApiDeploymentRequest) ProtoReflect

func (*DeleteApiDeploymentRequest) Reset

func (x *DeleteApiDeploymentRequest) Reset()

func (*DeleteApiDeploymentRequest) String

func (x *DeleteApiDeploymentRequest) String() string

type DeleteApiDeploymentRevisionRequest

type DeleteApiDeploymentRevisionRequest struct {

	// Required. The name of the deployment revision to be deleted,
	// with a revision ID explicitly included.
	//
	// Example:
	// `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteApiDeploymentRevision.

func (*DeleteApiDeploymentRevisionRequest) Descriptor deprecated

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

Deprecated: Use DeleteApiDeploymentRevisionRequest.ProtoReflect.Descriptor instead.

func (*DeleteApiDeploymentRevisionRequest) GetName

func (*DeleteApiDeploymentRevisionRequest) ProtoMessage

func (*DeleteApiDeploymentRevisionRequest) ProtoMessage()

func (*DeleteApiDeploymentRevisionRequest) ProtoReflect

func (*DeleteApiDeploymentRevisionRequest) Reset

func (*DeleteApiDeploymentRevisionRequest) String

type DeleteApiRequest

type DeleteApiRequest struct {

	// Required. The name of the API to delete.
	// Format: `projects/*/locations/*/apis/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If set to true, any child resources will also be deleted.
	// (Otherwise, the request will only work if there are no child resources.)
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteApi.

func (*DeleteApiRequest) Descriptor deprecated

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

Deprecated: Use DeleteApiRequest.ProtoReflect.Descriptor instead.

func (*DeleteApiRequest) GetForce

func (x *DeleteApiRequest) GetForce() bool

func (*DeleteApiRequest) GetName

func (x *DeleteApiRequest) GetName() string

func (*DeleteApiRequest) ProtoMessage

func (*DeleteApiRequest) ProtoMessage()

func (*DeleteApiRequest) ProtoReflect

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

func (*DeleteApiRequest) Reset

func (x *DeleteApiRequest) Reset()

func (*DeleteApiRequest) String

func (x *DeleteApiRequest) String() string

type DeleteApiSpecRequest

type DeleteApiSpecRequest struct {

	// Required. The name of the spec to delete.
	// Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If set to true, any child resources will also be deleted.
	// (Otherwise, the request will only work if there are no child resources.)
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteApiSpec.

func (*DeleteApiSpecRequest) Descriptor deprecated

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

Deprecated: Use DeleteApiSpecRequest.ProtoReflect.Descriptor instead.

func (*DeleteApiSpecRequest) GetForce

func (x *DeleteApiSpecRequest) GetForce() bool

func (*DeleteApiSpecRequest) GetName

func (x *DeleteApiSpecRequest) GetName() string

func (*DeleteApiSpecRequest) ProtoMessage

func (*DeleteApiSpecRequest) ProtoMessage()

func (*DeleteApiSpecRequest) ProtoReflect

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

func (*DeleteApiSpecRequest) Reset

func (x *DeleteApiSpecRequest) Reset()

func (*DeleteApiSpecRequest) String

func (x *DeleteApiSpecRequest) String() string

type DeleteApiSpecRevisionRequest

type DeleteApiSpecRevisionRequest struct {

	// Required. The name of the spec revision to be deleted,
	// with a revision ID explicitly included.
	//
	// Example:
	// `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteApiSpecRevision.

func (*DeleteApiSpecRevisionRequest) Descriptor deprecated

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

Deprecated: Use DeleteApiSpecRevisionRequest.ProtoReflect.Descriptor instead.

func (*DeleteApiSpecRevisionRequest) GetName

func (x *DeleteApiSpecRevisionRequest) GetName() string

func (*DeleteApiSpecRevisionRequest) ProtoMessage

func (*DeleteApiSpecRevisionRequest) ProtoMessage()

func (*DeleteApiSpecRevisionRequest) ProtoReflect

func (*DeleteApiSpecRevisionRequest) Reset

func (x *DeleteApiSpecRevisionRequest) Reset()

func (*DeleteApiSpecRevisionRequest) String

type DeleteApiVersionRequest

type DeleteApiVersionRequest struct {

	// Required. The name of the version to delete.
	// Format: `projects/*/locations/*/apis/*/versions/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If set to true, any child resources will also be deleted.
	// (Otherwise, the request will only work if there are no child resources.)
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteApiVersion.

func (*DeleteApiVersionRequest) Descriptor deprecated

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

Deprecated: Use DeleteApiVersionRequest.ProtoReflect.Descriptor instead.

func (*DeleteApiVersionRequest) GetForce

func (x *DeleteApiVersionRequest) GetForce() bool

func (*DeleteApiVersionRequest) GetName

func (x *DeleteApiVersionRequest) GetName() string

func (*DeleteApiVersionRequest) ProtoMessage

func (*DeleteApiVersionRequest) ProtoMessage()

func (*DeleteApiVersionRequest) ProtoReflect

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

func (*DeleteApiVersionRequest) Reset

func (x *DeleteApiVersionRequest) Reset()

func (*DeleteApiVersionRequest) String

func (x *DeleteApiVersionRequest) String() string

type DeleteArtifactRequest

type DeleteArtifactRequest struct {

	// Required. The name of the artifact to delete.
	// Format: `{parent}/artifacts/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteArtifact.

func (*DeleteArtifactRequest) Descriptor deprecated

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

Deprecated: Use DeleteArtifactRequest.ProtoReflect.Descriptor instead.

func (*DeleteArtifactRequest) GetName

func (x *DeleteArtifactRequest) GetName() string

func (*DeleteArtifactRequest) ProtoMessage

func (*DeleteArtifactRequest) ProtoMessage()

func (*DeleteArtifactRequest) ProtoReflect

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

func (*DeleteArtifactRequest) Reset

func (x *DeleteArtifactRequest) Reset()

func (*DeleteArtifactRequest) String

func (x *DeleteArtifactRequest) String() string

type DeleteInstanceRequest

type DeleteInstanceRequest struct {

	// Required. The name of the Instance to delete.
	// Format: `projects/*/locations/*/instances/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteInstance.

func (*DeleteInstanceRequest) Descriptor deprecated

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

Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.

func (*DeleteInstanceRequest) GetName

func (x *DeleteInstanceRequest) GetName() string

func (*DeleteInstanceRequest) ProtoMessage

func (*DeleteInstanceRequest) ProtoMessage()

func (*DeleteInstanceRequest) ProtoReflect

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

func (*DeleteInstanceRequest) Reset

func (x *DeleteInstanceRequest) Reset()

func (*DeleteInstanceRequest) String

func (x *DeleteInstanceRequest) String() string

type GetApiDeploymentRequest

type GetApiDeploymentRequest struct {

	// Required. The name of the deployment to retrieve.
	// Format: `projects/*/locations/*/apis/*/deployments/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetApiDeployment.

func (*GetApiDeploymentRequest) Descriptor deprecated

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

Deprecated: Use GetApiDeploymentRequest.ProtoReflect.Descriptor instead.

func (*GetApiDeploymentRequest) GetName

func (x *GetApiDeploymentRequest) GetName() string

func (*GetApiDeploymentRequest) ProtoMessage

func (*GetApiDeploymentRequest) ProtoMessage()

func (*GetApiDeploymentRequest) ProtoReflect

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

func (*GetApiDeploymentRequest) Reset

func (x *GetApiDeploymentRequest) Reset()

func (*GetApiDeploymentRequest) String

func (x *GetApiDeploymentRequest) String() string

type GetApiRequest

type GetApiRequest struct {

	// Required. The name of the API to retrieve.
	// Format: `projects/*/locations/*/apis/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetApi.

func (*GetApiRequest) Descriptor deprecated

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

Deprecated: Use GetApiRequest.ProtoReflect.Descriptor instead.

func (*GetApiRequest) GetName

func (x *GetApiRequest) GetName() string

func (*GetApiRequest) ProtoMessage

func (*GetApiRequest) ProtoMessage()

func (*GetApiRequest) ProtoReflect

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

func (*GetApiRequest) Reset

func (x *GetApiRequest) Reset()

func (*GetApiRequest) String

func (x *GetApiRequest) String() string

type GetApiSpecContentsRequest

type GetApiSpecContentsRequest struct {

	// Required. The name of the spec whose contents should be retrieved.
	// Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetApiSpecContents.

func (*GetApiSpecContentsRequest) Descriptor deprecated

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

Deprecated: Use GetApiSpecContentsRequest.ProtoReflect.Descriptor instead.

func (*GetApiSpecContentsRequest) GetName

func (x *GetApiSpecContentsRequest) GetName() string

func (*GetApiSpecContentsRequest) ProtoMessage

func (*GetApiSpecContentsRequest) ProtoMessage()

func (*GetApiSpecContentsRequest) ProtoReflect

func (*GetApiSpecContentsRequest) Reset

func (x *GetApiSpecContentsRequest) Reset()

func (*GetApiSpecContentsRequest) String

func (x *GetApiSpecContentsRequest) String() string

type GetApiSpecRequest

type GetApiSpecRequest struct {

	// Required. The name of the spec to retrieve.
	// Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetApiSpec.

func (*GetApiSpecRequest) Descriptor deprecated

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

Deprecated: Use GetApiSpecRequest.ProtoReflect.Descriptor instead.

func (*GetApiSpecRequest) GetName

func (x *GetApiSpecRequest) GetName() string

func (*GetApiSpecRequest) ProtoMessage

func (*GetApiSpecRequest) ProtoMessage()

func (*GetApiSpecRequest) ProtoReflect

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

func (*GetApiSpecRequest) Reset

func (x *GetApiSpecRequest) Reset()

func (*GetApiSpecRequest) String

func (x *GetApiSpecRequest) String() string

type GetApiVersionRequest

type GetApiVersionRequest struct {

	// Required. The name of the version to retrieve.
	// Format: `projects/*/locations/*/apis/*/versions/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetApiVersion.

func (*GetApiVersionRequest) Descriptor deprecated

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

Deprecated: Use GetApiVersionRequest.ProtoReflect.Descriptor instead.

func (*GetApiVersionRequest) GetName

func (x *GetApiVersionRequest) GetName() string

func (*GetApiVersionRequest) ProtoMessage

func (*GetApiVersionRequest) ProtoMessage()

func (*GetApiVersionRequest) ProtoReflect

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

func (*GetApiVersionRequest) Reset

func (x *GetApiVersionRequest) Reset()

func (*GetApiVersionRequest) String

func (x *GetApiVersionRequest) String() string

type GetArtifactContentsRequest

type GetArtifactContentsRequest struct {

	// Required. The name of the artifact whose contents should be retrieved.
	// Format: `{parent}/artifacts/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetArtifactContents.

func (*GetArtifactContentsRequest) Descriptor deprecated

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

Deprecated: Use GetArtifactContentsRequest.ProtoReflect.Descriptor instead.

func (*GetArtifactContentsRequest) GetName

func (x *GetArtifactContentsRequest) GetName() string

func (*GetArtifactContentsRequest) ProtoMessage

func (*GetArtifactContentsRequest) ProtoMessage()

func (*GetArtifactContentsRequest) ProtoReflect

func (*GetArtifactContentsRequest) Reset

func (x *GetArtifactContentsRequest) Reset()

func (*GetArtifactContentsRequest) String

func (x *GetArtifactContentsRequest) String() string

type GetArtifactRequest

type GetArtifactRequest struct {

	// Required. The name of the artifact to retrieve.
	// Format: `{parent}/artifacts/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetArtifact.

func (*GetArtifactRequest) Descriptor deprecated

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

Deprecated: Use GetArtifactRequest.ProtoReflect.Descriptor instead.

func (*GetArtifactRequest) GetName

func (x *GetArtifactRequest) GetName() string

func (*GetArtifactRequest) ProtoMessage

func (*GetArtifactRequest) ProtoMessage()

func (*GetArtifactRequest) ProtoReflect

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

func (*GetArtifactRequest) Reset

func (x *GetArtifactRequest) Reset()

func (*GetArtifactRequest) String

func (x *GetArtifactRequest) String() string

type GetInstanceRequest

type GetInstanceRequest struct {

	// Required. The name of the Instance to retrieve.
	// Format: `projects/*/locations/*/instances/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetInstance.

func (*GetInstanceRequest) Descriptor deprecated

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

Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceRequest) GetName

func (x *GetInstanceRequest) GetName() string

func (*GetInstanceRequest) ProtoMessage

func (*GetInstanceRequest) ProtoMessage()

func (*GetInstanceRequest) ProtoReflect

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

func (*GetInstanceRequest) Reset

func (x *GetInstanceRequest) Reset()

func (*GetInstanceRequest) String

func (x *GetInstanceRequest) String() string

type Instance

type Instance struct {

	// Format: `projects/*/locations/*/instance`.
	// Currently only `locations/global` is supported.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Last update timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. The current state of the Instance.
	State Instance_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.apigeeregistry.v1.Instance_State" json:"state,omitempty"`
	// Output only. Extra information of Instance.State if the state is `FAILED`.
	StateMessage string `protobuf:"bytes,5,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"`
	// Required. Config of the Instance.
	Config *Instance_Config `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

An Instance represents the instance resources of the Registry. Currently, only one instance is allowed for each project.

func (*Instance) Descriptor deprecated

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetConfig

func (x *Instance) GetConfig() *Instance_Config

func (*Instance) GetCreateTime

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

func (*Instance) GetName

func (x *Instance) GetName() string

func (*Instance) GetState

func (x *Instance) GetState() Instance_State

func (*Instance) GetStateMessage

func (x *Instance) GetStateMessage() string

func (*Instance) GetUpdateTime

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

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

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

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

type Instance_Config

type Instance_Config struct {

	// Output only. The GCP location where the Instance resides.
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
	// The CMEK name should follow the format of
	// `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`,
	// where the `location` must match InstanceConfig.location.
	CmekKeyName string `protobuf:"bytes,2,opt,name=cmek_key_name,json=cmekKeyName,proto3" json:"cmek_key_name,omitempty"`
	// contains filtered or unexported fields
}

Available configurations to provision an Instance.

func (*Instance_Config) Descriptor deprecated

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

Deprecated: Use Instance_Config.ProtoReflect.Descriptor instead.

func (*Instance_Config) GetCmekKeyName

func (x *Instance_Config) GetCmekKeyName() string

func (*Instance_Config) GetLocation

func (x *Instance_Config) GetLocation() string

func (*Instance_Config) ProtoMessage

func (*Instance_Config) ProtoMessage()

func (*Instance_Config) ProtoReflect

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

func (*Instance_Config) Reset

func (x *Instance_Config) Reset()

func (*Instance_Config) String

func (x *Instance_Config) String() string

type Instance_State

type Instance_State int32

State of the Instance.

const (
	// The default value. This value is used if the state is omitted.
	Instance_STATE_UNSPECIFIED Instance_State = 0
	// The Instance has not been initialized or has been deleted.
	Instance_INACTIVE Instance_State = 1
	// The Instance is being created.
	Instance_CREATING Instance_State = 2
	// The Instance has been created and is ready for use.
	Instance_ACTIVE Instance_State = 3
	// The Instance is being updated.
	Instance_UPDATING Instance_State = 4
	// The Instance is being deleted.
	Instance_DELETING Instance_State = 5
	// The Instance encountered an error during a state change.
	Instance_FAILED Instance_State = 6
)

func (Instance_State) Descriptor

func (Instance_State) Enum

func (x Instance_State) Enum() *Instance_State

func (Instance_State) EnumDescriptor deprecated

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

Deprecated: Use Instance_State.Descriptor instead.

func (Instance_State) Number

func (Instance_State) String

func (x Instance_State) String() string

func (Instance_State) Type

type ListApiDeploymentRevisionsRequest

type ListApiDeploymentRevisionsRequest struct {

	// Required. The name of the deployment to list revisions for.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The maximum number of revisions to return per page.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The page token, received from a previous ListApiDeploymentRevisions call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListApiDeploymentRevisions.

func (*ListApiDeploymentRevisionsRequest) Descriptor deprecated

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

Deprecated: Use ListApiDeploymentRevisionsRequest.ProtoReflect.Descriptor instead.

func (*ListApiDeploymentRevisionsRequest) GetName

func (*ListApiDeploymentRevisionsRequest) GetPageSize

func (x *ListApiDeploymentRevisionsRequest) GetPageSize() int32

func (*ListApiDeploymentRevisionsRequest) GetPageToken

func (x *ListApiDeploymentRevisionsRequest) GetPageToken() string

func (*ListApiDeploymentRevisionsRequest) ProtoMessage

func (*ListApiDeploymentRevisionsRequest) ProtoMessage()

func (*ListApiDeploymentRevisionsRequest) ProtoReflect

func (*ListApiDeploymentRevisionsRequest) Reset

func (*ListApiDeploymentRevisionsRequest) String

type ListApiDeploymentRevisionsResponse

type ListApiDeploymentRevisionsResponse struct {

	// The revisions of the deployment.
	ApiDeployments []*ApiDeployment `protobuf:"bytes,1,rep,name=api_deployments,json=apiDeployments,proto3" json:"api_deployments,omitempty"`
	// A token that can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	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 ListApiDeploymentRevisionsResponse.

func (*ListApiDeploymentRevisionsResponse) Descriptor deprecated

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

Deprecated: Use ListApiDeploymentRevisionsResponse.ProtoReflect.Descriptor instead.

func (*ListApiDeploymentRevisionsResponse) GetApiDeployments

func (x *ListApiDeploymentRevisionsResponse) GetApiDeployments() []*ApiDeployment

func (*ListApiDeploymentRevisionsResponse) GetNextPageToken

func (x *ListApiDeploymentRevisionsResponse) GetNextPageToken() string

func (*ListApiDeploymentRevisionsResponse) ProtoMessage

func (*ListApiDeploymentRevisionsResponse) ProtoMessage()

func (*ListApiDeploymentRevisionsResponse) ProtoReflect

func (*ListApiDeploymentRevisionsResponse) Reset

func (*ListApiDeploymentRevisionsResponse) String

type ListApiDeploymentsRequest

type ListApiDeploymentsRequest struct {

	// Required. The parent, which owns this collection of deployments.
	// Format: `projects/*/locations/*/apis/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of deployments to return.
	// The service may return fewer than this value.
	// If unspecified, at most 50 values will be returned.
	// The maximum is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListApiDeployments` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListApiDeployments` must
	// match the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// An expression that can be used to filter the list. Filters use the Common
	// Expression Language and can refer to all message fields.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListApiDeployments.

func (*ListApiDeploymentsRequest) Descriptor deprecated

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

Deprecated: Use ListApiDeploymentsRequest.ProtoReflect.Descriptor instead.

func (*ListApiDeploymentsRequest) GetFilter

func (x *ListApiDeploymentsRequest) GetFilter() string

func (*ListApiDeploymentsRequest) GetPageSize

func (x *ListApiDeploymentsRequest) GetPageSize() int32

func (*ListApiDeploymentsRequest) GetPageToken

func (x *ListApiDeploymentsRequest) GetPageToken() string

func (*ListApiDeploymentsRequest) GetParent

func (x *ListApiDeploymentsRequest) GetParent() string

func (*ListApiDeploymentsRequest) ProtoMessage

func (*ListApiDeploymentsRequest) ProtoMessage()

func (*ListApiDeploymentsRequest) ProtoReflect

func (*ListApiDeploymentsRequest) Reset

func (x *ListApiDeploymentsRequest) Reset()

func (*ListApiDeploymentsRequest) String

func (x *ListApiDeploymentsRequest) String() string

type ListApiDeploymentsResponse

type ListApiDeploymentsResponse struct {

	// The deployments from the specified publisher.
	ApiDeployments []*ApiDeployment `protobuf:"bytes,1,rep,name=api_deployments,json=apiDeployments,proto3" json:"api_deployments,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	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 ListApiDeployments.

func (*ListApiDeploymentsResponse) Descriptor deprecated

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

Deprecated: Use ListApiDeploymentsResponse.ProtoReflect.Descriptor instead.

func (*ListApiDeploymentsResponse) GetApiDeployments

func (x *ListApiDeploymentsResponse) GetApiDeployments() []*ApiDeployment

func (*ListApiDeploymentsResponse) GetNextPageToken

func (x *ListApiDeploymentsResponse) GetNextPageToken() string

func (*ListApiDeploymentsResponse) ProtoMessage

func (*ListApiDeploymentsResponse) ProtoMessage()

func (*ListApiDeploymentsResponse) ProtoReflect

func (*ListApiDeploymentsResponse) Reset

func (x *ListApiDeploymentsResponse) Reset()

func (*ListApiDeploymentsResponse) String

func (x *ListApiDeploymentsResponse) String() string

type ListApiSpecRevisionsRequest

type ListApiSpecRevisionsRequest struct {

	// Required. The name of the spec to list revisions for.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The maximum number of revisions to return per page.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The page token, received from a previous ListApiSpecRevisions call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListApiSpecRevisions.

func (*ListApiSpecRevisionsRequest) Descriptor deprecated

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

Deprecated: Use ListApiSpecRevisionsRequest.ProtoReflect.Descriptor instead.

func (*ListApiSpecRevisionsRequest) GetName

func (x *ListApiSpecRevisionsRequest) GetName() string

func (*ListApiSpecRevisionsRequest) GetPageSize

func (x *ListApiSpecRevisionsRequest) GetPageSize() int32

func (*ListApiSpecRevisionsRequest) GetPageToken

func (x *ListApiSpecRevisionsRequest) GetPageToken() string

func (*ListApiSpecRevisionsRequest) ProtoMessage

func (*ListApiSpecRevisionsRequest) ProtoMessage()

func (*ListApiSpecRevisionsRequest) ProtoReflect

func (*ListApiSpecRevisionsRequest) Reset

func (x *ListApiSpecRevisionsRequest) Reset()

func (*ListApiSpecRevisionsRequest) String

func (x *ListApiSpecRevisionsRequest) String() string

type ListApiSpecRevisionsResponse

type ListApiSpecRevisionsResponse struct {

	// The revisions of the spec.
	ApiSpecs []*ApiSpec `protobuf:"bytes,1,rep,name=api_specs,json=apiSpecs,proto3" json:"api_specs,omitempty"`
	// A token that can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	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 ListApiSpecRevisionsResponse.

func (*ListApiSpecRevisionsResponse) Descriptor deprecated

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

Deprecated: Use ListApiSpecRevisionsResponse.ProtoReflect.Descriptor instead.

func (*ListApiSpecRevisionsResponse) GetApiSpecs

func (x *ListApiSpecRevisionsResponse) GetApiSpecs() []*ApiSpec

func (*ListApiSpecRevisionsResponse) GetNextPageToken

func (x *ListApiSpecRevisionsResponse) GetNextPageToken() string

func (*ListApiSpecRevisionsResponse) ProtoMessage

func (*ListApiSpecRevisionsResponse) ProtoMessage()

func (*ListApiSpecRevisionsResponse) ProtoReflect

func (*ListApiSpecRevisionsResponse) Reset

func (x *ListApiSpecRevisionsResponse) Reset()

func (*ListApiSpecRevisionsResponse) String

type ListApiSpecsRequest

type ListApiSpecsRequest struct {

	// Required. The parent, which owns this collection of specs.
	// Format: `projects/*/locations/*/apis/*/versions/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of specs to return.
	// The service may return fewer than this value.
	// If unspecified, at most 50 values will be returned.
	// The maximum is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListApiSpecs` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListApiSpecs` must match
	// the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// An expression that can be used to filter the list. Filters use the Common
	// Expression Language and can refer to all message fields except contents.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListApiSpecs.

func (*ListApiSpecsRequest) Descriptor deprecated

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

Deprecated: Use ListApiSpecsRequest.ProtoReflect.Descriptor instead.

func (*ListApiSpecsRequest) GetFilter

func (x *ListApiSpecsRequest) GetFilter() string

func (*ListApiSpecsRequest) GetPageSize

func (x *ListApiSpecsRequest) GetPageSize() int32

func (*ListApiSpecsRequest) GetPageToken

func (x *ListApiSpecsRequest) GetPageToken() string

func (*ListApiSpecsRequest) GetParent

func (x *ListApiSpecsRequest) GetParent() string

func (*ListApiSpecsRequest) ProtoMessage

func (*ListApiSpecsRequest) ProtoMessage()

func (*ListApiSpecsRequest) ProtoReflect

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

func (*ListApiSpecsRequest) Reset

func (x *ListApiSpecsRequest) Reset()

func (*ListApiSpecsRequest) String

func (x *ListApiSpecsRequest) String() string

type ListApiSpecsResponse

type ListApiSpecsResponse struct {

	// The specs from the specified publisher.
	ApiSpecs []*ApiSpec `protobuf:"bytes,1,rep,name=api_specs,json=apiSpecs,proto3" json:"api_specs,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	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 ListApiSpecs.

func (*ListApiSpecsResponse) Descriptor deprecated

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

Deprecated: Use ListApiSpecsResponse.ProtoReflect.Descriptor instead.

func (*ListApiSpecsResponse) GetApiSpecs

func (x *ListApiSpecsResponse) GetApiSpecs() []*ApiSpec

func (*ListApiSpecsResponse) GetNextPageToken

func (x *ListApiSpecsResponse) GetNextPageToken() string

func (*ListApiSpecsResponse) ProtoMessage

func (*ListApiSpecsResponse) ProtoMessage()

func (*ListApiSpecsResponse) ProtoReflect

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

func (*ListApiSpecsResponse) Reset

func (x *ListApiSpecsResponse) Reset()

func (*ListApiSpecsResponse) String

func (x *ListApiSpecsResponse) String() string

type ListApiVersionsRequest

type ListApiVersionsRequest struct {

	// Required. The parent, which owns this collection of versions.
	// Format: `projects/*/locations/*/apis/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of versions to return.
	// The service may return fewer than this value.
	// If unspecified, at most 50 values will be returned.
	// The maximum is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListApiVersions` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListApiVersions` must
	// match the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// An expression that can be used to filter the list. Filters use the Common
	// Expression Language and can refer to all message fields.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListApiVersions.

func (*ListApiVersionsRequest) Descriptor deprecated

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

Deprecated: Use ListApiVersionsRequest.ProtoReflect.Descriptor instead.

func (*ListApiVersionsRequest) GetFilter

func (x *ListApiVersionsRequest) GetFilter() string

func (*ListApiVersionsRequest) GetPageSize

func (x *ListApiVersionsRequest) GetPageSize() int32

func (*ListApiVersionsRequest) GetPageToken

func (x *ListApiVersionsRequest) GetPageToken() string

func (*ListApiVersionsRequest) GetParent

func (x *ListApiVersionsRequest) GetParent() string

func (*ListApiVersionsRequest) ProtoMessage

func (*ListApiVersionsRequest) ProtoMessage()

func (*ListApiVersionsRequest) ProtoReflect

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

func (*ListApiVersionsRequest) Reset

func (x *ListApiVersionsRequest) Reset()

func (*ListApiVersionsRequest) String

func (x *ListApiVersionsRequest) String() string

type ListApiVersionsResponse

type ListApiVersionsResponse struct {

	// The versions from the specified publisher.
	ApiVersions []*ApiVersion `protobuf:"bytes,1,rep,name=api_versions,json=apiVersions,proto3" json:"api_versions,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	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 ListApiVersions.

func (*ListApiVersionsResponse) Descriptor deprecated

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

Deprecated: Use ListApiVersionsResponse.ProtoReflect.Descriptor instead.

func (*ListApiVersionsResponse) GetApiVersions

func (x *ListApiVersionsResponse) GetApiVersions() []*ApiVersion

func (*ListApiVersionsResponse) GetNextPageToken

func (x *ListApiVersionsResponse) GetNextPageToken() string

func (*ListApiVersionsResponse) ProtoMessage

func (*ListApiVersionsResponse) ProtoMessage()

func (*ListApiVersionsResponse) ProtoReflect

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

func (*ListApiVersionsResponse) Reset

func (x *ListApiVersionsResponse) Reset()

func (*ListApiVersionsResponse) String

func (x *ListApiVersionsResponse) String() string

type ListApisRequest

type ListApisRequest struct {

	// Required. The parent, which owns this collection of APIs.
	// Format: `projects/*/locations/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of APIs to return.
	// The service may return fewer than this value.
	// If unspecified, at most 50 values will be returned.
	// The maximum is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListApis` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListApis` must match
	// the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// An expression that can be used to filter the list. Filters use the Common
	// Expression Language and can refer to all message fields.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListApis.

func (*ListApisRequest) Descriptor deprecated

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

Deprecated: Use ListApisRequest.ProtoReflect.Descriptor instead.

func (*ListApisRequest) GetFilter

func (x *ListApisRequest) GetFilter() string

func (*ListApisRequest) GetPageSize

func (x *ListApisRequest) GetPageSize() int32

func (*ListApisRequest) GetPageToken

func (x *ListApisRequest) GetPageToken() string

func (*ListApisRequest) GetParent

func (x *ListApisRequest) GetParent() string

func (*ListApisRequest) ProtoMessage

func (*ListApisRequest) ProtoMessage()

func (*ListApisRequest) ProtoReflect

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

func (*ListApisRequest) Reset

func (x *ListApisRequest) Reset()

func (*ListApisRequest) String

func (x *ListApisRequest) String() string

type ListApisResponse

type ListApisResponse struct {

	// The APIs from the specified publisher.
	Apis []*Api `protobuf:"bytes,1,rep,name=apis,proto3" json:"apis,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	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 ListApis.

func (*ListApisResponse) Descriptor deprecated

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

Deprecated: Use ListApisResponse.ProtoReflect.Descriptor instead.

func (*ListApisResponse) GetApis

func (x *ListApisResponse) GetApis() []*Api

func (*ListApisResponse) GetNextPageToken

func (x *ListApisResponse) GetNextPageToken() string

func (*ListApisResponse) ProtoMessage

func (*ListApisResponse) ProtoMessage()

func (*ListApisResponse) ProtoReflect

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

func (*ListApisResponse) Reset

func (x *ListApisResponse) Reset()

func (*ListApisResponse) String

func (x *ListApisResponse) String() string

type ListArtifactsRequest

type ListArtifactsRequest struct {

	// Required. The parent, which owns this collection of artifacts.
	// Format: `{parent}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of artifacts to return.
	// The service may return fewer than this value.
	// If unspecified, at most 50 values will be returned.
	// The maximum is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListArtifacts` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListArtifacts` must
	// match the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// An expression that can be used to filter the list. Filters use the Common
	// Expression Language and can refer to all message fields except contents.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListArtifacts.

func (*ListArtifactsRequest) Descriptor deprecated

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

Deprecated: Use ListArtifactsRequest.ProtoReflect.Descriptor instead.

func (*ListArtifactsRequest) GetFilter

func (x *ListArtifactsRequest) GetFilter() string

func (*ListArtifactsRequest) GetPageSize

func (x *ListArtifactsRequest) GetPageSize() int32

func (*ListArtifactsRequest) GetPageToken

func (x *ListArtifactsRequest) GetPageToken() string

func (*ListArtifactsRequest) GetParent

func (x *ListArtifactsRequest) GetParent() string

func (*ListArtifactsRequest) ProtoMessage

func (*ListArtifactsRequest) ProtoMessage()

func (*ListArtifactsRequest) ProtoReflect

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

func (*ListArtifactsRequest) Reset

func (x *ListArtifactsRequest) Reset()

func (*ListArtifactsRequest) String

func (x *ListArtifactsRequest) String() string

type ListArtifactsResponse

type ListArtifactsResponse struct {

	// The artifacts from the specified publisher.
	Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	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 ListArtifacts.

func (*ListArtifactsResponse) Descriptor deprecated

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

Deprecated: Use ListArtifactsResponse.ProtoReflect.Descriptor instead.

func (*ListArtifactsResponse) GetArtifacts

func (x *ListArtifactsResponse) GetArtifacts() []*Artifact

func (*ListArtifactsResponse) GetNextPageToken

func (x *ListArtifactsResponse) GetNextPageToken() string

func (*ListArtifactsResponse) ProtoMessage

func (*ListArtifactsResponse) ProtoMessage()

func (*ListArtifactsResponse) ProtoReflect

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

func (*ListArtifactsResponse) Reset

func (x *ListArtifactsResponse) Reset()

func (*ListArtifactsResponse) String

func (x *ListArtifactsResponse) String() string

type OperationMetadata

type OperationMetadata struct {

	// The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Human-readable status of the operation, if any.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Identifies whether the user has requested cancellation
	// of the operation. Operations that have successfully been cancelled
	// have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
	// corresponding to `Code.CANCELLED`.
	CancellationRequested bool `protobuf:"varint,6,opt,name=cancellation_requested,json=cancellationRequested,proto3" json:"cancellation_requested,omitempty"`
	// API version used to start the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Represents the metadata of the long-running operation.

func (*OperationMetadata) Descriptor deprecated

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

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCancellationRequested

func (x *OperationMetadata) GetCancellationRequested() bool

func (*OperationMetadata) GetCreateTime

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

func (*OperationMetadata) GetEndTime

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

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

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

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type ProvisioningClient

type ProvisioningClient interface {
	// Provisions instance resources for the Registry.
	CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes the Registry instance.
	DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets details of a single Instance.
	GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error)
}

ProvisioningClient is the client API for Provisioning service.

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

type ProvisioningServer

type ProvisioningServer interface {
	// Provisions instance resources for the Registry.
	CreateInstance(context.Context, *CreateInstanceRequest) (*longrunningpb.Operation, error)
	// Deletes the Registry instance.
	DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunningpb.Operation, error)
	// Gets details of a single Instance.
	GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
}

ProvisioningServer is the server API for Provisioning service.

type RegistryClient

type RegistryClient interface {
	// Returns matching APIs.
	ListApis(ctx context.Context, in *ListApisRequest, opts ...grpc.CallOption) (*ListApisResponse, error)
	// Returns a specified API.
	GetApi(ctx context.Context, in *GetApiRequest, opts ...grpc.CallOption) (*Api, error)
	// Creates a specified API.
	CreateApi(ctx context.Context, in *CreateApiRequest, opts ...grpc.CallOption) (*Api, error)
	// Used to modify a specified API.
	UpdateApi(ctx context.Context, in *UpdateApiRequest, opts ...grpc.CallOption) (*Api, error)
	// Removes a specified API and all of the resources that it
	// owns.
	DeleteApi(ctx context.Context, in *DeleteApiRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Returns matching versions.
	ListApiVersions(ctx context.Context, in *ListApiVersionsRequest, opts ...grpc.CallOption) (*ListApiVersionsResponse, error)
	// Returns a specified version.
	GetApiVersion(ctx context.Context, in *GetApiVersionRequest, opts ...grpc.CallOption) (*ApiVersion, error)
	// Creates a specified version.
	CreateApiVersion(ctx context.Context, in *CreateApiVersionRequest, opts ...grpc.CallOption) (*ApiVersion, error)
	// Used to modify a specified version.
	UpdateApiVersion(ctx context.Context, in *UpdateApiVersionRequest, opts ...grpc.CallOption) (*ApiVersion, error)
	// Removes a specified version and all of the resources that
	// it owns.
	DeleteApiVersion(ctx context.Context, in *DeleteApiVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Returns matching specs.
	ListApiSpecs(ctx context.Context, in *ListApiSpecsRequest, opts ...grpc.CallOption) (*ListApiSpecsResponse, error)
	// Returns a specified spec.
	GetApiSpec(ctx context.Context, in *GetApiSpecRequest, opts ...grpc.CallOption) (*ApiSpec, error)
	// Returns the contents of a specified spec.
	// If specs are stored with GZip compression, the default behavior
	// is to return the spec uncompressed (the mime_type response field
	// indicates the exact format returned).
	GetApiSpecContents(ctx context.Context, in *GetApiSpecContentsRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
	// Creates a specified spec.
	CreateApiSpec(ctx context.Context, in *CreateApiSpecRequest, opts ...grpc.CallOption) (*ApiSpec, error)
	// Used to modify a specified spec.
	UpdateApiSpec(ctx context.Context, in *UpdateApiSpecRequest, opts ...grpc.CallOption) (*ApiSpec, error)
	// Removes a specified spec, all revisions, and all child
	// resources (e.g., artifacts).
	DeleteApiSpec(ctx context.Context, in *DeleteApiSpecRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Adds a tag to a specified revision of a spec.
	TagApiSpecRevision(ctx context.Context, in *TagApiSpecRevisionRequest, opts ...grpc.CallOption) (*ApiSpec, error)
	// Lists all revisions of a spec.
	// Revisions are returned in descending order of revision creation time.
	ListApiSpecRevisions(ctx context.Context, in *ListApiSpecRevisionsRequest, opts ...grpc.CallOption) (*ListApiSpecRevisionsResponse, error)
	// Sets the current revision to a specified prior revision.
	// Note that this creates a new revision with a new revision ID.
	RollbackApiSpec(ctx context.Context, in *RollbackApiSpecRequest, opts ...grpc.CallOption) (*ApiSpec, error)
	// Deletes a revision of a spec.
	DeleteApiSpecRevision(ctx context.Context, in *DeleteApiSpecRevisionRequest, opts ...grpc.CallOption) (*ApiSpec, error)
	// Returns matching deployments.
	ListApiDeployments(ctx context.Context, in *ListApiDeploymentsRequest, opts ...grpc.CallOption) (*ListApiDeploymentsResponse, error)
	// Returns a specified deployment.
	GetApiDeployment(ctx context.Context, in *GetApiDeploymentRequest, opts ...grpc.CallOption) (*ApiDeployment, error)
	// Creates a specified deployment.
	CreateApiDeployment(ctx context.Context, in *CreateApiDeploymentRequest, opts ...grpc.CallOption) (*ApiDeployment, error)
	// Used to modify a specified deployment.
	UpdateApiDeployment(ctx context.Context, in *UpdateApiDeploymentRequest, opts ...grpc.CallOption) (*ApiDeployment, error)
	// Removes a specified deployment, all revisions, and all
	// child resources (e.g., artifacts).
	DeleteApiDeployment(ctx context.Context, in *DeleteApiDeploymentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Adds a tag to a specified revision of a
	// deployment.
	TagApiDeploymentRevision(ctx context.Context, in *TagApiDeploymentRevisionRequest, opts ...grpc.CallOption) (*ApiDeployment, error)
	// Lists all revisions of a deployment.
	// Revisions are returned in descending order of revision creation time.
	ListApiDeploymentRevisions(ctx context.Context, in *ListApiDeploymentRevisionsRequest, opts ...grpc.CallOption) (*ListApiDeploymentRevisionsResponse, error)
	// Sets the current revision to a specified prior
	// revision. Note that this creates a new revision with a new revision ID.
	RollbackApiDeployment(ctx context.Context, in *RollbackApiDeploymentRequest, opts ...grpc.CallOption) (*ApiDeployment, error)
	// Deletes a revision of a deployment.
	DeleteApiDeploymentRevision(ctx context.Context, in *DeleteApiDeploymentRevisionRequest, opts ...grpc.CallOption) (*ApiDeployment, error)
	// Returns matching artifacts.
	ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error)
	// Returns a specified artifact.
	GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*Artifact, error)
	// Returns the contents of a specified artifact.
	// If artifacts are stored with GZip compression, the default behavior
	// is to return the artifact uncompressed (the mime_type response field
	// indicates the exact format returned).
	GetArtifactContents(ctx context.Context, in *GetArtifactContentsRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
	// Creates a specified artifact.
	CreateArtifact(ctx context.Context, in *CreateArtifactRequest, opts ...grpc.CallOption) (*Artifact, error)
	// Used to replace a specified artifact.
	ReplaceArtifact(ctx context.Context, in *ReplaceArtifactRequest, opts ...grpc.CallOption) (*Artifact, error)
	// Removes a specified artifact.
	DeleteArtifact(ctx context.Context, in *DeleteArtifactRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

RegistryClient is the client API for Registry service.

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

func NewRegistryClient

func NewRegistryClient(cc grpc.ClientConnInterface) RegistryClient

type RegistryServer

type RegistryServer interface {
	// Returns matching APIs.
	ListApis(context.Context, *ListApisRequest) (*ListApisResponse, error)
	// Returns a specified API.
	GetApi(context.Context, *GetApiRequest) (*Api, error)
	// Creates a specified API.
	CreateApi(context.Context, *CreateApiRequest) (*Api, error)
	// Used to modify a specified API.
	UpdateApi(context.Context, *UpdateApiRequest) (*Api, error)
	// Removes a specified API and all of the resources that it
	// owns.
	DeleteApi(context.Context, *DeleteApiRequest) (*emptypb.Empty, error)
	// Returns matching versions.
	ListApiVersions(context.Context, *ListApiVersionsRequest) (*ListApiVersionsResponse, error)
	// Returns a specified version.
	GetApiVersion(context.Context, *GetApiVersionRequest) (*ApiVersion, error)
	// Creates a specified version.
	CreateApiVersion(context.Context, *CreateApiVersionRequest) (*ApiVersion, error)
	// Used to modify a specified version.
	UpdateApiVersion(context.Context, *UpdateApiVersionRequest) (*ApiVersion, error)
	// Removes a specified version and all of the resources that
	// it owns.
	DeleteApiVersion(context.Context, *DeleteApiVersionRequest) (*emptypb.Empty, error)
	// Returns matching specs.
	ListApiSpecs(context.Context, *ListApiSpecsRequest) (*ListApiSpecsResponse, error)
	// Returns a specified spec.
	GetApiSpec(context.Context, *GetApiSpecRequest) (*ApiSpec, error)
	// Returns the contents of a specified spec.
	// If specs are stored with GZip compression, the default behavior
	// is to return the spec uncompressed (the mime_type response field
	// indicates the exact format returned).
	GetApiSpecContents(context.Context, *GetApiSpecContentsRequest) (*httpbody.HttpBody, error)
	// Creates a specified spec.
	CreateApiSpec(context.Context, *CreateApiSpecRequest) (*ApiSpec, error)
	// Used to modify a specified spec.
	UpdateApiSpec(context.Context, *UpdateApiSpecRequest) (*ApiSpec, error)
	// Removes a specified spec, all revisions, and all child
	// resources (e.g., artifacts).
	DeleteApiSpec(context.Context, *DeleteApiSpecRequest) (*emptypb.Empty, error)
	// Adds a tag to a specified revision of a spec.
	TagApiSpecRevision(context.Context, *TagApiSpecRevisionRequest) (*ApiSpec, error)
	// Lists all revisions of a spec.
	// Revisions are returned in descending order of revision creation time.
	ListApiSpecRevisions(context.Context, *ListApiSpecRevisionsRequest) (*ListApiSpecRevisionsResponse, error)
	// Sets the current revision to a specified prior revision.
	// Note that this creates a new revision with a new revision ID.
	RollbackApiSpec(context.Context, *RollbackApiSpecRequest) (*ApiSpec, error)
	// Deletes a revision of a spec.
	DeleteApiSpecRevision(context.Context, *DeleteApiSpecRevisionRequest) (*ApiSpec, error)
	// Returns matching deployments.
	ListApiDeployments(context.Context, *ListApiDeploymentsRequest) (*ListApiDeploymentsResponse, error)
	// Returns a specified deployment.
	GetApiDeployment(context.Context, *GetApiDeploymentRequest) (*ApiDeployment, error)
	// Creates a specified deployment.
	CreateApiDeployment(context.Context, *CreateApiDeploymentRequest) (*ApiDeployment, error)
	// Used to modify a specified deployment.
	UpdateApiDeployment(context.Context, *UpdateApiDeploymentRequest) (*ApiDeployment, error)
	// Removes a specified deployment, all revisions, and all
	// child resources (e.g., artifacts).
	DeleteApiDeployment(context.Context, *DeleteApiDeploymentRequest) (*emptypb.Empty, error)
	// Adds a tag to a specified revision of a
	// deployment.
	TagApiDeploymentRevision(context.Context, *TagApiDeploymentRevisionRequest) (*ApiDeployment, error)
	// Lists all revisions of a deployment.
	// Revisions are returned in descending order of revision creation time.
	ListApiDeploymentRevisions(context.Context, *ListApiDeploymentRevisionsRequest) (*ListApiDeploymentRevisionsResponse, error)
	// Sets the current revision to a specified prior
	// revision. Note that this creates a new revision with a new revision ID.
	RollbackApiDeployment(context.Context, *RollbackApiDeploymentRequest) (*ApiDeployment, error)
	// Deletes a revision of a deployment.
	DeleteApiDeploymentRevision(context.Context, *DeleteApiDeploymentRevisionRequest) (*ApiDeployment, error)
	// Returns matching artifacts.
	ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error)
	// Returns a specified artifact.
	GetArtifact(context.Context, *GetArtifactRequest) (*Artifact, error)
	// Returns the contents of a specified artifact.
	// If artifacts are stored with GZip compression, the default behavior
	// is to return the artifact uncompressed (the mime_type response field
	// indicates the exact format returned).
	GetArtifactContents(context.Context, *GetArtifactContentsRequest) (*httpbody.HttpBody, error)
	// Creates a specified artifact.
	CreateArtifact(context.Context, *CreateArtifactRequest) (*Artifact, error)
	// Used to replace a specified artifact.
	ReplaceArtifact(context.Context, *ReplaceArtifactRequest) (*Artifact, error)
	// Removes a specified artifact.
	DeleteArtifact(context.Context, *DeleteArtifactRequest) (*emptypb.Empty, error)
}

RegistryServer is the server API for Registry service.

type ReplaceArtifactRequest

type ReplaceArtifactRequest struct {

	// Required. The artifact to replace.
	//
	// The `name` field is used to identify the artifact to replace.
	// Format: `{parent}/artifacts/*`
	Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"`
	// contains filtered or unexported fields
}

Request message for ReplaceArtifact.

func (*ReplaceArtifactRequest) Descriptor deprecated

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

Deprecated: Use ReplaceArtifactRequest.ProtoReflect.Descriptor instead.

func (*ReplaceArtifactRequest) GetArtifact

func (x *ReplaceArtifactRequest) GetArtifact() *Artifact

func (*ReplaceArtifactRequest) ProtoMessage

func (*ReplaceArtifactRequest) ProtoMessage()

func (*ReplaceArtifactRequest) ProtoReflect

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

func (*ReplaceArtifactRequest) Reset

func (x *ReplaceArtifactRequest) Reset()

func (*ReplaceArtifactRequest) String

func (x *ReplaceArtifactRequest) String() string

type RollbackApiDeploymentRequest

type RollbackApiDeploymentRequest struct {

	// Required. The deployment being rolled back.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The revision ID to roll back to.
	// It must be a revision of the same deployment.
	//
	//	Example: `c7cfa2a8`
	RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for RollbackApiDeployment.

func (*RollbackApiDeploymentRequest) Descriptor deprecated

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

Deprecated: Use RollbackApiDeploymentRequest.ProtoReflect.Descriptor instead.

func (*RollbackApiDeploymentRequest) GetName

func (x *RollbackApiDeploymentRequest) GetName() string

func (*RollbackApiDeploymentRequest) GetRevisionId

func (x *RollbackApiDeploymentRequest) GetRevisionId() string

func (*RollbackApiDeploymentRequest) ProtoMessage

func (*RollbackApiDeploymentRequest) ProtoMessage()

func (*RollbackApiDeploymentRequest) ProtoReflect

func (*RollbackApiDeploymentRequest) Reset

func (x *RollbackApiDeploymentRequest) Reset()

func (*RollbackApiDeploymentRequest) String

type RollbackApiSpecRequest

type RollbackApiSpecRequest struct {

	// Required. The spec being rolled back.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The revision ID to roll back to.
	// It must be a revision of the same spec.
	//
	//	Example: `c7cfa2a8`
	RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for RollbackApiSpec.

func (*RollbackApiSpecRequest) Descriptor deprecated

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

Deprecated: Use RollbackApiSpecRequest.ProtoReflect.Descriptor instead.

func (*RollbackApiSpecRequest) GetName

func (x *RollbackApiSpecRequest) GetName() string

func (*RollbackApiSpecRequest) GetRevisionId

func (x *RollbackApiSpecRequest) GetRevisionId() string

func (*RollbackApiSpecRequest) ProtoMessage

func (*RollbackApiSpecRequest) ProtoMessage()

func (*RollbackApiSpecRequest) ProtoReflect

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

func (*RollbackApiSpecRequest) Reset

func (x *RollbackApiSpecRequest) Reset()

func (*RollbackApiSpecRequest) String

func (x *RollbackApiSpecRequest) String() string

type TagApiDeploymentRevisionRequest

type TagApiDeploymentRevisionRequest struct {

	// Required. The name of the deployment to be tagged, including the revision ID.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The tag to apply.
	// The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

Request message for TagApiDeploymentRevision.

func (*TagApiDeploymentRevisionRequest) Descriptor deprecated

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

Deprecated: Use TagApiDeploymentRevisionRequest.ProtoReflect.Descriptor instead.

func (*TagApiDeploymentRevisionRequest) GetName

func (*TagApiDeploymentRevisionRequest) GetTag

func (*TagApiDeploymentRevisionRequest) ProtoMessage

func (*TagApiDeploymentRevisionRequest) ProtoMessage()

func (*TagApiDeploymentRevisionRequest) ProtoReflect

func (*TagApiDeploymentRevisionRequest) Reset

func (*TagApiDeploymentRevisionRequest) String

type TagApiSpecRevisionRequest

type TagApiSpecRevisionRequest struct {

	// Required. The name of the spec to be tagged, including the revision ID.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The tag to apply.
	// The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

Request message for TagApiSpecRevision.

func (*TagApiSpecRevisionRequest) Descriptor deprecated

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

Deprecated: Use TagApiSpecRevisionRequest.ProtoReflect.Descriptor instead.

func (*TagApiSpecRevisionRequest) GetName

func (x *TagApiSpecRevisionRequest) GetName() string

func (*TagApiSpecRevisionRequest) GetTag

func (x *TagApiSpecRevisionRequest) GetTag() string

func (*TagApiSpecRevisionRequest) ProtoMessage

func (*TagApiSpecRevisionRequest) ProtoMessage()

func (*TagApiSpecRevisionRequest) ProtoReflect

func (*TagApiSpecRevisionRequest) Reset

func (x *TagApiSpecRevisionRequest) Reset()

func (*TagApiSpecRevisionRequest) String

func (x *TagApiSpecRevisionRequest) String() string

type UnimplementedProvisioningServer

type UnimplementedProvisioningServer struct {
}

UnimplementedProvisioningServer can be embedded to have forward compatible implementations.

func (*UnimplementedProvisioningServer) CreateInstance

func (*UnimplementedProvisioningServer) DeleteInstance

func (*UnimplementedProvisioningServer) GetInstance

type UnimplementedRegistryServer

type UnimplementedRegistryServer struct {
}

UnimplementedRegistryServer can be embedded to have forward compatible implementations.

func (*UnimplementedRegistryServer) CreateApi

func (*UnimplementedRegistryServer) CreateApiDeployment

func (*UnimplementedRegistryServer) CreateApiSpec

func (*UnimplementedRegistryServer) CreateApiVersion

func (*UnimplementedRegistryServer) CreateArtifact

func (*UnimplementedRegistryServer) DeleteApi

func (*UnimplementedRegistryServer) DeleteApiDeployment

func (*UnimplementedRegistryServer) DeleteApiDeploymentRevision

func (*UnimplementedRegistryServer) DeleteApiSpec

func (*UnimplementedRegistryServer) DeleteApiSpecRevision

func (*UnimplementedRegistryServer) DeleteApiVersion

func (*UnimplementedRegistryServer) DeleteArtifact

func (*UnimplementedRegistryServer) GetApi

func (*UnimplementedRegistryServer) GetApiDeployment

func (*UnimplementedRegistryServer) GetApiSpec

func (*UnimplementedRegistryServer) GetApiSpecContents

func (*UnimplementedRegistryServer) GetApiVersion

func (*UnimplementedRegistryServer) GetArtifact

func (*UnimplementedRegistryServer) GetArtifactContents

func (*UnimplementedRegistryServer) ListApiDeployments

func (*UnimplementedRegistryServer) ListApiSpecs

func (*UnimplementedRegistryServer) ListApiVersions

func (*UnimplementedRegistryServer) ListApis

func (*UnimplementedRegistryServer) ListArtifacts

func (*UnimplementedRegistryServer) ReplaceArtifact

func (*UnimplementedRegistryServer) RollbackApiDeployment

func (*UnimplementedRegistryServer) RollbackApiSpec

func (*UnimplementedRegistryServer) TagApiDeploymentRevision

func (*UnimplementedRegistryServer) TagApiSpecRevision

func (*UnimplementedRegistryServer) UpdateApi

func (*UnimplementedRegistryServer) UpdateApiDeployment

func (*UnimplementedRegistryServer) UpdateApiSpec

func (*UnimplementedRegistryServer) UpdateApiVersion

type UpdateApiDeploymentRequest

type UpdateApiDeploymentRequest struct {

	// Required. The deployment to update.
	//
	// The `name` field is used to identify the deployment to update.
	// Format: `projects/*/locations/*/apis/*/deployments/*`
	ApiDeployment *ApiDeployment `protobuf:"bytes,1,opt,name=api_deployment,json=apiDeployment,proto3" json:"api_deployment,omitempty"`
	// The list of fields to be updated. If omitted, all fields are updated that
	// are set in the request message (fields set to default values are ignored).
	// If an asterisk "*" is specified, all fields are updated, including fields
	// that are unspecified/default in the request.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// If set to true, and the deployment is not found, a new deployment will be
	// created. In this situation, `update_mask` is ignored.
	AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateApiDeployment.

func (*UpdateApiDeploymentRequest) Descriptor deprecated

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

Deprecated: Use UpdateApiDeploymentRequest.ProtoReflect.Descriptor instead.

func (*UpdateApiDeploymentRequest) GetAllowMissing

func (x *UpdateApiDeploymentRequest) GetAllowMissing() bool

func (*UpdateApiDeploymentRequest) GetApiDeployment

func (x *UpdateApiDeploymentRequest) GetApiDeployment() *ApiDeployment

func (*UpdateApiDeploymentRequest) GetUpdateMask

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

func (*UpdateApiDeploymentRequest) ProtoMessage

func (*UpdateApiDeploymentRequest) ProtoMessage()

func (*UpdateApiDeploymentRequest) ProtoReflect

func (*UpdateApiDeploymentRequest) Reset

func (x *UpdateApiDeploymentRequest) Reset()

func (*UpdateApiDeploymentRequest) String

func (x *UpdateApiDeploymentRequest) String() string

type UpdateApiRequest

type UpdateApiRequest struct {

	// Required. The API to update.
	//
	// The `name` field is used to identify the API to update.
	// Format: `projects/*/locations/*/apis/*`
	Api *Api `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	// The list of fields to be updated. If omitted, all fields are updated that
	// are set in the request message (fields set to default values are ignored).
	// If an asterisk "*" is specified, all fields are updated, including fields
	// that are unspecified/default in the request.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// If set to true, and the API is not found, a new API will be created.
	// In this situation, `update_mask` is ignored.
	AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateApi.

func (*UpdateApiRequest) Descriptor deprecated

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

Deprecated: Use UpdateApiRequest.ProtoReflect.Descriptor instead.

func (*UpdateApiRequest) GetAllowMissing

func (x *UpdateApiRequest) GetAllowMissing() bool

func (*UpdateApiRequest) GetApi

func (x *UpdateApiRequest) GetApi() *Api

func (*UpdateApiRequest) GetUpdateMask

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

func (*UpdateApiRequest) ProtoMessage

func (*UpdateApiRequest) ProtoMessage()

func (*UpdateApiRequest) ProtoReflect

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

func (*UpdateApiRequest) Reset

func (x *UpdateApiRequest) Reset()

func (*UpdateApiRequest) String

func (x *UpdateApiRequest) String() string

type UpdateApiSpecRequest

type UpdateApiSpecRequest struct {

	// Required. The spec to update.
	//
	// The `name` field is used to identify the spec to update.
	// Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
	ApiSpec *ApiSpec `protobuf:"bytes,1,opt,name=api_spec,json=apiSpec,proto3" json:"api_spec,omitempty"`
	// The list of fields to be updated. If omitted, all fields are updated that
	// are set in the request message (fields set to default values are ignored).
	// If an asterisk "*" is specified, all fields are updated, including fields
	// that are unspecified/default in the request.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// If set to true, and the spec is not found, a new spec will be created.
	// In this situation, `update_mask` is ignored.
	AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateApiSpec.

func (*UpdateApiSpecRequest) Descriptor deprecated

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

Deprecated: Use UpdateApiSpecRequest.ProtoReflect.Descriptor instead.

func (*UpdateApiSpecRequest) GetAllowMissing

func (x *UpdateApiSpecRequest) GetAllowMissing() bool

func (*UpdateApiSpecRequest) GetApiSpec

func (x *UpdateApiSpecRequest) GetApiSpec() *ApiSpec

func (*UpdateApiSpecRequest) GetUpdateMask

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

func (*UpdateApiSpecRequest) ProtoMessage

func (*UpdateApiSpecRequest) ProtoMessage()

func (*UpdateApiSpecRequest) ProtoReflect

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

func (*UpdateApiSpecRequest) Reset

func (x *UpdateApiSpecRequest) Reset()

func (*UpdateApiSpecRequest) String

func (x *UpdateApiSpecRequest) String() string

type UpdateApiVersionRequest

type UpdateApiVersionRequest struct {

	// Required. The version to update.
	//
	// The `name` field is used to identify the version to update.
	// Format: `projects/*/locations/*/apis/*/versions/*`
	ApiVersion *ApiVersion `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// The list of fields to be updated. If omitted, all fields are updated that
	// are set in the request message (fields set to default values are ignored).
	// If an asterisk "*" is specified, all fields are updated, including fields
	// that are unspecified/default in the request.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// If set to true, and the version is not found, a new version will be
	// created. In this situation, `update_mask` is ignored.
	AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateApiVersion.

func (*UpdateApiVersionRequest) Descriptor deprecated

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

Deprecated: Use UpdateApiVersionRequest.ProtoReflect.Descriptor instead.

func (*UpdateApiVersionRequest) GetAllowMissing

func (x *UpdateApiVersionRequest) GetAllowMissing() bool

func (*UpdateApiVersionRequest) GetApiVersion

func (x *UpdateApiVersionRequest) GetApiVersion() *ApiVersion

func (*UpdateApiVersionRequest) GetUpdateMask

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

func (*UpdateApiVersionRequest) ProtoMessage

func (*UpdateApiVersionRequest) ProtoMessage()

func (*UpdateApiVersionRequest) ProtoReflect

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

func (*UpdateApiVersionRequest) Reset

func (x *UpdateApiVersionRequest) Reset()

func (*UpdateApiVersionRequest) String

func (x *UpdateApiVersionRequest) String() string

Jump to

Keyboard shortcuts

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