Package cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb (v1.23.1)

Constants

RepositoryManager_CreateConnection_FullMethodName, RepositoryManager_GetConnection_FullMethodName, RepositoryManager_ListConnections_FullMethodName, RepositoryManager_UpdateConnection_FullMethodName, RepositoryManager_DeleteConnection_FullMethodName, RepositoryManager_CreateRepository_FullMethodName, RepositoryManager_BatchCreateRepositories_FullMethodName, RepositoryManager_GetRepository_FullMethodName, RepositoryManager_ListRepositories_FullMethodName, RepositoryManager_DeleteRepository_FullMethodName, RepositoryManager_FetchReadWriteToken_FullMethodName, RepositoryManager_FetchReadToken_FullMethodName, RepositoryManager_FetchLinkableRepositories_FullMethodName, RepositoryManager_FetchGitRefs_FullMethodName

const (
	RepositoryManager_CreateConnection_FullMethodName          = "/google.devtools.cloudbuild.v2.RepositoryManager/CreateConnection"
	RepositoryManager_GetConnection_FullMethodName             = "/google.devtools.cloudbuild.v2.RepositoryManager/GetConnection"
	RepositoryManager_ListConnections_FullMethodName           = "/google.devtools.cloudbuild.v2.RepositoryManager/ListConnections"
	RepositoryManager_UpdateConnection_FullMethodName          = "/google.devtools.cloudbuild.v2.RepositoryManager/UpdateConnection"
	RepositoryManager_DeleteConnection_FullMethodName          = "/google.devtools.cloudbuild.v2.RepositoryManager/DeleteConnection"
	RepositoryManager_CreateRepository_FullMethodName          = "/google.devtools.cloudbuild.v2.RepositoryManager/CreateRepository"
	RepositoryManager_BatchCreateRepositories_FullMethodName   = "/google.devtools.cloudbuild.v2.RepositoryManager/BatchCreateRepositories"
	RepositoryManager_GetRepository_FullMethodName             = "/google.devtools.cloudbuild.v2.RepositoryManager/GetRepository"
	RepositoryManager_ListRepositories_FullMethodName          = "/google.devtools.cloudbuild.v2.RepositoryManager/ListRepositories"
	RepositoryManager_DeleteRepository_FullMethodName          = "/google.devtools.cloudbuild.v2.RepositoryManager/DeleteRepository"
	RepositoryManager_FetchReadWriteToken_FullMethodName       = "/google.devtools.cloudbuild.v2.RepositoryManager/FetchReadWriteToken"
	RepositoryManager_FetchReadToken_FullMethodName            = "/google.devtools.cloudbuild.v2.RepositoryManager/FetchReadToken"
	RepositoryManager_FetchLinkableRepositories_FullMethodName = "/google.devtools.cloudbuild.v2.RepositoryManager/FetchLinkableRepositories"
	RepositoryManager_FetchGitRefs_FullMethodName              = "/google.devtools.cloudbuild.v2.RepositoryManager/FetchGitRefs"
)

Variables

InstallationState_Stage_name, InstallationState_Stage_value

var (
	InstallationState_Stage_name = map[int32]string{
		0:  "STAGE_UNSPECIFIED",
		1:  "PENDING_CREATE_APP",
		2:  "PENDING_USER_OAUTH",
		3:  "PENDING_INSTALL_APP",
		10: "COMPLETE",
	}
	InstallationState_Stage_value = map[string]int32{
		"STAGE_UNSPECIFIED":   0,
		"PENDING_CREATE_APP":  1,
		"PENDING_USER_OAUTH":  2,
		"PENDING_INSTALL_APP": 3,
		"COMPLETE":            10,
	}
)

Enum value maps for InstallationState_Stage.

FetchGitRefsRequest_RefType_name, FetchGitRefsRequest_RefType_value

var (
	FetchGitRefsRequest_RefType_name = map[int32]string{
		0: "REF_TYPE_UNSPECIFIED",
		1: "TAG",
		2: "BRANCH",
	}
	FetchGitRefsRequest_RefType_value = map[string]int32{
		"REF_TYPE_UNSPECIFIED": 0,
		"TAG":                  1,
		"BRANCH":               2,
	}
)

Enum value maps for FetchGitRefsRequest_RefType.

File_google_devtools_cloudbuild_v2_cloudbuild_proto

var File_google_devtools_cloudbuild_v2_cloudbuild_proto protoreflect.FileDescriptor

File_google_devtools_cloudbuild_v2_repositories_proto

var File_google_devtools_cloudbuild_v2_repositories_proto protoreflect.FileDescriptor

RepositoryManager_ServiceDesc

var RepositoryManager_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.devtools.cloudbuild.v2.RepositoryManager",
	HandlerType: (*RepositoryManagerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateConnection",
			Handler:    _RepositoryManager_CreateConnection_Handler,
		},
		{
			MethodName: "GetConnection",
			Handler:    _RepositoryManager_GetConnection_Handler,
		},
		{
			MethodName: "ListConnections",
			Handler:    _RepositoryManager_ListConnections_Handler,
		},
		{
			MethodName: "UpdateConnection",
			Handler:    _RepositoryManager_UpdateConnection_Handler,
		},
		{
			MethodName: "DeleteConnection",
			Handler:    _RepositoryManager_DeleteConnection_Handler,
		},
		{
			MethodName: "CreateRepository",
			Handler:    _RepositoryManager_CreateRepository_Handler,
		},
		{
			MethodName: "BatchCreateRepositories",
			Handler:    _RepositoryManager_BatchCreateRepositories_Handler,
		},
		{
			MethodName: "GetRepository",
			Handler:    _RepositoryManager_GetRepository_Handler,
		},
		{
			MethodName: "ListRepositories",
			Handler:    _RepositoryManager_ListRepositories_Handler,
		},
		{
			MethodName: "DeleteRepository",
			Handler:    _RepositoryManager_DeleteRepository_Handler,
		},
		{
			MethodName: "FetchReadWriteToken",
			Handler:    _RepositoryManager_FetchReadWriteToken_Handler,
		},
		{
			MethodName: "FetchReadToken",
			Handler:    _RepositoryManager_FetchReadToken_Handler,
		},
		{
			MethodName: "FetchLinkableRepositories",
			Handler:    _RepositoryManager_FetchLinkableRepositories_Handler,
		},
		{
			MethodName: "FetchGitRefs",
			Handler:    _RepositoryManager_FetchGitRefs_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/devtools/cloudbuild/v2/repositories.proto",
}

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

Functions

func RegisterRepositoryManagerServer

func RegisterRepositoryManagerServer(s grpc.ServiceRegistrar, srv RepositoryManagerServer)

BatchCreateRepositoriesRequest

type BatchCreateRepositoriesRequest struct {

	// Required. The connection to contain all the repositories being created.
	// Format: projects/*/locations/*/connections/*
	// The parent field in the CreateRepositoryRequest messages
	// must either be empty or match this field.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The request messages specifying the repositories to create.
	Requests []*CreateRepositoryRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

Message for creating repositoritories in batch.

func (*BatchCreateRepositoriesRequest) Descriptor

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

Deprecated: Use BatchCreateRepositoriesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateRepositoriesRequest) GetParent

func (x *BatchCreateRepositoriesRequest) GetParent() string

func (*BatchCreateRepositoriesRequest) GetRequests

func (*BatchCreateRepositoriesRequest) ProtoMessage

func (*BatchCreateRepositoriesRequest) ProtoMessage()

func (*BatchCreateRepositoriesRequest) ProtoReflect

func (*BatchCreateRepositoriesRequest) Reset

func (x *BatchCreateRepositoriesRequest) Reset()

func (*BatchCreateRepositoriesRequest) String

BatchCreateRepositoriesResponse

type BatchCreateRepositoriesResponse struct {

	// Repository resources created.
	Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
	// contains filtered or unexported fields
}

Message for response of creating repositories in batch.

func (*BatchCreateRepositoriesResponse) Descriptor

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

Deprecated: Use BatchCreateRepositoriesResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateRepositoriesResponse) GetRepositories

func (x *BatchCreateRepositoriesResponse) GetRepositories() []*Repository

func (*BatchCreateRepositoriesResponse) ProtoMessage

func (*BatchCreateRepositoriesResponse) ProtoMessage()

func (*BatchCreateRepositoriesResponse) ProtoReflect

func (*BatchCreateRepositoriesResponse) Reset

func (*BatchCreateRepositoriesResponse) String

BitbucketCloudConfig

type BitbucketCloudConfig struct {

	// Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud
	// Platform.
	Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// Required. SecretManager resource containing the webhook secret used to
	// verify webhook events, formatted as `projects/*/secrets/*/versions/*`.
	WebhookSecretSecretVersion string `protobuf:"bytes,2,opt,name=webhook_secret_secret_version,json=webhookSecretSecretVersion,proto3" json:"webhook_secret_secret_version,omitempty"`
	// Required. An access token with the `repository` access. It can be either a
	// workspace, project or repository access token. It's recommended to use a
	// system account to generate the credentials.
	ReadAuthorizerCredential *UserCredential `protobuf:"bytes,3,opt,name=read_authorizer_credential,json=readAuthorizerCredential,proto3" json:"read_authorizer_credential,omitempty"`
	// Required. An access token with the `webhook`, `repository`,
	// `repository:admin` and `pullrequest` scope access. It can be either a
	// workspace, project or repository access token. It's recommended to use a
	// system account to generate these credentials.
	AuthorizerCredential *UserCredential `protobuf:"bytes,4,opt,name=authorizer_credential,json=authorizerCredential,proto3" json:"authorizer_credential,omitempty"`
	// contains filtered or unexported fields
}

Configuration for connections to Bitbucket Cloud.

func (*BitbucketCloudConfig) Descriptor

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

Deprecated: Use BitbucketCloudConfig.ProtoReflect.Descriptor instead.

func (*BitbucketCloudConfig) GetAuthorizerCredential

func (x *BitbucketCloudConfig) GetAuthorizerCredential() *UserCredential

func (*BitbucketCloudConfig) GetReadAuthorizerCredential

func (x *BitbucketCloudConfig) GetReadAuthorizerCredential() *UserCredential

func (*BitbucketCloudConfig) GetWebhookSecretSecretVersion

func (x *BitbucketCloudConfig) GetWebhookSecretSecretVersion() string

func (*BitbucketCloudConfig) GetWorkspace

func (x *BitbucketCloudConfig) GetWorkspace() string

func (*BitbucketCloudConfig) ProtoMessage

func (*BitbucketCloudConfig) ProtoMessage()

func (*BitbucketCloudConfig) ProtoReflect

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

func (*BitbucketCloudConfig) Reset

func (x *BitbucketCloudConfig) Reset()

func (*BitbucketCloudConfig) String

func (x *BitbucketCloudConfig) String() string

BitbucketDataCenterConfig

type BitbucketDataCenterConfig struct {

	// Required. The URI of the Bitbucket Data Center instance or cluster this
	// connection is for.
	HostUri string `protobuf:"bytes,1,opt,name=host_uri,json=hostUri,proto3" json:"host_uri,omitempty"`
	// Required. Immutable. SecretManager resource containing the webhook secret
	// used to verify webhook events, formatted as
	// `projects/*/secrets/*/versions/*`.
	WebhookSecretSecretVersion string `protobuf:"bytes,2,opt,name=webhook_secret_secret_version,json=webhookSecretSecretVersion,proto3" json:"webhook_secret_secret_version,omitempty"`
	// Required. A http access token with the `REPO_READ` access.
	ReadAuthorizerCredential *UserCredential `protobuf:"bytes,3,opt,name=read_authorizer_credential,json=readAuthorizerCredential,proto3" json:"read_authorizer_credential,omitempty"`
	// Required. A http access token with the `REPO_ADMIN` scope access.
	AuthorizerCredential *UserCredential `protobuf:"bytes,4,opt,name=authorizer_credential,json=authorizerCredential,proto3" json:"authorizer_credential,omitempty"`
	// Optional. Configuration for using Service Directory to privately connect to
	// a Bitbucket Data Center. This should only be set if the Bitbucket Data
	// Center is hosted on-premises and not reachable by public internet. If this
	// field is left empty, calls to the Bitbucket Data Center will be made over
	// the public internet.
	ServiceDirectoryConfig *ServiceDirectoryConfig `protobuf:"bytes,5,opt,name=service_directory_config,json=serviceDirectoryConfig,proto3" json:"service_directory_config,omitempty"`
	// Optional. SSL certificate to use for requests to the Bitbucket Data Center.
	SslCa string `protobuf:"bytes,6,opt,name=ssl_ca,json=sslCa,proto3" json:"ssl_ca,omitempty"`
	// Output only. Version of the Bitbucket Data Center running on the
	// `host_uri`.
	ServerVersion string `protobuf:"bytes,7,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
	// contains filtered or unexported fields
}

Configuration for connections to Bitbucket Data Center.

func (*BitbucketDataCenterConfig) Descriptor

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

Deprecated: Use BitbucketDataCenterConfig.ProtoReflect.Descriptor instead.

func (*BitbucketDataCenterConfig) GetAuthorizerCredential

func (x *BitbucketDataCenterConfig) GetAuthorizerCredential() *UserCredential

func (*BitbucketDataCenterConfig) GetHostUri

func (x *BitbucketDataCenterConfig) GetHostUri() string

func (*BitbucketDataCenterConfig) GetReadAuthorizerCredential

func (x *BitbucketDataCenterConfig) GetReadAuthorizerCredential() *UserCredential

func (*BitbucketDataCenterConfig) GetServerVersion

func (x *BitbucketDataCenterConfig) GetServerVersion() string

func (*BitbucketDataCenterConfig) GetServiceDirectoryConfig

func (x *BitbucketDataCenterConfig) GetServiceDirectoryConfig() *ServiceDirectoryConfig

func (*BitbucketDataCenterConfig) GetSslCa

func (x *BitbucketDataCenterConfig) GetSslCa() string

func (*BitbucketDataCenterConfig) GetWebhookSecretSecretVersion

func (x *BitbucketDataCenterConfig) GetWebhookSecretSecretVersion() string

func (*BitbucketDataCenterConfig) ProtoMessage

func (*BitbucketDataCenterConfig) ProtoMessage()

func (*BitbucketDataCenterConfig) ProtoReflect

func (*BitbucketDataCenterConfig) Reset

func (x *BitbucketDataCenterConfig) Reset()

func (*BitbucketDataCenterConfig) String

func (x *BitbucketDataCenterConfig) String() string

Connection

type Connection struct {

	// Immutable. The resource name of the connection, in the format
	// `projects/{project}/locations/{location}/connections/{connection_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Server assigned timestamp for when the connection was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Server assigned timestamp for when the connection was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Configuration for the connection depending on the type of provider.
	//
	// Types that are assignable to ConnectionConfig:
	//
	//	*Connection_GithubConfig
	//	*Connection_GithubEnterpriseConfig
	//	*Connection_GitlabConfig
	//	*Connection_BitbucketDataCenterConfig
	//	*Connection_BitbucketCloudConfig
	ConnectionConfig isConnection_ConnectionConfig `protobuf_oneof:"connection_config"`
	// Output only. Installation state of the Connection.
	InstallationState *InstallationState `protobuf:"bytes,12,opt,name=installation_state,json=installationState,proto3" json:"installation_state,omitempty"`
	// If disabled is set to true, functionality is disabled for this connection.
	// Repository based API methods and webhooks processing for repositories in
	// this connection will be disabled.
	Disabled bool `protobuf:"varint,13,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Output only. Set to true when the connection is being set up or updated in
	// the background.
	Reconciling bool `protobuf:"varint,14,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
	// Allows clients to store small amounts of arbitrary data.
	Annotations map[string]string `protobuf:"bytes,15,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string `protobuf:"bytes,16,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center, Bitbucket Cloud or GitLab.

func (*Connection) Descriptor

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

Deprecated: Use Connection.ProtoReflect.Descriptor instead.

func (*Connection) GetAnnotations

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

func (*Connection) GetBitbucketCloudConfig

func (x *Connection) GetBitbucketCloudConfig() *BitbucketCloudConfig

func (*Connection) GetBitbucketDataCenterConfig

func (x *Connection) GetBitbucketDataCenterConfig() *BitbucketDataCenterConfig

func (*Connection) GetConnectionConfig

func (m *Connection) GetConnectionConfig() isConnection_ConnectionConfig

func (*Connection) GetCreateTime

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

func (*Connection) GetDisabled

func (x *Connection) GetDisabled() bool

func (*Connection) GetEtag

func (x *Connection) GetEtag() string

func (*Connection) GetGithubConfig

func (x *Connection) GetGithubConfig() *GitHubConfig

func (*Connection) GetGithubEnterpriseConfig

func (x *Connection) GetGithubEnterpriseConfig() *GitHubEnterpriseConfig

func (*Connection) GetGitlabConfig

func (x *Connection) GetGitlabConfig() *GitLabConfig

func (*Connection) GetInstallationState

func (x *Connection) GetInstallationState() *InstallationState

func (*Connection) GetName

func (x *Connection) GetName() string

func (*Connection) GetReconciling

func (x *Connection) GetReconciling() bool

func (*Connection) GetUpdateTime

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

func (*Connection) ProtoMessage

func (*Connection) ProtoMessage()

func (*Connection) ProtoReflect

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

func (*Connection) Reset

func (x *Connection) Reset()

func (*Connection) String

func (x *Connection) String() string

Connection_BitbucketCloudConfig

type Connection_BitbucketCloudConfig struct {
	// Configuration for connections to Bitbucket Cloud.
	BitbucketCloudConfig *BitbucketCloudConfig `protobuf:"bytes,9,opt,name=bitbucket_cloud_config,json=bitbucketCloudConfig,proto3,oneof"`
}

Connection_BitbucketDataCenterConfig

type Connection_BitbucketDataCenterConfig struct {
	// Configuration for connections to Bitbucket Data Center.
	BitbucketDataCenterConfig *BitbucketDataCenterConfig `protobuf:"bytes,8,opt,name=bitbucket_data_center_config,json=bitbucketDataCenterConfig,proto3,oneof"`
}

Connection_GithubConfig

type Connection_GithubConfig struct {
	// Configuration for connections to github.com.
	GithubConfig *GitHubConfig `protobuf:"bytes,5,opt,name=github_config,json=githubConfig,proto3,oneof"`
}

Connection_GithubEnterpriseConfig

type Connection_GithubEnterpriseConfig struct {
	// Configuration for connections to an instance of GitHub Enterprise.
	GithubEnterpriseConfig *GitHubEnterpriseConfig `protobuf:"bytes,6,opt,name=github_enterprise_config,json=githubEnterpriseConfig,proto3,oneof"`
}

Connection_GitlabConfig

type Connection_GitlabConfig struct {
	// Configuration for connections to gitlab.com or an instance of GitLab
	// Enterprise.
	GitlabConfig *GitLabConfig `protobuf:"bytes,7,opt,name=gitlab_config,json=gitlabConfig,proto3,oneof"`
}

CreateConnectionRequest

type CreateConnectionRequest struct {

	// Required. Project and location where the connection will be created.
	// Format: `projects/*/locations/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The Connection to create.
	Connection *Connection `protobuf:"bytes,2,opt,name=connection,proto3" json:"connection,omitempty"`
	// Required. The ID to use for the Connection, which will become the final
	// component of the Connection's resource name. Names must be unique
	// per-project per-location. Allows alphanumeric characters and any of
	// -._~%!$&'()*+,;=@.
	ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// contains filtered or unexported fields
}

Message for creating a Connection

func (*CreateConnectionRequest) Descriptor

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

Deprecated: Use CreateConnectionRequest.ProtoReflect.Descriptor instead.

func (*CreateConnectionRequest) GetConnection

func (x *CreateConnectionRequest) GetConnection() *Connection

func (*CreateConnectionRequest) GetConnectionId

func (x *CreateConnectionRequest) GetConnectionId() string

func (*CreateConnectionRequest) GetParent

func (x *CreateConnectionRequest) GetParent() string

func (*CreateConnectionRequest) ProtoMessage

func (*CreateConnectionRequest) ProtoMessage()

func (*CreateConnectionRequest) ProtoReflect

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

func (*CreateConnectionRequest) Reset

func (x *CreateConnectionRequest) Reset()

func (*CreateConnectionRequest) String

func (x *CreateConnectionRequest) String() string

CreateRepositoryRequest

type CreateRepositoryRequest struct {

	// Required. The connection to contain the repository. If the request is part
	// of a BatchCreateRepositoriesRequest, this field should be empty or match
	// the parent specified there.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The repository to create.
	Repository *Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	// Required. The ID to use for the repository, which will become the final
	// component of the repository's resource name. This ID should be unique in
	// the connection. Allows alphanumeric characters and any of
	// -._~%!$&'()*+,;=@.
	RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// contains filtered or unexported fields
}

Message for creating a Repository.

func (*CreateRepositoryRequest) Descriptor

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

Deprecated: Use CreateRepositoryRequest.ProtoReflect.Descriptor instead.

func (*CreateRepositoryRequest) GetParent

func (x *CreateRepositoryRequest) GetParent() string

func (*CreateRepositoryRequest) GetRepository

func (x *CreateRepositoryRequest) GetRepository() *Repository

func (*CreateRepositoryRequest) GetRepositoryId

func (x *CreateRepositoryRequest) GetRepositoryId() string

func (*CreateRepositoryRequest) ProtoMessage

func (*CreateRepositoryRequest) ProtoMessage()

func (*CreateRepositoryRequest) ProtoReflect

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

func (*CreateRepositoryRequest) Reset

func (x *CreateRepositoryRequest) Reset()

func (*CreateRepositoryRequest) String

func (x *CreateRepositoryRequest) String() string

DeleteConnectionRequest

type DeleteConnectionRequest struct {

	// Required. The name of the Connection to delete.
	// Format: `projects/*/locations/*/connections/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The current etag of the connection.
	// If an etag is provided and does not match the current etag of the
	// connection, deletion will be blocked and an ABORTED error will be returned.
	Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
	// If set, validate the request, but do not actually post it.
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

Message for deleting a Connection.

func (*DeleteConnectionRequest) Descriptor

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

Deprecated: Use DeleteConnectionRequest.ProtoReflect.Descriptor instead.

func (*DeleteConnectionRequest) GetEtag

func (x *DeleteConnectionRequest) GetEtag() string

func (*DeleteConnectionRequest) GetName

func (x *DeleteConnectionRequest) GetName() string

func (*DeleteConnectionRequest) GetValidateOnly

func (x *DeleteConnectionRequest) GetValidateOnly() bool

func (*DeleteConnectionRequest) ProtoMessage

func (*DeleteConnectionRequest) ProtoMessage()

func (*DeleteConnectionRequest) ProtoReflect

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

func (*DeleteConnectionRequest) Reset

func (x *DeleteConnectionRequest) Reset()

func (*DeleteConnectionRequest) String

func (x *DeleteConnectionRequest) String() string

DeleteRepositoryRequest

type DeleteRepositoryRequest struct {

	// Required. The name of the Repository to delete.
	// Format: `projects/*/locations/*/connections/*/repositories/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The current etag of the repository.
	// If an etag is provided and does not match the current etag of the
	// repository, deletion will be blocked and an ABORTED error will be returned.
	Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
	// If set, validate the request, but do not actually post it.
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

Message for deleting a Repository.

func (*DeleteRepositoryRequest) Descriptor

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

Deprecated: Use DeleteRepositoryRequest.ProtoReflect.Descriptor instead.

func (*DeleteRepositoryRequest) GetEtag

func (x *DeleteRepositoryRequest) GetEtag() string

func (*DeleteRepositoryRequest) GetName

func (x *DeleteRepositoryRequest) GetName() string

func (*DeleteRepositoryRequest) GetValidateOnly

func (x *DeleteRepositoryRequest) GetValidateOnly() bool

func (*DeleteRepositoryRequest) ProtoMessage

func (*DeleteRepositoryRequest) ProtoMessage()

func (*DeleteRepositoryRequest) ProtoReflect

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

func (*DeleteRepositoryRequest) Reset

func (x *DeleteRepositoryRequest) Reset()

func (*DeleteRepositoryRequest) String

func (x *DeleteRepositoryRequest) String() string

FetchGitRefsRequest

type FetchGitRefsRequest struct {

	// Required. The resource name of the repository in the format
	// `projects/*/locations/*/connections/*/repositories/*`.
	Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	// Type of refs to fetch
	RefType FetchGitRefsRequest_RefType `protobuf:"varint,2,opt,name=ref_type,json=refType,proto3,enum=google.devtools.cloudbuild.v2.FetchGitRefsRequest_RefType" json:"ref_type,omitempty"`
	// contains filtered or unexported fields
}

Request for fetching git refs

func (*FetchGitRefsRequest) Descriptor

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

Deprecated: Use FetchGitRefsRequest.ProtoReflect.Descriptor instead.

func (*FetchGitRefsRequest) GetRefType

func (*FetchGitRefsRequest) GetRepository

func (x *FetchGitRefsRequest) GetRepository() string

func (*FetchGitRefsRequest) ProtoMessage

func (*FetchGitRefsRequest) ProtoMessage()

func (*FetchGitRefsRequest) ProtoReflect

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

func (*FetchGitRefsRequest) Reset

func (x *FetchGitRefsRequest) Reset()

func (*FetchGitRefsRequest) String

func (x *FetchGitRefsRequest) String() string

FetchGitRefsRequest_RefType

type FetchGitRefsRequest_RefType int32

Type of refs

FetchGitRefsRequest_REF_TYPE_UNSPECIFIED, FetchGitRefsRequest_TAG, FetchGitRefsRequest_BRANCH

const (
	// No type specified.
	FetchGitRefsRequest_REF_TYPE_UNSPECIFIED FetchGitRefsRequest_RefType = 0
	// To fetch tags.
	FetchGitRefsRequest_TAG FetchGitRefsRequest_RefType = 1
	// To fetch branches.
	FetchGitRefsRequest_BRANCH FetchGitRefsRequest_RefType = 2
)

func (FetchGitRefsRequest_RefType) Descriptor

func (FetchGitRefsRequest_RefType) Enum

func (FetchGitRefsRequest_RefType) EnumDescriptor

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

Deprecated: Use FetchGitRefsRequest_RefType.Descriptor instead.

func (FetchGitRefsRequest_RefType) Number

func (FetchGitRefsRequest_RefType) String

func (FetchGitRefsRequest_RefType) Type

FetchGitRefsResponse

type FetchGitRefsResponse struct {

	// Name of the refs fetched.
	RefNames []string `protobuf:"bytes,1,rep,name=ref_names,json=refNames,proto3" json:"ref_names,omitempty"`
	// contains filtered or unexported fields
}

Response for fetching git refs

func (*FetchGitRefsResponse) Descriptor

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

Deprecated: Use FetchGitRefsResponse.ProtoReflect.Descriptor instead.

func (*FetchGitRefsResponse) GetRefNames

func (x *FetchGitRefsResponse) GetRefNames() []string

func (*FetchGitRefsResponse) ProtoMessage

func (*FetchGitRefsResponse) ProtoMessage()

func (*FetchGitRefsResponse) ProtoReflect

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

func (*FetchGitRefsResponse) Reset

func (x *FetchGitRefsResponse) Reset()

func (*FetchGitRefsResponse) String

func (x *FetchGitRefsResponse) String() string

FetchLinkableRepositoriesRequest

type FetchLinkableRepositoriesRequest struct {

	// Required. The name of the Connection.
	// Format: `projects/*/locations/*/connections/*`.
	Connection string `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
	// Number of results to return in the list. Default to 20.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page start.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for FetchLinkableRepositories.

func (*FetchLinkableRepositoriesRequest) Descriptor

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

Deprecated: Use FetchLinkableRepositoriesRequest.ProtoReflect.Descriptor instead.

func (*FetchLinkableRepositoriesRequest) GetConnection

func (x *FetchLinkableRepositoriesRequest) GetConnection() string

func (*FetchLinkableRepositoriesRequest) GetPageSize

func (x *FetchLinkableRepositoriesRequest) GetPageSize() int32

func (*FetchLinkableRepositoriesRequest) GetPageToken

func (x *FetchLinkableRepositoriesRequest) GetPageToken() string

func (*FetchLinkableRepositoriesRequest) ProtoMessage

func (*FetchLinkableRepositoriesRequest) ProtoMessage()

func (*FetchLinkableRepositoriesRequest) ProtoReflect

func (*FetchLinkableRepositoriesRequest) Reset

func (*FetchLinkableRepositoriesRequest) String

FetchLinkableRepositoriesResponse

type FetchLinkableRepositoriesResponse struct {

	// repositories ready to be created.
	Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for FetchLinkableRepositories.

func (*FetchLinkableRepositoriesResponse) Descriptor

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

Deprecated: Use FetchLinkableRepositoriesResponse.ProtoReflect.Descriptor instead.

func (*FetchLinkableRepositoriesResponse) GetNextPageToken

func (x *FetchLinkableRepositoriesResponse) GetNextPageToken() string

func (*FetchLinkableRepositoriesResponse) GetRepositories

func (x *FetchLinkableRepositoriesResponse) GetRepositories() []*Repository

func (*FetchLinkableRepositoriesResponse) ProtoMessage

func (*FetchLinkableRepositoriesResponse) ProtoMessage()

func (*FetchLinkableRepositoriesResponse) ProtoReflect

func (*FetchLinkableRepositoriesResponse) Reset

func (*FetchLinkableRepositoriesResponse) String

FetchReadTokenRequest

type FetchReadTokenRequest struct {

	// Required. The resource name of the repository in the format
	// `projects/*/locations/*/connections/*/repositories/*`.
	Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

Message for fetching SCM read token.

func (*FetchReadTokenRequest) Descriptor

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

Deprecated: Use FetchReadTokenRequest.ProtoReflect.Descriptor instead.

func (*FetchReadTokenRequest) GetRepository

func (x *FetchReadTokenRequest) GetRepository() string

func (*FetchReadTokenRequest) ProtoMessage

func (*FetchReadTokenRequest) ProtoMessage()

func (*FetchReadTokenRequest) ProtoReflect

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

func (*FetchReadTokenRequest) Reset

func (x *FetchReadTokenRequest) Reset()

func (*FetchReadTokenRequest) String

func (x *FetchReadTokenRequest) String() string

FetchReadTokenResponse

type FetchReadTokenResponse struct {

	// The token content.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// Expiration timestamp. Can be empty if unknown or non-expiring.
	ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	// contains filtered or unexported fields
}

Message for responding to get read token.

func (*FetchReadTokenResponse) Descriptor

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

Deprecated: Use FetchReadTokenResponse.ProtoReflect.Descriptor instead.

func (*FetchReadTokenResponse) GetExpirationTime

func (x *FetchReadTokenResponse) GetExpirationTime() *timestamppb.Timestamp

func (*FetchReadTokenResponse) GetToken

func (x *FetchReadTokenResponse) GetToken() string

func (*FetchReadTokenResponse) ProtoMessage

func (*FetchReadTokenResponse) ProtoMessage()

func (*FetchReadTokenResponse) ProtoReflect

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

func (*FetchReadTokenResponse) Reset

func (x *FetchReadTokenResponse) Reset()

func (*FetchReadTokenResponse) String

func (x *FetchReadTokenResponse) String() string

FetchReadWriteTokenRequest

type FetchReadWriteTokenRequest struct {

	// Required. The resource name of the repository in the format
	// `projects/*/locations/*/connections/*/repositories/*`.
	Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

Message for fetching SCM read/write token.

func (*FetchReadWriteTokenRequest) Descriptor

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

Deprecated: Use FetchReadWriteTokenRequest.ProtoReflect.Descriptor instead.

func (*FetchReadWriteTokenRequest) GetRepository

func (x *FetchReadWriteTokenRequest) GetRepository() string

func (*FetchReadWriteTokenRequest) ProtoMessage

func (*FetchReadWriteTokenRequest) ProtoMessage()

func (*FetchReadWriteTokenRequest) ProtoReflect

func (*FetchReadWriteTokenRequest) Reset

func (x *FetchReadWriteTokenRequest) Reset()

func (*FetchReadWriteTokenRequest) String

func (x *FetchReadWriteTokenRequest) String() string

FetchReadWriteTokenResponse

type FetchReadWriteTokenResponse struct {

	// The token content.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// Expiration timestamp. Can be empty if unknown or non-expiring.
	ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	// contains filtered or unexported fields
}

Message for responding to get read/write token.

func (*FetchReadWriteTokenResponse) Descriptor

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

Deprecated: Use FetchReadWriteTokenResponse.ProtoReflect.Descriptor instead.

func (*FetchReadWriteTokenResponse) GetExpirationTime

func (x *FetchReadWriteTokenResponse) GetExpirationTime() *timestamppb.Timestamp

func (*FetchReadWriteTokenResponse) GetToken

func (x *FetchReadWriteTokenResponse) GetToken() string

func (*FetchReadWriteTokenResponse) ProtoMessage

func (*FetchReadWriteTokenResponse) ProtoMessage()

func (*FetchReadWriteTokenResponse) ProtoReflect

func (*FetchReadWriteTokenResponse) Reset

func (x *FetchReadWriteTokenResponse) Reset()

func (*FetchReadWriteTokenResponse) String

func (x *FetchReadWriteTokenResponse) String() string

GetConnectionRequest

type GetConnectionRequest struct {

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

Message for getting the details of a Connection.

func (*GetConnectionRequest) Descriptor

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

Deprecated: Use GetConnectionRequest.ProtoReflect.Descriptor instead.

func (*GetConnectionRequest) GetName

func (x *GetConnectionRequest) GetName() string

func (*GetConnectionRequest) ProtoMessage

func (*GetConnectionRequest) ProtoMessage()

func (*GetConnectionRequest) ProtoReflect

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

func (*GetConnectionRequest) Reset

func (x *GetConnectionRequest) Reset()

func (*GetConnectionRequest) String

func (x *GetConnectionRequest) String() string

GetRepositoryRequest

type GetRepositoryRequest struct {

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

Message for getting the details of a Repository.

func (*GetRepositoryRequest) Descriptor

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

Deprecated: Use GetRepositoryRequest.ProtoReflect.Descriptor instead.

func (*GetRepositoryRequest) GetName

func (x *GetRepositoryRequest) GetName() string

func (*GetRepositoryRequest) ProtoMessage

func (*GetRepositoryRequest) ProtoMessage()

func (*GetRepositoryRequest) ProtoReflect

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

func (*GetRepositoryRequest) Reset

func (x *GetRepositoryRequest) Reset()

func (*GetRepositoryRequest) String

func (x *GetRepositoryRequest) String() string

GitHubConfig

type GitHubConfig struct {

	// OAuth credential of the account that authorized the Cloud Build GitHub App.
	// It is recommended to use a robot account instead of a human user account.
	// The OAuth token must be tied to the Cloud Build GitHub App.
	AuthorizerCredential *OAuthCredential `protobuf:"bytes,1,opt,name=authorizer_credential,json=authorizerCredential,proto3" json:"authorizer_credential,omitempty"`
	// GitHub App installation id.
	AppInstallationId int64 `protobuf:"varint,2,opt,name=app_installation_id,json=appInstallationId,proto3" json:"app_installation_id,omitempty"`
	// contains filtered or unexported fields
}

Configuration for connections to github.com.

func (*GitHubConfig) Descriptor

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

Deprecated: Use GitHubConfig.ProtoReflect.Descriptor instead.

func (*GitHubConfig) GetAppInstallationId

func (x *GitHubConfig) GetAppInstallationId() int64

func (*GitHubConfig) GetAuthorizerCredential

func (x *GitHubConfig) GetAuthorizerCredential() *OAuthCredential

func (*GitHubConfig) ProtoMessage

func (*GitHubConfig) ProtoMessage()

func (*GitHubConfig) ProtoReflect

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

func (*GitHubConfig) Reset

func (x *GitHubConfig) Reset()

func (*GitHubConfig) String

func (x *GitHubConfig) String() string

GitHubEnterpriseConfig

type GitHubEnterpriseConfig struct {

	// Required. The URI of the GitHub Enterprise host this connection is for.
	HostUri string `protobuf:"bytes,1,opt,name=host_uri,json=hostUri,proto3" json:"host_uri,omitempty"`
	// Required. API Key used for authentication of webhook events.
	ApiKey string `protobuf:"bytes,12,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// Id of the GitHub App created from the manifest.
	AppId int64 `protobuf:"varint,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	// The URL-friendly name of the GitHub App.
	AppSlug string `protobuf:"bytes,13,opt,name=app_slug,json=appSlug,proto3" json:"app_slug,omitempty"`
	// SecretManager resource containing the private key of the GitHub App,
	// formatted as `projects/*/secrets/*/versions/*`.
	PrivateKeySecretVersion string `protobuf:"bytes,4,opt,name=private_key_secret_version,json=privateKeySecretVersion,proto3" json:"private_key_secret_version,omitempty"`
	// SecretManager resource containing the webhook secret of the GitHub App,
	// formatted as `projects/*/secrets/*/versions/*`.
	WebhookSecretSecretVersion string `protobuf:"bytes,5,opt,name=webhook_secret_secret_version,json=webhookSecretSecretVersion,proto3" json:"webhook_secret_secret_version,omitempty"`
	// ID of the installation of the GitHub App.
	AppInstallationId int64 `protobuf:"varint,9,opt,name=app_installation_id,json=appInstallationId,proto3" json:"app_installation_id,omitempty"`
	// Configuration for using Service Directory to privately connect to a GitHub
	// Enterprise server. This should only be set if the GitHub Enterprise server
	// is hosted on-premises and not reachable by public internet. If this field
	// is left empty, calls to the GitHub Enterprise server will be made over the
	// public internet.
	ServiceDirectoryConfig *ServiceDirectoryConfig `protobuf:"bytes,10,opt,name=service_directory_config,json=serviceDirectoryConfig,proto3" json:"service_directory_config,omitempty"`
	// SSL certificate to use for requests to GitHub Enterprise.
	SslCa string `protobuf:"bytes,11,opt,name=ssl_ca,json=sslCa,proto3" json:"ssl_ca,omitempty"`
	// Output only. GitHub Enterprise version installed at the host_uri.
	ServerVersion string `protobuf:"bytes,14,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
	// contains filtered or unexported fields
}

Configuration for connections to an instance of GitHub Enterprise.

func (*GitHubEnterpriseConfig) Descriptor

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

Deprecated: Use GitHubEnterpriseConfig.ProtoReflect.Descriptor instead.

func (*GitHubEnterpriseConfig) GetApiKey

func (x *GitHubEnterpriseConfig) GetApiKey() string

func (*GitHubEnterpriseConfig) GetAppId

func (x *GitHubEnterpriseConfig) GetAppId() int64

func (*GitHubEnterpriseConfig) GetAppInstallationId

func (x *GitHubEnterpriseConfig) GetAppInstallationId() int64

func (*GitHubEnterpriseConfig) GetAppSlug

func (x *GitHubEnterpriseConfig) GetAppSlug() string

func (*GitHubEnterpriseConfig) GetHostUri

func (x *GitHubEnterpriseConfig) GetHostUri() string

func (*GitHubEnterpriseConfig) GetPrivateKeySecretVersion

func (x *GitHubEnterpriseConfig) GetPrivateKeySecretVersion() string

func (*GitHubEnterpriseConfig) GetServerVersion

func (x *GitHubEnterpriseConfig) GetServerVersion() string

func (*GitHubEnterpriseConfig) GetServiceDirectoryConfig

func (x *GitHubEnterpriseConfig) GetServiceDirectoryConfig() *ServiceDirectoryConfig

func (*GitHubEnterpriseConfig) GetSslCa

func (x *GitHubEnterpriseConfig) GetSslCa() string

func (*GitHubEnterpriseConfig) GetWebhookSecretSecretVersion

func (x *GitHubEnterpriseConfig) GetWebhookSecretSecretVersion() string

func (*GitHubEnterpriseConfig) ProtoMessage

func (*GitHubEnterpriseConfig) ProtoMessage()

func (*GitHubEnterpriseConfig) ProtoReflect

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

func (*GitHubEnterpriseConfig) Reset

func (x *GitHubEnterpriseConfig) Reset()

func (*GitHubEnterpriseConfig) String

func (x *GitHubEnterpriseConfig) String() string

GitLabConfig

type GitLabConfig struct {

	// The URI of the GitLab Enterprise host this connection is for.
	// If not specified, the default value is https://gitlab.com.
	HostUri string `protobuf:"bytes,1,opt,name=host_uri,json=hostUri,proto3" json:"host_uri,omitempty"`
	// Required. Immutable. SecretManager resource containing the webhook secret
	// of a GitLab Enterprise project, formatted as
	// `projects/*/secrets/*/versions/*`.
	WebhookSecretSecretVersion string `protobuf:"bytes,2,opt,name=webhook_secret_secret_version,json=webhookSecretSecretVersion,proto3" json:"webhook_secret_secret_version,omitempty"`
	// Required. A GitLab personal access token with the minimum `read_api` scope
	// access.
	ReadAuthorizerCredential *UserCredential `protobuf:"bytes,3,opt,name=read_authorizer_credential,json=readAuthorizerCredential,proto3" json:"read_authorizer_credential,omitempty"`
	// Required. A GitLab personal access token with the `api` scope access.
	AuthorizerCredential *UserCredential `protobuf:"bytes,4,opt,name=authorizer_credential,json=authorizerCredential,proto3" json:"authorizer_credential,omitempty"`
	// Configuration for using Service Directory to privately connect to a GitLab
	// Enterprise server. This should only be set if the GitLab Enterprise server
	// is hosted on-premises and not reachable by public internet. If this field
	// is left empty, calls to the GitLab Enterprise server will be made over the
	// public internet.
	ServiceDirectoryConfig *ServiceDirectoryConfig `protobuf:"bytes,5,opt,name=service_directory_config,json=serviceDirectoryConfig,proto3" json:"service_directory_config,omitempty"`
	// SSL certificate to use for requests to GitLab Enterprise.
	SslCa string `protobuf:"bytes,6,opt,name=ssl_ca,json=sslCa,proto3" json:"ssl_ca,omitempty"`
	// Output only. Version of the GitLab Enterprise server running on the
	// `host_uri`.
	ServerVersion string `protobuf:"bytes,7,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
	// contains filtered or unexported fields
}

Configuration for connections to gitlab.com or an instance of GitLab Enterprise.

func (*GitLabConfig) Descriptor

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

Deprecated: Use GitLabConfig.ProtoReflect.Descriptor instead.

func (*GitLabConfig) GetAuthorizerCredential

func (x *GitLabConfig) GetAuthorizerCredential() *UserCredential

func (*GitLabConfig) GetHostUri

func (x *GitLabConfig) GetHostUri() string

func (*GitLabConfig) GetReadAuthorizerCredential

func (x *GitLabConfig) GetReadAuthorizerCredential() *UserCredential

func (*GitLabConfig) GetServerVersion

func (x *GitLabConfig) GetServerVersion() string

func (*GitLabConfig) GetServiceDirectoryConfig

func (x *GitLabConfig) GetServiceDirectoryConfig() *ServiceDirectoryConfig

func (*GitLabConfig) GetSslCa

func (x *GitLabConfig) GetSslCa() string

func (*GitLabConfig) GetWebhookSecretSecretVersion

func (x *GitLabConfig) GetWebhookSecretSecretVersion() string

func (*GitLabConfig) ProtoMessage

func (*GitLabConfig) ProtoMessage()

func (*GitLabConfig) ProtoReflect

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

func (*GitLabConfig) Reset

func (x *GitLabConfig) Reset()

func (*GitLabConfig) String

func (x *GitLabConfig) String() string

InstallationState

type InstallationState struct {

	// Output only. Current step of the installation process.
	Stage InstallationState_Stage `protobuf:"varint,1,opt,name=stage,proto3,enum=google.devtools.cloudbuild.v2.InstallationState_Stage" json:"stage,omitempty"`
	// Output only. Message of what the user should do next to continue the
	// installation. Empty string if the installation is already complete.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// Output only. Link to follow for next action. Empty string if the
	// installation is already complete.
	ActionUri string `protobuf:"bytes,3,opt,name=action_uri,json=actionUri,proto3" json:"action_uri,omitempty"`
	// contains filtered or unexported fields
}

Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections.

func (*InstallationState) Descriptor

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

Deprecated: Use InstallationState.ProtoReflect.Descriptor instead.

func (*InstallationState) GetActionUri

func (x *InstallationState) GetActionUri() string

func (*InstallationState) GetMessage

func (x *InstallationState) GetMessage() string

func (*InstallationState) GetStage

func (*InstallationState) ProtoMessage

func (*InstallationState) ProtoMessage()

func (*InstallationState) ProtoReflect

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

func (*InstallationState) Reset

func (x *InstallationState) Reset()

func (*InstallationState) String

func (x *InstallationState) String() string

InstallationState_Stage

type InstallationState_Stage int32

Stage of the installation process.

InstallationState_STAGE_UNSPECIFIED, InstallationState_PENDING_CREATE_APP, InstallationState_PENDING_USER_OAUTH, InstallationState_PENDING_INSTALL_APP, InstallationState_COMPLETE

const (
	// No stage specified.
	InstallationState_STAGE_UNSPECIFIED InstallationState_Stage = 0
	// Only for GitHub Enterprise. An App creation has been requested.
	// The user needs to confirm the creation in their GitHub enterprise host.
	InstallationState_PENDING_CREATE_APP InstallationState_Stage = 1
	// User needs to authorize the GitHub (or Enterprise) App via OAuth.
	InstallationState_PENDING_USER_OAUTH InstallationState_Stage = 2
	// User needs to follow the link to install the GitHub (or Enterprise) App.
	InstallationState_PENDING_INSTALL_APP InstallationState_Stage = 3
	// Installation process has been completed.
	InstallationState_COMPLETE InstallationState_Stage = 10
)

func (InstallationState_Stage) Descriptor

func (InstallationState_Stage) Enum

func (InstallationState_Stage) EnumDescriptor

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

Deprecated: Use InstallationState_Stage.Descriptor instead.

func (InstallationState_Stage) Number

func (InstallationState_Stage) String

func (x InstallationState_Stage) String() string

func (InstallationState_Stage) Type

ListConnectionsRequest

type ListConnectionsRequest struct {

	// Required. The parent, which owns this collection of Connections.
	// Format: `projects/*/locations/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Number of results to return in the list.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page start.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting list of Connections.

func (*ListConnectionsRequest) Descriptor

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

Deprecated: Use ListConnectionsRequest.ProtoReflect.Descriptor instead.

func (*ListConnectionsRequest) GetPageSize

func (x *ListConnectionsRequest) GetPageSize() int32

func (*ListConnectionsRequest) GetPageToken

func (x *ListConnectionsRequest) GetPageToken() string

func (*ListConnectionsRequest) GetParent

func (x *ListConnectionsRequest) GetParent() string

func (*ListConnectionsRequest) ProtoMessage

func (*ListConnectionsRequest) ProtoMessage()

func (*ListConnectionsRequest) ProtoReflect

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

func (*ListConnectionsRequest) Reset

func (x *ListConnectionsRequest) Reset()

func (*ListConnectionsRequest) String

func (x *ListConnectionsRequest) String() string

ListConnectionsResponse

type ListConnectionsResponse struct {

	// The list of Connections.
	Connections []*Connection `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Message for response to listing Connections.

func (*ListConnectionsResponse) Descriptor

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

Deprecated: Use ListConnectionsResponse.ProtoReflect.Descriptor instead.

func (*ListConnectionsResponse) GetConnections

func (x *ListConnectionsResponse) GetConnections() []*Connection

func (*ListConnectionsResponse) GetNextPageToken

func (x *ListConnectionsResponse) GetNextPageToken() string

func (*ListConnectionsResponse) ProtoMessage

func (*ListConnectionsResponse) ProtoMessage()

func (*ListConnectionsResponse) ProtoReflect

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

func (*ListConnectionsResponse) Reset

func (x *ListConnectionsResponse) Reset()

func (*ListConnectionsResponse) String

func (x *ListConnectionsResponse) String() string

ListRepositoriesRequest

type ListRepositoriesRequest struct {

	// Required. The parent, which owns this collection of Repositories.
	// Format: `projects/*/locations/*/connections/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Number of results to return in the list.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page start.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A filter expression that filters resources listed in the response.
	// Expressions must follow API improvement proposal
	// [AIP-160](https://google.aip.dev/160). e.g.
	// `remote_uri:"https://github.com*"`.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting list of Repositories.

func (*ListRepositoriesRequest) Descriptor

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

Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead.

func (*ListRepositoriesRequest) GetFilter

func (x *ListRepositoriesRequest) GetFilter() string

func (*ListRepositoriesRequest) GetPageSize

func (x *ListRepositoriesRequest) GetPageSize() int32

func (*ListRepositoriesRequest) GetPageToken

func (x *ListRepositoriesRequest) GetPageToken() string

func (*ListRepositoriesRequest) GetParent

func (x *ListRepositoriesRequest) GetParent() string

func (*ListRepositoriesRequest) ProtoMessage

func (*ListRepositoriesRequest) ProtoMessage()

func (*ListRepositoriesRequest) ProtoReflect

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

func (*ListRepositoriesRequest) Reset

func (x *ListRepositoriesRequest) Reset()

func (*ListRepositoriesRequest) String

func (x *ListRepositoriesRequest) String() string

ListRepositoriesResponse

type ListRepositoriesResponse struct {

	// The list of Repositories.
	Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Message for response to listing Repositories.

func (*ListRepositoriesResponse) Descriptor

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

Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead.

func (*ListRepositoriesResponse) GetNextPageToken

func (x *ListRepositoriesResponse) GetNextPageToken() string

func (*ListRepositoriesResponse) GetRepositories

func (x *ListRepositoriesResponse) GetRepositories() []*Repository

func (*ListRepositoriesResponse) ProtoMessage

func (*ListRepositoriesResponse) ProtoMessage()

func (*ListRepositoriesResponse) ProtoReflect

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

func (*ListRepositoriesResponse) Reset

func (x *ListRepositoriesResponse) Reset()

func (*ListRepositoriesResponse) String

func (x *ListRepositoriesResponse) String() string

OAuthCredential

type OAuthCredential struct {

	// A SecretManager resource containing the OAuth token that authorizes
	// the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.
	OauthTokenSecretVersion string `protobuf:"bytes,1,opt,name=oauth_token_secret_version,json=oauthTokenSecretVersion,proto3" json:"oauth_token_secret_version,omitempty"`
	// Output only. The username associated to this token.
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

Represents an OAuth token of the account that authorized the Connection, and associated metadata.

func (*OAuthCredential) Descriptor

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

Deprecated: Use OAuthCredential.ProtoReflect.Descriptor instead.

func (*OAuthCredential) GetOauthTokenSecretVersion

func (x *OAuthCredential) GetOauthTokenSecretVersion() string

func (*OAuthCredential) GetUsername

func (x *OAuthCredential) GetUsername() string

func (*OAuthCredential) ProtoMessage

func (*OAuthCredential) ProtoMessage()

func (*OAuthCredential) ProtoReflect

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

func (*OAuthCredential) Reset

func (x *OAuthCredential) Reset()

func (*OAuthCredential) String

func (x *OAuthCredential) String() string

OperationMetadata

type OperationMetadata struct {

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

Represents the metadata of the long-running operation.

func (*OperationMetadata) Descriptor

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

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

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

func (*OperationMetadata) GetEndTime

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

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

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

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

ProcessWebhookRequest

type ProcessWebhookRequest struct {

	// Required. Project and location where the webhook will be received.
	// Format: `projects/*/locations/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// HTTP request body.
	Body *httpbody.HttpBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// Arbitrary additional key to find the maching repository for a webhook event
	// if needed.
	WebhookKey string `protobuf:"bytes,3,opt,name=webhook_key,json=webhookKey,proto3" json:"webhook_key,omitempty"`
	// contains filtered or unexported fields
}

RPC request object accepted by the ProcessWebhook RPC method.

func (*ProcessWebhookRequest) Descriptor

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

Deprecated: Use ProcessWebhookRequest.ProtoReflect.Descriptor instead.

func (*ProcessWebhookRequest) GetBody

func (x *ProcessWebhookRequest) GetBody() *httpbody.HttpBody

func (*ProcessWebhookRequest) GetParent

func (x *ProcessWebhookRequest) GetParent() string

func (*ProcessWebhookRequest) GetWebhookKey

func (x *ProcessWebhookRequest) GetWebhookKey() string

func (*ProcessWebhookRequest) ProtoMessage

func (*ProcessWebhookRequest) ProtoMessage()

func (*ProcessWebhookRequest) ProtoReflect

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

func (*ProcessWebhookRequest) Reset

func (x *ProcessWebhookRequest) Reset()

func (*ProcessWebhookRequest) String

func (x *ProcessWebhookRequest) String() string

Repository

type Repository struct {

	// Immutable. Resource name of the repository, in the format
	// `projects/*/locations/*/connections/*/repositories/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Git Clone HTTPS URI.
	RemoteUri string `protobuf:"bytes,2,opt,name=remote_uri,json=remoteUri,proto3" json:"remote_uri,omitempty"`
	// Output only. Server assigned timestamp for when the connection was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Server assigned timestamp for when the connection was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Allows clients to store small amounts of arbitrary data.
	Annotations map[string]string `protobuf:"bytes,6,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string `protobuf:"bytes,7,opt,name=etag,proto3" json:"etag,omitempty"`
	// Output only. External ID of the webhook created for the repository.
	WebhookId string `protobuf:"bytes,8,opt,name=webhook_id,json=webhookId,proto3" json:"webhook_id,omitempty"`
	// contains filtered or unexported fields
}

A repository associated to a parent connection.

func (*Repository) Descriptor

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

Deprecated: Use Repository.ProtoReflect.Descriptor instead.

func (*Repository) GetAnnotations

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

func (*Repository) GetCreateTime

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

func (*Repository) GetEtag

func (x *Repository) GetEtag() string

func (*Repository) GetName

func (x *Repository) GetName() string

func (*Repository) GetRemoteUri

func (x *Repository) GetRemoteUri() string

func (*Repository) GetUpdateTime

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

func (*Repository) GetWebhookId

func (x *Repository) GetWebhookId() string

func (*Repository) ProtoMessage

func (*Repository) ProtoMessage()

func (*Repository) ProtoReflect

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

func (*Repository) Reset

func (x *Repository) Reset()

func (*Repository) String

func (x *Repository) String() string

RepositoryManagerClient

type RepositoryManagerClient interface {
	// Creates a Connection.
	CreateConnection(ctx context.Context, in *CreateConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets details of a single connection.
	GetConnection(ctx context.Context, in *GetConnectionRequest, opts ...grpc.CallOption) (*Connection, error)
	// Lists Connections in a given project and location.
	ListConnections(ctx context.Context, in *ListConnectionsRequest, opts ...grpc.CallOption) (*ListConnectionsResponse, error)
	// Updates a single connection.
	UpdateConnection(ctx context.Context, in *UpdateConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single connection.
	DeleteConnection(ctx context.Context, in *DeleteConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Creates a Repository.
	CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Creates multiple repositories inside a connection.
	BatchCreateRepositories(ctx context.Context, in *BatchCreateRepositoriesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets details of a single repository.
	GetRepository(ctx context.Context, in *GetRepositoryRequest, opts ...grpc.CallOption) (*Repository, error)
	// Lists Repositories in a given connection.
	ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error)
	// Deletes a single repository.
	DeleteRepository(ctx context.Context, in *DeleteRepositoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Fetches read/write token of a given repository.
	FetchReadWriteToken(ctx context.Context, in *FetchReadWriteTokenRequest, opts ...grpc.CallOption) (*FetchReadWriteTokenResponse, error)
	// Fetches read token of a given repository.
	FetchReadToken(ctx context.Context, in *FetchReadTokenRequest, opts ...grpc.CallOption) (*FetchReadTokenResponse, error)
	// FetchLinkableRepositories get repositories from SCM that are
	// accessible and could be added to the connection.
	FetchLinkableRepositories(ctx context.Context, in *FetchLinkableRepositoriesRequest, opts ...grpc.CallOption) (*FetchLinkableRepositoriesResponse, error)
	// Fetch the list of branches or tags for a given repository.
	FetchGitRefs(ctx context.Context, in *FetchGitRefsRequest, opts ...grpc.CallOption) (*FetchGitRefsResponse, error)
}

RepositoryManagerClient is the client API for RepositoryManager 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 NewRepositoryManagerClient

func NewRepositoryManagerClient(cc grpc.ClientConnInterface) RepositoryManagerClient

RepositoryManagerServer

type RepositoryManagerServer interface {
	// Creates a Connection.
	CreateConnection(context.Context, *CreateConnectionRequest) (*longrunningpb.Operation, error)
	// Gets details of a single connection.
	GetConnection(context.Context, *GetConnectionRequest) (*Connection, error)
	// Lists Connections in a given project and location.
	ListConnections(context.Context, *ListConnectionsRequest) (*ListConnectionsResponse, error)
	// Updates a single connection.
	UpdateConnection(context.Context, *UpdateConnectionRequest) (*longrunningpb.Operation, error)
	// Deletes a single connection.
	DeleteConnection(context.Context, *DeleteConnectionRequest) (*longrunningpb.Operation, error)
	// Creates a Repository.
	CreateRepository(context.Context, *CreateRepositoryRequest) (*longrunningpb.Operation, error)
	// Creates multiple repositories inside a connection.
	BatchCreateRepositories(context.Context, *BatchCreateRepositoriesRequest) (*longrunningpb.Operation, error)
	// Gets details of a single repository.
	GetRepository(context.Context, *GetRepositoryRequest) (*Repository, error)
	// Lists Repositories in a given connection.
	ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
	// Deletes a single repository.
	DeleteRepository(context.Context, *DeleteRepositoryRequest) (*longrunningpb.Operation, error)
	// Fetches read/write token of a given repository.
	FetchReadWriteToken(context.Context, *FetchReadWriteTokenRequest) (*FetchReadWriteTokenResponse, error)
	// Fetches read token of a given repository.
	FetchReadToken(context.Context, *FetchReadTokenRequest) (*FetchReadTokenResponse, error)
	// FetchLinkableRepositories get repositories from SCM that are
	// accessible and could be added to the connection.
	FetchLinkableRepositories(context.Context, *FetchLinkableRepositoriesRequest) (*FetchLinkableRepositoriesResponse, error)
	// Fetch the list of branches or tags for a given repository.
	FetchGitRefs(context.Context, *FetchGitRefsRequest) (*FetchGitRefsResponse, error)
}

RepositoryManagerServer is the server API for RepositoryManager service. All implementations should embed UnimplementedRepositoryManagerServer for forward compatibility

RunWorkflowCustomOperationMetadata

type RunWorkflowCustomOperationMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,3,opt,name=verb,proto3" json:"verb,omitempty"`
	// Output only. 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`.
	RequestedCancellation bool `protobuf:"varint,4,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. API version used to start the operation.
	ApiVersion string `protobuf:"bytes,5,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// Output only. Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,6,opt,name=target,proto3" json:"target,omitempty"`
	// Output only. ID of the pipeline run created by RunWorkflow.
	PipelineRunId string `protobuf:"bytes,7,opt,name=pipeline_run_id,json=pipelineRunId,proto3" json:"pipeline_run_id,omitempty"`
	// contains filtered or unexported fields
}

Represents the custom metadata of the RunWorkflow long-running operation.

func (*RunWorkflowCustomOperationMetadata) Descriptor

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

Deprecated: Use RunWorkflowCustomOperationMetadata.ProtoReflect.Descriptor instead.

func (*RunWorkflowCustomOperationMetadata) GetApiVersion

func (x *RunWorkflowCustomOperationMetadata) GetApiVersion() string

func (*RunWorkflowCustomOperationMetadata) GetCreateTime

func (*RunWorkflowCustomOperationMetadata) GetEndTime

func (*RunWorkflowCustomOperationMetadata) GetPipelineRunId

func (x *RunWorkflowCustomOperationMetadata) GetPipelineRunId() string

func (*RunWorkflowCustomOperationMetadata) GetRequestedCancellation

func (x *RunWorkflowCustomOperationMetadata) GetRequestedCancellation() bool

func (*RunWorkflowCustomOperationMetadata) GetTarget

func (*RunWorkflowCustomOperationMetadata) GetVerb

func (*RunWorkflowCustomOperationMetadata) ProtoMessage

func (*RunWorkflowCustomOperationMetadata) ProtoMessage()

func (*RunWorkflowCustomOperationMetadata) ProtoReflect

func (*RunWorkflowCustomOperationMetadata) Reset

func (*RunWorkflowCustomOperationMetadata) String

ServiceDirectoryConfig

type ServiceDirectoryConfig struct {

	// Required. The Service Directory service name.
	// Format:
	// projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

ServiceDirectoryConfig represents Service Directory configuration for a connection.

func (*ServiceDirectoryConfig) Descriptor

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

Deprecated: Use ServiceDirectoryConfig.ProtoReflect.Descriptor instead.

func (*ServiceDirectoryConfig) GetService

func (x *ServiceDirectoryConfig) GetService() string

func (*ServiceDirectoryConfig) ProtoMessage

func (*ServiceDirectoryConfig) ProtoMessage()

func (*ServiceDirectoryConfig) ProtoReflect

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

func (*ServiceDirectoryConfig) Reset

func (x *ServiceDirectoryConfig) Reset()

func (*ServiceDirectoryConfig) String

func (x *ServiceDirectoryConfig) String() string

UnimplementedRepositoryManagerServer

type UnimplementedRepositoryManagerServer struct {
}

UnimplementedRepositoryManagerServer should be embedded to have forward compatible implementations.

func (UnimplementedRepositoryManagerServer) BatchCreateRepositories

func (UnimplementedRepositoryManagerServer) CreateConnection

func (UnimplementedRepositoryManagerServer) CreateRepository

func (UnimplementedRepositoryManagerServer) DeleteConnection

func (UnimplementedRepositoryManagerServer) DeleteRepository

func (UnimplementedRepositoryManagerServer) FetchGitRefs

func (UnimplementedRepositoryManagerServer) FetchLinkableRepositories

func (UnimplementedRepositoryManagerServer) FetchReadToken

func (UnimplementedRepositoryManagerServer) FetchReadWriteToken

func (UnimplementedRepositoryManagerServer) GetConnection

func (UnimplementedRepositoryManagerServer) GetRepository

func (UnimplementedRepositoryManagerServer) ListConnections

func (UnimplementedRepositoryManagerServer) ListRepositories

func (UnimplementedRepositoryManagerServer) UpdateConnection

UnsafeRepositoryManagerServer

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

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

UpdateConnectionRequest

type UpdateConnectionRequest struct {

	// Required. The Connection to update.
	Connection *Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
	// The list of fields to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// If set to true, and the connection is not found a new connection
	// will be created. In this situation `update_mask` is ignored.
	// The creation will succeed only if the input connection has all the
	// necessary information (e.g a github_config with both  user_oauth_token and
	// installation_id properties).
	AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// The current etag of the connection.
	// If an etag is provided and does not match the current etag of the
	// connection, update will be blocked and an ABORTED error will be returned.
	Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

Message for updating a Connection.

func (*UpdateConnectionRequest) Descriptor

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

Deprecated: Use UpdateConnectionRequest.ProtoReflect.Descriptor instead.

func (*UpdateConnectionRequest) GetAllowMissing

func (x *UpdateConnectionRequest) GetAllowMissing() bool

func (*UpdateConnectionRequest) GetConnection

func (x *UpdateConnectionRequest) GetConnection() *Connection

func (*UpdateConnectionRequest) GetEtag

func (x *UpdateConnectionRequest) GetEtag() string

func (*UpdateConnectionRequest) GetUpdateMask

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

func (*UpdateConnectionRequest) ProtoMessage

func (*UpdateConnectionRequest) ProtoMessage()

func (*UpdateConnectionRequest) ProtoReflect

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

func (*UpdateConnectionRequest) Reset

func (x *UpdateConnectionRequest) Reset()

func (*UpdateConnectionRequest) String

func (x *UpdateConnectionRequest) String() string

UserCredential

type UserCredential struct {

	// Required. A SecretManager resource containing the user token that
	// authorizes the Cloud Build connection. Format:
	// `projects/*/secrets/*/versions/*`.
	UserTokenSecretVersion string `protobuf:"bytes,1,opt,name=user_token_secret_version,json=userTokenSecretVersion,proto3" json:"user_token_secret_version,omitempty"`
	// Output only. The username associated to this token.
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

Represents a personal access token that authorized the Connection, and associated metadata.

func (*UserCredential) Descriptor

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

Deprecated: Use UserCredential.ProtoReflect.Descriptor instead.

func (*UserCredential) GetUserTokenSecretVersion

func (x *UserCredential) GetUserTokenSecretVersion() string

func (*UserCredential) GetUsername

func (x *UserCredential) GetUsername() string

func (*UserCredential) ProtoMessage

func (*UserCredential) ProtoMessage()

func (*UserCredential) ProtoReflect

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

func (*UserCredential) Reset

func (x *UserCredential) Reset()

func (*UserCredential) String

func (x *UserCredential) String() string