Documentation
¶
Index ¶
- Variables
- func RegisterDeveloperConnectServer(s *grpc.Server, srv DeveloperConnectServer)
- type Connection
- func (*Connection) Descriptor() ([]byte, []int)deprecated
- func (x *Connection) GetAnnotations() map[string]string
- func (m *Connection) GetConnectionConfig() isConnection_ConnectionConfig
- func (x *Connection) GetCreateTime() *timestamppb.Timestamp
- func (x *Connection) GetCryptoKeyConfig() *CryptoKeyConfig
- func (x *Connection) GetDeleteTime() *timestamppb.Timestamp
- func (x *Connection) GetDisabled() bool
- func (x *Connection) GetEtag() string
- func (x *Connection) GetGithubConfig() *GitHubConfig
- func (x *Connection) GetGithubEnterpriseConfig() *GitHubEnterpriseConfig
- func (x *Connection) GetGitlabConfig() *GitLabConfig
- func (x *Connection) GetGitlabEnterpriseConfig() *GitLabEnterpriseConfig
- func (x *Connection) GetInstallationState() *InstallationState
- func (x *Connection) GetLabels() map[string]string
- func (x *Connection) GetName() string
- func (x *Connection) GetReconciling() bool
- func (x *Connection) GetUid() string
- func (x *Connection) GetUpdateTime() *timestamppb.Timestamp
- func (*Connection) ProtoMessage()
- func (x *Connection) ProtoReflect() protoreflect.Message
- func (x *Connection) Reset()
- func (x *Connection) String() string
- type Connection_GithubConfig
- type Connection_GithubEnterpriseConfig
- type Connection_GitlabConfig
- type Connection_GitlabEnterpriseConfig
- type CreateConnectionRequest
- func (*CreateConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateConnectionRequest) GetConnection() *Connection
- func (x *CreateConnectionRequest) GetConnectionId() string
- func (x *CreateConnectionRequest) GetParent() string
- func (x *CreateConnectionRequest) GetRequestId() string
- func (x *CreateConnectionRequest) GetValidateOnly() bool
- func (*CreateConnectionRequest) ProtoMessage()
- func (x *CreateConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateConnectionRequest) Reset()
- func (x *CreateConnectionRequest) String() string
- type CreateGitRepositoryLinkRequest
- func (*CreateGitRepositoryLinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGitRepositoryLinkRequest) GetGitRepositoryLink() *GitRepositoryLink
- func (x *CreateGitRepositoryLinkRequest) GetGitRepositoryLinkId() string
- func (x *CreateGitRepositoryLinkRequest) GetParent() string
- func (x *CreateGitRepositoryLinkRequest) GetRequestId() string
- func (x *CreateGitRepositoryLinkRequest) GetValidateOnly() bool
- func (*CreateGitRepositoryLinkRequest) ProtoMessage()
- func (x *CreateGitRepositoryLinkRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGitRepositoryLinkRequest) Reset()
- func (x *CreateGitRepositoryLinkRequest) String() string
- type CryptoKeyConfig
- type DeleteConnectionRequest
- func (*DeleteConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteConnectionRequest) GetEtag() string
- func (x *DeleteConnectionRequest) GetName() string
- func (x *DeleteConnectionRequest) GetRequestId() string
- func (x *DeleteConnectionRequest) GetValidateOnly() bool
- func (*DeleteConnectionRequest) ProtoMessage()
- func (x *DeleteConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteConnectionRequest) Reset()
- func (x *DeleteConnectionRequest) String() string
- type DeleteGitRepositoryLinkRequest
- func (*DeleteGitRepositoryLinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGitRepositoryLinkRequest) GetEtag() string
- func (x *DeleteGitRepositoryLinkRequest) GetName() string
- func (x *DeleteGitRepositoryLinkRequest) GetRequestId() string
- func (x *DeleteGitRepositoryLinkRequest) GetValidateOnly() bool
- func (*DeleteGitRepositoryLinkRequest) ProtoMessage()
- func (x *DeleteGitRepositoryLinkRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGitRepositoryLinkRequest) Reset()
- func (x *DeleteGitRepositoryLinkRequest) String() string
- type DeveloperConnectClient
- type DeveloperConnectServer
- type FetchGitHubInstallationsRequest
- func (*FetchGitHubInstallationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGitHubInstallationsRequest) GetConnection() string
- func (*FetchGitHubInstallationsRequest) ProtoMessage()
- func (x *FetchGitHubInstallationsRequest) ProtoReflect() protoreflect.Message
- func (x *FetchGitHubInstallationsRequest) Reset()
- func (x *FetchGitHubInstallationsRequest) String() string
- type FetchGitHubInstallationsResponse
- func (*FetchGitHubInstallationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGitHubInstallationsResponse) GetInstallations() []*FetchGitHubInstallationsResponse_Installation
- func (*FetchGitHubInstallationsResponse) ProtoMessage()
- func (x *FetchGitHubInstallationsResponse) ProtoReflect() protoreflect.Message
- func (x *FetchGitHubInstallationsResponse) Reset()
- func (x *FetchGitHubInstallationsResponse) String() string
- type FetchGitHubInstallationsResponse_Installation
- func (*FetchGitHubInstallationsResponse_Installation) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGitHubInstallationsResponse_Installation) GetId() int64
- func (x *FetchGitHubInstallationsResponse_Installation) GetName() string
- func (x *FetchGitHubInstallationsResponse_Installation) GetType() string
- func (*FetchGitHubInstallationsResponse_Installation) ProtoMessage()
- func (x *FetchGitHubInstallationsResponse_Installation) ProtoReflect() protoreflect.Message
- func (x *FetchGitHubInstallationsResponse_Installation) Reset()
- func (x *FetchGitHubInstallationsResponse_Installation) String() string
- type FetchGitRefsRequest
- func (*FetchGitRefsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGitRefsRequest) GetGitRepositoryLink() string
- func (x *FetchGitRefsRequest) GetPageSize() int32
- func (x *FetchGitRefsRequest) GetPageToken() string
- func (x *FetchGitRefsRequest) GetRefType() FetchGitRefsRequest_RefType
- func (*FetchGitRefsRequest) ProtoMessage()
- func (x *FetchGitRefsRequest) ProtoReflect() protoreflect.Message
- func (x *FetchGitRefsRequest) Reset()
- func (x *FetchGitRefsRequest) String() string
- type FetchGitRefsRequest_RefType
- func (FetchGitRefsRequest_RefType) Descriptor() protoreflect.EnumDescriptor
- func (x FetchGitRefsRequest_RefType) Enum() *FetchGitRefsRequest_RefType
- func (FetchGitRefsRequest_RefType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FetchGitRefsRequest_RefType) Number() protoreflect.EnumNumber
- func (x FetchGitRefsRequest_RefType) String() string
- func (FetchGitRefsRequest_RefType) Type() protoreflect.EnumType
- type FetchGitRefsResponse
- func (*FetchGitRefsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGitRefsResponse) GetNextPageToken() string
- func (x *FetchGitRefsResponse) GetRefNames() []string
- func (*FetchGitRefsResponse) ProtoMessage()
- func (x *FetchGitRefsResponse) ProtoReflect() protoreflect.Message
- func (x *FetchGitRefsResponse) Reset()
- func (x *FetchGitRefsResponse) String() string
- type FetchLinkableGitRepositoriesRequest
- func (*FetchLinkableGitRepositoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchLinkableGitRepositoriesRequest) GetConnection() string
- func (x *FetchLinkableGitRepositoriesRequest) GetPageSize() int32
- func (x *FetchLinkableGitRepositoriesRequest) GetPageToken() string
- func (*FetchLinkableGitRepositoriesRequest) ProtoMessage()
- func (x *FetchLinkableGitRepositoriesRequest) ProtoReflect() protoreflect.Message
- func (x *FetchLinkableGitRepositoriesRequest) Reset()
- func (x *FetchLinkableGitRepositoriesRequest) String() string
- type FetchLinkableGitRepositoriesResponse
- func (*FetchLinkableGitRepositoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchLinkableGitRepositoriesResponse) GetLinkableGitRepositories() []*LinkableGitRepository
- func (x *FetchLinkableGitRepositoriesResponse) GetNextPageToken() string
- func (*FetchLinkableGitRepositoriesResponse) ProtoMessage()
- func (x *FetchLinkableGitRepositoriesResponse) ProtoReflect() protoreflect.Message
- func (x *FetchLinkableGitRepositoriesResponse) Reset()
- func (x *FetchLinkableGitRepositoriesResponse) String() string
- type FetchReadTokenRequest
- func (*FetchReadTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchReadTokenRequest) GetGitRepositoryLink() string
- func (*FetchReadTokenRequest) ProtoMessage()
- func (x *FetchReadTokenRequest) ProtoReflect() protoreflect.Message
- func (x *FetchReadTokenRequest) Reset()
- func (x *FetchReadTokenRequest) String() string
- type FetchReadTokenResponse
- func (*FetchReadTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchReadTokenResponse) GetExpirationTime() *timestamppb.Timestamp
- func (x *FetchReadTokenResponse) GetGitUsername() string
- func (x *FetchReadTokenResponse) GetToken() string
- func (*FetchReadTokenResponse) ProtoMessage()
- func (x *FetchReadTokenResponse) ProtoReflect() protoreflect.Message
- func (x *FetchReadTokenResponse) Reset()
- func (x *FetchReadTokenResponse) String() string
- type FetchReadWriteTokenRequest
- func (*FetchReadWriteTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchReadWriteTokenRequest) GetGitRepositoryLink() string
- func (*FetchReadWriteTokenRequest) ProtoMessage()
- func (x *FetchReadWriteTokenRequest) ProtoReflect() protoreflect.Message
- func (x *FetchReadWriteTokenRequest) Reset()
- func (x *FetchReadWriteTokenRequest) String() string
- type FetchReadWriteTokenResponse
- func (*FetchReadWriteTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchReadWriteTokenResponse) GetExpirationTime() *timestamppb.Timestamp
- func (x *FetchReadWriteTokenResponse) GetGitUsername() string
- func (x *FetchReadWriteTokenResponse) GetToken() string
- func (*FetchReadWriteTokenResponse) ProtoMessage()
- func (x *FetchReadWriteTokenResponse) ProtoReflect() protoreflect.Message
- func (x *FetchReadWriteTokenResponse) Reset()
- func (x *FetchReadWriteTokenResponse) String() string
- type GetConnectionRequest
- func (*GetConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectionRequest) GetName() string
- func (*GetConnectionRequest) ProtoMessage()
- func (x *GetConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *GetConnectionRequest) Reset()
- func (x *GetConnectionRequest) String() string
- type GetGitRepositoryLinkRequest
- func (*GetGitRepositoryLinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGitRepositoryLinkRequest) GetName() string
- func (*GetGitRepositoryLinkRequest) ProtoMessage()
- func (x *GetGitRepositoryLinkRequest) ProtoReflect() protoreflect.Message
- func (x *GetGitRepositoryLinkRequest) Reset()
- func (x *GetGitRepositoryLinkRequest) String() string
- type GitHubConfig
- func (*GitHubConfig) Descriptor() ([]byte, []int)deprecated
- func (x *GitHubConfig) GetAppInstallationId() int64
- func (x *GitHubConfig) GetAuthorizerCredential() *OAuthCredential
- func (x *GitHubConfig) GetGithubApp() GitHubConfig_GitHubApp
- func (x *GitHubConfig) GetInstallationUri() string
- func (*GitHubConfig) ProtoMessage()
- func (x *GitHubConfig) ProtoReflect() protoreflect.Message
- func (x *GitHubConfig) Reset()
- func (x *GitHubConfig) String() string
- type GitHubConfig_GitHubApp
- func (GitHubConfig_GitHubApp) Descriptor() protoreflect.EnumDescriptor
- func (x GitHubConfig_GitHubApp) Enum() *GitHubConfig_GitHubApp
- func (GitHubConfig_GitHubApp) EnumDescriptor() ([]byte, []int)deprecated
- func (x GitHubConfig_GitHubApp) Number() protoreflect.EnumNumber
- func (x GitHubConfig_GitHubApp) String() string
- func (GitHubConfig_GitHubApp) Type() protoreflect.EnumType
- type GitHubEnterpriseConfig
- func (*GitHubEnterpriseConfig) Descriptor() ([]byte, []int)deprecated
- func (x *GitHubEnterpriseConfig) GetAppId() int64
- func (x *GitHubEnterpriseConfig) GetAppInstallationId() int64
- func (x *GitHubEnterpriseConfig) GetAppSlug() string
- func (x *GitHubEnterpriseConfig) GetHostUri() string
- func (x *GitHubEnterpriseConfig) GetInstallationUri() string
- func (x *GitHubEnterpriseConfig) GetPrivateKeySecretVersion() string
- func (x *GitHubEnterpriseConfig) GetServerVersion() string
- func (x *GitHubEnterpriseConfig) GetServiceDirectoryConfig() *ServiceDirectoryConfig
- func (x *GitHubEnterpriseConfig) GetSslCaCertificate() string
- func (x *GitHubEnterpriseConfig) GetWebhookSecretSecretVersion() string
- func (*GitHubEnterpriseConfig) ProtoMessage()
- func (x *GitHubEnterpriseConfig) ProtoReflect() protoreflect.Message
- func (x *GitHubEnterpriseConfig) Reset()
- func (x *GitHubEnterpriseConfig) String() string
- type GitLabConfig
- func (*GitLabConfig) Descriptor() ([]byte, []int)deprecated
- func (x *GitLabConfig) GetAuthorizerCredential() *UserCredential
- func (x *GitLabConfig) GetReadAuthorizerCredential() *UserCredential
- func (x *GitLabConfig) GetWebhookSecretSecretVersion() string
- func (*GitLabConfig) ProtoMessage()
- func (x *GitLabConfig) ProtoReflect() protoreflect.Message
- func (x *GitLabConfig) Reset()
- func (x *GitLabConfig) String() string
- type GitLabEnterpriseConfig
- func (*GitLabEnterpriseConfig) Descriptor() ([]byte, []int)deprecated
- func (x *GitLabEnterpriseConfig) GetAuthorizerCredential() *UserCredential
- func (x *GitLabEnterpriseConfig) GetHostUri() string
- func (x *GitLabEnterpriseConfig) GetReadAuthorizerCredential() *UserCredential
- func (x *GitLabEnterpriseConfig) GetServerVersion() string
- func (x *GitLabEnterpriseConfig) GetServiceDirectoryConfig() *ServiceDirectoryConfig
- func (x *GitLabEnterpriseConfig) GetSslCaCertificate() string
- func (x *GitLabEnterpriseConfig) GetWebhookSecretSecretVersion() string
- func (*GitLabEnterpriseConfig) ProtoMessage()
- func (x *GitLabEnterpriseConfig) ProtoReflect() protoreflect.Message
- func (x *GitLabEnterpriseConfig) Reset()
- func (x *GitLabEnterpriseConfig) String() string
- type GitRepositoryLink
- func (*GitRepositoryLink) Descriptor() ([]byte, []int)deprecated
- func (x *GitRepositoryLink) GetAnnotations() map[string]string
- func (x *GitRepositoryLink) GetCloneUri() string
- func (x *GitRepositoryLink) GetCreateTime() *timestamppb.Timestamp
- func (x *GitRepositoryLink) GetDeleteTime() *timestamppb.Timestamp
- func (x *GitRepositoryLink) GetEtag() string
- func (x *GitRepositoryLink) GetLabels() map[string]string
- func (x *GitRepositoryLink) GetName() string
- func (x *GitRepositoryLink) GetReconciling() bool
- func (x *GitRepositoryLink) GetUid() string
- func (x *GitRepositoryLink) GetUpdateTime() *timestamppb.Timestamp
- func (x *GitRepositoryLink) GetWebhookId() string
- func (*GitRepositoryLink) ProtoMessage()
- func (x *GitRepositoryLink) ProtoReflect() protoreflect.Message
- func (x *GitRepositoryLink) Reset()
- func (x *GitRepositoryLink) String() string
- type InstallationState
- func (*InstallationState) Descriptor() ([]byte, []int)deprecated
- func (x *InstallationState) GetActionUri() string
- func (x *InstallationState) GetMessage() string
- func (x *InstallationState) GetStage() InstallationState_Stage
- func (*InstallationState) ProtoMessage()
- func (x *InstallationState) ProtoReflect() protoreflect.Message
- func (x *InstallationState) Reset()
- func (x *InstallationState) String() string
- type InstallationState_Stage
- func (InstallationState_Stage) Descriptor() protoreflect.EnumDescriptor
- func (x InstallationState_Stage) Enum() *InstallationState_Stage
- func (InstallationState_Stage) EnumDescriptor() ([]byte, []int)deprecated
- func (x InstallationState_Stage) Number() protoreflect.EnumNumber
- func (x InstallationState_Stage) String() string
- func (InstallationState_Stage) Type() protoreflect.EnumType
- type LinkableGitRepository
- func (*LinkableGitRepository) Descriptor() ([]byte, []int)deprecated
- func (x *LinkableGitRepository) GetCloneUri() string
- func (*LinkableGitRepository) ProtoMessage()
- func (x *LinkableGitRepository) ProtoReflect() protoreflect.Message
- func (x *LinkableGitRepository) Reset()
- func (x *LinkableGitRepository) String() string
- type ListConnectionsRequest
- func (*ListConnectionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListConnectionsRequest) GetFilter() string
- func (x *ListConnectionsRequest) GetOrderBy() string
- func (x *ListConnectionsRequest) GetPageSize() int32
- func (x *ListConnectionsRequest) GetPageToken() string
- func (x *ListConnectionsRequest) GetParent() string
- func (*ListConnectionsRequest) ProtoMessage()
- func (x *ListConnectionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListConnectionsRequest) Reset()
- func (x *ListConnectionsRequest) String() string
- type ListConnectionsResponse
- func (*ListConnectionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListConnectionsResponse) GetConnections() []*Connection
- func (x *ListConnectionsResponse) GetNextPageToken() string
- func (x *ListConnectionsResponse) GetUnreachable() []string
- func (*ListConnectionsResponse) ProtoMessage()
- func (x *ListConnectionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListConnectionsResponse) Reset()
- func (x *ListConnectionsResponse) String() string
- type ListGitRepositoryLinksRequest
- func (*ListGitRepositoryLinksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGitRepositoryLinksRequest) GetFilter() string
- func (x *ListGitRepositoryLinksRequest) GetOrderBy() string
- func (x *ListGitRepositoryLinksRequest) GetPageSize() int32
- func (x *ListGitRepositoryLinksRequest) GetPageToken() string
- func (x *ListGitRepositoryLinksRequest) GetParent() string
- func (*ListGitRepositoryLinksRequest) ProtoMessage()
- func (x *ListGitRepositoryLinksRequest) ProtoReflect() protoreflect.Message
- func (x *ListGitRepositoryLinksRequest) Reset()
- func (x *ListGitRepositoryLinksRequest) String() string
- type ListGitRepositoryLinksResponse
- func (*ListGitRepositoryLinksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGitRepositoryLinksResponse) GetGitRepositoryLinks() []*GitRepositoryLink
- func (x *ListGitRepositoryLinksResponse) GetNextPageToken() string
- func (x *ListGitRepositoryLinksResponse) GetUnreachable() []string
- func (*ListGitRepositoryLinksResponse) ProtoMessage()
- func (x *ListGitRepositoryLinksResponse) ProtoReflect() protoreflect.Message
- func (x *ListGitRepositoryLinksResponse) Reset()
- func (x *ListGitRepositoryLinksResponse) String() string
- type OAuthCredential
- func (*OAuthCredential) Descriptor() ([]byte, []int)deprecated
- func (x *OAuthCredential) GetOauthTokenSecretVersion() string
- func (x *OAuthCredential) GetUsername() string
- func (*OAuthCredential) ProtoMessage()
- func (x *OAuthCredential) ProtoReflect() protoreflect.Message
- func (x *OAuthCredential) Reset()
- func (x *OAuthCredential) String() string
- type OperationMetadata
- func (*OperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *OperationMetadata) GetApiVersion() string
- func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetRequestedCancellation() bool
- func (x *OperationMetadata) GetStatusMessage() string
- func (x *OperationMetadata) GetTarget() string
- func (x *OperationMetadata) GetVerb() string
- func (*OperationMetadata) ProtoMessage()
- func (x *OperationMetadata) ProtoReflect() protoreflect.Message
- func (x *OperationMetadata) Reset()
- func (x *OperationMetadata) String() string
- type ServiceDirectoryConfig
- func (*ServiceDirectoryConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceDirectoryConfig) GetService() string
- func (*ServiceDirectoryConfig) ProtoMessage()
- func (x *ServiceDirectoryConfig) ProtoReflect() protoreflect.Message
- func (x *ServiceDirectoryConfig) Reset()
- func (x *ServiceDirectoryConfig) String() string
- type UnimplementedDeveloperConnectServer
- func (*UnimplementedDeveloperConnectServer) CreateConnection(context.Context, *CreateConnectionRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedDeveloperConnectServer) CreateGitRepositoryLink(context.Context, *CreateGitRepositoryLinkRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedDeveloperConnectServer) DeleteConnection(context.Context, *DeleteConnectionRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedDeveloperConnectServer) DeleteGitRepositoryLink(context.Context, *DeleteGitRepositoryLinkRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedDeveloperConnectServer) FetchGitHubInstallations(context.Context, *FetchGitHubInstallationsRequest) (*FetchGitHubInstallationsResponse, error)
- func (*UnimplementedDeveloperConnectServer) FetchGitRefs(context.Context, *FetchGitRefsRequest) (*FetchGitRefsResponse, error)
- func (*UnimplementedDeveloperConnectServer) FetchLinkableGitRepositories(context.Context, *FetchLinkableGitRepositoriesRequest) (*FetchLinkableGitRepositoriesResponse, error)
- func (*UnimplementedDeveloperConnectServer) FetchReadToken(context.Context, *FetchReadTokenRequest) (*FetchReadTokenResponse, error)
- func (*UnimplementedDeveloperConnectServer) FetchReadWriteToken(context.Context, *FetchReadWriteTokenRequest) (*FetchReadWriteTokenResponse, error)
- func (*UnimplementedDeveloperConnectServer) GetConnection(context.Context, *GetConnectionRequest) (*Connection, error)
- func (*UnimplementedDeveloperConnectServer) GetGitRepositoryLink(context.Context, *GetGitRepositoryLinkRequest) (*GitRepositoryLink, error)
- func (*UnimplementedDeveloperConnectServer) ListConnections(context.Context, *ListConnectionsRequest) (*ListConnectionsResponse, error)
- func (*UnimplementedDeveloperConnectServer) ListGitRepositoryLinks(context.Context, *ListGitRepositoryLinksRequest) (*ListGitRepositoryLinksResponse, error)
- func (*UnimplementedDeveloperConnectServer) UpdateConnection(context.Context, *UpdateConnectionRequest) (*longrunningpb.Operation, error)
- type UpdateConnectionRequest
- func (*UpdateConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateConnectionRequest) GetAllowMissing() bool
- func (x *UpdateConnectionRequest) GetConnection() *Connection
- func (x *UpdateConnectionRequest) GetRequestId() string
- func (x *UpdateConnectionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateConnectionRequest) GetValidateOnly() bool
- func (*UpdateConnectionRequest) ProtoMessage()
- func (x *UpdateConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateConnectionRequest) Reset()
- func (x *UpdateConnectionRequest) String() string
- type UserCredential
- func (*UserCredential) Descriptor() ([]byte, []int)deprecated
- func (x *UserCredential) GetUserTokenSecretVersion() string
- func (x *UserCredential) GetUsername() string
- func (*UserCredential) ProtoMessage()
- func (x *UserCredential) ProtoReflect() protoreflect.Message
- func (x *UserCredential) Reset()
- func (x *UserCredential) String() string
Constants ¶
This section is empty.
Variables ¶
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.
var ( GitHubConfig_GitHubApp_name = map[int32]string{ 0: "GIT_HUB_APP_UNSPECIFIED", 1: "DEVELOPER_CONNECT", 2: "FIREBASE", } GitHubConfig_GitHubApp_value = map[string]int32{ "GIT_HUB_APP_UNSPECIFIED": 0, "DEVELOPER_CONNECT": 1, "FIREBASE": 2, } )
Enum value maps for GitHubConfig_GitHubApp.
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.
var File_google_cloud_developerconnect_v1_developer_connect_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDeveloperConnectServer ¶
func RegisterDeveloperConnectServer(s *grpc.Server, srv DeveloperConnectServer)
Types ¶
type Connection ¶
type Connection struct {
// Configuration for the connection depending on the type of provider.
//
// Types that are assignable to ConnectionConfig:
//
// *Connection_GithubConfig
// *Connection_GithubEnterpriseConfig
// *Connection_GitlabConfig
// *Connection_GitlabEnterpriseConfig
ConnectionConfig isConnection_ConnectionConfig `protobuf_oneof:"connection_config"`
// Identifier. 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. [Output only] Create timestamp
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. [Output only] Update timestamp
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. [Output only] Delete timestamp
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// Optional. Labels as key value pairs
Labels map[string]string `` /* 153-byte string literal not displayed */
// Output only. Installation state of the Connection.
InstallationState *InstallationState `protobuf:"bytes,6,opt,name=installation_state,json=installationState,proto3" json:"installation_state,omitempty"`
// Optional. 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,7,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,8,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
// Optional. Allows clients to store small amounts of arbitrary data.
Annotations map[string]string `` /* 163-byte string literal not displayed */
// Optional. 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,10,opt,name=etag,proto3" json:"etag,omitempty"`
// Output only. A system-assigned unique identifier for a the
// GitRepositoryLink.
Uid string `protobuf:"bytes,12,opt,name=uid,proto3" json:"uid,omitempty"`
// Optional. The crypto key configuration. This field is used by the
// Customer-Managed Encryption Keys (CMEK) feature.
CryptoKeyConfig *CryptoKeyConfig `protobuf:"bytes,15,opt,name=crypto_key_config,json=cryptoKeyConfig,proto3" json:"crypto_key_config,omitempty"`
// contains filtered or unexported fields
}
Message describing Connection object
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) GetCryptoKeyConfig ¶ added in v0.3.0
func (x *Connection) GetCryptoKeyConfig() *CryptoKeyConfig
func (*Connection) GetDeleteTime ¶
func (x *Connection) GetDeleteTime() *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 ¶ added in v0.3.0
func (x *Connection) GetGithubEnterpriseConfig() *GitHubEnterpriseConfig
func (*Connection) GetGitlabConfig ¶ added in v0.3.0
func (x *Connection) GetGitlabConfig() *GitLabConfig
func (*Connection) GetGitlabEnterpriseConfig ¶ added in v0.3.0
func (x *Connection) GetGitlabEnterpriseConfig() *GitLabEnterpriseConfig
func (*Connection) GetInstallationState ¶
func (x *Connection) GetInstallationState() *InstallationState
func (*Connection) GetLabels ¶
func (x *Connection) GetLabels() map[string]string
func (*Connection) GetName ¶
func (x *Connection) GetName() string
func (*Connection) GetReconciling ¶
func (x *Connection) GetReconciling() bool
func (*Connection) GetUid ¶
func (x *Connection) GetUid() string
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 ¶ added in v0.3.0
type Connection_GithubEnterpriseConfig struct {
// Configuration for connections to an instance of GitHub Enterprise.
GithubEnterpriseConfig *GitHubEnterpriseConfig `protobuf:"bytes,13,opt,name=github_enterprise_config,json=githubEnterpriseConfig,proto3,oneof"`
}
type Connection_GitlabConfig ¶ added in v0.3.0
type Connection_GitlabConfig struct {
// Configuration for connections to gitlab.com.
GitlabConfig *GitLabConfig `protobuf:"bytes,14,opt,name=gitlab_config,json=gitlabConfig,proto3,oneof"`
}
type Connection_GitlabEnterpriseConfig ¶ added in v0.3.0
type Connection_GitlabEnterpriseConfig struct {
// Configuration for connections to an instance of GitLab Enterprise.
GitlabEnterpriseConfig *GitLabEnterpriseConfig `protobuf:"bytes,16,opt,name=gitlab_enterprise_config,json=gitlabEnterpriseConfig,proto3,oneof"`
}
type CreateConnectionRequest ¶
type CreateConnectionRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object
// If auto-generating Id server-side, remove this field and
// connection_id from the method_signature of Create RPC
ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
// Required. The resource being created
Connection *Connection `protobuf:"bytes,3,opt,name=connection,proto3" json:"connection,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set, validate the request, but do not actually post it.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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) GetRequestId ¶
func (x *CreateConnectionRequest) GetRequestId() string
func (*CreateConnectionRequest) GetValidateOnly ¶
func (x *CreateConnectionRequest) GetValidateOnly() bool
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 CreateGitRepositoryLinkRequest ¶
type CreateGitRepositoryLinkRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The resource being created
GitRepositoryLink *GitRepositoryLink `protobuf:"bytes,2,opt,name=git_repository_link,json=gitRepositoryLink,proto3" json:"git_repository_link,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
// -._~%!$&'()*+,;=@.
GitRepositoryLinkId string `protobuf:"bytes,3,opt,name=git_repository_link_id,json=gitRepositoryLinkId,proto3" json:"git_repository_link_id,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set, validate the request, but do not actually post it.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
Message for creating a GitRepositoryLink
func (*CreateGitRepositoryLinkRequest) Descriptor
deprecated
func (*CreateGitRepositoryLinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGitRepositoryLinkRequest.ProtoReflect.Descriptor instead.
func (*CreateGitRepositoryLinkRequest) GetGitRepositoryLink ¶
func (x *CreateGitRepositoryLinkRequest) GetGitRepositoryLink() *GitRepositoryLink
func (*CreateGitRepositoryLinkRequest) GetGitRepositoryLinkId ¶
func (x *CreateGitRepositoryLinkRequest) GetGitRepositoryLinkId() string
func (*CreateGitRepositoryLinkRequest) GetParent ¶
func (x *CreateGitRepositoryLinkRequest) GetParent() string
func (*CreateGitRepositoryLinkRequest) GetRequestId ¶
func (x *CreateGitRepositoryLinkRequest) GetRequestId() string
func (*CreateGitRepositoryLinkRequest) GetValidateOnly ¶
func (x *CreateGitRepositoryLinkRequest) GetValidateOnly() bool
func (*CreateGitRepositoryLinkRequest) ProtoMessage ¶
func (*CreateGitRepositoryLinkRequest) ProtoMessage()
func (*CreateGitRepositoryLinkRequest) ProtoReflect ¶
func (x *CreateGitRepositoryLinkRequest) ProtoReflect() protoreflect.Message
func (*CreateGitRepositoryLinkRequest) Reset ¶
func (x *CreateGitRepositoryLinkRequest) Reset()
func (*CreateGitRepositoryLinkRequest) String ¶
func (x *CreateGitRepositoryLinkRequest) String() string
type CryptoKeyConfig ¶ added in v0.3.0
type CryptoKeyConfig struct {
// Required. The name of the key which is used to encrypt/decrypt customer
// data. For key in Cloud KMS, the key should be in the format of
// `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
KeyReference string `protobuf:"bytes,1,opt,name=key_reference,json=keyReference,proto3" json:"key_reference,omitempty"`
// contains filtered or unexported fields
}
The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature.
func (*CryptoKeyConfig) Descriptor
deprecated
added in
v0.3.0
func (*CryptoKeyConfig) Descriptor() ([]byte, []int)
Deprecated: Use CryptoKeyConfig.ProtoReflect.Descriptor instead.
func (*CryptoKeyConfig) GetKeyReference ¶ added in v0.3.0
func (x *CryptoKeyConfig) GetKeyReference() string
func (*CryptoKeyConfig) ProtoMessage ¶ added in v0.3.0
func (*CryptoKeyConfig) ProtoMessage()
func (*CryptoKeyConfig) ProtoReflect ¶ added in v0.3.0
func (x *CryptoKeyConfig) ProtoReflect() protoreflect.Message
func (*CryptoKeyConfig) Reset ¶ added in v0.3.0
func (x *CryptoKeyConfig) Reset()
func (*CryptoKeyConfig) String ¶ added in v0.3.0
func (x *CryptoKeyConfig) String() string
type DeleteConnectionRequest ¶
type DeleteConnectionRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. 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"`
// Optional. 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,4,opt,name=etag,proto3" json:"etag,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) GetRequestId ¶
func (x *DeleteConnectionRequest) GetRequestId() 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 DeleteGitRepositoryLinkRequest ¶
type DeleteGitRepositoryLinkRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. 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"`
// Optional. 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,4,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a GitRepositoryLink
func (*DeleteGitRepositoryLinkRequest) Descriptor
deprecated
func (*DeleteGitRepositoryLinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGitRepositoryLinkRequest.ProtoReflect.Descriptor instead.
func (*DeleteGitRepositoryLinkRequest) GetEtag ¶
func (x *DeleteGitRepositoryLinkRequest) GetEtag() string
func (*DeleteGitRepositoryLinkRequest) GetName ¶
func (x *DeleteGitRepositoryLinkRequest) GetName() string
func (*DeleteGitRepositoryLinkRequest) GetRequestId ¶
func (x *DeleteGitRepositoryLinkRequest) GetRequestId() string
func (*DeleteGitRepositoryLinkRequest) GetValidateOnly ¶
func (x *DeleteGitRepositoryLinkRequest) GetValidateOnly() bool
func (*DeleteGitRepositoryLinkRequest) ProtoMessage ¶
func (*DeleteGitRepositoryLinkRequest) ProtoMessage()
func (*DeleteGitRepositoryLinkRequest) ProtoReflect ¶
func (x *DeleteGitRepositoryLinkRequest) ProtoReflect() protoreflect.Message
func (*DeleteGitRepositoryLinkRequest) Reset ¶
func (x *DeleteGitRepositoryLinkRequest) Reset()
func (*DeleteGitRepositoryLinkRequest) String ¶
func (x *DeleteGitRepositoryLinkRequest) String() string
type DeveloperConnectClient ¶
type DeveloperConnectClient interface {
// Lists Connections in a given project and location.
ListConnections(ctx context.Context, in *ListConnectionsRequest, opts ...grpc.CallOption) (*ListConnectionsResponse, error)
// Gets details of a single Connection.
GetConnection(ctx context.Context, in *GetConnectionRequest, opts ...grpc.CallOption) (*Connection, error)
// Creates a new Connection in a given project and location.
CreateConnection(ctx context.Context, in *CreateConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of 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 GitRepositoryLink. Upon linking a Git Repository, Developer
// Connect will configure the Git Repository to send webhook events to
// Developer Connect. Connections that use Firebase GitHub Application will
// have events forwarded to the Firebase service. All other Connections will
// have events forwarded to Cloud Build.
CreateGitRepositoryLink(ctx context.Context, in *CreateGitRepositoryLinkRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single GitRepositoryLink.
DeleteGitRepositoryLink(ctx context.Context, in *DeleteGitRepositoryLinkRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists GitRepositoryLinks in a given project, location, and connection.
ListGitRepositoryLinks(ctx context.Context, in *ListGitRepositoryLinksRequest, opts ...grpc.CallOption) (*ListGitRepositoryLinksResponse, error)
// Gets details of a single GitRepositoryLink.
GetGitRepositoryLink(ctx context.Context, in *GetGitRepositoryLinkRequest, opts ...grpc.CallOption) (*GitRepositoryLink, error)
// Fetches read/write token of a given gitRepositoryLink.
FetchReadWriteToken(ctx context.Context, in *FetchReadWriteTokenRequest, opts ...grpc.CallOption) (*FetchReadWriteTokenResponse, error)
// Fetches read token of a given gitRepositoryLink.
FetchReadToken(ctx context.Context, in *FetchReadTokenRequest, opts ...grpc.CallOption) (*FetchReadTokenResponse, error)
// FetchLinkableGitRepositories returns a list of git repositories from an SCM
// that are available to be added to a Connection.
FetchLinkableGitRepositories(ctx context.Context, in *FetchLinkableGitRepositoriesRequest, opts ...grpc.CallOption) (*FetchLinkableGitRepositoriesResponse, error)
// FetchGitHubInstallations returns the list of GitHub Installations that
// are available to be added to a Connection.
// For github.com, only installations accessible to the authorizer token
// are returned. For GitHub Enterprise, all installations are returned.
FetchGitHubInstallations(ctx context.Context, in *FetchGitHubInstallationsRequest, opts ...grpc.CallOption) (*FetchGitHubInstallationsResponse, error)
// Fetch the list of branches or tags for a given repository.
FetchGitRefs(ctx context.Context, in *FetchGitRefsRequest, opts ...grpc.CallOption) (*FetchGitRefsResponse, error)
}
DeveloperConnectClient is the client API for DeveloperConnect service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDeveloperConnectClient ¶
func NewDeveloperConnectClient(cc grpc.ClientConnInterface) DeveloperConnectClient
type DeveloperConnectServer ¶
type DeveloperConnectServer interface {
// Lists Connections in a given project and location.
ListConnections(context.Context, *ListConnectionsRequest) (*ListConnectionsResponse, error)
// Gets details of a single Connection.
GetConnection(context.Context, *GetConnectionRequest) (*Connection, error)
// Creates a new Connection in a given project and location.
CreateConnection(context.Context, *CreateConnectionRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Connection.
UpdateConnection(context.Context, *UpdateConnectionRequest) (*longrunningpb.Operation, error)
// Deletes a single Connection.
DeleteConnection(context.Context, *DeleteConnectionRequest) (*longrunningpb.Operation, error)
// Creates a GitRepositoryLink. Upon linking a Git Repository, Developer
// Connect will configure the Git Repository to send webhook events to
// Developer Connect. Connections that use Firebase GitHub Application will
// have events forwarded to the Firebase service. All other Connections will
// have events forwarded to Cloud Build.
CreateGitRepositoryLink(context.Context, *CreateGitRepositoryLinkRequest) (*longrunningpb.Operation, error)
// Deletes a single GitRepositoryLink.
DeleteGitRepositoryLink(context.Context, *DeleteGitRepositoryLinkRequest) (*longrunningpb.Operation, error)
// Lists GitRepositoryLinks in a given project, location, and connection.
ListGitRepositoryLinks(context.Context, *ListGitRepositoryLinksRequest) (*ListGitRepositoryLinksResponse, error)
// Gets details of a single GitRepositoryLink.
GetGitRepositoryLink(context.Context, *GetGitRepositoryLinkRequest) (*GitRepositoryLink, error)
// Fetches read/write token of a given gitRepositoryLink.
FetchReadWriteToken(context.Context, *FetchReadWriteTokenRequest) (*FetchReadWriteTokenResponse, error)
// Fetches read token of a given gitRepositoryLink.
FetchReadToken(context.Context, *FetchReadTokenRequest) (*FetchReadTokenResponse, error)
// FetchLinkableGitRepositories returns a list of git repositories from an SCM
// that are available to be added to a Connection.
FetchLinkableGitRepositories(context.Context, *FetchLinkableGitRepositoriesRequest) (*FetchLinkableGitRepositoriesResponse, error)
// FetchGitHubInstallations returns the list of GitHub Installations that
// are available to be added to a Connection.
// For github.com, only installations accessible to the authorizer token
// are returned. For GitHub Enterprise, all installations are returned.
FetchGitHubInstallations(context.Context, *FetchGitHubInstallationsRequest) (*FetchGitHubInstallationsResponse, error)
// Fetch the list of branches or tags for a given repository.
FetchGitRefs(context.Context, *FetchGitRefsRequest) (*FetchGitRefsResponse, error)
}
DeveloperConnectServer is the server API for DeveloperConnect service.
type FetchGitHubInstallationsRequest ¶
type FetchGitHubInstallationsRequest struct {
// Required. The resource name of the connection in the format
// `projects/*/locations/*/connections/*`.
Connection string `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
// contains filtered or unexported fields
}
Request for fetching github installations.
func (*FetchGitHubInstallationsRequest) Descriptor
deprecated
func (*FetchGitHubInstallationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchGitHubInstallationsRequest.ProtoReflect.Descriptor instead.
func (*FetchGitHubInstallationsRequest) GetConnection ¶
func (x *FetchGitHubInstallationsRequest) GetConnection() string
func (*FetchGitHubInstallationsRequest) ProtoMessage ¶
func (*FetchGitHubInstallationsRequest) ProtoMessage()
func (*FetchGitHubInstallationsRequest) ProtoReflect ¶
func (x *FetchGitHubInstallationsRequest) ProtoReflect() protoreflect.Message
func (*FetchGitHubInstallationsRequest) Reset ¶
func (x *FetchGitHubInstallationsRequest) Reset()
func (*FetchGitHubInstallationsRequest) String ¶
func (x *FetchGitHubInstallationsRequest) String() string
type FetchGitHubInstallationsResponse ¶
type FetchGitHubInstallationsResponse struct {
// List of installations available to the OAuth user (for github.com)
// or all the installations (for GitHub enterprise).
Installations []*FetchGitHubInstallationsResponse_Installation `protobuf:"bytes,1,rep,name=installations,proto3" json:"installations,omitempty"`
// contains filtered or unexported fields
}
Response of fetching github installations.
func (*FetchGitHubInstallationsResponse) Descriptor
deprecated
func (*FetchGitHubInstallationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchGitHubInstallationsResponse.ProtoReflect.Descriptor instead.
func (*FetchGitHubInstallationsResponse) GetInstallations ¶
func (x *FetchGitHubInstallationsResponse) GetInstallations() []*FetchGitHubInstallationsResponse_Installation
func (*FetchGitHubInstallationsResponse) ProtoMessage ¶
func (*FetchGitHubInstallationsResponse) ProtoMessage()
func (*FetchGitHubInstallationsResponse) ProtoReflect ¶
func (x *FetchGitHubInstallationsResponse) ProtoReflect() protoreflect.Message
func (*FetchGitHubInstallationsResponse) Reset ¶
func (x *FetchGitHubInstallationsResponse) Reset()
func (*FetchGitHubInstallationsResponse) String ¶
func (x *FetchGitHubInstallationsResponse) String() string
type FetchGitHubInstallationsResponse_Installation ¶
type FetchGitHubInstallationsResponse_Installation struct {
// ID of the installation in GitHub.
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// Name of the GitHub user or organization that owns this installation.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Either "user" or "organization".
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}
Represents an installation of the GitHub App.
func (*FetchGitHubInstallationsResponse_Installation) Descriptor
deprecated
func (*FetchGitHubInstallationsResponse_Installation) Descriptor() ([]byte, []int)
Deprecated: Use FetchGitHubInstallationsResponse_Installation.ProtoReflect.Descriptor instead.
func (*FetchGitHubInstallationsResponse_Installation) GetId ¶
func (x *FetchGitHubInstallationsResponse_Installation) GetId() int64
func (*FetchGitHubInstallationsResponse_Installation) GetName ¶
func (x *FetchGitHubInstallationsResponse_Installation) GetName() string
func (*FetchGitHubInstallationsResponse_Installation) GetType ¶
func (x *FetchGitHubInstallationsResponse_Installation) GetType() string
func (*FetchGitHubInstallationsResponse_Installation) ProtoMessage ¶
func (*FetchGitHubInstallationsResponse_Installation) ProtoMessage()
func (*FetchGitHubInstallationsResponse_Installation) ProtoReflect ¶
func (x *FetchGitHubInstallationsResponse_Installation) ProtoReflect() protoreflect.Message
func (*FetchGitHubInstallationsResponse_Installation) Reset ¶
func (x *FetchGitHubInstallationsResponse_Installation) Reset()
func (*FetchGitHubInstallationsResponse_Installation) String ¶
func (x *FetchGitHubInstallationsResponse_Installation) String() string
type FetchGitRefsRequest ¶
type FetchGitRefsRequest struct {
// Required. The resource name of GitRepositoryLink in the format
// `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
GitRepositoryLink string `protobuf:"bytes,1,opt,name=git_repository_link,json=gitRepositoryLink,proto3" json:"git_repository_link,omitempty"`
// Required. Type of refs to fetch.
RefType FetchGitRefsRequest_RefType `` /* 149-byte string literal not displayed */
// Optional. Number of results to return in the list. Default to 20.
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. Page start.
PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request for fetching git refs.
func (*FetchGitRefsRequest) Descriptor
deprecated
func (*FetchGitRefsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchGitRefsRequest.ProtoReflect.Descriptor instead.
func (*FetchGitRefsRequest) GetGitRepositoryLink ¶
func (x *FetchGitRefsRequest) GetGitRepositoryLink() string
func (*FetchGitRefsRequest) GetPageSize ¶
func (x *FetchGitRefsRequest) GetPageSize() int32
func (*FetchGitRefsRequest) GetPageToken ¶
func (x *FetchGitRefsRequest) GetPageToken() string
func (*FetchGitRefsRequest) GetRefType ¶
func (x *FetchGitRefsRequest) GetRefType() FetchGitRefsRequest_RefType
func (*FetchGitRefsRequest) ProtoMessage ¶
func (*FetchGitRefsRequest) ProtoMessage()
func (*FetchGitRefsRequest) ProtoReflect ¶
func (x *FetchGitRefsRequest) ProtoReflect() protoreflect.Message
func (*FetchGitRefsRequest) Reset ¶
func (x *FetchGitRefsRequest) Reset()
func (*FetchGitRefsRequest) String ¶
func (x *FetchGitRefsRequest) String() string
type FetchGitRefsRequest_RefType ¶
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 ¶
func (FetchGitRefsRequest_RefType) Descriptor() protoreflect.EnumDescriptor
func (FetchGitRefsRequest_RefType) Enum ¶
func (x FetchGitRefsRequest_RefType) Enum() *FetchGitRefsRequest_RefType
func (FetchGitRefsRequest_RefType) EnumDescriptor
deprecated
func (FetchGitRefsRequest_RefType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FetchGitRefsRequest_RefType.Descriptor instead.
func (FetchGitRefsRequest_RefType) Number ¶
func (x FetchGitRefsRequest_RefType) Number() protoreflect.EnumNumber
func (FetchGitRefsRequest_RefType) String ¶
func (x FetchGitRefsRequest_RefType) String() string
func (FetchGitRefsRequest_RefType) Type ¶
func (FetchGitRefsRequest_RefType) Type() protoreflect.EnumType
type FetchGitRefsResponse ¶
type FetchGitRefsResponse struct {
// Name of the refs fetched.
RefNames []string `protobuf:"bytes,1,rep,name=ref_names,json=refNames,proto3" json:"ref_names,omitempty"`
// 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 for fetching git refs.
func (*FetchGitRefsResponse) Descriptor
deprecated
func (*FetchGitRefsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchGitRefsResponse.ProtoReflect.Descriptor instead.
func (*FetchGitRefsResponse) GetNextPageToken ¶
func (x *FetchGitRefsResponse) GetNextPageToken() string
func (*FetchGitRefsResponse) GetRefNames ¶
func (x *FetchGitRefsResponse) GetRefNames() []string
func (*FetchGitRefsResponse) ProtoMessage ¶
func (*FetchGitRefsResponse) ProtoMessage()
func (*FetchGitRefsResponse) ProtoReflect ¶
func (x *FetchGitRefsResponse) ProtoReflect() protoreflect.Message
func (*FetchGitRefsResponse) Reset ¶
func (x *FetchGitRefsResponse) Reset()
func (*FetchGitRefsResponse) String ¶
func (x *FetchGitRefsResponse) String() string
type FetchLinkableGitRepositoriesRequest ¶
type FetchLinkableGitRepositoriesRequest struct {
// Required. The name of the Connection.
// Format: `projects/*/locations/*/connections/*`.
Connection string `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
// Optional. Number of results to return in the list. Defaults to 20.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. 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 FetchLinkableGitRepositoriesRequest.
func (*FetchLinkableGitRepositoriesRequest) Descriptor
deprecated
func (*FetchLinkableGitRepositoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchLinkableGitRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*FetchLinkableGitRepositoriesRequest) GetConnection ¶
func (x *FetchLinkableGitRepositoriesRequest) GetConnection() string
func (*FetchLinkableGitRepositoriesRequest) GetPageSize ¶
func (x *FetchLinkableGitRepositoriesRequest) GetPageSize() int32
func (*FetchLinkableGitRepositoriesRequest) GetPageToken ¶
func (x *FetchLinkableGitRepositoriesRequest) GetPageToken() string
func (*FetchLinkableGitRepositoriesRequest) ProtoMessage ¶
func (*FetchLinkableGitRepositoriesRequest) ProtoMessage()
func (*FetchLinkableGitRepositoriesRequest) ProtoReflect ¶
func (x *FetchLinkableGitRepositoriesRequest) ProtoReflect() protoreflect.Message
func (*FetchLinkableGitRepositoriesRequest) Reset ¶
func (x *FetchLinkableGitRepositoriesRequest) Reset()
func (*FetchLinkableGitRepositoriesRequest) String ¶
func (x *FetchLinkableGitRepositoriesRequest) String() string
type FetchLinkableGitRepositoriesResponse ¶
type FetchLinkableGitRepositoriesResponse struct {
// The git repositories that can be linked to the connection.
LinkableGitRepositories []*LinkableGitRepository `` /* 132-byte string literal not displayed */
// 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 FetchLinkableGitRepositories.
func (*FetchLinkableGitRepositoriesResponse) Descriptor
deprecated
func (*FetchLinkableGitRepositoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchLinkableGitRepositoriesResponse.ProtoReflect.Descriptor instead.
func (*FetchLinkableGitRepositoriesResponse) GetLinkableGitRepositories ¶
func (x *FetchLinkableGitRepositoriesResponse) GetLinkableGitRepositories() []*LinkableGitRepository
func (*FetchLinkableGitRepositoriesResponse) GetNextPageToken ¶
func (x *FetchLinkableGitRepositoriesResponse) GetNextPageToken() string
func (*FetchLinkableGitRepositoriesResponse) ProtoMessage ¶
func (*FetchLinkableGitRepositoriesResponse) ProtoMessage()
func (*FetchLinkableGitRepositoriesResponse) ProtoReflect ¶
func (x *FetchLinkableGitRepositoriesResponse) ProtoReflect() protoreflect.Message
func (*FetchLinkableGitRepositoriesResponse) Reset ¶
func (x *FetchLinkableGitRepositoriesResponse) Reset()
func (*FetchLinkableGitRepositoriesResponse) String ¶
func (x *FetchLinkableGitRepositoriesResponse) String() string
type FetchReadTokenRequest ¶
type FetchReadTokenRequest struct {
// Required. The resource name of the gitRepositoryLink in the format
// `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
GitRepositoryLink string `protobuf:"bytes,1,opt,name=git_repository_link,json=gitRepositoryLink,proto3" json:"git_repository_link,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) GetGitRepositoryLink ¶
func (x *FetchReadTokenRequest) GetGitRepositoryLink() 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"`
// The git_username to specify when making a git clone with the
// token. For example, for GitHub GitRepositoryLinks, this would be
// "x-access-token"
GitUsername string `protobuf:"bytes,3,opt,name=git_username,json=gitUsername,proto3" json:"git_username,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) GetGitUsername ¶
func (x *FetchReadTokenResponse) GetGitUsername() string
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 gitRepositoryLink in the format
// `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
GitRepositoryLink string `protobuf:"bytes,1,opt,name=git_repository_link,json=gitRepositoryLink,proto3" json:"git_repository_link,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) GetGitRepositoryLink ¶
func (x *FetchReadWriteTokenRequest) GetGitRepositoryLink() string
func (*FetchReadWriteTokenRequest) ProtoMessage ¶
func (*FetchReadWriteTokenRequest) ProtoMessage()
func (*FetchReadWriteTokenRequest) ProtoReflect ¶
func (x *FetchReadWriteTokenRequest) ProtoReflect() protoreflect.Message
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"`
// The git_username to specify when making a git clone with the
// token. For example, for GitHub GitRepositoryLinks, this would be
// "x-access-token"
GitUsername string `protobuf:"bytes,3,opt,name=git_username,json=gitUsername,proto3" json:"git_username,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) GetGitUsername ¶
func (x *FetchReadWriteTokenResponse) GetGitUsername() string
func (*FetchReadWriteTokenResponse) GetToken ¶
func (x *FetchReadWriteTokenResponse) GetToken() string
func (*FetchReadWriteTokenResponse) ProtoMessage ¶
func (*FetchReadWriteTokenResponse) ProtoMessage()
func (*FetchReadWriteTokenResponse) ProtoReflect ¶
func (x *FetchReadWriteTokenResponse) ProtoReflect() protoreflect.Message
func (*FetchReadWriteTokenResponse) Reset ¶
func (x *FetchReadWriteTokenResponse) Reset()
func (*FetchReadWriteTokenResponse) String ¶
func (x *FetchReadWriteTokenResponse) String() string
type GetConnectionRequest ¶
type GetConnectionRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting 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 GetGitRepositoryLinkRequest ¶
type GetGitRepositoryLinkRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting a GitRepositoryLink
func (*GetGitRepositoryLinkRequest) Descriptor
deprecated
func (*GetGitRepositoryLinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGitRepositoryLinkRequest.ProtoReflect.Descriptor instead.
func (*GetGitRepositoryLinkRequest) GetName ¶
func (x *GetGitRepositoryLinkRequest) GetName() string
func (*GetGitRepositoryLinkRequest) ProtoMessage ¶
func (*GetGitRepositoryLinkRequest) ProtoMessage()
func (*GetGitRepositoryLinkRequest) ProtoReflect ¶
func (x *GetGitRepositoryLinkRequest) ProtoReflect() protoreflect.Message
func (*GetGitRepositoryLinkRequest) Reset ¶
func (x *GetGitRepositoryLinkRequest) Reset()
func (*GetGitRepositoryLinkRequest) String ¶
func (x *GetGitRepositoryLinkRequest) String() string
type GitHubConfig ¶
type GitHubConfig struct {
// Required. Immutable. The GitHub Application that was installed to the
// GitHub user or organization.
GithubApp GitHubConfig_GitHubApp `` /* 150-byte string literal not displayed */
// Optional. OAuth credential of the account that authorized the GitHub App.
// It is recommended to use a robot account instead of a human user account.
// The OAuth token must be tied to the GitHub App of this config.
AuthorizerCredential *OAuthCredential `protobuf:"bytes,2,opt,name=authorizer_credential,json=authorizerCredential,proto3" json:"authorizer_credential,omitempty"`
// Optional. GitHub App installation id.
AppInstallationId int64 `protobuf:"varint,3,opt,name=app_installation_id,json=appInstallationId,proto3" json:"app_installation_id,omitempty"`
// Output only. The URI to navigate to in order to manage the installation
// associated with this GitHubConfig.
InstallationUri string `protobuf:"bytes,4,opt,name=installation_uri,json=installationUri,proto3" json:"installation_uri,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) GetGithubApp ¶
func (x *GitHubConfig) GetGithubApp() GitHubConfig_GitHubApp
func (*GitHubConfig) GetInstallationUri ¶
func (x *GitHubConfig) GetInstallationUri() string
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 GitHubConfig_GitHubApp ¶
type GitHubConfig_GitHubApp int32
Represents the various GitHub Applications that can be installed to a GitHub user or organization and used with Developer Connect.
const ( // GitHub App not specified. GitHubConfig_GIT_HUB_APP_UNSPECIFIED GitHubConfig_GitHubApp = 0 // The Developer Connect GitHub Application. GitHubConfig_DEVELOPER_CONNECT GitHubConfig_GitHubApp = 1 // The Firebase GitHub Application. GitHubConfig_FIREBASE GitHubConfig_GitHubApp = 2 )
func (GitHubConfig_GitHubApp) Descriptor ¶
func (GitHubConfig_GitHubApp) Descriptor() protoreflect.EnumDescriptor
func (GitHubConfig_GitHubApp) Enum ¶
func (x GitHubConfig_GitHubApp) Enum() *GitHubConfig_GitHubApp
func (GitHubConfig_GitHubApp) EnumDescriptor
deprecated
func (GitHubConfig_GitHubApp) EnumDescriptor() ([]byte, []int)
Deprecated: Use GitHubConfig_GitHubApp.Descriptor instead.
func (GitHubConfig_GitHubApp) Number ¶
func (x GitHubConfig_GitHubApp) Number() protoreflect.EnumNumber
func (GitHubConfig_GitHubApp) String ¶
func (x GitHubConfig_GitHubApp) String() string
func (GitHubConfig_GitHubApp) Type ¶
func (GitHubConfig_GitHubApp) Type() protoreflect.EnumType
type GitHubEnterpriseConfig ¶ added in v0.3.0
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"`
// Optional. 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"`
// Output only. The URL-friendly name of the GitHub App.
AppSlug string `protobuf:"bytes,3,opt,name=app_slug,json=appSlug,proto3" json:"app_slug,omitempty"`
// Optional. SecretManager resource containing the private key of the GitHub
// App, formatted as `projects/*/secrets/*/versions/*`.
PrivateKeySecretVersion string `` /* 134-byte string literal not displayed */
// Optional. SecretManager resource containing the webhook secret of the
// GitHub App, formatted as `projects/*/secrets/*/versions/*`.
WebhookSecretSecretVersion string `` /* 143-byte string literal not displayed */
// Optional. ID of the installation of the GitHub App.
AppInstallationId int64 `protobuf:"varint,8,opt,name=app_installation_id,json=appInstallationId,proto3" json:"app_installation_id,omitempty"`
// Output only. The URI to navigate to in order to manage the installation
// associated with this GitHubEnterpriseConfig.
InstallationUri string `protobuf:"bytes,9,opt,name=installation_uri,json=installationUri,proto3" json:"installation_uri,omitempty"`
// Optional. 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 */
// Output only. GitHub Enterprise version installed at the host_uri.
ServerVersion string `protobuf:"bytes,12,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
// Optional. SSL certificate to use for requests to GitHub Enterprise.
SslCaCertificate string `protobuf:"bytes,14,opt,name=ssl_ca_certificate,json=sslCaCertificate,proto3" json:"ssl_ca_certificate,omitempty"`
// contains filtered or unexported fields
}
Configuration for connections to an instance of GitHub Enterprise.
func (*GitHubEnterpriseConfig) Descriptor
deprecated
added in
v0.3.0
func (*GitHubEnterpriseConfig) Descriptor() ([]byte, []int)
Deprecated: Use GitHubEnterpriseConfig.ProtoReflect.Descriptor instead.
func (*GitHubEnterpriseConfig) GetAppId ¶ added in v0.3.0
func (x *GitHubEnterpriseConfig) GetAppId() int64
func (*GitHubEnterpriseConfig) GetAppInstallationId ¶ added in v0.3.0
func (x *GitHubEnterpriseConfig) GetAppInstallationId() int64
func (*GitHubEnterpriseConfig) GetAppSlug ¶ added in v0.3.0
func (x *GitHubEnterpriseConfig) GetAppSlug() string
func (*GitHubEnterpriseConfig) GetHostUri ¶ added in v0.3.0
func (x *GitHubEnterpriseConfig) GetHostUri() string
func (*GitHubEnterpriseConfig) GetInstallationUri ¶ added in v0.3.0
func (x *GitHubEnterpriseConfig) GetInstallationUri() string
func (*GitHubEnterpriseConfig) GetPrivateKeySecretVersion ¶ added in v0.3.0
func (x *GitHubEnterpriseConfig) GetPrivateKeySecretVersion() string
func (*GitHubEnterpriseConfig) GetServerVersion ¶ added in v0.3.0
func (x *GitHubEnterpriseConfig) GetServerVersion() string
func (*GitHubEnterpriseConfig) GetServiceDirectoryConfig ¶ added in v0.3.0
func (x *GitHubEnterpriseConfig) GetServiceDirectoryConfig() *ServiceDirectoryConfig
func (*GitHubEnterpriseConfig) GetSslCaCertificate ¶ added in v0.3.0
func (x *GitHubEnterpriseConfig) GetSslCaCertificate() string
func (*GitHubEnterpriseConfig) GetWebhookSecretSecretVersion ¶ added in v0.3.0
func (x *GitHubEnterpriseConfig) GetWebhookSecretSecretVersion() string
func (*GitHubEnterpriseConfig) ProtoMessage ¶ added in v0.3.0
func (*GitHubEnterpriseConfig) ProtoMessage()
func (*GitHubEnterpriseConfig) ProtoReflect ¶ added in v0.3.0
func (x *GitHubEnterpriseConfig) ProtoReflect() protoreflect.Message
func (*GitHubEnterpriseConfig) Reset ¶ added in v0.3.0
func (x *GitHubEnterpriseConfig) Reset()
func (*GitHubEnterpriseConfig) String ¶ added in v0.3.0
func (x *GitHubEnterpriseConfig) String() string
type GitLabConfig ¶ added in v0.3.0
type GitLabConfig struct {
// Required. Immutable. SecretManager resource containing the webhook secret
// of a GitLab project, formatted as `projects/*/secrets/*/versions/*`. This
// is used to validate webhooks.
WebhookSecretSecretVersion string `` /* 143-byte string literal not displayed */
// Required. A GitLab personal access token with the minimum `read_api` scope
// access and a minimum role of `reporter`. The GitLab Projects visible to
// this Personal Access Token will control which Projects Developer Connect
// has access to.
ReadAuthorizerCredential *UserCredential `` /* 135-byte string literal not displayed */
// Required. A GitLab personal access token with the minimum `api` scope
// access and a minimum role of `maintainer`. The GitLab Projects visible to
// this Personal Access Token will control which Projects Developer Connect
// has access to.
AuthorizerCredential *UserCredential `protobuf:"bytes,3,opt,name=authorizer_credential,json=authorizerCredential,proto3" json:"authorizer_credential,omitempty"`
// contains filtered or unexported fields
}
Configuration for connections to gitlab.com.
func (*GitLabConfig) Descriptor
deprecated
added in
v0.3.0
func (*GitLabConfig) Descriptor() ([]byte, []int)
Deprecated: Use GitLabConfig.ProtoReflect.Descriptor instead.
func (*GitLabConfig) GetAuthorizerCredential ¶ added in v0.3.0
func (x *GitLabConfig) GetAuthorizerCredential() *UserCredential
func (*GitLabConfig) GetReadAuthorizerCredential ¶ added in v0.3.0
func (x *GitLabConfig) GetReadAuthorizerCredential() *UserCredential
func (*GitLabConfig) GetWebhookSecretSecretVersion ¶ added in v0.3.0
func (x *GitLabConfig) GetWebhookSecretSecretVersion() string
func (*GitLabConfig) ProtoMessage ¶ added in v0.3.0
func (*GitLabConfig) ProtoMessage()
func (*GitLabConfig) ProtoReflect ¶ added in v0.3.0
func (x *GitLabConfig) ProtoReflect() protoreflect.Message
func (*GitLabConfig) Reset ¶ added in v0.3.0
func (x *GitLabConfig) Reset()
func (*GitLabConfig) String ¶ added in v0.3.0
func (x *GitLabConfig) String() string
type GitLabEnterpriseConfig ¶ added in v0.3.0
type GitLabEnterpriseConfig struct {
// Required. The URI of the GitLab Enterprise host 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
// of a GitLab project, formatted as `projects/*/secrets/*/versions/*`. This
// is used to validate webhooks.
WebhookSecretSecretVersion string `` /* 143-byte string literal not displayed */
// Required. A GitLab personal access token with the minimum `read_api` scope
// access and a minimum role of `reporter`. The GitLab Projects visible to
// this Personal Access Token will control which Projects Developer Connect
// has access to.
ReadAuthorizerCredential *UserCredential `` /* 135-byte string literal not displayed */
// Required. A GitLab personal access token with the minimum `api` scope
// access and a minimum role of `maintainer`. The GitLab Projects visible to
// this Personal Access Token will control which Projects Developer Connect
// has access to.
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 GitLab Enterprise instance. 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 */
// Optional. SSL Certificate Authority certificate to use for requests to
// GitLab Enterprise instance.
SslCaCertificate string `protobuf:"bytes,6,opt,name=ssl_ca_certificate,json=sslCaCertificate,proto3" json:"ssl_ca_certificate,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 an instance of GitLab Enterprise.
func (*GitLabEnterpriseConfig) Descriptor
deprecated
added in
v0.3.0
func (*GitLabEnterpriseConfig) Descriptor() ([]byte, []int)
Deprecated: Use GitLabEnterpriseConfig.ProtoReflect.Descriptor instead.
func (*GitLabEnterpriseConfig) GetAuthorizerCredential ¶ added in v0.3.0
func (x *GitLabEnterpriseConfig) GetAuthorizerCredential() *UserCredential
func (*GitLabEnterpriseConfig) GetHostUri ¶ added in v0.3.0
func (x *GitLabEnterpriseConfig) GetHostUri() string
func (*GitLabEnterpriseConfig) GetReadAuthorizerCredential ¶ added in v0.3.0
func (x *GitLabEnterpriseConfig) GetReadAuthorizerCredential() *UserCredential
func (*GitLabEnterpriseConfig) GetServerVersion ¶ added in v0.3.0
func (x *GitLabEnterpriseConfig) GetServerVersion() string
func (*GitLabEnterpriseConfig) GetServiceDirectoryConfig ¶ added in v0.3.0
func (x *GitLabEnterpriseConfig) GetServiceDirectoryConfig() *ServiceDirectoryConfig
func (*GitLabEnterpriseConfig) GetSslCaCertificate ¶ added in v0.3.0
func (x *GitLabEnterpriseConfig) GetSslCaCertificate() string
func (*GitLabEnterpriseConfig) GetWebhookSecretSecretVersion ¶ added in v0.3.0
func (x *GitLabEnterpriseConfig) GetWebhookSecretSecretVersion() string
func (*GitLabEnterpriseConfig) ProtoMessage ¶ added in v0.3.0
func (*GitLabEnterpriseConfig) ProtoMessage()
func (*GitLabEnterpriseConfig) ProtoReflect ¶ added in v0.3.0
func (x *GitLabEnterpriseConfig) ProtoReflect() protoreflect.Message
func (*GitLabEnterpriseConfig) Reset ¶ added in v0.3.0
func (x *GitLabEnterpriseConfig) Reset()
func (*GitLabEnterpriseConfig) String ¶ added in v0.3.0
func (x *GitLabEnterpriseConfig) String() string
type GitRepositoryLink ¶
type GitRepositoryLink struct {
// Identifier. Resource name of the repository, in the format
// `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Git Clone URI.
CloneUri string `protobuf:"bytes,2,opt,name=clone_uri,json=cloneUri,proto3" json:"clone_uri,omitempty"`
// Output only. [Output only] Create timestamp
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. [Output only] Update timestamp
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. [Output only] Delete timestamp
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// Optional. Labels as key value pairs
Labels map[string]string `` /* 153-byte string literal not displayed */
// Optional. 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. Set to true when the connection is being set up or updated in
// the background.
Reconciling bool `protobuf:"varint,8,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
// Optional. Allows clients to store small amounts of arbitrary data.
Annotations map[string]string `` /* 163-byte string literal not displayed */
// Output only. A system-assigned unique identifier for a the
// GitRepositoryLink.
Uid string `protobuf:"bytes,10,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. External ID of the webhook created for the repository.
WebhookId string `protobuf:"bytes,11,opt,name=webhook_id,json=webhookId,proto3" json:"webhook_id,omitempty"`
// contains filtered or unexported fields
}
Message describing the GitRepositoryLink object
func (*GitRepositoryLink) Descriptor
deprecated
func (*GitRepositoryLink) Descriptor() ([]byte, []int)
Deprecated: Use GitRepositoryLink.ProtoReflect.Descriptor instead.
func (*GitRepositoryLink) GetAnnotations ¶
func (x *GitRepositoryLink) GetAnnotations() map[string]string
func (*GitRepositoryLink) GetCloneUri ¶
func (x *GitRepositoryLink) GetCloneUri() string
func (*GitRepositoryLink) GetCreateTime ¶
func (x *GitRepositoryLink) GetCreateTime() *timestamppb.Timestamp
func (*GitRepositoryLink) GetDeleteTime ¶
func (x *GitRepositoryLink) GetDeleteTime() *timestamppb.Timestamp
func (*GitRepositoryLink) GetEtag ¶
func (x *GitRepositoryLink) GetEtag() string
func (*GitRepositoryLink) GetLabels ¶
func (x *GitRepositoryLink) GetLabels() map[string]string
func (*GitRepositoryLink) GetName ¶
func (x *GitRepositoryLink) GetName() string
func (*GitRepositoryLink) GetReconciling ¶
func (x *GitRepositoryLink) GetReconciling() bool
func (*GitRepositoryLink) GetUid ¶
func (x *GitRepositoryLink) GetUid() string
func (*GitRepositoryLink) GetUpdateTime ¶
func (x *GitRepositoryLink) GetUpdateTime() *timestamppb.Timestamp
func (*GitRepositoryLink) GetWebhookId ¶ added in v0.3.0
func (x *GitRepositoryLink) GetWebhookId() string
func (*GitRepositoryLink) ProtoMessage ¶
func (*GitRepositoryLink) ProtoMessage()
func (*GitRepositoryLink) ProtoReflect ¶
func (x *GitRepositoryLink) ProtoReflect() protoreflect.Message
func (*GitRepositoryLink) Reset ¶
func (x *GitRepositoryLink) Reset()
func (*GitRepositoryLink) String ¶
func (x *GitRepositoryLink) String() string
type InstallationState ¶
type InstallationState struct {
// Output only. Current step of the installation process.
Stage InstallationState_Stage `` /* 126-byte string literal not displayed */
// 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 (x *InstallationState) GetStage() InstallationState_Stage
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) Descriptor() protoreflect.EnumDescriptor
func (InstallationState_Stage) Enum ¶
func (x InstallationState_Stage) Enum() *InstallationState_Stage
func (InstallationState_Stage) EnumDescriptor
deprecated
func (InstallationState_Stage) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstallationState_Stage.Descriptor instead.
func (InstallationState_Stage) Number ¶
func (x InstallationState_Stage) Number() protoreflect.EnumNumber
func (InstallationState_Stage) String ¶
func (x InstallationState_Stage) String() string
func (InstallationState_Stage) Type ¶
func (InstallationState_Stage) Type() protoreflect.EnumType
type LinkableGitRepository ¶
type LinkableGitRepository struct {
// The clone uri of the repository.
CloneUri string `protobuf:"bytes,1,opt,name=clone_uri,json=cloneUri,proto3" json:"clone_uri,omitempty"`
// contains filtered or unexported fields
}
LinkableGitRepository represents a git repository that can be linked to a connection.
func (*LinkableGitRepository) Descriptor
deprecated
func (*LinkableGitRepository) Descriptor() ([]byte, []int)
Deprecated: Use LinkableGitRepository.ProtoReflect.Descriptor instead.
func (*LinkableGitRepository) GetCloneUri ¶
func (x *LinkableGitRepository) GetCloneUri() string
func (*LinkableGitRepository) ProtoMessage ¶
func (*LinkableGitRepository) ProtoMessage()
func (*LinkableGitRepository) ProtoReflect ¶
func (x *LinkableGitRepository) ProtoReflect() protoreflect.Message
func (*LinkableGitRepository) Reset ¶
func (x *LinkableGitRepository) Reset()
func (*LinkableGitRepository) String ¶
func (x *LinkableGitRepository) String() string
type ListConnectionsRequest ¶
type ListConnectionsRequest struct {
// Required. Parent value for ListConnectionsRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,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) GetFilter ¶
func (x *ListConnectionsRequest) GetFilter() string
func (*ListConnectionsRequest) GetOrderBy ¶
func (x *ListConnectionsRequest) GetOrderBy() string
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 Connection
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"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,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) GetUnreachable ¶
func (x *ListConnectionsResponse) GetUnreachable() []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 ListGitRepositoryLinksRequest ¶
type ListGitRepositoryLinksRequest struct {
// Required. Parent value for ListGitRepositoryLinksRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Message for requesting a list of GitRepositoryLinks
func (*ListGitRepositoryLinksRequest) Descriptor
deprecated
func (*ListGitRepositoryLinksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGitRepositoryLinksRequest.ProtoReflect.Descriptor instead.
func (*ListGitRepositoryLinksRequest) GetFilter ¶
func (x *ListGitRepositoryLinksRequest) GetFilter() string
func (*ListGitRepositoryLinksRequest) GetOrderBy ¶
func (x *ListGitRepositoryLinksRequest) GetOrderBy() string
func (*ListGitRepositoryLinksRequest) GetPageSize ¶
func (x *ListGitRepositoryLinksRequest) GetPageSize() int32
func (*ListGitRepositoryLinksRequest) GetPageToken ¶
func (x *ListGitRepositoryLinksRequest) GetPageToken() string
func (*ListGitRepositoryLinksRequest) GetParent ¶
func (x *ListGitRepositoryLinksRequest) GetParent() string
func (*ListGitRepositoryLinksRequest) ProtoMessage ¶
func (*ListGitRepositoryLinksRequest) ProtoMessage()
func (*ListGitRepositoryLinksRequest) ProtoReflect ¶
func (x *ListGitRepositoryLinksRequest) ProtoReflect() protoreflect.Message
func (*ListGitRepositoryLinksRequest) Reset ¶
func (x *ListGitRepositoryLinksRequest) Reset()
func (*ListGitRepositoryLinksRequest) String ¶
func (x *ListGitRepositoryLinksRequest) String() string
type ListGitRepositoryLinksResponse ¶
type ListGitRepositoryLinksResponse struct {
// The list of GitRepositoryLinks
GitRepositoryLinks []*GitRepositoryLink `protobuf:"bytes,1,rep,name=git_repository_links,json=gitRepositoryLinks,proto3" json:"git_repository_links,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"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Message for response to listing GitRepositoryLinks
func (*ListGitRepositoryLinksResponse) Descriptor
deprecated
func (*ListGitRepositoryLinksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGitRepositoryLinksResponse.ProtoReflect.Descriptor instead.
func (*ListGitRepositoryLinksResponse) GetGitRepositoryLinks ¶
func (x *ListGitRepositoryLinksResponse) GetGitRepositoryLinks() []*GitRepositoryLink
func (*ListGitRepositoryLinksResponse) GetNextPageToken ¶
func (x *ListGitRepositoryLinksResponse) GetNextPageToken() string
func (*ListGitRepositoryLinksResponse) GetUnreachable ¶
func (x *ListGitRepositoryLinksResponse) GetUnreachable() []string
func (*ListGitRepositoryLinksResponse) ProtoMessage ¶
func (*ListGitRepositoryLinksResponse) ProtoMessage()
func (*ListGitRepositoryLinksResponse) ProtoReflect ¶
func (x *ListGitRepositoryLinksResponse) ProtoReflect() protoreflect.Message
func (*ListGitRepositoryLinksResponse) Reset ¶
func (x *ListGitRepositoryLinksResponse) Reset()
func (*ListGitRepositoryLinksResponse) String ¶
func (x *ListGitRepositoryLinksResponse) String() string
type OAuthCredential ¶
type OAuthCredential struct {
// Required. A SecretManager resource containing the OAuth token that
// authorizes the connection. Format: `projects/*/secrets/*/versions/*`.
OauthTokenSecretVersion string `` /* 134-byte string literal not displayed */
// Output only. The username associated with 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 been cancelled successfully
// have
// [google.longrunning.Operation.error][google.longrunning.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 ServiceDirectoryConfig ¶ added in v0.3.0
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
added in
v0.3.0
func (*ServiceDirectoryConfig) Descriptor() ([]byte, []int)
Deprecated: Use ServiceDirectoryConfig.ProtoReflect.Descriptor instead.
func (*ServiceDirectoryConfig) GetService ¶ added in v0.3.0
func (x *ServiceDirectoryConfig) GetService() string
func (*ServiceDirectoryConfig) ProtoMessage ¶ added in v0.3.0
func (*ServiceDirectoryConfig) ProtoMessage()
func (*ServiceDirectoryConfig) ProtoReflect ¶ added in v0.3.0
func (x *ServiceDirectoryConfig) ProtoReflect() protoreflect.Message
func (*ServiceDirectoryConfig) Reset ¶ added in v0.3.0
func (x *ServiceDirectoryConfig) Reset()
func (*ServiceDirectoryConfig) String ¶ added in v0.3.0
func (x *ServiceDirectoryConfig) String() string
type UnimplementedDeveloperConnectServer ¶
type UnimplementedDeveloperConnectServer struct {
}
UnimplementedDeveloperConnectServer can be embedded to have forward compatible implementations.
func (*UnimplementedDeveloperConnectServer) CreateConnection ¶
func (*UnimplementedDeveloperConnectServer) CreateConnection(context.Context, *CreateConnectionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDeveloperConnectServer) CreateGitRepositoryLink ¶
func (*UnimplementedDeveloperConnectServer) CreateGitRepositoryLink(context.Context, *CreateGitRepositoryLinkRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDeveloperConnectServer) DeleteConnection ¶
func (*UnimplementedDeveloperConnectServer) DeleteConnection(context.Context, *DeleteConnectionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDeveloperConnectServer) DeleteGitRepositoryLink ¶
func (*UnimplementedDeveloperConnectServer) DeleteGitRepositoryLink(context.Context, *DeleteGitRepositoryLinkRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDeveloperConnectServer) FetchGitHubInstallations ¶
func (*UnimplementedDeveloperConnectServer) FetchGitHubInstallations(context.Context, *FetchGitHubInstallationsRequest) (*FetchGitHubInstallationsResponse, error)
func (*UnimplementedDeveloperConnectServer) FetchGitRefs ¶
func (*UnimplementedDeveloperConnectServer) FetchGitRefs(context.Context, *FetchGitRefsRequest) (*FetchGitRefsResponse, error)
func (*UnimplementedDeveloperConnectServer) FetchLinkableGitRepositories ¶
func (*UnimplementedDeveloperConnectServer) FetchLinkableGitRepositories(context.Context, *FetchLinkableGitRepositoriesRequest) (*FetchLinkableGitRepositoriesResponse, error)
func (*UnimplementedDeveloperConnectServer) FetchReadToken ¶
func (*UnimplementedDeveloperConnectServer) FetchReadToken(context.Context, *FetchReadTokenRequest) (*FetchReadTokenResponse, error)
func (*UnimplementedDeveloperConnectServer) FetchReadWriteToken ¶
func (*UnimplementedDeveloperConnectServer) FetchReadWriteToken(context.Context, *FetchReadWriteTokenRequest) (*FetchReadWriteTokenResponse, error)
func (*UnimplementedDeveloperConnectServer) GetConnection ¶
func (*UnimplementedDeveloperConnectServer) GetConnection(context.Context, *GetConnectionRequest) (*Connection, error)
func (*UnimplementedDeveloperConnectServer) GetGitRepositoryLink ¶
func (*UnimplementedDeveloperConnectServer) GetGitRepositoryLink(context.Context, *GetGitRepositoryLinkRequest) (*GitRepositoryLink, error)
func (*UnimplementedDeveloperConnectServer) ListConnections ¶
func (*UnimplementedDeveloperConnectServer) ListConnections(context.Context, *ListConnectionsRequest) (*ListConnectionsResponse, error)
func (*UnimplementedDeveloperConnectServer) ListGitRepositoryLinks ¶
func (*UnimplementedDeveloperConnectServer) ListGitRepositoryLinks(context.Context, *ListGitRepositoryLinksRequest) (*ListGitRepositoryLinksResponse, error)
func (*UnimplementedDeveloperConnectServer) UpdateConnection ¶
func (*UnimplementedDeveloperConnectServer) UpdateConnection(context.Context, *UpdateConnectionRequest) (*longrunningpb.Operation, error)
type UpdateConnectionRequest ¶
type UpdateConnectionRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Connection resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated
Connection *Connection `protobuf:"bytes,2,opt,name=connection,proto3" json:"connection,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. 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,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set, validate the request, but do not actually post it.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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) GetRequestId ¶
func (x *UpdateConnectionRequest) GetRequestId() string
func (*UpdateConnectionRequest) GetUpdateMask ¶
func (x *UpdateConnectionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateConnectionRequest) GetValidateOnly ¶
func (x *UpdateConnectionRequest) GetValidateOnly() bool
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 v0.3.0
type UserCredential struct {
// Required. A SecretManager resource containing the user token that
// authorizes the Developer Connect connection. Format:
// `projects/*/secrets/*/versions/*`.
UserTokenSecretVersion string `` /* 131-byte string literal not displayed */
// Output only. The username associated with 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
v0.3.0
func (*UserCredential) Descriptor() ([]byte, []int)
Deprecated: Use UserCredential.ProtoReflect.Descriptor instead.
func (*UserCredential) GetUserTokenSecretVersion ¶ added in v0.3.0
func (x *UserCredential) GetUserTokenSecretVersion() string
func (*UserCredential) GetUsername ¶ added in v0.3.0
func (x *UserCredential) GetUsername() string
func (*UserCredential) ProtoMessage ¶ added in v0.3.0
func (*UserCredential) ProtoMessage()
func (*UserCredential) ProtoReflect ¶ added in v0.3.0
func (x *UserCredential) ProtoReflect() protoreflect.Message
func (*UserCredential) Reset ¶ added in v0.3.0
func (x *UserCredential) Reset()
func (*UserCredential) String ¶ added in v0.3.0
func (x *UserCredential) String() string