cloudbuildpb

package
v1.16.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

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

View Source
var File_google_devtools_cloudbuild_v2_cloudbuild_proto protoreflect.FileDescriptor
View Source
var File_google_devtools_cloudbuild_v2_repositories_proto protoreflect.FileDescriptor

Functions

func RegisterRepositoryManagerServer

func RegisterRepositoryManagerServer(s *grpc.Server, srv RepositoryManagerServer)

Types

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

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

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

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

type BitbucketCloudConfig added in v1.16.0

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 `` /* 143-byte string literal not displayed */
	// 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 `` /* 135-byte string literal not displayed */
	// 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 deprecated added in v1.16.0

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

Deprecated: Use BitbucketCloudConfig.ProtoReflect.Descriptor instead.

func (*BitbucketCloudConfig) GetAuthorizerCredential added in v1.16.0

func (x *BitbucketCloudConfig) GetAuthorizerCredential() *UserCredential

func (*BitbucketCloudConfig) GetReadAuthorizerCredential added in v1.16.0

func (x *BitbucketCloudConfig) GetReadAuthorizerCredential() *UserCredential

func (*BitbucketCloudConfig) GetWebhookSecretSecretVersion added in v1.16.0

func (x *BitbucketCloudConfig) GetWebhookSecretSecretVersion() string

func (*BitbucketCloudConfig) GetWorkspace added in v1.16.0

func (x *BitbucketCloudConfig) GetWorkspace() string

func (*BitbucketCloudConfig) ProtoMessage added in v1.16.0

func (*BitbucketCloudConfig) ProtoMessage()

func (*BitbucketCloudConfig) ProtoReflect added in v1.16.0

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

func (*BitbucketCloudConfig) Reset added in v1.16.0

func (x *BitbucketCloudConfig) Reset()

func (*BitbucketCloudConfig) String added in v1.16.0

func (x *BitbucketCloudConfig) String() string

type BitbucketDataCenterConfig added in v1.16.0

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 `` /* 143-byte string literal not displayed */
	// Required. A http access token with the `REPO_READ` access.
	ReadAuthorizerCredential *UserCredential `` /* 135-byte string literal not displayed */
	// 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 `` /* 129-byte string literal not displayed */
	// 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 deprecated added in v1.16.0

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

Deprecated: Use BitbucketDataCenterConfig.ProtoReflect.Descriptor instead.

func (*BitbucketDataCenterConfig) GetAuthorizerCredential added in v1.16.0

func (x *BitbucketDataCenterConfig) GetAuthorizerCredential() *UserCredential

func (*BitbucketDataCenterConfig) GetHostUri added in v1.16.0

func (x *BitbucketDataCenterConfig) GetHostUri() string

func (*BitbucketDataCenterConfig) GetReadAuthorizerCredential added in v1.16.0

func (x *BitbucketDataCenterConfig) GetReadAuthorizerCredential() *UserCredential

func (*BitbucketDataCenterConfig) GetServerVersion added in v1.16.0

func (x *BitbucketDataCenterConfig) GetServerVersion() string

func (*BitbucketDataCenterConfig) GetServiceDirectoryConfig added in v1.16.0

func (x *BitbucketDataCenterConfig) GetServiceDirectoryConfig() *ServiceDirectoryConfig

func (*BitbucketDataCenterConfig) GetSslCa added in v1.16.0

func (x *BitbucketDataCenterConfig) GetSslCa() string

func (*BitbucketDataCenterConfig) GetWebhookSecretSecretVersion added in v1.16.0

func (x *BitbucketDataCenterConfig) GetWebhookSecretSecretVersion() string

func (*BitbucketDataCenterConfig) ProtoMessage added in v1.16.0

func (*BitbucketDataCenterConfig) ProtoMessage()

func (*BitbucketDataCenterConfig) ProtoReflect added in v1.16.0

func (*BitbucketDataCenterConfig) Reset added in v1.16.0

func (x *BitbucketDataCenterConfig) Reset()

func (*BitbucketDataCenterConfig) String added in v1.16.0

func (x *BitbucketDataCenterConfig) String() string

type 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 `` /* 164-byte string literal not displayed */
	// 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 deprecated

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

Deprecated: Use Connection.ProtoReflect.Descriptor instead.

func (*Connection) GetAnnotations

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

func (*Connection) GetBitbucketCloudConfig added in v1.16.0

func (x *Connection) GetBitbucketCloudConfig() *BitbucketCloudConfig

func (*Connection) GetBitbucketDataCenterConfig added in v1.16.0

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 added in v1.11.0

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

type Connection_BitbucketCloudConfig added in v1.16.0

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

type Connection_BitbucketDataCenterConfig added in v1.16.0

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

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

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

type Connection_GitlabConfig added in v1.11.0

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

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

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

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

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

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

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

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

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

type FetchGitRefsRequest added in v1.11.0

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 `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request for fetching git refs

func (*FetchGitRefsRequest) Descriptor deprecated added in v1.11.0

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

Deprecated: Use FetchGitRefsRequest.ProtoReflect.Descriptor instead.

func (*FetchGitRefsRequest) GetRefType added in v1.11.0

func (*FetchGitRefsRequest) GetRepository added in v1.11.0

func (x *FetchGitRefsRequest) GetRepository() string

func (*FetchGitRefsRequest) ProtoMessage added in v1.11.0

func (*FetchGitRefsRequest) ProtoMessage()

func (*FetchGitRefsRequest) ProtoReflect added in v1.11.0

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

func (*FetchGitRefsRequest) Reset added in v1.11.0

func (x *FetchGitRefsRequest) Reset()

func (*FetchGitRefsRequest) String added in v1.11.0

func (x *FetchGitRefsRequest) String() string

type FetchGitRefsRequest_RefType added in v1.11.0

type FetchGitRefsRequest_RefType int32

Type of refs

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 added in v1.11.0

func (FetchGitRefsRequest_RefType) Enum added in v1.11.0

func (FetchGitRefsRequest_RefType) EnumDescriptor deprecated added in v1.11.0

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

Deprecated: Use FetchGitRefsRequest_RefType.Descriptor instead.

func (FetchGitRefsRequest_RefType) Number added in v1.11.0

func (FetchGitRefsRequest_RefType) String added in v1.11.0

func (FetchGitRefsRequest_RefType) Type added in v1.11.0

type FetchGitRefsResponse added in v1.11.0

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 deprecated added in v1.11.0

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

Deprecated: Use FetchGitRefsResponse.ProtoReflect.Descriptor instead.

func (*FetchGitRefsResponse) GetRefNames added in v1.11.0

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

func (*FetchGitRefsResponse) ProtoMessage added in v1.11.0

func (*FetchGitRefsResponse) ProtoMessage()

func (*FetchGitRefsResponse) ProtoReflect added in v1.11.0

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

func (*FetchGitRefsResponse) Reset added in v1.11.0

func (x *FetchGitRefsResponse) Reset()

func (*FetchGitRefsResponse) String added in v1.11.0

func (x *FetchGitRefsResponse) String() string

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type 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 `` /* 134-byte string literal not displayed */
	// SecretManager resource containing the webhook secret of the GitHub App,
	// formatted as `projects/*/secrets/*/versions/*`.
	WebhookSecretSecretVersion string `` /* 143-byte string literal not displayed */
	// 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 `` /* 130-byte string literal not displayed */
	// 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 deprecated

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

type GitLabConfig added in v1.11.0

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 `` /* 143-byte string literal not displayed */
	// Required. A GitLab personal access token with the minimum `read_api` scope
	// access.
	ReadAuthorizerCredential *UserCredential `` /* 135-byte string literal not displayed */
	// 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 `` /* 129-byte string literal not displayed */
	// 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 deprecated added in v1.11.0

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

Deprecated: Use GitLabConfig.ProtoReflect.Descriptor instead.

func (*GitLabConfig) GetAuthorizerCredential added in v1.11.0

func (x *GitLabConfig) GetAuthorizerCredential() *UserCredential

func (*GitLabConfig) GetHostUri added in v1.11.0

func (x *GitLabConfig) GetHostUri() string

func (*GitLabConfig) GetReadAuthorizerCredential added in v1.11.0

func (x *GitLabConfig) GetReadAuthorizerCredential() *UserCredential

func (*GitLabConfig) GetServerVersion added in v1.11.0

func (x *GitLabConfig) GetServerVersion() string

func (*GitLabConfig) GetServiceDirectoryConfig added in v1.11.0

func (x *GitLabConfig) GetServiceDirectoryConfig() *ServiceDirectoryConfig

func (*GitLabConfig) GetSslCa added in v1.11.0

func (x *GitLabConfig) GetSslCa() string

func (*GitLabConfig) GetWebhookSecretSecretVersion added in v1.11.0

func (x *GitLabConfig) GetWebhookSecretSecretVersion() string

func (*GitLabConfig) ProtoMessage added in v1.11.0

func (*GitLabConfig) ProtoMessage()

func (*GitLabConfig) ProtoReflect added in v1.11.0

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

func (*GitLabConfig) Reset added in v1.11.0

func (x *GitLabConfig) Reset()

func (*GitLabConfig) String added in v1.11.0

func (x *GitLabConfig) String() string

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

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

type InstallationState_Stage

type InstallationState_Stage int32

Stage of the installation process.

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 deprecated

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

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 deprecated

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

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

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

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

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

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

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

type OAuthCredential

type OAuthCredential struct {

	// A SecretManager resource containing the OAuth token that authorizes
	// the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.
	OauthTokenSecretVersion string `` /* 134-byte string literal not displayed */
	// 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 deprecated

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

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

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

type ProcessWebhookRequest added in v1.11.0

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 deprecated added in v1.11.0

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

Deprecated: Use ProcessWebhookRequest.ProtoReflect.Descriptor instead.

func (*ProcessWebhookRequest) GetBody added in v1.11.0

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

func (*ProcessWebhookRequest) GetParent added in v1.11.0

func (x *ProcessWebhookRequest) GetParent() string

func (*ProcessWebhookRequest) GetWebhookKey added in v1.11.0

func (x *ProcessWebhookRequest) GetWebhookKey() string

func (*ProcessWebhookRequest) ProtoMessage added in v1.11.0

func (*ProcessWebhookRequest) ProtoMessage()

func (*ProcessWebhookRequest) ProtoReflect added in v1.11.0

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

func (*ProcessWebhookRequest) Reset added in v1.11.0

func (x *ProcessWebhookRequest) Reset()

func (*ProcessWebhookRequest) String added in v1.11.0

func (x *ProcessWebhookRequest) String() string

type 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 `` /* 163-byte string literal not displayed */
	// 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 deprecated

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 added in v1.11.0

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

type 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

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

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

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

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

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

type UnimplementedRepositoryManagerServer

type UnimplementedRepositoryManagerServer struct {
}

UnimplementedRepositoryManagerServer can 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 added in v1.11.0

func (*UnimplementedRepositoryManagerServer) FetchReadToken

func (*UnimplementedRepositoryManagerServer) FetchReadWriteToken

func (*UnimplementedRepositoryManagerServer) GetConnection

func (*UnimplementedRepositoryManagerServer) GetRepository

func (*UnimplementedRepositoryManagerServer) ListConnections

func (*UnimplementedRepositoryManagerServer) ListRepositories

func (*UnimplementedRepositoryManagerServer) UpdateConnection

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

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

type UserCredential added in v1.11.0

type UserCredential struct {

	// Required. A SecretManager resource containing the user token that
	// authorizes the Cloud Build connection. Format:
	// `projects/*/secrets/*/versions/*`.
	UserTokenSecretVersion string `` /* 131-byte string literal not displayed */
	// 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 deprecated added in v1.11.0

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

Deprecated: Use UserCredential.ProtoReflect.Descriptor instead.

func (*UserCredential) GetUserTokenSecretVersion added in v1.11.0

func (x *UserCredential) GetUserTokenSecretVersion() string

func (*UserCredential) GetUsername added in v1.11.0

func (x *UserCredential) GetUsername() string

func (*UserCredential) ProtoMessage added in v1.11.0

func (*UserCredential) ProtoMessage()

func (*UserCredential) ProtoReflect added in v1.11.0

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

func (*UserCredential) Reset added in v1.11.0

func (x *UserCredential) Reset()

func (*UserCredential) String added in v1.11.0

func (x *UserCredential) String() string

Jump to

Keyboard shortcuts

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