cloudbuild

package
v0.0.0-...-10f96fb Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

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 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 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
	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 Server 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) 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) 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_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 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 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 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 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"`
	// 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) 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) (*longrunning.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) (*longrunning.Operation, error)
	// Deletes a single connection.
	DeleteConnection(ctx context.Context, in *DeleteConnectionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Creates a Repository.
	CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Creates multiple repositories inside a connection.
	BatchCreateRepositories(ctx context.Context, in *BatchCreateRepositoriesRequest, opts ...grpc.CallOption) (*longrunning.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) (*longrunning.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)
}

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) (*longrunning.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) (*longrunning.Operation, error)
	// Deletes a single connection.
	DeleteConnection(context.Context, *DeleteConnectionRequest) (*longrunning.Operation, error)
	// Creates a Repository.
	CreateRepository(context.Context, *CreateRepositoryRequest) (*longrunning.Operation, error)
	// Creates multiple repositories inside a connection.
	BatchCreateRepositories(context.Context, *BatchCreateRepositoriesRequest) (*longrunning.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) (*longrunning.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)
}

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) 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

Jump to

Keyboard shortcuts

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