rpc

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: Apache-2.0 Imports: 15 Imported by: 17

README

rpc

This directory contains support code for the Registry API that is automatically generated at build time.

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 (
	Notification_Change_name = map[int32]string{
		0: "CHANGE_UNSPECIFIED",
		1: "CREATED",
		2: "UPDATED",
		3: "DELETED",
	}
	Notification_Change_value = map[string]int32{
		"CHANGE_UNSPECIFIED": 0,
		"CREATED":            1,
		"UPDATED":            2,
		"DELETED":            3,
	}
)

Enum value maps for Notification_Change.

View Source
var (
	Severity_name = map[int32]string{
		0: "SEVERITY_UNSPECIFIED",
		1: "OK",
		2: "WARNING",
		3: "ALERT",
	}
	Severity_value = map[string]int32{
		"SEVERITY_UNSPECIFIED": 0,
		"OK":                   1,
		"WARNING":              2,
		"ALERT":                3,
	}
)

Enum value maps for Severity.

View Source
var (
	Guideline_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PROPOSED",
		2: "ACTIVE",
		3: "DEPRECATED",
		4: "DISABLED",
	}
	Guideline_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PROPOSED":          1,
		"ACTIVE":            2,
		"DEPRECATED":        3,
		"DISABLED":          4,
	}
)

Enum value maps for Guideline_State.

View Source
var (
	Rule_Severity_name = map[int32]string{
		0: "SEVERITY_UNSPECIFIED",
		1: "ERROR",
		2: "WARNING",
		3: "INFO",
		4: "HINT",
	}
	Rule_Severity_value = map[string]int32{
		"SEVERITY_UNSPECIFIED": 0,
		"ERROR":                1,
		"WARNING":              2,
		"INFO":                 3,
		"HINT":                 4,
	}
)

Enum value maps for Rule_Severity.

View Source
var Admin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.apigeeregistry.v1.Admin",
	HandlerType: (*AdminServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetStatus",
			Handler:    _Admin_GetStatus_Handler,
		},
		{
			MethodName: "GetStorage",
			Handler:    _Admin_GetStorage_Handler,
		},
		{
			MethodName: "MigrateDatabase",
			Handler:    _Admin_MigrateDatabase_Handler,
		},
		{
			MethodName: "ListProjects",
			Handler:    _Admin_ListProjects_Handler,
		},
		{
			MethodName: "GetProject",
			Handler:    _Admin_GetProject_Handler,
		},
		{
			MethodName: "CreateProject",
			Handler:    _Admin_CreateProject_Handler,
		},
		{
			MethodName: "UpdateProject",
			Handler:    _Admin_UpdateProject_Handler,
		},
		{
			MethodName: "DeleteProject",
			Handler:    _Admin_DeleteProject_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/apigeeregistry/v1/admin_service.proto",
}

Admin_ServiceDesc is the grpc.ServiceDesc for Admin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_google_cloud_apigeeregistry_internal_v1_registry_map_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_admin_models_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_admin_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_apihub_display_settings_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_apihub_extensions_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_apihub_lifecycle_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_apihub_references_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_apihub_taxonomies_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_controller_manifest_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_controller_receipt_proto protoreflect.FileDescriptor
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_notifications_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_registry_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_scoring_definition_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_scoring_score_card_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_scoring_score_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_scoring_severity_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_style_conformance_report_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_style_lint_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apigeeregistry_v1_style_style_guide_proto protoreflect.FileDescriptor
View Source
var Provisioning_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.apigeeregistry.v1.Provisioning",
	HandlerType: (*ProvisioningServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateInstance",
			Handler:    _Provisioning_CreateInstance_Handler,
		},
		{
			MethodName: "DeleteInstance",
			Handler:    _Provisioning_DeleteInstance_Handler,
		},
		{
			MethodName: "GetInstance",
			Handler:    _Provisioning_GetInstance_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/apigeeregistry/v1/provisioning_service.proto",
}

Provisioning_ServiceDesc is the grpc.ServiceDesc for Provisioning service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Registry_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.apigeeregistry.v1.Registry",
	HandlerType: (*RegistryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListApis",
			Handler:    _Registry_ListApis_Handler,
		},
		{
			MethodName: "GetApi",
			Handler:    _Registry_GetApi_Handler,
		},
		{
			MethodName: "CreateApi",
			Handler:    _Registry_CreateApi_Handler,
		},
		{
			MethodName: "UpdateApi",
			Handler:    _Registry_UpdateApi_Handler,
		},
		{
			MethodName: "DeleteApi",
			Handler:    _Registry_DeleteApi_Handler,
		},
		{
			MethodName: "ListApiVersions",
			Handler:    _Registry_ListApiVersions_Handler,
		},
		{
			MethodName: "GetApiVersion",
			Handler:    _Registry_GetApiVersion_Handler,
		},
		{
			MethodName: "CreateApiVersion",
			Handler:    _Registry_CreateApiVersion_Handler,
		},
		{
			MethodName: "UpdateApiVersion",
			Handler:    _Registry_UpdateApiVersion_Handler,
		},
		{
			MethodName: "DeleteApiVersion",
			Handler:    _Registry_DeleteApiVersion_Handler,
		},
		{
			MethodName: "ListApiSpecs",
			Handler:    _Registry_ListApiSpecs_Handler,
		},
		{
			MethodName: "GetApiSpec",
			Handler:    _Registry_GetApiSpec_Handler,
		},
		{
			MethodName: "GetApiSpecContents",
			Handler:    _Registry_GetApiSpecContents_Handler,
		},
		{
			MethodName: "CreateApiSpec",
			Handler:    _Registry_CreateApiSpec_Handler,
		},
		{
			MethodName: "UpdateApiSpec",
			Handler:    _Registry_UpdateApiSpec_Handler,
		},
		{
			MethodName: "DeleteApiSpec",
			Handler:    _Registry_DeleteApiSpec_Handler,
		},
		{
			MethodName: "TagApiSpecRevision",
			Handler:    _Registry_TagApiSpecRevision_Handler,
		},
		{
			MethodName: "ListApiSpecRevisions",
			Handler:    _Registry_ListApiSpecRevisions_Handler,
		},
		{
			MethodName: "RollbackApiSpec",
			Handler:    _Registry_RollbackApiSpec_Handler,
		},
		{
			MethodName: "DeleteApiSpecRevision",
			Handler:    _Registry_DeleteApiSpecRevision_Handler,
		},
		{
			MethodName: "ListApiDeployments",
			Handler:    _Registry_ListApiDeployments_Handler,
		},
		{
			MethodName: "GetApiDeployment",
			Handler:    _Registry_GetApiDeployment_Handler,
		},
		{
			MethodName: "CreateApiDeployment",
			Handler:    _Registry_CreateApiDeployment_Handler,
		},
		{
			MethodName: "UpdateApiDeployment",
			Handler:    _Registry_UpdateApiDeployment_Handler,
		},
		{
			MethodName: "DeleteApiDeployment",
			Handler:    _Registry_DeleteApiDeployment_Handler,
		},
		{
			MethodName: "TagApiDeploymentRevision",
			Handler:    _Registry_TagApiDeploymentRevision_Handler,
		},
		{
			MethodName: "ListApiDeploymentRevisions",
			Handler:    _Registry_ListApiDeploymentRevisions_Handler,
		},
		{
			MethodName: "RollbackApiDeployment",
			Handler:    _Registry_RollbackApiDeployment_Handler,
		},
		{
			MethodName: "DeleteApiDeploymentRevision",
			Handler:    _Registry_DeleteApiDeploymentRevision_Handler,
		},
		{
			MethodName: "ListArtifacts",
			Handler:    _Registry_ListArtifacts_Handler,
		},
		{
			MethodName: "GetArtifact",
			Handler:    _Registry_GetArtifact_Handler,
		},
		{
			MethodName: "GetArtifactContents",
			Handler:    _Registry_GetArtifactContents_Handler,
		},
		{
			MethodName: "CreateArtifact",
			Handler:    _Registry_CreateArtifact_Handler,
		},
		{
			MethodName: "ReplaceArtifact",
			Handler:    _Registry_ReplaceArtifact_Handler,
		},
		{
			MethodName: "DeleteArtifact",
			Handler:    _Registry_DeleteArtifact_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/apigeeregistry/v1/registry_service.proto",
}

Registry_ServiceDesc is the grpc.ServiceDesc for Registry service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAdminServer added in v0.3.5

func RegisterAdminServer(s grpc.ServiceRegistrar, srv AdminServer)

func RegisterProvisioningServer added in v0.5.1

func RegisterProvisioningServer(s grpc.ServiceRegistrar, srv ProvisioningServer)

func RegisterRegistryServer

func RegisterRegistryServer(s grpc.ServiceRegistrar, srv RegistryServer)

Types

type AdminClient added in v0.3.5

type AdminClient interface {
	// GetStatus returns the status of the service.
	// (-- api-linter: core::0131::request-message-name=disabled
	//
	//	aip.dev/not-precedent: Not in the official API. --)
	//
	// (-- api-linter: core::0131::method-signature=disabled
	//
	//	aip.dev/not-precedent: Not in the official API. --)
	//
	// (-- api-linter: core::0131::http-uri-name=disabled
	//
	//	aip.dev/not-precedent: Not in the official API. --)
	GetStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Status, error)
	// GetStorage returns information about the storage used by the service.
	// (-- api-linter: core::0131::request-message-name=disabled
	//
	//	aip.dev/not-precedent: Not in the official API. --)
	//
	// (-- api-linter: core::0131::method-signature=disabled
	//
	//	aip.dev/not-precedent: Not in the official API. --)
	//
	// (-- api-linter: core::0131::http-uri-name=disabled
	//
	//	aip.dev/not-precedent: Not in the official API. --)
	GetStorage(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Storage, error)
	// MigrateDatabase attempts to migrate the database to the current schema.
	MigrateDatabase(ctx context.Context, in *MigrateDatabaseRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// ListProjects returns matching projects.
	// (-- api-linter: standard-methods=disabled --)
	// (-- api-linter: core::0132::method-signature=disabled
	//
	//	aip.dev/not-precedent: projects are top-level resources. --)
	ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error)
	// GetProject returns a specified project.
	GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*Project, error)
	// CreateProject creates a specified project.
	// (-- api-linter: standard-methods=disabled --)
	// (-- api-linter: core::0133::http-uri-parent=disabled
	//
	//	aip.dev/not-precedent: Project has an implicit parent. --)
	//
	// (-- api-linter: core::0133::method-signature=disabled
	//
	//	aip.dev/not-precedent: Project has an implicit parent. --)
	CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*Project, error)
	// UpdateProject can be used to modify a specified project.
	UpdateProject(ctx context.Context, in *UpdateProjectRequest, opts ...grpc.CallOption) (*Project, error)
	// DeleteProject removes a specified project and all of the resources that it
	// owns.
	DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

AdminClient is the client API for Admin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAdminClient added in v0.3.5

func NewAdminClient(cc grpc.ClientConnInterface) AdminClient

type AdminServer added in v0.3.5

type AdminServer interface {
	// GetStatus returns the status of the service.
	// (-- api-linter: core::0131::request-message-name=disabled
	//
	//	aip.dev/not-precedent: Not in the official API. --)
	//
	// (-- api-linter: core::0131::method-signature=disabled
	//
	//	aip.dev/not-precedent: Not in the official API. --)
	//
	// (-- api-linter: core::0131::http-uri-name=disabled
	//
	//	aip.dev/not-precedent: Not in the official API. --)
	GetStatus(context.Context, *emptypb.Empty) (*Status, error)
	// GetStorage returns information about the storage used by the service.
	// (-- api-linter: core::0131::request-message-name=disabled
	//
	//	aip.dev/not-precedent: Not in the official API. --)
	//
	// (-- api-linter: core::0131::method-signature=disabled
	//
	//	aip.dev/not-precedent: Not in the official API. --)
	//
	// (-- api-linter: core::0131::http-uri-name=disabled
	//
	//	aip.dev/not-precedent: Not in the official API. --)
	GetStorage(context.Context, *emptypb.Empty) (*Storage, error)
	// MigrateDatabase attempts to migrate the database to the current schema.
	MigrateDatabase(context.Context, *MigrateDatabaseRequest) (*longrunning.Operation, error)
	// ListProjects returns matching projects.
	// (-- api-linter: standard-methods=disabled --)
	// (-- api-linter: core::0132::method-signature=disabled
	//
	//	aip.dev/not-precedent: projects are top-level resources. --)
	ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
	// GetProject returns a specified project.
	GetProject(context.Context, *GetProjectRequest) (*Project, error)
	// CreateProject creates a specified project.
	// (-- api-linter: standard-methods=disabled --)
	// (-- api-linter: core::0133::http-uri-parent=disabled
	//
	//	aip.dev/not-precedent: Project has an implicit parent. --)
	//
	// (-- api-linter: core::0133::method-signature=disabled
	//
	//	aip.dev/not-precedent: Project has an implicit parent. --)
	CreateProject(context.Context, *CreateProjectRequest) (*Project, error)
	// UpdateProject can be used to modify a specified project.
	UpdateProject(context.Context, *UpdateProjectRequest) (*Project, error)
	// DeleteProject removes a specified project and all of the resources that it
	// owns.
	DeleteProject(context.Context, *DeleteProjectRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

AdminServer is the server API for Admin service. All implementations must embed UnimplementedAdminServer for forward compatibility

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.
	//
	// See https://goo.gl/xmQnxf for more information and examples of labels.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Annotations attach non-identifying metadata to resources. While annotations
	// are less restricted than those of labels, they should generally be used
	// for small values of broad interest. Larger, topic-specific metadata should
	// be stored in Artifacts.
	//
	// Annotations keys can be no longer than 64 characters
	// (Unicode codepoints), can only contain lowercase letters, numeric
	// characters, underscores and dashes. International characters are allowed.
	// Annotation values can consist of any unicode characters and do not have
	// a length limit (aside from the overall annotations limit).
	// No more than 256k of annotations data can be associated with one resource.
	Annotations map[string]string `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

An Api is a top-level description of an API. Apis are 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 added in v0.3.6

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 added in v0.3.6

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: projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec@revision}
	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.
	//
	// See https://goo.gl/xmQnxf for more information and examples of labels.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// Annotations attach non-identifying metadata to resources. While annotations
	// are less restricted than those of labels, they should generally be used
	// for small values of broad interest. Larger, topic-specific metadata should
	// be stored in Artifacts.
	//
	// Annotations keys can be no longer than 64 characters
	// (Unicode codepoints), can only contain lowercase letters, numeric
	// characters, underscores and dashes. International characters are allowed.
	// Annotation values can consist of any unicode characters and do not have
	// a length limit (aside from the overall annotations limit).
	// No more than 256k of annotations data can be associated with one resource.
	Annotations map[string]string `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

An ApiDeployment 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 added in v0.3.6

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

Deprecated: Use ApiDeployment.ProtoReflect.Descriptor instead.

func (*ApiDeployment) GetAccessGuidance added in v0.3.6

func (x *ApiDeployment) GetAccessGuidance() string

func (*ApiDeployment) GetAnnotations added in v0.3.6

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

func (*ApiDeployment) GetApiSpecRevision added in v0.3.6

func (x *ApiDeployment) GetApiSpecRevision() string

func (*ApiDeployment) GetCreateTime added in v0.3.6

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

func (*ApiDeployment) GetDescription added in v0.3.6

func (x *ApiDeployment) GetDescription() string

func (*ApiDeployment) GetDisplayName added in v0.3.6

func (x *ApiDeployment) GetDisplayName() string

func (*ApiDeployment) GetEndpointUri added in v0.3.6

func (x *ApiDeployment) GetEndpointUri() string

func (*ApiDeployment) GetExternalChannelUri added in v0.3.6

func (x *ApiDeployment) GetExternalChannelUri() string

func (*ApiDeployment) GetIntendedAudience added in v0.3.6

func (x *ApiDeployment) GetIntendedAudience() string

func (*ApiDeployment) GetLabels added in v0.3.6

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

func (*ApiDeployment) GetName added in v0.3.6

func (x *ApiDeployment) GetName() string

func (*ApiDeployment) GetRevisionCreateTime added in v0.3.6

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

func (*ApiDeployment) GetRevisionId added in v0.3.6

func (x *ApiDeployment) GetRevisionId() string

func (*ApiDeployment) GetRevisionUpdateTime added in v0.3.6

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

func (*ApiDeployment) ProtoMessage added in v0.3.6

func (*ApiDeployment) ProtoMessage()

func (*ApiDeployment) ProtoReflect added in v0.3.6

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

func (*ApiDeployment) Reset added in v0.3.6

func (x *ApiDeployment) Reset()

func (*ApiDeployment) String added in v0.3.6

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.
	//
	// See https://goo.gl/xmQnxf for more information and examples of labels.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// Annotations attach non-identifying metadata to resources. While annotations
	// are less restricted than those of labels, they should generally be used
	// for small values of broad interest. Larger, topic-specific metadata should
	// be stored in Artifacts.
	//
	// Annotations keys can be no longer than 64 characters
	// (Unicode codepoints), can only contain lowercase letters, numeric
	// characters, underscores and dashes. International characters are allowed.
	// Annotation values can consist of any unicode characters and do not have
	// a length limit (aside from the overall annotations limit).
	// No more than 256k of annotations data can be associated with one resource.
	Annotations map[string]string `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

An ApiSpec 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 ApiSpecExtensionList added in v0.5.2

type ApiSpecExtensionList struct {

	// Artifact identifier. May be used in YAML representations to indicate the id
	// to be used to attach the artifact.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Artifact kind. May be used in YAML representations to identify the type of
	// this artifact.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// A human-friendly name for the ApiSpecExtension list.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A more detailed description of the ApiSpecExtension list.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// The extensions in the list
	Extensions []*ApiSpecExtensionList_ApiSpecExtension `protobuf:"bytes,5,rep,name=extensions,proto3" json:"extensions,omitempty"`
	// contains filtered or unexported fields
}

An ApiSpecExtensionList contains a list of extensions applicable to specs stored in the registry ApiSpecExtensionList is stored as an Artifact attached to a project.

func (*ApiSpecExtensionList) Descriptor deprecated added in v0.5.2

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

Deprecated: Use ApiSpecExtensionList.ProtoReflect.Descriptor instead.

func (*ApiSpecExtensionList) GetDescription added in v0.5.2

func (x *ApiSpecExtensionList) GetDescription() string

func (*ApiSpecExtensionList) GetDisplayName added in v0.5.2

func (x *ApiSpecExtensionList) GetDisplayName() string

func (*ApiSpecExtensionList) GetExtensions added in v0.5.2

func (*ApiSpecExtensionList) GetId added in v0.5.2

func (x *ApiSpecExtensionList) GetId() string

func (*ApiSpecExtensionList) GetKind added in v0.5.2

func (x *ApiSpecExtensionList) GetKind() string

func (*ApiSpecExtensionList) ProtoMessage added in v0.5.2

func (*ApiSpecExtensionList) ProtoMessage()

func (*ApiSpecExtensionList) ProtoReflect added in v0.5.2

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

func (*ApiSpecExtensionList) Reset added in v0.5.2

func (x *ApiSpecExtensionList) Reset()

func (*ApiSpecExtensionList) String added in v0.5.2

func (x *ApiSpecExtensionList) String() string

type ApiSpecExtensionList_ApiSpecExtension added in v0.5.2

type ApiSpecExtensionList_ApiSpecExtension struct {

	// The id of the Extension
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// A human-friendly name for the extension
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A more detailed description of the extension
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// A filter expression which evaluates if the extension applies to a spec
	// e.g. mime_type.contains('openapi')
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// A uri pattern used to generate the target url
	UriPattern string `protobuf:"bytes,5,opt,name=uri_pattern,json=uriPattern,proto3" json:"uri_pattern,omitempty"`
	// contains filtered or unexported fields
}

Represents a single Extension for an ApiSpec

func (*ApiSpecExtensionList_ApiSpecExtension) Descriptor deprecated added in v0.5.2

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

Deprecated: Use ApiSpecExtensionList_ApiSpecExtension.ProtoReflect.Descriptor instead.

func (*ApiSpecExtensionList_ApiSpecExtension) GetDescription added in v0.5.2

func (x *ApiSpecExtensionList_ApiSpecExtension) GetDescription() string

func (*ApiSpecExtensionList_ApiSpecExtension) GetDisplayName added in v0.5.2

func (x *ApiSpecExtensionList_ApiSpecExtension) GetDisplayName() string

func (*ApiSpecExtensionList_ApiSpecExtension) GetFilter added in v0.5.2

func (*ApiSpecExtensionList_ApiSpecExtension) GetId added in v0.5.2

func (*ApiSpecExtensionList_ApiSpecExtension) GetUriPattern added in v0.5.2

func (x *ApiSpecExtensionList_ApiSpecExtension) GetUriPattern() string

func (*ApiSpecExtensionList_ApiSpecExtension) ProtoMessage added in v0.5.2

func (*ApiSpecExtensionList_ApiSpecExtension) ProtoMessage()

func (*ApiSpecExtensionList_ApiSpecExtension) ProtoReflect added in v0.5.2

func (*ApiSpecExtensionList_ApiSpecExtension) Reset added in v0.5.2

func (*ApiSpecExtensionList_ApiSpecExtension) String added in v0.5.2

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.
	//
	// See https://goo.gl/xmQnxf for more information and examples of labels.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Annotations attach non-identifying metadata to resources. While annotations
	// are less restricted than those of labels, they should generally be used
	// for small values of broad interest. Larger, topic-specific metadata should
	// be stored in Artifacts.
	//
	// Annotations keys can be no longer than 64 characters
	// (Unicode codepoints), can only contain lowercase letters, numeric
	// characters, underscores and dashes. International characters are allowed.
	// Annotation values can consist of any unicode characters and do not have
	// a length limit (aside from the overall annotations limit).
	// No more than 256k of annotations data can be associated with one resource.
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// The primary spec for this version.
	// Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
	PrimarySpec string `protobuf:"bytes,9,opt,name=primary_spec,json=primarySpec,proto3" json:"primary_spec,omitempty"`
	// contains filtered or unexported fields
}

An ApiVersion 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) GetPrimarySpec added in v0.5.7

func (x *ApiVersion) GetPrimarySpec() 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"`
	// 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.
	//
	// See https://goo.gl/xmQnxf for more information and examples of labels.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Annotations attach non-identifying metadata to resources. While annotations
	// are less restricted than those of labels, they should generally be used
	// for small values of broad interest. Larger, topic-specific metadata should
	// be stored in Artifacts.
	//
	// Annotations keys can be no longer than 64 characters
	// (Unicode codepoints), can only contain lowercase letters, numeric
	// characters, underscores and dashes. International characters are allowed.
	// Annotation values can consist of any unicode characters and do not have
	// a length limit (aside from the overall annotations limit).
	// No more than 256k of annotations data can be associated with one resource.
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// 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) GetAnnotations added in v0.5.7

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

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) GetLabels added in v0.5.7

func (x *Artifact) GetLabels() map[string]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 BooleanThreshold added in v0.4.6

type BooleanThreshold struct {

	// Represents the severity level of the value of the score.
	Severity Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=google.cloud.apigeeregistry.v1.scoring.Severity" json:"severity,omitempty"`
	// The value field will be used to determine the severity
	// level of the generated score.
	Value bool `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Represents the threshold to associate a boolean score value with a particular severity level.

func (*BooleanThreshold) Descriptor deprecated added in v0.4.6

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

Deprecated: Use BooleanThreshold.ProtoReflect.Descriptor instead.

func (*BooleanThreshold) GetSeverity added in v0.4.6

func (x *BooleanThreshold) GetSeverity() Severity

func (*BooleanThreshold) GetValue added in v0.4.6

func (x *BooleanThreshold) GetValue() bool

func (*BooleanThreshold) ProtoMessage added in v0.4.6

func (*BooleanThreshold) ProtoMessage()

func (*BooleanThreshold) ProtoReflect added in v0.4.6

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

func (*BooleanThreshold) Reset added in v0.4.6

func (x *BooleanThreshold) Reset()

func (*BooleanThreshold) String added in v0.4.6

func (x *BooleanThreshold) String() string

type BooleanType added in v0.4.6

type BooleanType struct {

	// A string to display the true value of this type of score in the UI.
	// Defaults to "true" if not specified.
	DisplayTrue string `protobuf:"bytes,1,opt,name=display_true,json=displayTrue,proto3" json:"display_true,omitempty"`
	// A string to display the "false" value of this type of score in the UI.
	// Defaults to "false" if not specified.
	DisplayFalse string `protobuf:"bytes,2,opt,name=display_false,json=displayFalse,proto3" json:"display_false,omitempty"`
	// Represents the thresholds for severity of this type of score.
	// Examples:
	//
	//	thresholds = []Threshold{
	//	  {
	//	    severity: Severity.ALERT,
	//	    value: false,
	//	  },
	//	  { severity: Severity.OK,
	//	    value: true,
	//	  },
	//	}
	//
	// For scores where false value is not an alert but a warning.
	//
	//	thresholds = []Threshold{
	//	  {
	//	    severity: Severity.WARNING,
	//	    value: false,
	//	  },
	//	  { severity: Severity.OK,
	//	    value: true,
	//	  },
	//	}
	Thresholds []*BooleanThreshold `protobuf:"bytes,3,rep,name=thresholds,proto3" json:"thresholds,omitempty"`
	// contains filtered or unexported fields
}

Represents a boolean score type.

func (*BooleanType) Descriptor deprecated added in v0.4.6

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

Deprecated: Use BooleanType.ProtoReflect.Descriptor instead.

func (*BooleanType) GetDisplayFalse added in v0.4.6

func (x *BooleanType) GetDisplayFalse() string

func (*BooleanType) GetDisplayTrue added in v0.4.6

func (x *BooleanType) GetDisplayTrue() string

func (*BooleanType) GetThresholds added in v0.4.6

func (x *BooleanType) GetThresholds() []*BooleanThreshold

func (*BooleanType) ProtoMessage added in v0.4.6

func (*BooleanType) ProtoMessage()

func (*BooleanType) ProtoReflect added in v0.4.6

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

func (*BooleanType) Reset added in v0.4.6

func (x *BooleanType) Reset()

func (*BooleanType) String added in v0.4.6

func (x *BooleanType) String() string

type BooleanValue added in v0.4.6

type BooleanValue struct {

	// Stores the value of score.
	Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// Stores the value which should be used to display in the UI.
	// This is derived from "display_true" and "display_false"
	// fields of BooleanType.
	DisplayValue string `protobuf:"bytes,2,opt,name=display_value,json=displayValue,proto3" json:"display_value,omitempty"`
	// contains filtered or unexported fields
}

Represents the score which is a percentage.

func (*BooleanValue) Descriptor deprecated added in v0.4.6

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

Deprecated: Use BooleanValue.ProtoReflect.Descriptor instead.

func (*BooleanValue) GetDisplayValue added in v0.4.6

func (x *BooleanValue) GetDisplayValue() string

func (*BooleanValue) GetValue added in v0.4.6

func (x *BooleanValue) GetValue() bool

func (*BooleanValue) ProtoMessage added in v0.4.6

func (*BooleanValue) ProtoMessage()

func (*BooleanValue) ProtoReflect added in v0.4.6

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

func (*BooleanValue) Reset added in v0.4.6

func (x *BooleanValue) Reset()

func (*BooleanValue) String added in v0.4.6

func (x *BooleanValue) String() string

type BuildInfo added in v0.4.2

type BuildInfo struct {

	// Version of Go that produced this binary.
	GoVersion string `protobuf:"bytes,1,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"`
	// The main package path.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// The main module.
	Main *BuildInfo_Module `protobuf:"bytes,3,opt,name=main,proto3" json:"main,omitempty"`
	// The dependencies of the build.
	Dependencies []*BuildInfo_Module `protobuf:"bytes,4,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	// Settings associated with the build.
	Settings map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

BuildInfo describes a server build.

func (*BuildInfo) Descriptor deprecated added in v0.4.2

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

Deprecated: Use BuildInfo.ProtoReflect.Descriptor instead.

func (*BuildInfo) GetDependencies added in v0.4.2

func (x *BuildInfo) GetDependencies() []*BuildInfo_Module

func (*BuildInfo) GetGoVersion added in v0.4.2

func (x *BuildInfo) GetGoVersion() string

func (*BuildInfo) GetMain added in v0.4.2

func (x *BuildInfo) GetMain() *BuildInfo_Module

func (*BuildInfo) GetPath added in v0.4.2

func (x *BuildInfo) GetPath() string

func (*BuildInfo) GetSettings added in v0.4.2

func (x *BuildInfo) GetSettings() map[string]string

func (*BuildInfo) ProtoMessage added in v0.4.2

func (*BuildInfo) ProtoMessage()

func (*BuildInfo) ProtoReflect added in v0.4.2

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

func (*BuildInfo) Reset added in v0.4.2

func (x *BuildInfo) Reset()

func (*BuildInfo) String added in v0.4.2

func (x *BuildInfo) String() string

type BuildInfo_Module added in v0.4.2

type BuildInfo_Module struct {

	// The module path.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// The module version.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// The module checksum.
	Sum string `protobuf:"bytes,3,opt,name=sum,proto3" json:"sum,omitempty"`
	// An optional replacement for the module
	Replacement *BuildInfo_Module `protobuf:"bytes,4,opt,name=replacement,proto3" json:"replacement,omitempty"`
	// contains filtered or unexported fields
}

A module used to create the build.

func (*BuildInfo_Module) Descriptor deprecated added in v0.4.2

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

Deprecated: Use BuildInfo_Module.ProtoReflect.Descriptor instead.

func (*BuildInfo_Module) GetPath added in v0.4.2

func (x *BuildInfo_Module) GetPath() string

func (*BuildInfo_Module) GetReplacement added in v0.4.2

func (x *BuildInfo_Module) GetReplacement() *BuildInfo_Module

func (*BuildInfo_Module) GetSum added in v0.4.2

func (x *BuildInfo_Module) GetSum() string

func (*BuildInfo_Module) GetVersion added in v0.4.2

func (x *BuildInfo_Module) GetVersion() string

func (*BuildInfo_Module) ProtoMessage added in v0.4.2

func (*BuildInfo_Module) ProtoMessage()

func (*BuildInfo_Module) ProtoReflect added in v0.4.2

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

func (*BuildInfo_Module) Reset added in v0.4.2

func (x *BuildInfo_Module) Reset()

func (*BuildInfo_Module) String added in v0.4.2

func (x *BuildInfo_Module) String() string

type ConformanceReport

type ConformanceReport struct {

	// Artifact identifier. This will be auto-generated based on the id of the
	// StyleGuide used to calculate this.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Artifact kind. May be used in YAML representations to identify the type of
	// this artifact.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Full resource name of the StyleGuide artifact which was used
	// to generate this report.
	Styleguide string `protobuf:"bytes,3,opt,name=styleguide,proto3" json:"styleguide,omitempty"`
	// A list of guideline report groups.
	GuidelineReportGroups []*GuidelineReportGroup `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

ConformanceReport describes how well an API Spec or a series of API Specs conform to a specific API Style guide.

func (*ConformanceReport) Descriptor deprecated

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

Deprecated: Use ConformanceReport.ProtoReflect.Descriptor instead.

func (*ConformanceReport) GetGuidelineReportGroups

func (x *ConformanceReport) GetGuidelineReportGroups() []*GuidelineReportGroup

func (*ConformanceReport) GetId added in v0.5.3

func (x *ConformanceReport) GetId() string

func (*ConformanceReport) GetKind added in v0.5.3

func (x *ConformanceReport) GetKind() string

func (*ConformanceReport) GetStyleguide added in v0.5.3

func (x *ConformanceReport) GetStyleguide() string

func (*ConformanceReport) ProtoMessage

func (*ConformanceReport) ProtoMessage()

func (*ConformanceReport) ProtoReflect

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

func (*ConformanceReport) Reset

func (x *ConformanceReport) Reset()

func (*ConformanceReport) String

func (x *ConformanceReport) String() string

type CreateApiDeploymentRequest added in v0.3.6

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 added in v0.3.6

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

Deprecated: Use CreateApiDeploymentRequest.ProtoReflect.Descriptor instead.

func (*CreateApiDeploymentRequest) GetApiDeployment added in v0.3.6

func (x *CreateApiDeploymentRequest) GetApiDeployment() *ApiDeployment

func (*CreateApiDeploymentRequest) GetApiDeploymentId added in v0.3.6

func (x *CreateApiDeploymentRequest) GetApiDeploymentId() string

func (*CreateApiDeploymentRequest) GetParent added in v0.3.6

func (x *CreateApiDeploymentRequest) GetParent() string

func (*CreateApiDeploymentRequest) ProtoMessage added in v0.3.6

func (*CreateApiDeploymentRequest) ProtoMessage()

func (*CreateApiDeploymentRequest) ProtoReflect added in v0.3.6

func (*CreateApiDeploymentRequest) Reset added in v0.3.6

func (x *CreateApiDeploymentRequest) Reset()

func (*CreateApiDeploymentRequest) String added in v0.3.6

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 4-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 added in v0.5.1

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 added in v0.5.1

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

Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.

func (*CreateInstanceRequest) GetInstance added in v0.5.1

func (x *CreateInstanceRequest) GetInstance() *Instance

func (*CreateInstanceRequest) GetInstanceId added in v0.5.1

func (x *CreateInstanceRequest) GetInstanceId() string

func (*CreateInstanceRequest) GetParent added in v0.5.1

func (x *CreateInstanceRequest) GetParent() string

func (*CreateInstanceRequest) ProtoMessage added in v0.5.1

func (*CreateInstanceRequest) ProtoMessage()

func (*CreateInstanceRequest) ProtoReflect added in v0.5.1

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

func (*CreateInstanceRequest) Reset added in v0.5.1

func (x *CreateInstanceRequest) Reset()

func (*CreateInstanceRequest) String added in v0.5.1

func (x *CreateInstanceRequest) String() string

type CreateProjectRequest

type CreateProjectRequest struct {

	// The project to create.
	Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// The ID to use for the project, which will become the final component of
	// the project's resource name.
	//
	// This value should be at most 80 characters, and valid characters
	// are /[a-z][0-9]-./.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateProject. (-- api-linter: core::0133::request-parent-required=disabled

aip.dev/not-precedent: the parent of Project is implicit. --)

func (*CreateProjectRequest) Descriptor deprecated

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

Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.

func (*CreateProjectRequest) GetProject

func (x *CreateProjectRequest) GetProject() *Project

func (*CreateProjectRequest) GetProjectId

func (x *CreateProjectRequest) GetProjectId() string

func (*CreateProjectRequest) ProtoMessage

func (*CreateProjectRequest) ProtoMessage()

func (*CreateProjectRequest) ProtoReflect

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

func (*CreateProjectRequest) Reset

func (x *CreateProjectRequest) Reset()

func (*CreateProjectRequest) String

func (x *CreateProjectRequest) String() string

type DeleteApiDeploymentRequest added in v0.3.6

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 added in v0.3.6

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

Deprecated: Use DeleteApiDeploymentRequest.ProtoReflect.Descriptor instead.

func (*DeleteApiDeploymentRequest) GetForce added in v0.4.2

func (x *DeleteApiDeploymentRequest) GetForce() bool

func (*DeleteApiDeploymentRequest) GetName added in v0.3.6

func (x *DeleteApiDeploymentRequest) GetName() string

func (*DeleteApiDeploymentRequest) ProtoMessage added in v0.3.6

func (*DeleteApiDeploymentRequest) ProtoMessage()

func (*DeleteApiDeploymentRequest) ProtoReflect added in v0.3.6

func (*DeleteApiDeploymentRequest) Reset added in v0.3.6

func (x *DeleteApiDeploymentRequest) Reset()

func (*DeleteApiDeploymentRequest) String added in v0.3.6

func (x *DeleteApiDeploymentRequest) String() string

type DeleteApiDeploymentRevisionRequest added in v0.3.6

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 added in v0.3.6

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

Deprecated: Use DeleteApiDeploymentRevisionRequest.ProtoReflect.Descriptor instead.

func (*DeleteApiDeploymentRevisionRequest) GetName added in v0.3.6

func (*DeleteApiDeploymentRevisionRequest) ProtoMessage added in v0.3.6

func (*DeleteApiDeploymentRevisionRequest) ProtoMessage()

func (*DeleteApiDeploymentRevisionRequest) ProtoReflect added in v0.3.6

func (*DeleteApiDeploymentRevisionRequest) Reset added in v0.3.6

func (*DeleteApiDeploymentRevisionRequest) String added in v0.3.6

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 added in v0.4.2

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 added in v0.4.2

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 added in v0.4.2

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 added in v0.5.1

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 added in v0.5.1

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

Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.

func (*DeleteInstanceRequest) GetName added in v0.5.1

func (x *DeleteInstanceRequest) GetName() string

func (*DeleteInstanceRequest) ProtoMessage added in v0.5.1

func (*DeleteInstanceRequest) ProtoMessage()

func (*DeleteInstanceRequest) ProtoReflect added in v0.5.1

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

func (*DeleteInstanceRequest) Reset added in v0.5.1

func (x *DeleteInstanceRequest) Reset()

func (*DeleteInstanceRequest) String added in v0.5.1

func (x *DeleteInstanceRequest) String() string

type DeleteProjectRequest

type DeleteProjectRequest struct {

	// The name of the project to delete.
	// Format: projects/*
	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 DeleteProject.

func (*DeleteProjectRequest) Descriptor deprecated

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

Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead.

func (*DeleteProjectRequest) GetForce added in v0.4.2

func (x *DeleteProjectRequest) GetForce() bool

func (*DeleteProjectRequest) GetName

func (x *DeleteProjectRequest) GetName() string

func (*DeleteProjectRequest) ProtoMessage

func (*DeleteProjectRequest) ProtoMessage()

func (*DeleteProjectRequest) ProtoReflect

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

func (*DeleteProjectRequest) Reset

func (x *DeleteProjectRequest) Reset()

func (*DeleteProjectRequest) String

func (x *DeleteProjectRequest) String() string

type Dependency

type Dependency struct {

	// A pattern that specifies a dependency.
	// This can specify one particular resource or a group of resources.
	// A pattern in a dependency can contain references to the original resource.
	// Format:
	//
	//	$resource.api/versions/-/specs/-
	//	$resource.version/specs/-/artifacts/-
	Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
	// A filter expression that limits the resources that match the pattern.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

A dependency of a generated resource is another resource in the registry which should always be older than the generated resource. When dependencies are updated, the generated resource that depends on them should be regenerated.

func (*Dependency) Descriptor deprecated

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

Deprecated: Use Dependency.ProtoReflect.Descriptor instead.

func (*Dependency) GetFilter

func (x *Dependency) GetFilter() string

func (*Dependency) GetPattern

func (x *Dependency) GetPattern() string

func (*Dependency) ProtoMessage

func (*Dependency) ProtoMessage()

func (*Dependency) ProtoReflect

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

func (*Dependency) Reset

func (x *Dependency) Reset()

func (*Dependency) String

func (x *Dependency) String() string

type DisplaySettings added in v0.4.5

type DisplaySettings struct {

	// Artifact identifier. May be used in YAML representations to indicate the id
	// to be used to attach the artifact.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Artifact kind. May be used in YAML representations to identify the type of
	// this artifact.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// A more detailed description of the display settings.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The organization name. Displayed in areas throughout the API hub UI to
	// identify APIs owned by the user's organization.
	Organization string `protobuf:"bytes,4,opt,name=organization,proto3" json:"organization,omitempty"`
	// If true the API guide tab will be displayed in the API detail page; if
	// false, it will be hidden
	ApiGuideEnabled bool `protobuf:"varint,5,opt,name=api_guide_enabled,json=apiGuideEnabled,proto3" json:"api_guide_enabled,omitempty"`
	// If true the API scores will be displayed on the API list page and API
	// detail page; if false, they will be hidden
	ApiScoreEnabled bool `protobuf:"varint,6,opt,name=api_score_enabled,json=apiScoreEnabled,proto3" json:"api_score_enabled,omitempty"`
	// contains filtered or unexported fields
}

Defines display settings for the API hub UI.

func (*DisplaySettings) Descriptor deprecated added in v0.4.5

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

Deprecated: Use DisplaySettings.ProtoReflect.Descriptor instead.

func (*DisplaySettings) GetApiGuideEnabled added in v0.4.5

func (x *DisplaySettings) GetApiGuideEnabled() bool

func (*DisplaySettings) GetApiScoreEnabled added in v0.4.5

func (x *DisplaySettings) GetApiScoreEnabled() bool

func (*DisplaySettings) GetDescription added in v0.4.5

func (x *DisplaySettings) GetDescription() string

func (*DisplaySettings) GetId added in v0.4.5

func (x *DisplaySettings) GetId() string

func (*DisplaySettings) GetKind added in v0.4.5

func (x *DisplaySettings) GetKind() string

func (*DisplaySettings) GetOrganization added in v0.4.5

func (x *DisplaySettings) GetOrganization() string

func (*DisplaySettings) ProtoMessage added in v0.4.5

func (*DisplaySettings) ProtoMessage()

func (*DisplaySettings) ProtoReflect added in v0.4.5

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

func (*DisplaySettings) Reset added in v0.4.5

func (x *DisplaySettings) Reset()

func (*DisplaySettings) String added in v0.4.5

func (x *DisplaySettings) String() string

type GeneratedResource

type GeneratedResource struct {

	// A pattern that specifies a generated resource.
	// This can specify one particular resource or a group of resources.
	// Format:
	//
	//	apis/{api}/versions/{version}/specs/{spec}/artifacts/{artifact}
	//	apis/-/versions/-/specs/-/artifacts/-
	Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
	// A filter expression that limits the resources that match the pattern.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// The receipt field should be set to true if the action is not going to
	// store any artifact and instead requires a receipt artifact as its
	// generated resource.
	Receipt bool `protobuf:"varint,3,opt,name=receipt,proto3" json:"receipt,omitempty"`
	// The dependencies of the resource.
	// The controller checks for any updates in the dependencies and takes an
	// action if there has been an update in dependencies from the last time
	// the action was taken.
	// Check "refresh" field if it is not possible to list out the dependencies.
	// Either "dependencies" or "refresh" must be set for the controller to work.
	Dependencies []*Dependency `protobuf:"bytes,4,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	// The action used to generate the resource.
	// An action can contain references to $resource
	// Example: "registry compute complexity $resource"
	Action string `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"`
	// Refresh interval in seconds (must be >0).
	// Generated resource should be regenerated after the specified duration.
	// This field should be used when the dependencies of the generated resources
	// are dynamic and cannot be listed out in the manifest.
	// If "refresh" is set, the dependencies are ignored and the
	// controller will use this field to decide when to take the action.
	// If refresh=Ns, the controller will wait for at least N seconds
	// before trying to regenerate the generated resource.
	// Either "refresh" or "dependencies" must be set for the controller to work.
	Refresh *durationpb.Duration `protobuf:"bytes,6,opt,name=refresh,proto3" json:"refresh,omitempty"`
	// contains filtered or unexported fields
}

A GeneratedResource describes a resource that is stored in the registry and generated automatically using a specified action. Actions include invocations of the registry tool and other tools available to a deployed instance of the controller.

func (*GeneratedResource) Descriptor deprecated

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

Deprecated: Use GeneratedResource.ProtoReflect.Descriptor instead.

func (*GeneratedResource) GetAction

func (x *GeneratedResource) GetAction() string

func (*GeneratedResource) GetDependencies

func (x *GeneratedResource) GetDependencies() []*Dependency

func (*GeneratedResource) GetFilter

func (x *GeneratedResource) GetFilter() string

func (*GeneratedResource) GetPattern

func (x *GeneratedResource) GetPattern() string

func (*GeneratedResource) GetReceipt

func (x *GeneratedResource) GetReceipt() bool

func (*GeneratedResource) GetRefresh added in v0.5.3

func (x *GeneratedResource) GetRefresh() *durationpb.Duration

func (*GeneratedResource) ProtoMessage

func (*GeneratedResource) ProtoMessage()

func (*GeneratedResource) ProtoReflect

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

func (*GeneratedResource) Reset

func (x *GeneratedResource) Reset()

func (*GeneratedResource) String

func (x *GeneratedResource) String() string

type GetApiDeploymentRequest added in v0.3.6

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 added in v0.3.6

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

Deprecated: Use GetApiDeploymentRequest.ProtoReflect.Descriptor instead.

func (*GetApiDeploymentRequest) GetName added in v0.3.6

func (x *GetApiDeploymentRequest) GetName() string

func (*GetApiDeploymentRequest) ProtoMessage added in v0.3.6

func (*GetApiDeploymentRequest) ProtoMessage()

func (*GetApiDeploymentRequest) ProtoReflect added in v0.3.6

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

func (*GetApiDeploymentRequest) Reset added in v0.3.6

func (x *GetApiDeploymentRequest) Reset()

func (*GetApiDeploymentRequest) String added in v0.3.6

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 added in v0.5.1

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 added in v0.5.1

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

Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceRequest) GetName added in v0.5.1

func (x *GetInstanceRequest) GetName() string

func (*GetInstanceRequest) ProtoMessage added in v0.5.1

func (*GetInstanceRequest) ProtoMessage()

func (*GetInstanceRequest) ProtoReflect added in v0.5.1

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

func (*GetInstanceRequest) Reset added in v0.5.1

func (x *GetInstanceRequest) Reset()

func (*GetInstanceRequest) String added in v0.5.1

func (x *GetInstanceRequest) String() string

type GetProjectRequest

type GetProjectRequest struct {

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

Request message for GetProject.

func (*GetProjectRequest) Descriptor deprecated

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

Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead.

func (*GetProjectRequest) GetName

func (x *GetProjectRequest) GetName() string

func (*GetProjectRequest) ProtoMessage

func (*GetProjectRequest) ProtoMessage()

func (*GetProjectRequest) ProtoReflect

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

func (*GetProjectRequest) Reset

func (x *GetProjectRequest) Reset()

func (*GetProjectRequest) String

func (x *GetProjectRequest) String() string

type Guideline

type Guideline struct {

	// Identifier of the guideline.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Human-meaningful name of the guideline.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A detailed description of the guideline.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// A list of rules that this guideline specifies.
	Rules []*Rule `protobuf:"bytes,4,rep,name=rules,proto3" json:"rules,omitempty"`
	// Indicates the state of the guideline.
	State Guideline_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.apigeeregistry.v1.style.Guideline_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Guideline defines a set of rules that achieve a common design goal for API specs.

func (*Guideline) Descriptor deprecated

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

Deprecated: Use Guideline.ProtoReflect.Descriptor instead.

func (*Guideline) GetDescription

func (x *Guideline) GetDescription() string

func (*Guideline) GetDisplayName

func (x *Guideline) GetDisplayName() string

func (*Guideline) GetId

func (x *Guideline) GetId() string

func (*Guideline) GetRules

func (x *Guideline) GetRules() []*Rule

func (*Guideline) GetState added in v0.5.3

func (x *Guideline) GetState() Guideline_State

func (*Guideline) ProtoMessage

func (*Guideline) ProtoMessage()

func (*Guideline) ProtoReflect

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

func (*Guideline) Reset

func (x *Guideline) Reset()

func (*Guideline) String

func (x *Guideline) String() string

type GuidelineReport

type GuidelineReport struct {

	// ID of the guideline that this report pertains to.
	GuidelineId string `protobuf:"bytes,1,opt,name=guideline_id,json=guidelineId,proto3" json:"guideline_id,omitempty"`
	// A list of rule report groups.
	RuleReportGroups []*RuleReportGroup `protobuf:"bytes,2,rep,name=rule_report_groups,json=ruleReportGroups,proto3" json:"rule_report_groups,omitempty"`
	// contains filtered or unexported fields
}

GuidelineReport describes how well an API Spec or a series of API Specs conform to a guideline within an API Style Guide.

func (*GuidelineReport) Descriptor deprecated

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

Deprecated: Use GuidelineReport.ProtoReflect.Descriptor instead.

func (*GuidelineReport) GetGuidelineId added in v0.3.9

func (x *GuidelineReport) GetGuidelineId() string

func (*GuidelineReport) GetRuleReportGroups

func (x *GuidelineReport) GetRuleReportGroups() []*RuleReportGroup

func (*GuidelineReport) ProtoMessage

func (*GuidelineReport) ProtoMessage()

func (*GuidelineReport) ProtoReflect

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

func (*GuidelineReport) Reset

func (x *GuidelineReport) Reset()

func (*GuidelineReport) String

func (x *GuidelineReport) String() string

type GuidelineReportGroup

type GuidelineReportGroup struct {

	// State of the guidelines in this report group.
	State Guideline_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.apigeeregistry.v1.style.Guideline_State" json:"state,omitempty"`
	// A list of guideline reports.
	GuidelineReports []*GuidelineReport `protobuf:"bytes,2,rep,name=guideline_reports,json=guidelineReports,proto3" json:"guideline_reports,omitempty"`
	// contains filtered or unexported fields
}

GuidelineReportGroup is an abstraction that maps state (PROPOSED, ACTIVE, DEPRECATED, DISABLED) to a list of guideline reports for guidelines of that state.

func (*GuidelineReportGroup) Descriptor deprecated

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

Deprecated: Use GuidelineReportGroup.ProtoReflect.Descriptor instead.

func (*GuidelineReportGroup) GetGuidelineReports

func (x *GuidelineReportGroup) GetGuidelineReports() []*GuidelineReport

func (*GuidelineReportGroup) GetState added in v0.5.3

func (x *GuidelineReportGroup) GetState() Guideline_State

func (*GuidelineReportGroup) ProtoMessage

func (*GuidelineReportGroup) ProtoMessage()

func (*GuidelineReportGroup) ProtoReflect

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

func (*GuidelineReportGroup) Reset

func (x *GuidelineReportGroup) Reset()

func (*GuidelineReportGroup) String

func (x *GuidelineReportGroup) String() string

type Guideline_State added in v0.5.3

type Guideline_State int32

Possible states for this guideline.

const (
	// The default value, unused.
	Guideline_STATE_UNSPECIFIED Guideline_State = 0
	// The guideline is being proposed, and shouldn't yet
	// be enforced.
	Guideline_PROPOSED Guideline_State = 1
	// The guideline is active and should be enforced.
	Guideline_ACTIVE Guideline_State = 2
	// The guideline is deprecated as of the recent version,
	// and shouldn't be enforced.
	Guideline_DEPRECATED Guideline_State = 3
	// The guideline has been disabled and shouldn't be enforced.
	Guideline_DISABLED Guideline_State = 4
)

func (Guideline_State) Descriptor added in v0.5.3

func (Guideline_State) Enum added in v0.5.3

func (x Guideline_State) Enum() *Guideline_State

func (Guideline_State) EnumDescriptor deprecated added in v0.5.3

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

Deprecated: Use Guideline_State.Descriptor instead.

func (Guideline_State) Number added in v0.5.3

func (Guideline_State) String added in v0.5.3

func (x Guideline_State) String() string

func (Guideline_State) Type added in v0.5.3

type Instance added in v0.5.1

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 added in v0.5.1

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetConfig added in v0.5.1

func (x *Instance) GetConfig() *Instance_Config

func (*Instance) GetCreateTime added in v0.5.1

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

func (*Instance) GetName added in v0.5.1

func (x *Instance) GetName() string

func (*Instance) GetState added in v0.5.1

func (x *Instance) GetState() Instance_State

func (*Instance) GetStateMessage added in v0.5.1

func (x *Instance) GetStateMessage() string

func (*Instance) GetUpdateTime added in v0.5.1

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

func (*Instance) ProtoMessage added in v0.5.1

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect added in v0.5.1

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

func (*Instance) Reset added in v0.5.1

func (x *Instance) Reset()

func (*Instance) String added in v0.5.1

func (x *Instance) String() string

type Instance_Config added in v0.5.1

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 added in v0.5.1

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

Deprecated: Use Instance_Config.ProtoReflect.Descriptor instead.

func (*Instance_Config) GetCmekKeyName added in v0.5.1

func (x *Instance_Config) GetCmekKeyName() string

func (*Instance_Config) GetLocation added in v0.5.1

func (x *Instance_Config) GetLocation() string

func (*Instance_Config) ProtoMessage added in v0.5.1

func (*Instance_Config) ProtoMessage()

func (*Instance_Config) ProtoReflect added in v0.5.1

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

func (*Instance_Config) Reset added in v0.5.1

func (x *Instance_Config) Reset()

func (*Instance_Config) String added in v0.5.1

func (x *Instance_Config) String() string

type Instance_State added in v0.5.1

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 added in v0.5.1

func (Instance_State) Enum added in v0.5.1

func (x Instance_State) Enum() *Instance_State

func (Instance_State) EnumDescriptor deprecated added in v0.5.1

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

Deprecated: Use Instance_State.Descriptor instead.

func (Instance_State) Number added in v0.5.1

func (Instance_State) String added in v0.5.1

func (x Instance_State) String() string

func (Instance_State) Type added in v0.5.1

type IntegerType added in v0.4.6

type IntegerType struct {

	// Represents the minimum value this type of score can take.
	// Defaults to 0 if not specified.
	MinValue int32 `protobuf:"varint,1,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
	// Represents the maximum value this type of score can take.
	MaxValue int32 `protobuf:"varint,2,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
	// Represents the thresholds for severity of this type of score.
	// Examples will be similar to PercentType, except that the limits of the
	// range will be min_value and max_value.
	Thresholds []*NumberThreshold `protobuf:"bytes,3,rep,name=thresholds,proto3" json:"thresholds,omitempty"`
	// contains filtered or unexported fields
}

Represents an integer score type.

func (*IntegerType) Descriptor deprecated added in v0.4.6

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

Deprecated: Use IntegerType.ProtoReflect.Descriptor instead.

func (*IntegerType) GetMaxValue added in v0.4.6

func (x *IntegerType) GetMaxValue() int32

func (*IntegerType) GetMinValue added in v0.4.6

func (x *IntegerType) GetMinValue() int32

func (*IntegerType) GetThresholds added in v0.4.6

func (x *IntegerType) GetThresholds() []*NumberThreshold

func (*IntegerType) ProtoMessage added in v0.4.6

func (*IntegerType) ProtoMessage()

func (*IntegerType) ProtoReflect added in v0.4.6

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

func (*IntegerType) Reset added in v0.4.6

func (x *IntegerType) Reset()

func (*IntegerType) String added in v0.4.6

func (x *IntegerType) String() string

type IntegerValue added in v0.4.6

type IntegerValue struct {

	// Stores the value of score.
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// The following fields will be used to display scores in the UI like "5/10".
	// Stores the minimum value this score can take.
	MinValue int32 `protobuf:"varint,2,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
	// Stores the minimum value this score can take.
	MaxValue int32 `protobuf:"varint,3,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
	// contains filtered or unexported fields
}

Represents the score which is a percentage.

func (*IntegerValue) Descriptor deprecated added in v0.4.6

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

Deprecated: Use IntegerValue.ProtoReflect.Descriptor instead.

func (*IntegerValue) GetMaxValue added in v0.4.6

func (x *IntegerValue) GetMaxValue() int32

func (*IntegerValue) GetMinValue added in v0.4.6

func (x *IntegerValue) GetMinValue() int32

func (*IntegerValue) GetValue added in v0.4.6

func (x *IntegerValue) GetValue() int32

func (*IntegerValue) ProtoMessage added in v0.4.6

func (*IntegerValue) ProtoMessage()

func (*IntegerValue) ProtoReflect added in v0.4.6

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

func (*IntegerValue) Reset added in v0.4.6

func (x *IntegerValue) Reset()

func (*IntegerValue) String added in v0.4.6

func (x *IntegerValue) String() string

type Lifecycle added in v0.4.2

type Lifecycle struct {

	// Artifact identifier. May be used in YAML representations to indicate the id
	// to be used to attach the artifact.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Artifact kind. May be used in YAML representations to identify the type of
	// this artifact.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// A human-friendly name for the lifecycle.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A more detailed description of the lifecycle.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// The stages of an API lifecycle.
	Stages []*Lifecycle_Stage `protobuf:"bytes,5,rep,name=stages,proto3" json:"stages,omitempty"`
	// contains filtered or unexported fields
}

A lifecycle represents a series of stages that an API typically moves through in its lifetime. Lifecycles are usually organization-specific, so rather than force a fixed set of stages, we allow them to be specified in this project- level artifact.

func (*Lifecycle) Descriptor deprecated added in v0.4.2

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

Deprecated: Use Lifecycle.ProtoReflect.Descriptor instead.

func (*Lifecycle) GetDescription added in v0.4.2

func (x *Lifecycle) GetDescription() string

func (*Lifecycle) GetDisplayName added in v0.4.2

func (x *Lifecycle) GetDisplayName() string

func (*Lifecycle) GetId added in v0.4.2

func (x *Lifecycle) GetId() string

func (*Lifecycle) GetKind added in v0.4.2

func (x *Lifecycle) GetKind() string

func (*Lifecycle) GetStages added in v0.4.2

func (x *Lifecycle) GetStages() []*Lifecycle_Stage

func (*Lifecycle) ProtoMessage added in v0.4.2

func (*Lifecycle) ProtoMessage()

func (*Lifecycle) ProtoReflect added in v0.4.2

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

func (*Lifecycle) Reset added in v0.4.2

func (x *Lifecycle) Reset()

func (*Lifecycle) String added in v0.4.2

func (x *Lifecycle) String() string

type Lifecycle_Stage added in v0.4.2

type Lifecycle_Stage struct {

	// Lifecycle stage identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// A human-friendly name of the lifecycle stage.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A detailed description of the lifecycle stage.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// An optional link to more information about the lifecycle stage.
	Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	// An ordering value used to configure display of the lifecycle stage.
	DisplayOrder int32 `protobuf:"varint,5,opt,name=display_order,json=displayOrder,proto3" json:"display_order,omitempty"`
	// contains filtered or unexported fields
}

Stages represent distinct stages in an API lifecycle, e.g. concept, design, development, testing, preview, available, deprecated, disabled.

func (*Lifecycle_Stage) Descriptor deprecated added in v0.4.2

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

Deprecated: Use Lifecycle_Stage.ProtoReflect.Descriptor instead.

func (*Lifecycle_Stage) GetDescription added in v0.4.2

func (x *Lifecycle_Stage) GetDescription() string

func (*Lifecycle_Stage) GetDisplayName added in v0.4.2

func (x *Lifecycle_Stage) GetDisplayName() string

func (*Lifecycle_Stage) GetDisplayOrder added in v0.4.2

func (x *Lifecycle_Stage) GetDisplayOrder() int32

func (*Lifecycle_Stage) GetId added in v0.4.2

func (x *Lifecycle_Stage) GetId() string

func (*Lifecycle_Stage) GetUrl added in v0.4.2

func (x *Lifecycle_Stage) GetUrl() string

func (*Lifecycle_Stage) ProtoMessage added in v0.4.2

func (*Lifecycle_Stage) ProtoMessage()

func (*Lifecycle_Stage) ProtoReflect added in v0.4.2

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

func (*Lifecycle_Stage) Reset added in v0.4.2

func (x *Lifecycle_Stage) Reset()

func (*Lifecycle_Stage) String added in v0.4.2

func (x *Lifecycle_Stage) String() string

type Lint

type Lint struct {

	// The name of the result.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The lint results for each file examined.
	Files []*LintFile `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

Lint wraps the result of a linter run for an API. (-- api-linter: core::0123::resource-annotation=disabled

aip.dev/not-precedent: This message is not currently used in an API. --)

func (*Lint) Descriptor deprecated

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

Deprecated: Use Lint.ProtoReflect.Descriptor instead.

func (*Lint) GetFiles

func (x *Lint) GetFiles() []*LintFile

func (*Lint) GetName

func (x *Lint) GetName() string

func (*Lint) ProtoMessage

func (*Lint) ProtoMessage()

func (*Lint) ProtoReflect

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

func (*Lint) Reset

func (x *Lint) Reset()

func (*Lint) String

func (x *Lint) String() string

type LintFile

type LintFile struct {

	// The path of the file linted.
	FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
	// The problems found when the file was linted.
	Problems []*LintProblem `protobuf:"bytes,2,rep,name=problems,proto3" json:"problems,omitempty"`
	// contains filtered or unexported fields
}

LintFile wraps the result of a linter run for a file. (-- api-linter: core::0123::resource-annotation=disabled

aip.dev/not-precedent: This message is not currently used in an API. --)

func (*LintFile) Descriptor deprecated

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

Deprecated: Use LintFile.ProtoReflect.Descriptor instead.

func (*LintFile) GetFilePath

func (x *LintFile) GetFilePath() string

func (*LintFile) GetProblems

func (x *LintFile) GetProblems() []*LintProblem

func (*LintFile) ProtoMessage

func (*LintFile) ProtoMessage()

func (*LintFile) ProtoReflect

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

func (*LintFile) Reset

func (x *LintFile) Reset()

func (*LintFile) String

func (x *LintFile) String() string

type LintLocation

type LintLocation struct {

	// The initial position of a problem.
	StartPosition *LintPosition `protobuf:"bytes,1,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"`
	// The end position of a problem.
	EndPosition *LintPosition `protobuf:"bytes,2,opt,name=end_position,json=endPosition,proto3" json:"end_position,omitempty"`
	// contains filtered or unexported fields
}

LintLocation represents a range of text in a file. (-- api-linter: core::0123::resource-annotation=disabled

aip.dev/not-precedent: This message is not currently used in an API. --)

func (*LintLocation) Descriptor deprecated

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

Deprecated: Use LintLocation.ProtoReflect.Descriptor instead.

func (*LintLocation) GetEndPosition

func (x *LintLocation) GetEndPosition() *LintPosition

func (*LintLocation) GetStartPosition

func (x *LintLocation) GetStartPosition() *LintPosition

func (*LintLocation) ProtoMessage

func (*LintLocation) ProtoMessage()

func (*LintLocation) ProtoReflect

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

func (*LintLocation) Reset

func (x *LintLocation) Reset()

func (*LintLocation) String

func (x *LintLocation) String() string

type LintPosition

type LintPosition struct {

	// A line number in a file.
	LineNumber int32 `protobuf:"varint,1,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"`
	// A column number in a file.
	ColumnNumber int32 `protobuf:"varint,2,opt,name=column_number,json=columnNumber,proto3" json:"column_number,omitempty"`
	// contains filtered or unexported fields
}

LintPosition represents a point in a file. (-- api-linter: core::0123::resource-annotation=disabled

aip.dev/not-precedent: This message is not currently used in an API. --)

func (*LintPosition) Descriptor deprecated

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

Deprecated: Use LintPosition.ProtoReflect.Descriptor instead.

func (*LintPosition) GetColumnNumber

func (x *LintPosition) GetColumnNumber() int32

func (*LintPosition) GetLineNumber

func (x *LintPosition) GetLineNumber() int32

func (*LintPosition) ProtoMessage

func (*LintPosition) ProtoMessage()

func (*LintPosition) ProtoReflect

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

func (*LintPosition) Reset

func (x *LintPosition) Reset()

func (*LintPosition) String

func (x *LintPosition) String() string

type LintProblem

type LintProblem struct {

	// A message describing the problem.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// An identifier for a related design rule.
	RuleId string `protobuf:"bytes,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	// A link for a related design rule.
	RuleDocUri string `protobuf:"bytes,3,opt,name=rule_doc_uri,json=ruleDocUri,proto3" json:"rule_doc_uri,omitempty"`
	// A suggestion for resolving the problem.
	Suggestion string `protobuf:"bytes,4,opt,name=suggestion,proto3" json:"suggestion,omitempty"`
	// The location in the file of the problem.
	Location *LintLocation `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

LintProblem represents a problem found by a linter. (-- api-linter: core::0123::resource-annotation=disabled

aip.dev/not-precedent: This message is not currently used in an API. --)

func (*LintProblem) Descriptor deprecated

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

Deprecated: Use LintProblem.ProtoReflect.Descriptor instead.

func (*LintProblem) GetLocation

func (x *LintProblem) GetLocation() *LintLocation

func (*LintProblem) GetMessage

func (x *LintProblem) GetMessage() string

func (*LintProblem) GetRuleDocUri

func (x *LintProblem) GetRuleDocUri() string

func (*LintProblem) GetRuleId

func (x *LintProblem) GetRuleId() string

func (*LintProblem) GetSuggestion

func (x *LintProblem) GetSuggestion() string

func (*LintProblem) ProtoMessage

func (*LintProblem) ProtoMessage()

func (*LintProblem) ProtoReflect

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

func (*LintProblem) Reset

func (x *LintProblem) Reset()

func (*LintProblem) String

func (x *LintProblem) String() string

type LintProblemCount

type LintProblemCount struct {

	// The number of occurrences of the problem.
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// An identifier for the related design rule.
	RuleId string `protobuf:"bytes,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	// A link for the related design rule.
	RuleDocUri string `protobuf:"bytes,3,opt,name=rule_doc_uri,json=ruleDocUri,proto3" json:"rule_doc_uri,omitempty"`
	// contains filtered or unexported fields
}

LintProblemCount represents the number of times a problem was found in linting. (-- api-linter: core::0123::resource-annotation=disabled

aip.dev/not-precedent: This message is not currently used in an API. --)

func (*LintProblemCount) Descriptor deprecated

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

Deprecated: Use LintProblemCount.ProtoReflect.Descriptor instead.

func (*LintProblemCount) GetCount

func (x *LintProblemCount) GetCount() int32

func (*LintProblemCount) GetRuleDocUri

func (x *LintProblemCount) GetRuleDocUri() string

func (*LintProblemCount) GetRuleId

func (x *LintProblemCount) GetRuleId() string

func (*LintProblemCount) ProtoMessage

func (*LintProblemCount) ProtoMessage()

func (*LintProblemCount) ProtoReflect

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

func (*LintProblemCount) Reset

func (x *LintProblemCount) Reset()

func (*LintProblemCount) String

func (x *LintProblemCount) String() string

type LintStats

type LintStats struct {

	// A sum of the total operations (GET, POST, PUT, DELETE).
	OperationCount int32 `protobuf:"varint,1,opt,name=operation_count,json=operationCount,proto3" json:"operation_count,omitempty"`
	// The number of schemas contained under this resource.
	SchemaCount int32 `protobuf:"varint,2,opt,name=schema_count,json=schemaCount,proto3" json:"schema_count,omitempty"`
	// Problems found in linting.
	ProblemCounts []*LintProblemCount `protobuf:"bytes,3,rep,name=problem_counts,json=problemCounts,proto3" json:"problem_counts,omitempty"`
	// contains filtered or unexported fields
}

LintStats summarizes linter results. (-- api-linter: core::0123::resource-annotation=disabled

aip.dev/not-precedent: This message is not currently used in an API. --)

func (*LintStats) Descriptor deprecated

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

Deprecated: Use LintStats.ProtoReflect.Descriptor instead.

func (*LintStats) GetOperationCount

func (x *LintStats) GetOperationCount() int32

func (*LintStats) GetProblemCounts

func (x *LintStats) GetProblemCounts() []*LintProblemCount

func (*LintStats) GetSchemaCount

func (x *LintStats) GetSchemaCount() int32

func (*LintStats) ProtoMessage

func (*LintStats) ProtoMessage()

func (*LintStats) ProtoReflect

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

func (*LintStats) Reset

func (x *LintStats) Reset()

func (*LintStats) String

func (x *LintStats) String() string

type Linter

type Linter struct {

	// Name of the linter.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A uri to the linter source code or documentation.
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

Linter contains the name and source code / documentation of specific linter. (-- api-linter: core::0123::resource-annotation=disabled

aip.dev/not-precedent: This message is not currently used in an API. --)

func (*Linter) Descriptor deprecated

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

Deprecated: Use Linter.ProtoReflect.Descriptor instead.

func (*Linter) GetName

func (x *Linter) GetName() string

func (*Linter) GetUri

func (x *Linter) GetUri() string

func (*Linter) ProtoMessage

func (*Linter) ProtoMessage()

func (*Linter) ProtoReflect

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

func (*Linter) Reset

func (x *Linter) Reset()

func (*Linter) String

func (x *Linter) String() string

type LinterRequest added in v0.3.2

type LinterRequest struct {

	// This specifies a directory containing the files of the spec that need to
	// be linted. This path is relative to the directory where the plugin is run.
	SpecDirectory string `protobuf:"bytes,1,opt,name=spec_directory,json=specDirectory,proto3" json:"spec_directory,omitempty"`
	// A list of rules that need to be enabled when linting this spec.
	// If no rules are specified, all of the linter's rules should be enabled.
	RuleIds []string `protobuf:"bytes,2,rep,name=rule_ids,json=ruleIds,proto3" json:"rule_ids,omitempty"`
	// contains filtered or unexported fields
}

LinterRequest represents a request to a linter plugin. The plugin will lint the provided spec based on rules that have been enabled. (-- api-linter: core::0123::resource-annotation=disabled

aip.dev/not-precedent: This message is not currently used in an API. --)

func (*LinterRequest) Descriptor deprecated added in v0.3.2

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

Deprecated: Use LinterRequest.ProtoReflect.Descriptor instead.

func (*LinterRequest) GetRuleIds added in v0.3.2

func (x *LinterRequest) GetRuleIds() []string

func (*LinterRequest) GetSpecDirectory added in v0.3.10

func (x *LinterRequest) GetSpecDirectory() string

func (*LinterRequest) ProtoMessage added in v0.3.2

func (*LinterRequest) ProtoMessage()

func (*LinterRequest) ProtoReflect added in v0.3.2

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

func (*LinterRequest) Reset added in v0.3.2

func (x *LinterRequest) Reset()

func (*LinterRequest) String added in v0.3.2

func (x *LinterRequest) String() string

type LinterResponse added in v0.3.2

type LinterResponse struct {

	// Error message. If non-empty, the plugin failed.
	// The plugin process should exit with status code zero even if it reports
	// an error in this way.
	//
	// This should be used to indicate errors which prevent
	// the plugin from operating as intended. Errors which indicate a problem in
	// the linter itself should be reported by writing a message to stderr and
	// exiting with a non-zero status code.
	Errors []string `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
	// The problems found when the file was linted.
	Lint *Lint `protobuf:"bytes,2,opt,name=lint,proto3" json:"lint,omitempty"`
	// contains filtered or unexported fields
}

LinterResponse represents a response returned from a linter plugin. It contains a list of problems that were identified by the linter. (-- api-linter: core::0123::resource-annotation=disabled

aip.dev/not-precedent: This message is not currently used in an API. --)

func (*LinterResponse) Descriptor deprecated added in v0.3.2

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

Deprecated: Use LinterResponse.ProtoReflect.Descriptor instead.

func (*LinterResponse) GetErrors added in v0.3.2

func (x *LinterResponse) GetErrors() []string

func (*LinterResponse) GetLint added in v0.3.2

func (x *LinterResponse) GetLint() *Lint

func (*LinterResponse) ProtoMessage added in v0.3.2

func (*LinterResponse) ProtoMessage()

func (*LinterResponse) ProtoReflect added in v0.3.2

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

func (*LinterResponse) Reset added in v0.3.2

func (x *LinterResponse) Reset()

func (*LinterResponse) String added in v0.3.2

func (x *LinterResponse) String() string

type ListApiDeploymentRevisionsRequest added in v0.3.6

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"`
	// 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 ListApiDeploymentRevisions.

func (*ListApiDeploymentRevisionsRequest) Descriptor deprecated added in v0.3.6

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

Deprecated: Use ListApiDeploymentRevisionsRequest.ProtoReflect.Descriptor instead.

func (*ListApiDeploymentRevisionsRequest) GetFilter added in v0.5.7

func (*ListApiDeploymentRevisionsRequest) GetName added in v0.3.6

func (*ListApiDeploymentRevisionsRequest) GetPageSize added in v0.3.6

func (x *ListApiDeploymentRevisionsRequest) GetPageSize() int32

func (*ListApiDeploymentRevisionsRequest) GetPageToken added in v0.3.6

func (x *ListApiDeploymentRevisionsRequest) GetPageToken() string

func (*ListApiDeploymentRevisionsRequest) ProtoMessage added in v0.3.6

func (*ListApiDeploymentRevisionsRequest) ProtoMessage()

func (*ListApiDeploymentRevisionsRequest) ProtoReflect added in v0.3.6

func (*ListApiDeploymentRevisionsRequest) Reset added in v0.3.6

func (*ListApiDeploymentRevisionsRequest) String added in v0.3.6

type ListApiDeploymentRevisionsResponse added in v0.3.6

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 added in v0.3.6

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

Deprecated: Use ListApiDeploymentRevisionsResponse.ProtoReflect.Descriptor instead.

func (*ListApiDeploymentRevisionsResponse) GetApiDeployments added in v0.3.6

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

func (*ListApiDeploymentRevisionsResponse) GetNextPageToken added in v0.3.6

func (x *ListApiDeploymentRevisionsResponse) GetNextPageToken() string

func (*ListApiDeploymentRevisionsResponse) ProtoMessage added in v0.3.6

func (*ListApiDeploymentRevisionsResponse) ProtoMessage()

func (*ListApiDeploymentRevisionsResponse) ProtoReflect added in v0.3.6

func (*ListApiDeploymentRevisionsResponse) Reset added in v0.3.6

func (*ListApiDeploymentRevisionsResponse) String added in v0.3.6

type ListApiDeploymentsRequest added in v0.3.6

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"`
	// A comma-separated list of fields, e.g. "foo,bar"
	// Fields can be sorted in descending order using the "desc" identifier, e.g. "foo desc,bar"
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListApiDeployments.

func (*ListApiDeploymentsRequest) Descriptor deprecated added in v0.3.6

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

Deprecated: Use ListApiDeploymentsRequest.ProtoReflect.Descriptor instead.

func (*ListApiDeploymentsRequest) GetFilter added in v0.3.6

func (x *ListApiDeploymentsRequest) GetFilter() string

func (*ListApiDeploymentsRequest) GetOrderBy added in v0.5.5

func (x *ListApiDeploymentsRequest) GetOrderBy() string

func (*ListApiDeploymentsRequest) GetPageSize added in v0.3.6

func (x *ListApiDeploymentsRequest) GetPageSize() int32

func (*ListApiDeploymentsRequest) GetPageToken added in v0.3.6

func (x *ListApiDeploymentsRequest) GetPageToken() string

func (*ListApiDeploymentsRequest) GetParent added in v0.3.6

func (x *ListApiDeploymentsRequest) GetParent() string

func (*ListApiDeploymentsRequest) ProtoMessage added in v0.3.6

func (*ListApiDeploymentsRequest) ProtoMessage()

func (*ListApiDeploymentsRequest) ProtoReflect added in v0.3.6

func (*ListApiDeploymentsRequest) Reset added in v0.3.6

func (x *ListApiDeploymentsRequest) Reset()

func (*ListApiDeploymentsRequest) String added in v0.3.6

func (x *ListApiDeploymentsRequest) String() string

type ListApiDeploymentsResponse added in v0.3.6

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 added in v0.3.6

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

Deprecated: Use ListApiDeploymentsResponse.ProtoReflect.Descriptor instead.

func (*ListApiDeploymentsResponse) GetApiDeployments added in v0.3.6

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

func (*ListApiDeploymentsResponse) GetNextPageToken added in v0.3.6

func (x *ListApiDeploymentsResponse) GetNextPageToken() string

func (*ListApiDeploymentsResponse) ProtoMessage added in v0.3.6

func (*ListApiDeploymentsResponse) ProtoMessage()

func (*ListApiDeploymentsResponse) ProtoReflect added in v0.3.6

func (*ListApiDeploymentsResponse) Reset added in v0.3.6

func (x *ListApiDeploymentsResponse) Reset()

func (*ListApiDeploymentsResponse) String added in v0.3.6

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"`
	// 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 ListApiSpecRevisions.

func (*ListApiSpecRevisionsRequest) Descriptor deprecated

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

Deprecated: Use ListApiSpecRevisionsRequest.ProtoReflect.Descriptor instead.

func (*ListApiSpecRevisionsRequest) GetFilter added in v0.5.7

func (x *ListApiSpecRevisionsRequest) GetFilter() string

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"`
	// A comma-separated list of fields, e.g. "foo,bar"
	// Fields can be sorted in descending order using the "desc" identifier, e.g. "foo desc,bar"
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,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) GetOrderBy added in v0.5.5

func (x *ListApiSpecsRequest) GetOrderBy() 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"`
	// A comma-separated list of fields, e.g. "foo,bar"
	// Fields can be sorted in descending order using the "desc" identifier, e.g. "foo desc,bar"
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,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) GetOrderBy added in v0.5.5

func (x *ListApiVersionsRequest) GetOrderBy() 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"`
	// A comma-separated list of fields, e.g. "foo,bar"
	// Fields can be sorted in descending order using the "desc" identifier, e.g. "foo desc,bar"
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,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) GetOrderBy added in v0.5.5

func (x *ListApisRequest) GetOrderBy() 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"`
	// A comma-separated list of fields, e.g. "foo,bar"
	// Fields can be sorted in descending order using the "desc" identifier, e.g. "foo desc,bar"
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,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) GetOrderBy added in v0.5.5

func (x *ListArtifactsRequest) GetOrderBy() 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 ListProjectsRequest

type ListProjectsRequest struct {

	// The maximum number of projects 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,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListProjects` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListProjects` must match
	// the call that provided the page token.
	PageToken string `protobuf:"bytes,2,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,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// A comma-separated list of fields, e.g. "foo,bar"
	// Fields can be sorted in descending order using the "desc" identifier, e.g. "foo desc,bar"
	OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListProjects. (-- api-linter: core::0132::request-parent-required=disabled

aip.dev/not-precedent: the parent of Project is implicit. --)

func (*ListProjectsRequest) Descriptor deprecated

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

Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.

func (*ListProjectsRequest) GetFilter

func (x *ListProjectsRequest) GetFilter() string

func (*ListProjectsRequest) GetOrderBy added in v0.5.5

func (x *ListProjectsRequest) GetOrderBy() string

func (*ListProjectsRequest) GetPageSize

func (x *ListProjectsRequest) GetPageSize() int32

func (*ListProjectsRequest) GetPageToken

func (x *ListProjectsRequest) GetPageToken() string

func (*ListProjectsRequest) ProtoMessage

func (*ListProjectsRequest) ProtoMessage()

func (*ListProjectsRequest) ProtoReflect

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

func (*ListProjectsRequest) Reset

func (x *ListProjectsRequest) Reset()

func (*ListProjectsRequest) String

func (x *ListProjectsRequest) String() string

type ListProjectsResponse

type ListProjectsResponse struct {

	// The projects from the specified publisher.
	Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,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 ListProjects.

func (*ListProjectsResponse) Descriptor deprecated

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

Deprecated: Use ListProjectsResponse.ProtoReflect.Descriptor instead.

func (*ListProjectsResponse) GetNextPageToken

func (x *ListProjectsResponse) GetNextPageToken() string

func (*ListProjectsResponse) GetProjects

func (x *ListProjectsResponse) GetProjects() []*Project

func (*ListProjectsResponse) ProtoMessage

func (*ListProjectsResponse) ProtoMessage()

func (*ListProjectsResponse) ProtoReflect

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

func (*ListProjectsResponse) Reset

func (x *ListProjectsResponse) Reset()

func (*ListProjectsResponse) String

func (x *ListProjectsResponse) String() string

type Manifest

type Manifest struct {

	// Artifact identifier. May be used in YAML representations to indicate the id
	// to be used to attach the artifact.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Artifact kind. May be used in YAML representations to identify the type of
	// this artifact.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// A human-friendly name for the manifest.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A more detailed description of the manifest.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// List of Generated resources.
	GeneratedResources []*GeneratedResource `protobuf:"bytes,5,rep,name=generated_resources,json=generatedResources,proto3" json:"generated_resources,omitempty"`
	// contains filtered or unexported fields
}

A Manifest represents a list of resources in a registry that should be automatically generated and updated in response to changes to their dependencies.

func (*Manifest) Descriptor deprecated

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

Deprecated: Use Manifest.ProtoReflect.Descriptor instead.

func (*Manifest) GetDescription added in v0.3.4

func (x *Manifest) GetDescription() string

func (*Manifest) GetDisplayName added in v0.3.4

func (x *Manifest) GetDisplayName() string

func (*Manifest) GetGeneratedResources

func (x *Manifest) GetGeneratedResources() []*GeneratedResource

func (*Manifest) GetId

func (x *Manifest) GetId() string

func (*Manifest) GetKind added in v0.3.4

func (x *Manifest) GetKind() string

func (*Manifest) ProtoMessage

func (*Manifest) ProtoMessage()

func (*Manifest) ProtoReflect

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

func (*Manifest) Reset

func (x *Manifest) Reset()

func (*Manifest) String

func (x *Manifest) String() string

type Map

type Map struct {

	// The entries in the map.
	Entries map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Map represents a map that can be serialized using Protocol Buffers. (-- api-linter: core::0123::resource-annotation=disabled

aip.dev/not-precedent: This message is not currently used in an API. --)

func (*Map) Descriptor deprecated

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

Deprecated: Use Map.ProtoReflect.Descriptor instead.

func (*Map) GetEntries

func (x *Map) GetEntries() map[string]string

func (*Map) ProtoMessage

func (*Map) ProtoMessage()

func (*Map) ProtoReflect

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

func (*Map) Reset

func (x *Map) Reset()

func (*Map) String

func (x *Map) String() string

type MigrateDatabaseMetadata added in v0.3.11

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

Metadata message for MigrateDatabase.

func (*MigrateDatabaseMetadata) Descriptor deprecated added in v0.3.11

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

Deprecated: Use MigrateDatabaseMetadata.ProtoReflect.Descriptor instead.

func (*MigrateDatabaseMetadata) ProtoMessage added in v0.3.11

func (*MigrateDatabaseMetadata) ProtoMessage()

func (*MigrateDatabaseMetadata) ProtoReflect added in v0.3.11

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

func (*MigrateDatabaseMetadata) Reset added in v0.3.11

func (x *MigrateDatabaseMetadata) Reset()

func (*MigrateDatabaseMetadata) String added in v0.3.11

func (x *MigrateDatabaseMetadata) String() string

type MigrateDatabaseRequest added in v0.3.11

type MigrateDatabaseRequest struct {

	// A string describing the kind of migration to perform.
	// Currently only "auto" is recognized (and is the default if omitted).
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

Request message for MigrateDatabase.

func (*MigrateDatabaseRequest) Descriptor deprecated added in v0.3.11

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

Deprecated: Use MigrateDatabaseRequest.ProtoReflect.Descriptor instead.

func (*MigrateDatabaseRequest) GetKind added in v0.3.11

func (x *MigrateDatabaseRequest) GetKind() string

func (*MigrateDatabaseRequest) ProtoMessage added in v0.3.11

func (*MigrateDatabaseRequest) ProtoMessage()

func (*MigrateDatabaseRequest) ProtoReflect added in v0.3.11

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

func (*MigrateDatabaseRequest) Reset added in v0.3.11

func (x *MigrateDatabaseRequest) Reset()

func (*MigrateDatabaseRequest) String added in v0.3.11

func (x *MigrateDatabaseRequest) String() string

type MigrateDatabaseResponse added in v0.3.11

type MigrateDatabaseResponse struct {

	// A string describing the result of the migration.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Response message for MigrateDatabase.

func (*MigrateDatabaseResponse) Descriptor deprecated added in v0.3.11

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

Deprecated: Use MigrateDatabaseResponse.ProtoReflect.Descriptor instead.

func (*MigrateDatabaseResponse) GetMessage added in v0.3.11

func (x *MigrateDatabaseResponse) GetMessage() string

func (*MigrateDatabaseResponse) ProtoMessage added in v0.3.11

func (*MigrateDatabaseResponse) ProtoMessage()

func (*MigrateDatabaseResponse) ProtoReflect added in v0.3.11

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

func (*MigrateDatabaseResponse) Reset added in v0.3.11

func (x *MigrateDatabaseResponse) Reset()

func (*MigrateDatabaseResponse) String added in v0.3.11

func (x *MigrateDatabaseResponse) String() string

type Notification

type Notification struct {

	// The type of change made to the registry.
	Change Notification_Change `protobuf:"varint,1,opt,name=change,proto3,enum=google.cloud.apigeeregistry.v1.Notification_Change" json:"change,omitempty"`
	// The resource affected by the change.
	Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// The time of the event.
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// contains filtered or unexported fields
}

Notifications are sent to subscribers who follow registry activity.

func (*Notification) Descriptor deprecated

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

Deprecated: Use Notification.ProtoReflect.Descriptor instead.

func (*Notification) GetChange

func (x *Notification) GetChange() Notification_Change

func (*Notification) GetChangeTime

func (x *Notification) GetChangeTime() *timestamppb.Timestamp

func (*Notification) GetResource

func (x *Notification) GetResource() string

func (*Notification) ProtoMessage

func (*Notification) ProtoMessage()

func (*Notification) ProtoReflect

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

func (*Notification) Reset

func (x *Notification) Reset()

func (*Notification) String

func (x *Notification) String() string

type Notification_Change

type Notification_Change int32

Types of changes that can be made to the registry.

const (
	// The default / unset value.
	Notification_CHANGE_UNSPECIFIED Notification_Change = 0
	// A resource was created.
	Notification_CREATED Notification_Change = 1
	// A resource was updated.
	Notification_UPDATED Notification_Change = 2
	// A resource was deleted.
	Notification_DELETED Notification_Change = 3
)

func (Notification_Change) Descriptor

func (Notification_Change) Enum

func (Notification_Change) EnumDescriptor deprecated

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

Deprecated: Use Notification_Change.Descriptor instead.

func (Notification_Change) Number

func (Notification_Change) String

func (x Notification_Change) String() string

func (Notification_Change) Type

type NumberThreshold added in v0.4.6

type NumberThreshold struct {

	// Represents the severity level of the value of the score.
	Severity Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=google.cloud.apigeeregistry.v1.scoring.Severity" json:"severity,omitempty"`
	// The boundaries specified in this field will be included in the mentioned
	// severity level. For examples see: PercentType, IntegerType.
	Range *NumberThreshold_NumberRange `protobuf:"bytes,2,opt,name=range,proto3" json:"range,omitempty"`
	// contains filtered or unexported fields
}

Represents the threshold to associate a numeric score value with a particular severity level.

func (*NumberThreshold) Descriptor deprecated added in v0.4.6

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

Deprecated: Use NumberThreshold.ProtoReflect.Descriptor instead.

func (*NumberThreshold) GetRange added in v0.4.6

func (*NumberThreshold) GetSeverity added in v0.4.6

func (x *NumberThreshold) GetSeverity() Severity

func (*NumberThreshold) ProtoMessage added in v0.4.6

func (*NumberThreshold) ProtoMessage()

func (*NumberThreshold) ProtoReflect added in v0.4.6

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

func (*NumberThreshold) Reset added in v0.4.6

func (x *NumberThreshold) Reset()

func (*NumberThreshold) String added in v0.4.6

func (x *NumberThreshold) String() string

type NumberThreshold_NumberRange added in v0.4.6

type NumberThreshold_NumberRange struct {
	Min int32 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"`
	Max int32 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*NumberThreshold_NumberRange) Descriptor deprecated added in v0.4.6

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

Deprecated: Use NumberThreshold_NumberRange.ProtoReflect.Descriptor instead.

func (*NumberThreshold_NumberRange) GetMax added in v0.4.6

func (x *NumberThreshold_NumberRange) GetMax() int32

func (*NumberThreshold_NumberRange) GetMin added in v0.4.6

func (x *NumberThreshold_NumberRange) GetMin() int32

func (*NumberThreshold_NumberRange) ProtoMessage added in v0.4.6

func (*NumberThreshold_NumberRange) ProtoMessage()

func (*NumberThreshold_NumberRange) ProtoReflect added in v0.4.6

func (*NumberThreshold_NumberRange) Reset added in v0.4.6

func (x *NumberThreshold_NumberRange) Reset()

func (*NumberThreshold_NumberRange) String added in v0.4.6

func (x *NumberThreshold_NumberRange) String() string

type OperationMetadata added in v0.5.1

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 added in v0.5.1

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

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion added in v0.5.1

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCancellationRequested added in v0.5.1

func (x *OperationMetadata) GetCancellationRequested() bool

func (*OperationMetadata) GetCreateTime added in v0.5.1

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

func (*OperationMetadata) GetEndTime added in v0.5.1

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

func (*OperationMetadata) GetStatusMessage added in v0.5.1

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget added in v0.5.1

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb added in v0.5.1

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage added in v0.5.1

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect added in v0.5.1

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

func (*OperationMetadata) Reset added in v0.5.1

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String added in v0.5.1

func (x *OperationMetadata) String() string

type PercentType added in v0.4.6

type PercentType struct {

	// Represents the thresholds for severity of this type of score.
	// Examples of thresholds:
	// For scores where low value is of concern.
	//
	//	thresholds = []Threshold{
	//	  {
	//	    severity: Severity.ALERT,
	//	    range: NumberRange{ min: 0, max: 30},
	//	  },
	//	  {
	//	    severity: Severity.WARNING,
	//	    range: NumberRange{ min: 31, max: 70},
	//	  },
	//	  { severity: Severity.OK,
	//	    range: NumberRange{ min: 71, max: 100},
	//	  },
	//	}
	//
	// For scores where high value is of concern.
	//
	//	thresholds = []Threshold{
	//	  {
	//	    severity: Severity.ALERT,
	//	    range: NumberRange{ min: 61, max: 100},
	//	  },
	//	  {
	//	    severity: Severity.WARNING,
	//	    range: NumberRange{ min: 31, max: 60},
	//	  },
	//	  { severity: Severity.OK,
	//	    range: NumberRange{ min: 0, max: 30},
	//	  },
	//	}
	Thresholds []*NumberThreshold `protobuf:"bytes,1,rep,name=thresholds,proto3" json:"thresholds,omitempty"`
	// contains filtered or unexported fields
}

Represents a percentage score type.

func (*PercentType) Descriptor deprecated added in v0.4.6

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

Deprecated: Use PercentType.ProtoReflect.Descriptor instead.

func (*PercentType) GetThresholds added in v0.4.6

func (x *PercentType) GetThresholds() []*NumberThreshold

func (*PercentType) ProtoMessage added in v0.4.6

func (*PercentType) ProtoMessage()

func (*PercentType) ProtoReflect added in v0.4.6

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

func (*PercentType) Reset added in v0.4.6

func (x *PercentType) Reset()

func (*PercentType) String added in v0.4.6

func (x *PercentType) String() string

type PercentValue added in v0.4.6

type PercentValue struct {

	// Stores the value of score.
	Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Represents the score which is a percentage.

func (*PercentValue) Descriptor deprecated added in v0.4.6

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

Deprecated: Use PercentValue.ProtoReflect.Descriptor instead.

func (*PercentValue) GetValue added in v0.4.6

func (x *PercentValue) GetValue() float32

func (*PercentValue) ProtoMessage added in v0.4.6

func (*PercentValue) ProtoMessage()

func (*PercentValue) ProtoReflect added in v0.4.6

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

func (*PercentValue) Reset added in v0.4.6

func (x *PercentValue) Reset()

func (*PercentValue) String added in v0.4.6

func (x *PercentValue) String() string

type Project

type Project 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"`
	// Creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Last update timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

A Project is a top-level description of a collection of APIs. Typically there would be one project for an entire organization. Note: in a Google Cloud deployment, this resource and associated methods will be omitted and its children will instead be associated with Google Cloud projects.

func (*Project) Descriptor deprecated

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

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetCreateTime

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

func (*Project) GetDescription

func (x *Project) GetDescription() string

func (*Project) GetDisplayName

func (x *Project) GetDisplayName() string

func (*Project) GetName

func (x *Project) GetName() string

func (*Project) GetUpdateTime

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

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

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

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

type ProvisioningClient added in v0.5.1

type ProvisioningClient interface {
	// Provisions instance resources for the Registry.
	CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deletes the Registry instance.
	DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewProvisioningClient added in v0.5.1

func NewProvisioningClient(cc grpc.ClientConnInterface) ProvisioningClient

type ProvisioningServer added in v0.5.1

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

ProvisioningServer is the server API for Provisioning service. All implementations must embed UnimplementedProvisioningServer for forward compatibility

type Receipt

type Receipt struct {

	// Artifact identifier. May be used in YAML representations to indicate the id
	// to be used to attach the artifact.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Artifact kind. May be used in YAML representations to identify the type of
	// this artifact.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// A human-friendly name for the receipt.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A more detailed description of the receipt.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Action whose receipt is stored as an artifact.
	Action string `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"`
	// If appropriate, a URI of the result of the action.
	ResultUri string `protobuf:"bytes,6,opt,name=result_uri,json=resultUri,proto3" json:"result_uri,omitempty"`
	// contains filtered or unexported fields
}

Stores the receipt of an external action, which does not store any direct artifacts in the registry.

func (*Receipt) Descriptor deprecated

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

Deprecated: Use Receipt.ProtoReflect.Descriptor instead.

func (*Receipt) GetAction

func (x *Receipt) GetAction() string

func (*Receipt) GetDescription added in v0.3.4

func (x *Receipt) GetDescription() string

func (*Receipt) GetDisplayName added in v0.3.4

func (x *Receipt) GetDisplayName() string

func (*Receipt) GetId added in v0.3.4

func (x *Receipt) GetId() string

func (*Receipt) GetKind added in v0.3.4

func (x *Receipt) GetKind() string

func (*Receipt) GetResultUri added in v0.3.4

func (x *Receipt) GetResultUri() string

func (*Receipt) ProtoMessage

func (*Receipt) ProtoMessage()

func (*Receipt) ProtoReflect

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

func (*Receipt) Reset

func (x *Receipt) Reset()

func (*Receipt) String

func (x *Receipt) String() string

type ReferenceList added in v0.4.5

type ReferenceList struct {

	// Artifact identifier. May be used in YAML representations to indicate the id
	// to be used to attach the artifact.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Artifact kind. May be used in YAML representations to identify the type of
	// this artifact.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// A human-friendly name for the reference list.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A more detailed description of the reference list.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// The list of references for the resource.
	References []*ReferenceList_Reference `protobuf:"bytes,6,rep,name=references,proto3" json:"references,omitempty"`
	// contains filtered or unexported fields
}

A ReferenceList message contains a list of references that are associated with a resource. A Reference is a categorized resource name or URI that points to some internal or external resource, respectively.

ReferenceLists are used to define relationships to things like source code repositories, dependencies, and dependent APIs (inverse relationship of an API dependency).

The ReferenceList is stored as an Artifact attached to a specific resource.

func (*ReferenceList) Descriptor deprecated added in v0.4.5

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

Deprecated: Use ReferenceList.ProtoReflect.Descriptor instead.

func (*ReferenceList) GetDescription added in v0.4.5

func (x *ReferenceList) GetDescription() string

func (*ReferenceList) GetDisplayName added in v0.4.5

func (x *ReferenceList) GetDisplayName() string

func (*ReferenceList) GetId added in v0.4.5

func (x *ReferenceList) GetId() string

func (*ReferenceList) GetKind added in v0.4.5

func (x *ReferenceList) GetKind() string

func (*ReferenceList) GetReferences added in v0.4.5

func (x *ReferenceList) GetReferences() []*ReferenceList_Reference

func (*ReferenceList) ProtoMessage added in v0.4.5

func (*ReferenceList) ProtoMessage()

func (*ReferenceList) ProtoReflect added in v0.4.5

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

func (*ReferenceList) Reset added in v0.4.5

func (x *ReferenceList) Reset()

func (*ReferenceList) String added in v0.4.5

func (x *ReferenceList) String() string

type ReferenceList_Reference added in v0.4.5

type ReferenceList_Reference struct {

	// The id of the reference.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// A human-friendly name for the reference.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// An optional string used to categorize the reference.
	Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
	// A resource name [AIP-122] for the item being referenced.
	// At least one of resource and uri must be set. Resource takes precedent
	// over uri in API hub.
	Resource string `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"`
	// A URI [RFC-3986] for the item being referenced.
	// At least one of resource and uri must be set. Resource takes precedent
	// over uri in API hub.
	Uri string `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

Represents a single reference for a resource.

func (*ReferenceList_Reference) Descriptor deprecated added in v0.4.5

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

Deprecated: Use ReferenceList_Reference.ProtoReflect.Descriptor instead.

func (*ReferenceList_Reference) GetCategory added in v0.4.5

func (x *ReferenceList_Reference) GetCategory() string

func (*ReferenceList_Reference) GetDisplayName added in v0.4.5

func (x *ReferenceList_Reference) GetDisplayName() string

func (*ReferenceList_Reference) GetId added in v0.4.5

func (x *ReferenceList_Reference) GetId() string

func (*ReferenceList_Reference) GetResource added in v0.4.5

func (x *ReferenceList_Reference) GetResource() string

func (*ReferenceList_Reference) GetUri added in v0.4.5

func (x *ReferenceList_Reference) GetUri() string

func (*ReferenceList_Reference) ProtoMessage added in v0.4.5

func (*ReferenceList_Reference) ProtoMessage()

func (*ReferenceList_Reference) ProtoReflect added in v0.4.5

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

func (*ReferenceList_Reference) Reset added in v0.4.5

func (x *ReferenceList_Reference) Reset()

func (*ReferenceList_Reference) String added in v0.4.5

func (x *ReferenceList_Reference) String() string

type RegistryClient

type RegistryClient interface {
	// ListApis returns matching APIs.
	ListApis(ctx context.Context, in *ListApisRequest, opts ...grpc.CallOption) (*ListApisResponse, error)
	// GetApi returns a specified API.
	GetApi(ctx context.Context, in *GetApiRequest, opts ...grpc.CallOption) (*Api, error)
	// CreateApi creates a specified API.
	CreateApi(ctx context.Context, in *CreateApiRequest, opts ...grpc.CallOption) (*Api, error)
	// UpdateApi can be used to modify a specified API.
	UpdateApi(ctx context.Context, in *UpdateApiRequest, opts ...grpc.CallOption) (*Api, error)
	// DeleteApi removes a specified API and all of the resources that it
	// owns.
	DeleteApi(ctx context.Context, in *DeleteApiRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// ListApiVersions returns matching versions.
	ListApiVersions(ctx context.Context, in *ListApiVersionsRequest, opts ...grpc.CallOption) (*ListApiVersionsResponse, error)
	// GetApiVersion returns a specified version.
	GetApiVersion(ctx context.Context, in *GetApiVersionRequest, opts ...grpc.CallOption) (*ApiVersion, error)
	// CreateApiVersion creates a specified version.
	CreateApiVersion(ctx context.Context, in *CreateApiVersionRequest, opts ...grpc.CallOption) (*ApiVersion, error)
	// UpdateApiVersion can be used to modify a specified version.
	UpdateApiVersion(ctx context.Context, in *UpdateApiVersionRequest, opts ...grpc.CallOption) (*ApiVersion, error)
	// DeleteApiVersion removes a specified version and all of the resources that
	// it owns.
	DeleteApiVersion(ctx context.Context, in *DeleteApiVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// ListApiSpecs returns matching specs.
	ListApiSpecs(ctx context.Context, in *ListApiSpecsRequest, opts ...grpc.CallOption) (*ListApiSpecsResponse, error)
	// GetApiSpec returns a specified spec.
	GetApiSpec(ctx context.Context, in *GetApiSpecRequest, opts ...grpc.CallOption) (*ApiSpec, error)
	// GetApiSpecContents 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)
	// CreateApiSpec creates a specified spec.
	CreateApiSpec(ctx context.Context, in *CreateApiSpecRequest, opts ...grpc.CallOption) (*ApiSpec, error)
	// UpdateApiSpec can be used to modify a specified spec.
	UpdateApiSpec(ctx context.Context, in *UpdateApiSpecRequest, opts ...grpc.CallOption) (*ApiSpec, error)
	// DeleteApiSpec 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)
	// TagApiSpecRevision adds a tag to a specified revision of a spec.
	TagApiSpecRevision(ctx context.Context, in *TagApiSpecRevisionRequest, opts ...grpc.CallOption) (*ApiSpec, error)
	// ListApiSpecRevisions 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)
	// RollbackApiSpec 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)
	// DeleteApiSpecRevision deletes a revision of a spec.
	DeleteApiSpecRevision(ctx context.Context, in *DeleteApiSpecRevisionRequest, opts ...grpc.CallOption) (*ApiSpec, error)
	// ListApiDeployments returns matching deployments.
	ListApiDeployments(ctx context.Context, in *ListApiDeploymentsRequest, opts ...grpc.CallOption) (*ListApiDeploymentsResponse, error)
	// GetApiDeployment returns a specified deployment.
	GetApiDeployment(ctx context.Context, in *GetApiDeploymentRequest, opts ...grpc.CallOption) (*ApiDeployment, error)
	// CreateApiDeployment creates a specified deployment.
	CreateApiDeployment(ctx context.Context, in *CreateApiDeploymentRequest, opts ...grpc.CallOption) (*ApiDeployment, error)
	// UpdateApiDeployment can be used to modify a specified deployment.
	UpdateApiDeployment(ctx context.Context, in *UpdateApiDeploymentRequest, opts ...grpc.CallOption) (*ApiDeployment, error)
	// DeleteApiDeployment 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)
	// TagApiDeploymentRevision adds a tag to a specified revision of a
	// deployment.
	TagApiDeploymentRevision(ctx context.Context, in *TagApiDeploymentRevisionRequest, opts ...grpc.CallOption) (*ApiDeployment, error)
	// ListApiDeploymentRevisions 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)
	// RollbackApiDeployment 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)
	// DeleteApiDeploymentRevision deletes a revision of a deployment.
	DeleteApiDeploymentRevision(ctx context.Context, in *DeleteApiDeploymentRevisionRequest, opts ...grpc.CallOption) (*ApiDeployment, error)
	// ListArtifacts returns matching artifacts.
	ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error)
	// GetArtifact returns a specified artifact.
	GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*Artifact, error)
	// GetArtifactContents 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)
	// CreateArtifact creates a specified artifact.
	CreateArtifact(ctx context.Context, in *CreateArtifactRequest, opts ...grpc.CallOption) (*Artifact, error)
	// ReplaceArtifact can be used to replace a specified artifact.
	ReplaceArtifact(ctx context.Context, in *ReplaceArtifactRequest, opts ...grpc.CallOption) (*Artifact, error)
	// DeleteArtifact 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewRegistryClient

func NewRegistryClient(cc grpc.ClientConnInterface) RegistryClient

type RegistryServer

type RegistryServer interface {
	// ListApis returns matching APIs.
	ListApis(context.Context, *ListApisRequest) (*ListApisResponse, error)
	// GetApi returns a specified API.
	GetApi(context.Context, *GetApiRequest) (*Api, error)
	// CreateApi creates a specified API.
	CreateApi(context.Context, *CreateApiRequest) (*Api, error)
	// UpdateApi can be used to modify a specified API.
	UpdateApi(context.Context, *UpdateApiRequest) (*Api, error)
	// DeleteApi removes a specified API and all of the resources that it
	// owns.
	DeleteApi(context.Context, *DeleteApiRequest) (*emptypb.Empty, error)
	// ListApiVersions returns matching versions.
	ListApiVersions(context.Context, *ListApiVersionsRequest) (*ListApiVersionsResponse, error)
	// GetApiVersion returns a specified version.
	GetApiVersion(context.Context, *GetApiVersionRequest) (*ApiVersion, error)
	// CreateApiVersion creates a specified version.
	CreateApiVersion(context.Context, *CreateApiVersionRequest) (*ApiVersion, error)
	// UpdateApiVersion can be used to modify a specified version.
	UpdateApiVersion(context.Context, *UpdateApiVersionRequest) (*ApiVersion, error)
	// DeleteApiVersion removes a specified version and all of the resources that
	// it owns.
	DeleteApiVersion(context.Context, *DeleteApiVersionRequest) (*emptypb.Empty, error)
	// ListApiSpecs returns matching specs.
	ListApiSpecs(context.Context, *ListApiSpecsRequest) (*ListApiSpecsResponse, error)
	// GetApiSpec returns a specified spec.
	GetApiSpec(context.Context, *GetApiSpecRequest) (*ApiSpec, error)
	// GetApiSpecContents 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)
	// CreateApiSpec creates a specified spec.
	CreateApiSpec(context.Context, *CreateApiSpecRequest) (*ApiSpec, error)
	// UpdateApiSpec can be used to modify a specified spec.
	UpdateApiSpec(context.Context, *UpdateApiSpecRequest) (*ApiSpec, error)
	// DeleteApiSpec removes a specified spec, all revisions, and all child
	// resources (e.g. artifacts).
	DeleteApiSpec(context.Context, *DeleteApiSpecRequest) (*emptypb.Empty, error)
	// TagApiSpecRevision adds a tag to a specified revision of a spec.
	TagApiSpecRevision(context.Context, *TagApiSpecRevisionRequest) (*ApiSpec, error)
	// ListApiSpecRevisions lists all revisions of a spec.
	// Revisions are returned in descending order of revision creation time.
	ListApiSpecRevisions(context.Context, *ListApiSpecRevisionsRequest) (*ListApiSpecRevisionsResponse, error)
	// RollbackApiSpec 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)
	// DeleteApiSpecRevision deletes a revision of a spec.
	DeleteApiSpecRevision(context.Context, *DeleteApiSpecRevisionRequest) (*ApiSpec, error)
	// ListApiDeployments returns matching deployments.
	ListApiDeployments(context.Context, *ListApiDeploymentsRequest) (*ListApiDeploymentsResponse, error)
	// GetApiDeployment returns a specified deployment.
	GetApiDeployment(context.Context, *GetApiDeploymentRequest) (*ApiDeployment, error)
	// CreateApiDeployment creates a specified deployment.
	CreateApiDeployment(context.Context, *CreateApiDeploymentRequest) (*ApiDeployment, error)
	// UpdateApiDeployment can be used to modify a specified deployment.
	UpdateApiDeployment(context.Context, *UpdateApiDeploymentRequest) (*ApiDeployment, error)
	// DeleteApiDeployment removes a specified deployment, all revisions, and all
	// child resources (e.g. artifacts).
	DeleteApiDeployment(context.Context, *DeleteApiDeploymentRequest) (*emptypb.Empty, error)
	// TagApiDeploymentRevision adds a tag to a specified revision of a
	// deployment.
	TagApiDeploymentRevision(context.Context, *TagApiDeploymentRevisionRequest) (*ApiDeployment, error)
	// ListApiDeploymentRevisions lists all revisions of a deployment.
	// Revisions are returned in descending order of revision creation time.
	ListApiDeploymentRevisions(context.Context, *ListApiDeploymentRevisionsRequest) (*ListApiDeploymentRevisionsResponse, error)
	// RollbackApiDeployment 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)
	// DeleteApiDeploymentRevision deletes a revision of a deployment.
	DeleteApiDeploymentRevision(context.Context, *DeleteApiDeploymentRevisionRequest) (*ApiDeployment, error)
	// ListArtifacts returns matching artifacts.
	ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error)
	// GetArtifact returns a specified artifact.
	GetArtifact(context.Context, *GetArtifactRequest) (*Artifact, error)
	// GetArtifactContents 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)
	// CreateArtifact creates a specified artifact.
	CreateArtifact(context.Context, *CreateArtifactRequest) (*Artifact, error)
	// ReplaceArtifact can be used to replace a specified artifact.
	ReplaceArtifact(context.Context, *ReplaceArtifactRequest) (*Artifact, error)
	// DeleteArtifact removes a specified artifact.
	DeleteArtifact(context.Context, *DeleteArtifactRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

RegistryServer is the server API for Registry service. All implementations must embed UnimplementedRegistryServer for forward compatibility

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 ResourcePattern added in v0.4.6

type ResourcePattern struct {

	// A pattern that specifies a resource.
	// This can specify one particular resource or a group of resources.
	// Format:
	//
	//	apis/{api}/versions/{version}/specs/{spec}/artifacts/{artifact}
	//	apis/-/versions/-/specs/-/artifacts/-
	Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
	// A filter expression that limits the resources that match the pattern.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Represents a pattern to identify resources in the registry.

func (*ResourcePattern) Descriptor deprecated added in v0.4.6

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

Deprecated: Use ResourcePattern.ProtoReflect.Descriptor instead.

func (*ResourcePattern) GetFilter added in v0.4.6

func (x *ResourcePattern) GetFilter() string

func (*ResourcePattern) GetPattern added in v0.4.6

func (x *ResourcePattern) GetPattern() string

func (*ResourcePattern) ProtoMessage added in v0.4.6

func (*ResourcePattern) ProtoMessage()

func (*ResourcePattern) ProtoReflect added in v0.4.6

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

func (*ResourcePattern) Reset added in v0.4.6

func (x *ResourcePattern) Reset()

func (*ResourcePattern) String added in v0.4.6

func (x *ResourcePattern) String() string

type RollUpFormula added in v0.4.6

type RollUpFormula struct {

	// Extracts scores from multiple artifacts to be rolled up into a single
	// value. While using this, it is necessary that ScoreFormulas have defined
	// values for their reference_ids.
	ScoreFormulas []*ScoreFormula `protobuf:"bytes,1,rep,name=score_formulas,json=scoreFormulas,proto3" json:"score_formulas,omitempty"`
	// A CEL expression which rolls up all the scores into a single value.
	// Uses reference_ids of score_expr in the expression.
	RollupExpression string `protobuf:"bytes,2,opt,name=rollup_expression,json=rollupExpression,proto3" json:"rollup_expression,omitempty"`
	// contains filtered or unexported fields
}

Represents how multiple scores will be derived from the result artifacts and rolled up into a single value.

func (*RollUpFormula) Descriptor deprecated added in v0.4.6

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

Deprecated: Use RollUpFormula.ProtoReflect.Descriptor instead.

func (*RollUpFormula) GetRollupExpression added in v0.4.6

func (x *RollUpFormula) GetRollupExpression() string

func (*RollUpFormula) GetScoreFormulas added in v0.4.6

func (x *RollUpFormula) GetScoreFormulas() []*ScoreFormula

func (*RollUpFormula) ProtoMessage added in v0.4.6

func (*RollUpFormula) ProtoMessage()

func (*RollUpFormula) ProtoReflect added in v0.4.6

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

func (*RollUpFormula) Reset added in v0.4.6

func (x *RollUpFormula) Reset()

func (*RollUpFormula) String added in v0.4.6

func (x *RollUpFormula) String() string

type RollbackApiDeploymentRequest added in v0.3.6

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 added in v0.3.6

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

Deprecated: Use RollbackApiDeploymentRequest.ProtoReflect.Descriptor instead.

func (*RollbackApiDeploymentRequest) GetName added in v0.3.6

func (x *RollbackApiDeploymentRequest) GetName() string

func (*RollbackApiDeploymentRequest) GetRevisionId added in v0.3.6

func (x *RollbackApiDeploymentRequest) GetRevisionId() string

func (*RollbackApiDeploymentRequest) ProtoMessage added in v0.3.6

func (*RollbackApiDeploymentRequest) ProtoMessage()

func (*RollbackApiDeploymentRequest) ProtoReflect added in v0.3.6

func (*RollbackApiDeploymentRequest) Reset added in v0.3.6

func (x *RollbackApiDeploymentRequest) Reset()

func (*RollbackApiDeploymentRequest) String added in v0.3.6

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 Rule

type Rule struct {

	// Identifier of the rule.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Human-meaningful name of the rule.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A detailed description of the rule.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Name of the linter that enforces this rule.
	Linter string `protobuf:"bytes,4,opt,name=linter,proto3" json:"linter,omitempty"`
	// Name of the rule on the linter that enforces it.
	LinterRulename string `protobuf:"bytes,5,opt,name=linter_rulename,json=linterRulename,proto3" json:"linter_rulename,omitempty"`
	// Severity of violating this rule.
	Severity Rule_Severity `` /* 126-byte string literal not displayed */
	// A link to additional documentation relating to this rule.
	DocUri string `protobuf:"bytes,7,opt,name=doc_uri,json=docUri,proto3" json:"doc_uri,omitempty"`
	// contains filtered or unexported fields
}

Rule is a specific design rule that can be applied to an API spec, and is enforced by a specified linter.

func (*Rule) Descriptor deprecated

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

Deprecated: Use Rule.ProtoReflect.Descriptor instead.

func (*Rule) GetDescription

func (x *Rule) GetDescription() string

func (*Rule) GetDisplayName

func (x *Rule) GetDisplayName() string

func (*Rule) GetDocUri

func (x *Rule) GetDocUri() string

func (*Rule) GetId

func (x *Rule) GetId() string

func (*Rule) GetLinter

func (x *Rule) GetLinter() string

func (*Rule) GetLinterRulename

func (x *Rule) GetLinterRulename() string

func (*Rule) GetSeverity

func (x *Rule) GetSeverity() Rule_Severity

func (*Rule) ProtoMessage

func (*Rule) ProtoMessage()

func (*Rule) ProtoReflect

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

func (*Rule) Reset

func (x *Rule) Reset()

func (*Rule) String

func (x *Rule) String() string

type RuleReport

type RuleReport struct {

	// ID of the rule that the spec breaches.
	RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	// Resource name of the spec that the rule was breached on.
	Spec string `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// File name of the spec that the rule was breached on.
	File string `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"`
	// A suggestion for resolving the problem.
	Suggestion string `protobuf:"bytes,4,opt,name=suggestion,proto3" json:"suggestion,omitempty"`
	// The location of the problem in the spec file.
	Location *LintLocation `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
	// Human-meaningful name of the breached rule.
	DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A detailed description of the breached rule.
	Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	// A link to additional documentation relating to the breached rule.
	DocUri string `protobuf:"bytes,8,opt,name=doc_uri,json=docUri,proto3" json:"doc_uri,omitempty"`
	// contains filtered or unexported fields
}

RuleReport provides information and feedback on a rule that a spec breaches within a guideline on an API Style Guide.

func (*RuleReport) Descriptor deprecated

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

Deprecated: Use RuleReport.ProtoReflect.Descriptor instead.

func (*RuleReport) GetDescription added in v0.5.5

func (x *RuleReport) GetDescription() string

func (*RuleReport) GetDisplayName added in v0.5.5

func (x *RuleReport) GetDisplayName() string

func (*RuleReport) GetDocUri added in v0.5.5

func (x *RuleReport) GetDocUri() string

func (*RuleReport) GetFile added in v0.5.3

func (x *RuleReport) GetFile() string

func (*RuleReport) GetLocation

func (x *RuleReport) GetLocation() *LintLocation

func (*RuleReport) GetRuleId added in v0.3.9

func (x *RuleReport) GetRuleId() string

func (*RuleReport) GetSpec added in v0.5.3

func (x *RuleReport) GetSpec() string

func (*RuleReport) GetSuggestion

func (x *RuleReport) GetSuggestion() string

func (*RuleReport) ProtoMessage

func (*RuleReport) ProtoMessage()

func (*RuleReport) ProtoReflect

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

func (*RuleReport) Reset

func (x *RuleReport) Reset()

func (*RuleReport) String

func (x *RuleReport) String() string

type RuleReportGroup

type RuleReportGroup struct {

	// Severity of the rules in this report group.
	Severity Rule_Severity `` /* 126-byte string literal not displayed */
	// A list of rule reports.
	RuleReports []*RuleReport `protobuf:"bytes,2,rep,name=rule_reports,json=ruleReports,proto3" json:"rule_reports,omitempty"`
	// contains filtered or unexported fields
}

RuleReportGroup is an abstraction that maps severity (ERROR WARNING, INFO, HINT) to a list of rule reports for rules of that severity.

func (*RuleReportGroup) Descriptor deprecated

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

Deprecated: Use RuleReportGroup.ProtoReflect.Descriptor instead.

func (*RuleReportGroup) GetRuleReports

func (x *RuleReportGroup) GetRuleReports() []*RuleReport

func (*RuleReportGroup) GetSeverity

func (x *RuleReportGroup) GetSeverity() Rule_Severity

func (*RuleReportGroup) ProtoMessage

func (*RuleReportGroup) ProtoMessage()

func (*RuleReportGroup) ProtoReflect

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

func (*RuleReportGroup) Reset

func (x *RuleReportGroup) Reset()

func (*RuleReportGroup) String

func (x *RuleReportGroup) String() string

type Rule_Severity

type Rule_Severity int32

Possible severities for the violation of a rule.

const (
	// The default value, unused.
	Rule_SEVERITY_UNSPECIFIED Rule_Severity = 0
	// Violation of the rule is an error that must be fixed.
	Rule_ERROR Rule_Severity = 1
	// Violation of the rule is a pattern that is wrong,
	// and should be warned about.
	Rule_WARNING Rule_Severity = 2
	// Violation of the rule is not necessarily a bad pattern
	// or error, but information the user should be aware of.
	Rule_INFO Rule_Severity = 3
	// Violation of the rule is a hint that is provided to
	// the user to fix their spec's design.
	Rule_HINT Rule_Severity = 4
)

func (Rule_Severity) Descriptor

func (Rule_Severity) Enum

func (x Rule_Severity) Enum() *Rule_Severity

func (Rule_Severity) EnumDescriptor deprecated

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

Deprecated: Use Rule_Severity.Descriptor instead.

func (Rule_Severity) Number

func (Rule_Severity) String

func (x Rule_Severity) String() string

func (Rule_Severity) Type

type Score added in v0.4.6

type Score struct {

	// Artifact identifier. This will be auto-generated based on the id of the
	// ScoreDefinition used to calculate this.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Artifact kind. May be used in YAML representations to identify the type of
	// this artifact.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// A human-friendly name for the score (populated from ScoreDefinition).
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A more detailed description of the score (populated from ScoreDefinition).
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// A Uri which points to an explanation of the formula used here.
	Uri string `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"`
	// A human-friendly name to display the uri.
	UriDisplayName string `protobuf:"bytes,6,opt,name=uri_display_name,json=uriDisplayName,proto3" json:"uri_display_name,omitempty"`
	// Full resource name of the ScoreDefinition artifact which was used
	// to generate this score.
	DefinitionName string `protobuf:"bytes,7,opt,name=definition_name,json=definitionName,proto3" json:"definition_name,omitempty"`
	// Stores the severity associated with the score value.
	Severity Severity `protobuf:"varint,8,opt,name=severity,proto3,enum=google.cloud.apigeeregistry.v1.scoring.Severity" json:"severity,omitempty"`
	// Stores the actual score of a particular resource.
	//
	// Types that are assignable to Value:
	//
	//	*Score_PercentValue
	//	*Score_IntegerValue
	//	*Score_BooleanValue
	Value isScore_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

Stores the score for a resource. Stored as an artifact against the resource whose score it represents.

func (*Score) Descriptor deprecated added in v0.4.6

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

Deprecated: Use Score.ProtoReflect.Descriptor instead.

func (*Score) GetBooleanValue added in v0.4.6

func (x *Score) GetBooleanValue() *BooleanValue

func (*Score) GetDefinitionName added in v0.4.6

func (x *Score) GetDefinitionName() string

func (*Score) GetDescription added in v0.4.6

func (x *Score) GetDescription() string

func (*Score) GetDisplayName added in v0.4.6

func (x *Score) GetDisplayName() string

func (*Score) GetId added in v0.4.6

func (x *Score) GetId() string

func (*Score) GetIntegerValue added in v0.4.6

func (x *Score) GetIntegerValue() *IntegerValue

func (*Score) GetKind added in v0.4.6

func (x *Score) GetKind() string

func (*Score) GetPercentValue added in v0.4.6

func (x *Score) GetPercentValue() *PercentValue

func (*Score) GetSeverity added in v0.4.6

func (x *Score) GetSeverity() Severity

func (*Score) GetUri added in v0.4.6

func (x *Score) GetUri() string

func (*Score) GetUriDisplayName added in v0.4.6

func (x *Score) GetUriDisplayName() string

func (*Score) GetValue added in v0.4.6

func (m *Score) GetValue() isScore_Value

func (*Score) ProtoMessage added in v0.4.6

func (*Score) ProtoMessage()

func (*Score) ProtoReflect added in v0.4.6

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

func (*Score) Reset added in v0.4.6

func (x *Score) Reset()

func (*Score) String added in v0.4.6

func (x *Score) String() string

type ScoreCard added in v0.4.6

type ScoreCard struct {

	// Artifact identifier. This will be auto-generated based on the id of the
	// ScoreCardDefinition used to calculate this.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Artifact kind. May be used in YAML representations to identify the type of
	// this artifact.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// A human-friendly name for the score (populated from ScoreCardDefinition).
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A more detailed description of the score
	// (populated from ScoreCardDefinition).
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Full resource name of the ScoreCardDefinition artifact which was used
	// to generate this score.
	DefinitionName string `protobuf:"bytes,5,opt,name=definition_name,json=definitionName,proto3" json:"definition_name,omitempty"`
	// The Scores which are included in this ScoreCard.
	Scores []*Score `protobuf:"bytes,6,rep,name=scores,proto3" json:"scores,omitempty"`
	// contains filtered or unexported fields
}

Stores the scorecard for a resource. Stored as an artifact against the resource whose scorecard it represents.

func (*ScoreCard) Descriptor deprecated added in v0.4.6

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

Deprecated: Use ScoreCard.ProtoReflect.Descriptor instead.

func (*ScoreCard) GetDefinitionName added in v0.4.6

func (x *ScoreCard) GetDefinitionName() string

func (*ScoreCard) GetDescription added in v0.4.6

func (x *ScoreCard) GetDescription() string

func (*ScoreCard) GetDisplayName added in v0.4.6

func (x *ScoreCard) GetDisplayName() string

func (*ScoreCard) GetId added in v0.4.6

func (x *ScoreCard) GetId() string

func (*ScoreCard) GetKind added in v0.4.6

func (x *ScoreCard) GetKind() string

func (*ScoreCard) GetScores added in v0.4.6

func (x *ScoreCard) GetScores() []*Score

func (*ScoreCard) ProtoMessage added in v0.4.6

func (*ScoreCard) ProtoMessage()

func (*ScoreCard) ProtoReflect added in v0.4.6

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

func (*ScoreCard) Reset added in v0.4.6

func (x *ScoreCard) Reset()

func (*ScoreCard) String added in v0.4.6

func (x *ScoreCard) String() string

type ScoreCardDefinition added in v0.4.6

type ScoreCardDefinition struct {

	// Artifact identifier. May be used in YAML representations to indicate the id
	// to be used to attach the artifact.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Artifact kind. May be used in YAML representations to identify the type of
	// this artifact.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// A human-friendly name for the ScoreCardDefinition.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A more detailed description of the ScoreCardDefinition.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// A pattern of target resource on which this definition can be applied.
	TargetResource *ResourcePattern `protobuf:"bytes,5,opt,name=target_resource,json=targetResource,proto3" json:"target_resource,omitempty"`
	// Artifact patterns of scores which should be displayed in the ScoreCard.
	// Should start with a $resource reference to make sure artifacts are
	// pulled out from the correct resource.
	ScorePatterns []string `protobuf:"bytes,6,rep,name=score_patterns,json=scorePatterns,proto3" json:"score_patterns,omitempty"`
	// contains filtered or unexported fields
}

Stores the definition which will be used to generate scorecards for the resources stored in registry.

func (*ScoreCardDefinition) Descriptor deprecated added in v0.4.6

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

Deprecated: Use ScoreCardDefinition.ProtoReflect.Descriptor instead.

func (*ScoreCardDefinition) GetDescription added in v0.4.6

func (x *ScoreCardDefinition) GetDescription() string

func (*ScoreCardDefinition) GetDisplayName added in v0.4.6

func (x *ScoreCardDefinition) GetDisplayName() string

func (*ScoreCardDefinition) GetId added in v0.4.6

func (x *ScoreCardDefinition) GetId() string

func (*ScoreCardDefinition) GetKind added in v0.4.6

func (x *ScoreCardDefinition) GetKind() string

func (*ScoreCardDefinition) GetScorePatterns added in v0.4.6

func (x *ScoreCardDefinition) GetScorePatterns() []string

func (*ScoreCardDefinition) GetTargetResource added in v0.4.6

func (x *ScoreCardDefinition) GetTargetResource() *ResourcePattern

func (*ScoreCardDefinition) ProtoMessage added in v0.4.6

func (*ScoreCardDefinition) ProtoMessage()

func (*ScoreCardDefinition) ProtoReflect added in v0.4.6

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

func (*ScoreCardDefinition) Reset added in v0.4.6

func (x *ScoreCardDefinition) Reset()

func (*ScoreCardDefinition) String added in v0.4.6

func (x *ScoreCardDefinition) String() string

type ScoreDefinition added in v0.4.6

type ScoreDefinition struct {

	// Artifact identifier. May be used in YAML representations to indicate the id
	// to be used to attach the artifact.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Artifact kind. May be used in YAML representations to identify the type of
	// this artifact.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// A human-friendly name for the ScoreDefinition.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A more detailed description of the ScoreDefinition.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// A Uri which points to an explanation of the scoring logic/tool used here.
	Uri string `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"`
	// A human-friendly name to display the uri.
	UriDisplayName string `protobuf:"bytes,6,opt,name=uri_display_name,json=uriDisplayName,proto3" json:"uri_display_name,omitempty"`
	// A pattern for the target resource on which this definition can be applied.
	TargetResource *ResourcePattern `protobuf:"bytes,7,opt,name=target_resource,json=targetResource,proto3" json:"target_resource,omitempty"`
	// Represents how the value of this score will be derived.
	// A score can be a single score_value or a rollup of multiple score_values.
	//
	// Types that are assignable to Formula:
	//
	//	*ScoreDefinition_ScoreFormula
	//	*ScoreDefinition_RollupFormula
	Formula isScoreDefinition_Formula `protobuf_oneof:"formula"`
	// Represents the type and characteristics of the score.
	//
	// Types that are assignable to Type:
	//
	//	*ScoreDefinition_Percent
	//	*ScoreDefinition_Integer
	//	*ScoreDefinition_Boolean
	Type isScoreDefinition_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

Stores the definition which will be used to derive scores for the resources stored in registry.

func (*ScoreDefinition) Descriptor deprecated added in v0.4.6

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

Deprecated: Use ScoreDefinition.ProtoReflect.Descriptor instead.

func (*ScoreDefinition) GetBoolean added in v0.4.6

func (x *ScoreDefinition) GetBoolean() *BooleanType

func (*ScoreDefinition) GetDescription added in v0.4.6

func (x *ScoreDefinition) GetDescription() string

func (*ScoreDefinition) GetDisplayName added in v0.4.6

func (x *ScoreDefinition) GetDisplayName() string

func (*ScoreDefinition) GetFormula added in v0.4.6

func (m *ScoreDefinition) GetFormula() isScoreDefinition_Formula

func (*ScoreDefinition) GetId added in v0.4.6

func (x *ScoreDefinition) GetId() string

func (*ScoreDefinition) GetInteger added in v0.4.6

func (x *ScoreDefinition) GetInteger() *IntegerType

func (*ScoreDefinition) GetKind added in v0.4.6

func (x *ScoreDefinition) GetKind() string

func (*ScoreDefinition) GetPercent added in v0.4.6

func (x *ScoreDefinition) GetPercent() *PercentType

func (*ScoreDefinition) GetRollupFormula added in v0.4.6

func (x *ScoreDefinition) GetRollupFormula() *RollUpFormula

func (*ScoreDefinition) GetScoreFormula added in v0.4.6

func (x *ScoreDefinition) GetScoreFormula() *ScoreFormula

func (*ScoreDefinition) GetTargetResource added in v0.4.6

func (x *ScoreDefinition) GetTargetResource() *ResourcePattern

func (*ScoreDefinition) GetType added in v0.4.6

func (m *ScoreDefinition) GetType() isScoreDefinition_Type

func (*ScoreDefinition) GetUri added in v0.4.6

func (x *ScoreDefinition) GetUri() string

func (*ScoreDefinition) GetUriDisplayName added in v0.4.6

func (x *ScoreDefinition) GetUriDisplayName() string

func (*ScoreDefinition) ProtoMessage added in v0.4.6

func (*ScoreDefinition) ProtoMessage()

func (*ScoreDefinition) ProtoReflect added in v0.4.6

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

func (*ScoreDefinition) Reset added in v0.4.6

func (x *ScoreDefinition) Reset()

func (*ScoreDefinition) String added in v0.4.6

func (x *ScoreDefinition) String() string

type ScoreDefinition_Boolean added in v0.4.6

type ScoreDefinition_Boolean struct {
	// Set this if the score value is a boolean.
	Boolean *BooleanType `protobuf:"bytes,12,opt,name=boolean,proto3,oneof"`
}

type ScoreDefinition_Integer added in v0.4.6

type ScoreDefinition_Integer struct {
	// Set this if the score value is an integer.
	Integer *IntegerType `protobuf:"bytes,11,opt,name=integer,proto3,oneof"`
}

type ScoreDefinition_Percent added in v0.4.6

type ScoreDefinition_Percent struct {
	// Set this if the score value is a percentage.
	Percent *PercentType `protobuf:"bytes,10,opt,name=percent,proto3,oneof"`
}

type ScoreDefinition_RollupFormula added in v0.4.6

type ScoreDefinition_RollupFormula struct {
	// Represents the formula for a value which is rolled up
	// from multiple scores.
	RollupFormula *RollUpFormula `protobuf:"bytes,9,opt,name=rollup_formula,json=rollupFormula,proto3,oneof"`
}

type ScoreDefinition_ScoreFormula added in v0.4.6

type ScoreDefinition_ScoreFormula struct {
	// Represents the formula for a value which is derived from
	// a single artifact.
	ScoreFormula *ScoreFormula `protobuf:"bytes,8,opt,name=score_formula,json=scoreFormula,proto3,oneof"`
}

type ScoreFormula added in v0.4.6

type ScoreFormula struct {

	// Pattern of the artifact from which the score value will be extracted.
	// Should start with a $resource reference to make sure artifacts are pulled
	// out from the correct resource.
	Artifact *ResourcePattern `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"`
	// A CEL expression which extracts the score value from the artifact.
	ScoreExpression string `protobuf:"bytes,2,opt,name=score_expression,json=scoreExpression,proto3" json:"score_expression,omitempty"`
	// Set an ID to reference this value in the rollup formula.
	ReferenceId string `protobuf:"bytes,3,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"`
	// contains filtered or unexported fields
}

Represents how a score will be derived from the result artifacts.

func (*ScoreFormula) Descriptor deprecated added in v0.4.6

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

Deprecated: Use ScoreFormula.ProtoReflect.Descriptor instead.

func (*ScoreFormula) GetArtifact added in v0.4.6

func (x *ScoreFormula) GetArtifact() *ResourcePattern

func (*ScoreFormula) GetReferenceId added in v0.4.6

func (x *ScoreFormula) GetReferenceId() string

func (*ScoreFormula) GetScoreExpression added in v0.4.6

func (x *ScoreFormula) GetScoreExpression() string

func (*ScoreFormula) ProtoMessage added in v0.4.6

func (*ScoreFormula) ProtoMessage()

func (*ScoreFormula) ProtoReflect added in v0.4.6

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

func (*ScoreFormula) Reset added in v0.4.6

func (x *ScoreFormula) Reset()

func (*ScoreFormula) String added in v0.4.6

func (x *ScoreFormula) String() string

type Score_BooleanValue added in v0.4.6

type Score_BooleanValue struct {
	// This is set if the score is a boolean.
	BooleanValue *BooleanValue `protobuf:"bytes,11,opt,name=boolean_value,json=booleanValue,proto3,oneof"`
}

type Score_IntegerValue added in v0.4.6

type Score_IntegerValue struct {
	// This is set if the score is an integer.
	IntegerValue *IntegerValue `protobuf:"bytes,10,opt,name=integer_value,json=integerValue,proto3,oneof"`
}

type Score_PercentValue added in v0.4.6

type Score_PercentValue struct {
	// This is set if the score is a percentage.
	PercentValue *PercentValue `protobuf:"bytes,9,opt,name=percent_value,json=percentValue,proto3,oneof"`
}

type Severity added in v0.4.6

type Severity int32

Represents the severity levels to be associated with score values. Severity levels indicates the level of concern for a particular score.

const (
	// This is the default value if the Severity level is not set.
	Severity_SEVERITY_UNSPECIFIED Severity = 0
	// This level indicates that the value of the score is acceptable.
	Severity_OK Severity = 1
	// This level indicates that the value of the score is of little concern but
	// not a red flag. Users can still take action to get to a better level: "OK".
	Severity_WARNING Severity = 2
	// This level indicates that the value of the score is a major red flag and
	// ideally users should actively take actions to get to a WARNING or OK level.
	Severity_ALERT Severity = 3
)

func (Severity) Descriptor added in v0.4.6

func (Severity) Descriptor() protoreflect.EnumDescriptor

func (Severity) Enum added in v0.4.6

func (x Severity) Enum() *Severity

func (Severity) EnumDescriptor deprecated added in v0.4.6

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

Deprecated: Use Severity.Descriptor instead.

func (Severity) Number added in v0.4.6

func (x Severity) Number() protoreflect.EnumNumber

func (Severity) String added in v0.4.6

func (x Severity) String() string

func (Severity) Type added in v0.4.6

type Status

type Status struct {

	// A string describing the status.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// Information about the build of the server.
	Build *BuildInfo `protobuf:"bytes,2,opt,name=build,proto3" json:"build,omitempty"`
	// contains filtered or unexported fields
}

Status represents the status of the service.

func (*Status) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetBuild added in v0.4.2

func (x *Status) GetBuild() *BuildInfo

func (*Status) GetMessage

func (x *Status) GetMessage() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

type Storage added in v0.4.2

type Storage struct {

	// A string describing the storage backend.
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// A list of collections in the storage backend.
	// Collections are listed in alphabetical order.
	Collections []*Storage_Collection `protobuf:"bytes,2,rep,name=collections,proto3" json:"collections,omitempty"`
	// contains filtered or unexported fields
}

Storage describes the data stored by the service.

func (*Storage) Descriptor deprecated added in v0.4.2

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

Deprecated: Use Storage.ProtoReflect.Descriptor instead.

func (*Storage) GetCollections added in v0.4.2

func (x *Storage) GetCollections() []*Storage_Collection

func (*Storage) GetDescription added in v0.4.2

func (x *Storage) GetDescription() string

func (*Storage) ProtoMessage added in v0.4.2

func (*Storage) ProtoMessage()

func (*Storage) ProtoReflect added in v0.4.2

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

func (*Storage) Reset added in v0.4.2

func (x *Storage) Reset()

func (*Storage) String added in v0.4.2

func (x *Storage) String() string

type Storage_Collection added in v0.4.2

type Storage_Collection struct {

	// The name of the collection.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The number of entries in the collection.
	Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

A description of a collection in the backend database.

func (*Storage_Collection) Descriptor deprecated added in v0.4.2

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

Deprecated: Use Storage_Collection.ProtoReflect.Descriptor instead.

func (*Storage_Collection) GetCount added in v0.4.2

func (x *Storage_Collection) GetCount() int64

func (*Storage_Collection) GetName added in v0.4.2

func (x *Storage_Collection) GetName() string

func (*Storage_Collection) ProtoMessage added in v0.4.2

func (*Storage_Collection) ProtoMessage()

func (*Storage_Collection) ProtoReflect added in v0.4.2

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

func (*Storage_Collection) Reset added in v0.4.2

func (x *Storage_Collection) Reset()

func (*Storage_Collection) String added in v0.4.2

func (x *Storage_Collection) String() string

type StyleGuide

type StyleGuide struct {

	// Identifier of the style guide.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Artifact kind. May be used in YAML representations to identify the type of
	// this artifact.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Human-meaningful name of the style guide.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// This field lists the MIME types of the specs that the style guide applies
	// to. It is a list containing style (format) descriptors that are 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.
	MimeTypes []string `protobuf:"bytes,4,rep,name=mime_types,json=mimeTypes,proto3" json:"mime_types,omitempty"`
	// A list of guidelines that are specified by this style guide.
	Guidelines []*Guideline `protobuf:"bytes,5,rep,name=guidelines,proto3" json:"guidelines,omitempty"`
	// A list of linters that this style guide uses.
	Linters []*Linter `protobuf:"bytes,6,rep,name=linters,proto3" json:"linters,omitempty"`
	// contains filtered or unexported fields
}

StyleGuide defines a set of guidelines and linters that govern the static analysis of API Specs with specified mime types.

func (*StyleGuide) Descriptor deprecated

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

Deprecated: Use StyleGuide.ProtoReflect.Descriptor instead.

func (*StyleGuide) GetDisplayName

func (x *StyleGuide) GetDisplayName() string

func (*StyleGuide) GetGuidelines

func (x *StyleGuide) GetGuidelines() []*Guideline

func (*StyleGuide) GetId

func (x *StyleGuide) GetId() string

func (*StyleGuide) GetKind added in v0.5.3

func (x *StyleGuide) GetKind() string

func (*StyleGuide) GetLinters

func (x *StyleGuide) GetLinters() []*Linter

func (*StyleGuide) GetMimeTypes

func (x *StyleGuide) GetMimeTypes() []string

func (*StyleGuide) ProtoMessage

func (*StyleGuide) ProtoMessage()

func (*StyleGuide) ProtoReflect

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

func (*StyleGuide) Reset

func (x *StyleGuide) Reset()

func (*StyleGuide) String

func (x *StyleGuide) String() string

type TagApiDeploymentRevisionRequest added in v0.3.6

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 added in v0.3.6

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

Deprecated: Use TagApiDeploymentRevisionRequest.ProtoReflect.Descriptor instead.

func (*TagApiDeploymentRevisionRequest) GetName added in v0.3.6

func (*TagApiDeploymentRevisionRequest) GetTag added in v0.3.6

func (*TagApiDeploymentRevisionRequest) ProtoMessage added in v0.3.6

func (*TagApiDeploymentRevisionRequest) ProtoMessage()

func (*TagApiDeploymentRevisionRequest) ProtoReflect added in v0.3.6

func (*TagApiDeploymentRevisionRequest) Reset added in v0.3.6

func (*TagApiDeploymentRevisionRequest) String added in v0.3.6

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 TaxonomyList added in v0.4.2

type TaxonomyList struct {

	// Artifact identifier. May be used in YAML representations to indicate the id
	// to be used to attach the artifact.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Artifact kind. May be used in YAML representations to identify the type of
	// this artifact.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// A human-friendly name for the taxonomy list.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A more detailed description of the taxonomy list.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// The taxonomies in the list.
	Taxonomies []*TaxonomyList_Taxonomy `protobuf:"bytes,5,rep,name=taxonomies,proto3" json:"taxonomies,omitempty"`
	// contains filtered or unexported fields
}

A TaxonomyList message contains a list of taxonomies that can be used to classify resources in the registry. Typically all of the system-managed taxonomies would be stored in a registry as a single TaxonomyList artifact.

func (*TaxonomyList) Descriptor deprecated added in v0.4.2

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

Deprecated: Use TaxonomyList.ProtoReflect.Descriptor instead.

func (*TaxonomyList) GetDescription added in v0.4.2

func (x *TaxonomyList) GetDescription() string

func (*TaxonomyList) GetDisplayName added in v0.4.2

func (x *TaxonomyList) GetDisplayName() string

func (*TaxonomyList) GetId added in v0.4.2

func (x *TaxonomyList) GetId() string

func (*TaxonomyList) GetKind added in v0.4.2

func (x *TaxonomyList) GetKind() string

func (*TaxonomyList) GetTaxonomies added in v0.4.2

func (x *TaxonomyList) GetTaxonomies() []*TaxonomyList_Taxonomy

func (*TaxonomyList) ProtoMessage added in v0.4.2

func (*TaxonomyList) ProtoMessage()

func (*TaxonomyList) ProtoReflect added in v0.4.2

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

func (*TaxonomyList) Reset added in v0.4.2

func (x *TaxonomyList) Reset()

func (*TaxonomyList) String added in v0.4.2

func (x *TaxonomyList) String() string

type TaxonomyList_Taxonomy added in v0.4.2

type TaxonomyList_Taxonomy struct {

	// Taxonomy identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// A human-friendly name of the taxonomy.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A detailed description of the taxonomy.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// If true, this taxonomy is applied by admins only.
	AdminApplied bool `protobuf:"varint,4,opt,name=admin_applied,json=adminApplied,proto3" json:"admin_applied,omitempty"`
	// If true, this taxonomy only allows one of its members to be associated
	// with an item (multiple selection is disallowed).
	SingleSelection bool `protobuf:"varint,5,opt,name=single_selection,json=singleSelection,proto3" json:"single_selection,omitempty"`
	// If true, this taxonomy is not included in search indexes.
	SearchExcluded bool `protobuf:"varint,6,opt,name=search_excluded,json=searchExcluded,proto3" json:"search_excluded,omitempty"`
	// If true, this taxonomy is a system-managed taxonomy.
	SystemManaged bool `protobuf:"varint,7,opt,name=system_managed,json=systemManaged,proto3" json:"system_managed,omitempty"`
	// An ordering value used to configure display of the taxonomy.
	DisplayOrder int32 `protobuf:"varint,8,opt,name=display_order,json=displayOrder,proto3" json:"display_order,omitempty"`
	// The elements of the taxonomy.
	Elements []*TaxonomyList_Taxonomy_Element `protobuf:"bytes,9,rep,name=elements,proto3" json:"elements,omitempty"`
	// contains filtered or unexported fields
}

A Taxonomy specifies a list of values that can be associated with an item in a registry, typically an API. There may be multiple taxonomies, each representing a different aspect or dimension of the item being labelled.

func (*TaxonomyList_Taxonomy) Descriptor deprecated added in v0.4.2

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

Deprecated: Use TaxonomyList_Taxonomy.ProtoReflect.Descriptor instead.

func (*TaxonomyList_Taxonomy) GetAdminApplied added in v0.4.2

func (x *TaxonomyList_Taxonomy) GetAdminApplied() bool

func (*TaxonomyList_Taxonomy) GetDescription added in v0.4.2

func (x *TaxonomyList_Taxonomy) GetDescription() string

func (*TaxonomyList_Taxonomy) GetDisplayName added in v0.4.2

func (x *TaxonomyList_Taxonomy) GetDisplayName() string

func (*TaxonomyList_Taxonomy) GetDisplayOrder added in v0.4.2

func (x *TaxonomyList_Taxonomy) GetDisplayOrder() int32

func (*TaxonomyList_Taxonomy) GetElements added in v0.4.2

func (*TaxonomyList_Taxonomy) GetId added in v0.4.2

func (x *TaxonomyList_Taxonomy) GetId() string

func (*TaxonomyList_Taxonomy) GetSearchExcluded added in v0.4.2

func (x *TaxonomyList_Taxonomy) GetSearchExcluded() bool

func (*TaxonomyList_Taxonomy) GetSingleSelection added in v0.4.2

func (x *TaxonomyList_Taxonomy) GetSingleSelection() bool

func (*TaxonomyList_Taxonomy) GetSystemManaged added in v0.4.2

func (x *TaxonomyList_Taxonomy) GetSystemManaged() bool

func (*TaxonomyList_Taxonomy) ProtoMessage added in v0.4.2

func (*TaxonomyList_Taxonomy) ProtoMessage()

func (*TaxonomyList_Taxonomy) ProtoReflect added in v0.4.2

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

func (*TaxonomyList_Taxonomy) Reset added in v0.4.2

func (x *TaxonomyList_Taxonomy) Reset()

func (*TaxonomyList_Taxonomy) String added in v0.4.2

func (x *TaxonomyList_Taxonomy) String() string

type TaxonomyList_Taxonomy_Element added in v0.4.2

type TaxonomyList_Taxonomy_Element struct {

	// Element identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// A human-friendly name of the element.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A detailed description of the element.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

An element in a taxonomy represents one of the values that can be used to label an item.

func (*TaxonomyList_Taxonomy_Element) Descriptor deprecated added in v0.4.2

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

Deprecated: Use TaxonomyList_Taxonomy_Element.ProtoReflect.Descriptor instead.

func (*TaxonomyList_Taxonomy_Element) GetDescription added in v0.4.2

func (x *TaxonomyList_Taxonomy_Element) GetDescription() string

func (*TaxonomyList_Taxonomy_Element) GetDisplayName added in v0.4.2

func (x *TaxonomyList_Taxonomy_Element) GetDisplayName() string

func (*TaxonomyList_Taxonomy_Element) GetId added in v0.4.2

func (*TaxonomyList_Taxonomy_Element) ProtoMessage added in v0.4.2

func (*TaxonomyList_Taxonomy_Element) ProtoMessage()

func (*TaxonomyList_Taxonomy_Element) ProtoReflect added in v0.4.2

func (*TaxonomyList_Taxonomy_Element) Reset added in v0.4.2

func (x *TaxonomyList_Taxonomy_Element) Reset()

func (*TaxonomyList_Taxonomy_Element) String added in v0.4.2

type UnimplementedAdminServer added in v0.3.5

type UnimplementedAdminServer struct {
}

UnimplementedAdminServer must be embedded to have forward compatible implementations.

func (UnimplementedAdminServer) CreateProject added in v0.3.5

func (UnimplementedAdminServer) DeleteProject added in v0.3.5

func (UnimplementedAdminServer) GetProject added in v0.3.5

func (UnimplementedAdminServer) GetStatus added in v0.3.5

func (UnimplementedAdminServer) GetStorage added in v0.4.2

func (UnimplementedAdminServer) ListProjects added in v0.3.5

func (UnimplementedAdminServer) MigrateDatabase added in v0.3.11

func (UnimplementedAdminServer) UpdateProject added in v0.3.5

type UnimplementedProvisioningServer added in v0.5.1

type UnimplementedProvisioningServer struct {
}

UnimplementedProvisioningServer must be embedded to have forward compatible implementations.

func (UnimplementedProvisioningServer) CreateInstance added in v0.5.1

func (UnimplementedProvisioningServer) DeleteInstance added in v0.5.1

func (UnimplementedProvisioningServer) GetInstance added in v0.5.1

type UnimplementedRegistryServer

type UnimplementedRegistryServer struct {
}

UnimplementedRegistryServer must be embedded to have forward compatible implementations.

func (UnimplementedRegistryServer) CreateApi

func (UnimplementedRegistryServer) CreateApiDeployment added in v0.3.6

func (UnimplementedRegistryServer) CreateApiSpec

func (UnimplementedRegistryServer) CreateApiVersion

func (UnimplementedRegistryServer) CreateArtifact

func (UnimplementedRegistryServer) DeleteApi

func (UnimplementedRegistryServer) DeleteApiDeployment added in v0.3.6

func (UnimplementedRegistryServer) DeleteApiDeploymentRevision added in v0.3.6

func (UnimplementedRegistryServer) DeleteApiSpec

func (UnimplementedRegistryServer) DeleteApiSpecRevision

func (UnimplementedRegistryServer) DeleteApiVersion

func (UnimplementedRegistryServer) DeleteArtifact

func (UnimplementedRegistryServer) GetApi

func (UnimplementedRegistryServer) GetApiDeployment added in v0.3.6

func (UnimplementedRegistryServer) GetApiSpec

func (UnimplementedRegistryServer) GetApiSpecContents

func (UnimplementedRegistryServer) GetApiVersion

func (UnimplementedRegistryServer) GetArtifact

func (UnimplementedRegistryServer) GetArtifactContents

func (UnimplementedRegistryServer) ListApiDeploymentRevisions added in v0.3.6

func (UnimplementedRegistryServer) ListApiDeployments added in v0.3.6

func (UnimplementedRegistryServer) ListApiSpecs

func (UnimplementedRegistryServer) ListApiVersions

func (UnimplementedRegistryServer) ListApis

func (UnimplementedRegistryServer) ListArtifacts

func (UnimplementedRegistryServer) ReplaceArtifact

func (UnimplementedRegistryServer) RollbackApiDeployment added in v0.3.6

func (UnimplementedRegistryServer) RollbackApiSpec

func (UnimplementedRegistryServer) TagApiDeploymentRevision added in v0.3.6

func (UnimplementedRegistryServer) TagApiSpecRevision

func (UnimplementedRegistryServer) UpdateApi

func (UnimplementedRegistryServer) UpdateApiDeployment added in v0.3.6

func (UnimplementedRegistryServer) UpdateApiSpec

func (UnimplementedRegistryServer) UpdateApiVersion

type UnsafeAdminServer added in v0.3.5

type UnsafeAdminServer interface {
	// contains filtered or unexported methods
}

UnsafeAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServer will result in compilation errors.

type UnsafeProvisioningServer added in v0.5.1

type UnsafeProvisioningServer interface {
	// contains filtered or unexported methods
}

UnsafeProvisioningServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProvisioningServer will result in compilation errors.

type UnsafeRegistryServer

type UnsafeRegistryServer interface {
	// contains filtered or unexported methods
}

UnsafeRegistryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegistryServer will result in compilation errors.

type UpdateApiDeploymentRequest added in v0.3.6

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 a "*" 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 added in v0.3.6

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

Deprecated: Use UpdateApiDeploymentRequest.ProtoReflect.Descriptor instead.

func (*UpdateApiDeploymentRequest) GetAllowMissing added in v0.3.9

func (x *UpdateApiDeploymentRequest) GetAllowMissing() bool

func (*UpdateApiDeploymentRequest) GetApiDeployment added in v0.3.6

func (x *UpdateApiDeploymentRequest) GetApiDeployment() *ApiDeployment

func (*UpdateApiDeploymentRequest) GetUpdateMask added in v0.3.6

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

func (*UpdateApiDeploymentRequest) ProtoMessage added in v0.3.6

func (*UpdateApiDeploymentRequest) ProtoMessage()

func (*UpdateApiDeploymentRequest) ProtoReflect added in v0.3.6

func (*UpdateApiDeploymentRequest) Reset added in v0.3.6

func (x *UpdateApiDeploymentRequest) Reset()

func (*UpdateApiDeploymentRequest) String added in v0.3.6

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 a "*" 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_versions 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 added in v0.3.9

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 a "*" 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 a "*" 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 added in v0.3.9

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

type UpdateProjectRequest

type UpdateProjectRequest struct {

	// The project to update.
	//
	// The `name` field is used to identify the project to update.
	// Format: projects/*
	Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,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 a "*" 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 project is not found, a new project 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 UpdateProject.

func (*UpdateProjectRequest) Descriptor deprecated

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

Deprecated: Use UpdateProjectRequest.ProtoReflect.Descriptor instead.

func (*UpdateProjectRequest) GetAllowMissing added in v0.3.9

func (x *UpdateProjectRequest) GetAllowMissing() bool

func (*UpdateProjectRequest) GetProject

func (x *UpdateProjectRequest) GetProject() *Project

func (*UpdateProjectRequest) GetUpdateMask

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

func (*UpdateProjectRequest) ProtoMessage

func (*UpdateProjectRequest) ProtoMessage()

func (*UpdateProjectRequest) ProtoReflect

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

func (*UpdateProjectRequest) Reset

func (x *UpdateProjectRequest) Reset()

func (*UpdateProjectRequest) String

func (x *UpdateProjectRequest) String() string

Jump to

Keyboard shortcuts

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