Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDeveloperConnectServer(s grpc.ServiceRegistrar, srv DeveloperConnectServer)
- func RegisterInsightsConfigServiceServer(s grpc.ServiceRegistrar, srv InsightsConfigServiceServer)
- type AccountConnector
- func (*AccountConnector) Descriptor() ([]byte, []int)deprecated
- func (m *AccountConnector) GetAccountConnectorConfig() isAccountConnector_AccountConnectorConfig
- func (x *AccountConnector) GetAnnotations() map[string]string
- func (x *AccountConnector) GetCreateTime() *timestamppb.Timestamp
- func (x *AccountConnector) GetEtag() string
- func (x *AccountConnector) GetLabels() map[string]string
- func (x *AccountConnector) GetName() string
- func (x *AccountConnector) GetOauthStartUri() string
- func (x *AccountConnector) GetProviderOauthConfig() *ProviderOAuthConfig
- func (x *AccountConnector) GetUpdateTime() *timestamppb.Timestamp
- func (*AccountConnector) ProtoMessage()
- func (x *AccountConnector) ProtoReflect() protoreflect.Message
- func (x *AccountConnector) Reset()
- func (x *AccountConnector) String() string
- type AccountConnector_ProviderOauthConfig
- type AppHubWorkload
- func (*AppHubWorkload) Descriptor() ([]byte, []int)deprecated
- func (x *AppHubWorkload) GetCriticality() string
- func (x *AppHubWorkload) GetEnvironment() string
- func (x *AppHubWorkload) GetWorkload() string
- func (*AppHubWorkload) ProtoMessage()
- func (x *AppHubWorkload) ProtoReflect() protoreflect.Message
- func (x *AppHubWorkload) Reset()
- func (x *AppHubWorkload) String() string
- type ArtifactConfig
- func (*ArtifactConfig) Descriptor() ([]byte, []int)deprecated
- func (m *ArtifactConfig) GetArtifactMetadataStorage() isArtifactConfig_ArtifactMetadataStorage
- func (m *ArtifactConfig) GetArtifactStorage() isArtifactConfig_ArtifactStorage
- func (x *ArtifactConfig) GetGoogleArtifactAnalysis() *GoogleArtifactAnalysis
- func (x *ArtifactConfig) GetGoogleArtifactRegistry() *GoogleArtifactRegistry
- func (x *ArtifactConfig) GetUri() string
- func (*ArtifactConfig) ProtoMessage()
- func (x *ArtifactConfig) ProtoReflect() protoreflect.Message
- func (x *ArtifactConfig) Reset()
- func (x *ArtifactConfig) String() string
- type ArtifactConfig_GoogleArtifactAnalysis
- type ArtifactConfig_GoogleArtifactRegistry
- type BitbucketCloudConfig
- func (*BitbucketCloudConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BitbucketCloudConfig) GetAuthorizerCredential() *UserCredential
- func (x *BitbucketCloudConfig) GetReadAuthorizerCredential() *UserCredential
- func (x *BitbucketCloudConfig) GetWebhookSecretSecretVersion() string
- func (x *BitbucketCloudConfig) GetWorkspace() string
- func (*BitbucketCloudConfig) ProtoMessage()
- func (x *BitbucketCloudConfig) ProtoReflect() protoreflect.Message
- func (x *BitbucketCloudConfig) Reset()
- func (x *BitbucketCloudConfig) String() string
- type BitbucketDataCenterConfig
- func (*BitbucketDataCenterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BitbucketDataCenterConfig) GetAuthorizerCredential() *UserCredential
- func (x *BitbucketDataCenterConfig) GetHostUri() string
- func (x *BitbucketDataCenterConfig) GetReadAuthorizerCredential() *UserCredential
- func (x *BitbucketDataCenterConfig) GetServerVersion() string
- func (x *BitbucketDataCenterConfig) GetServiceDirectoryConfig() *ServiceDirectoryConfig
- func (x *BitbucketDataCenterConfig) GetSslCaCertificate() string
- func (x *BitbucketDataCenterConfig) GetWebhookSecretSecretVersion() string
- func (*BitbucketDataCenterConfig) ProtoMessage()
- func (x *BitbucketDataCenterConfig) ProtoReflect() protoreflect.Message
- func (x *BitbucketDataCenterConfig) Reset()
- func (x *BitbucketDataCenterConfig) String() string
- type Connection
- func (*Connection) Descriptor() ([]byte, []int)deprecated
- func (x *Connection) GetAnnotations() map[string]string
- func (x *Connection) GetBitbucketCloudConfig() *BitbucketCloudConfig
- func (x *Connection) GetBitbucketDataCenterConfig() *BitbucketDataCenterConfig
- 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) GetGitProxyConfig() *GitProxyConfig
- 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_BitbucketCloudConfig
- type Connection_BitbucketDataCenterConfig
- type Connection_GithubConfig
- type Connection_GithubEnterpriseConfig
- type Connection_GitlabConfig
- type Connection_GitlabEnterpriseConfig
- type CreateAccountConnectorRequest
- func (*CreateAccountConnectorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountConnectorRequest) GetAccountConnector() *AccountConnector
- func (x *CreateAccountConnectorRequest) GetAccountConnectorId() string
- func (x *CreateAccountConnectorRequest) GetParent() string
- func (x *CreateAccountConnectorRequest) GetRequestId() string
- func (x *CreateAccountConnectorRequest) GetValidateOnly() bool
- func (*CreateAccountConnectorRequest) ProtoMessage()
- func (x *CreateAccountConnectorRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccountConnectorRequest) Reset()
- func (x *CreateAccountConnectorRequest) String() string
- 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 CreateInsightsConfigRequest
- func (*CreateInsightsConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInsightsConfigRequest) GetInsightsConfig() *InsightsConfig
- func (x *CreateInsightsConfigRequest) GetInsightsConfigId() string
- func (x *CreateInsightsConfigRequest) GetParent() string
- func (x *CreateInsightsConfigRequest) GetValidateOnly() bool
- func (*CreateInsightsConfigRequest) ProtoMessage()
- func (x *CreateInsightsConfigRequest) ProtoReflect() protoreflect.Message
- func (x *CreateInsightsConfigRequest) Reset()
- func (x *CreateInsightsConfigRequest) String() string
- type CryptoKeyConfig
- type DeleteAccountConnectorRequest
- func (*DeleteAccountConnectorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccountConnectorRequest) GetEtag() string
- func (x *DeleteAccountConnectorRequest) GetForce() bool
- func (x *DeleteAccountConnectorRequest) GetName() string
- func (x *DeleteAccountConnectorRequest) GetRequestId() string
- func (x *DeleteAccountConnectorRequest) GetValidateOnly() bool
- func (*DeleteAccountConnectorRequest) ProtoMessage()
- func (x *DeleteAccountConnectorRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAccountConnectorRequest) Reset()
- func (x *DeleteAccountConnectorRequest) String() string
- 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 DeleteInsightsConfigRequest
- func (*DeleteInsightsConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInsightsConfigRequest) GetEtag() string
- func (x *DeleteInsightsConfigRequest) GetName() string
- func (x *DeleteInsightsConfigRequest) GetRequestId() string
- func (x *DeleteInsightsConfigRequest) GetValidateOnly() bool
- func (*DeleteInsightsConfigRequest) ProtoMessage()
- func (x *DeleteInsightsConfigRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteInsightsConfigRequest) Reset()
- func (x *DeleteInsightsConfigRequest) String() string
- type DeleteSelfRequest
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetEtag() string
- func (x *DeleteUserRequest) GetName() string
- func (x *DeleteUserRequest) GetRequestId() string
- func (x *DeleteUserRequest) GetValidateOnly() bool
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- type DeveloperConnectClient
- type DeveloperConnectServer
- type ExchangeError
- func (*ExchangeError) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeError) GetCode() string
- func (x *ExchangeError) GetDescription() string
- func (*ExchangeError) ProtoMessage()
- func (x *ExchangeError) ProtoReflect() protoreflect.Message
- func (x *ExchangeError) Reset()
- func (x *ExchangeError) String() string
- type FetchAccessTokenRequest
- func (*FetchAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchAccessTokenRequest) GetAccountConnector() string
- func (*FetchAccessTokenRequest) ProtoMessage()
- func (x *FetchAccessTokenRequest) ProtoReflect() protoreflect.Message
- func (x *FetchAccessTokenRequest) Reset()
- func (x *FetchAccessTokenRequest) String() string
- type FetchAccessTokenResponse
- func (*FetchAccessTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchAccessTokenResponse) GetExchangeError() *ExchangeError
- func (x *FetchAccessTokenResponse) GetExpirationTime() *timestamppb.Timestamp
- func (x *FetchAccessTokenResponse) GetScopes() []string
- func (x *FetchAccessTokenResponse) GetToken() string
- func (*FetchAccessTokenResponse) ProtoMessage()
- func (x *FetchAccessTokenResponse) ProtoReflect() protoreflect.Message
- func (x *FetchAccessTokenResponse) Reset()
- func (x *FetchAccessTokenResponse) String() string
- 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 FetchSelfRequest
- type GKEWorkload
- func (*GKEWorkload) Descriptor() ([]byte, []int)deprecated
- func (x *GKEWorkload) GetCluster() string
- func (x *GKEWorkload) GetDeployment() string
- func (*GKEWorkload) ProtoMessage()
- func (x *GKEWorkload) ProtoReflect() protoreflect.Message
- func (x *GKEWorkload) Reset()
- func (x *GKEWorkload) String() string
- type GetAccountConnectorRequest
- func (*GetAccountConnectorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountConnectorRequest) GetName() string
- func (*GetAccountConnectorRequest) ProtoMessage()
- func (x *GetAccountConnectorRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccountConnectorRequest) Reset()
- func (x *GetAccountConnectorRequest) 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 GetInsightsConfigRequest
- func (*GetInsightsConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInsightsConfigRequest) GetName() string
- func (*GetInsightsConfigRequest) ProtoMessage()
- func (x *GetInsightsConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetInsightsConfigRequest) Reset()
- func (x *GetInsightsConfigRequest) 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 GitProxyConfig
- 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) GetGitProxyUri() 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 GoogleArtifactAnalysis
- func (*GoogleArtifactAnalysis) Descriptor() ([]byte, []int)deprecated
- func (x *GoogleArtifactAnalysis) GetProjectId() string
- func (*GoogleArtifactAnalysis) ProtoMessage()
- func (x *GoogleArtifactAnalysis) ProtoReflect() protoreflect.Message
- func (x *GoogleArtifactAnalysis) Reset()
- func (x *GoogleArtifactAnalysis) String() string
- type GoogleArtifactRegistry
- func (*GoogleArtifactRegistry) Descriptor() ([]byte, []int)deprecated
- func (x *GoogleArtifactRegistry) GetArtifactRegistryPackage() string
- func (x *GoogleArtifactRegistry) GetProjectId() string
- func (*GoogleArtifactRegistry) ProtoMessage()
- func (x *GoogleArtifactRegistry) ProtoReflect() protoreflect.Message
- func (x *GoogleArtifactRegistry) Reset()
- func (x *GoogleArtifactRegistry) String() string
- type InsightsConfig
- func (*InsightsConfig) Descriptor() ([]byte, []int)deprecated
- func (x *InsightsConfig) GetAnnotations() map[string]string
- func (x *InsightsConfig) GetAppHubApplication() string
- func (x *InsightsConfig) GetArtifactConfigs() []*ArtifactConfig
- func (x *InsightsConfig) GetCreateTime() *timestamppb.Timestamp
- func (x *InsightsConfig) GetErrors() []*status.Status
- func (m *InsightsConfig) GetInsightsConfigContext() isInsightsConfig_InsightsConfigContext
- func (x *InsightsConfig) GetLabels() map[string]string
- func (x *InsightsConfig) GetName() string
- func (x *InsightsConfig) GetReconciling() bool
- func (x *InsightsConfig) GetRuntimeConfigs() []*RuntimeConfig
- func (x *InsightsConfig) GetState() InsightsConfig_State
- func (x *InsightsConfig) GetUpdateTime() *timestamppb.Timestamp
- func (*InsightsConfig) ProtoMessage()
- func (x *InsightsConfig) ProtoReflect() protoreflect.Message
- func (x *InsightsConfig) Reset()
- func (x *InsightsConfig) String() string
- type InsightsConfigServiceClient
- type InsightsConfigServiceServer
- type InsightsConfig_AppHubApplication
- type InsightsConfig_State
- func (InsightsConfig_State) Descriptor() protoreflect.EnumDescriptor
- func (x InsightsConfig_State) Enum() *InsightsConfig_State
- func (InsightsConfig_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x InsightsConfig_State) Number() protoreflect.EnumNumber
- func (x InsightsConfig_State) String() string
- func (InsightsConfig_State) Type() protoreflect.EnumType
- 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 ListAccountConnectorsRequest
- func (*ListAccountConnectorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountConnectorsRequest) GetFilter() string
- func (x *ListAccountConnectorsRequest) GetOrderBy() string
- func (x *ListAccountConnectorsRequest) GetPageSize() int32
- func (x *ListAccountConnectorsRequest) GetPageToken() string
- func (x *ListAccountConnectorsRequest) GetParent() string
- func (*ListAccountConnectorsRequest) ProtoMessage()
- func (x *ListAccountConnectorsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccountConnectorsRequest) Reset()
- func (x *ListAccountConnectorsRequest) String() string
- type ListAccountConnectorsResponse
- func (*ListAccountConnectorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountConnectorsResponse) GetAccountConnectors() []*AccountConnector
- func (x *ListAccountConnectorsResponse) GetNextPageToken() string
- func (x *ListAccountConnectorsResponse) GetUnreachable() []string
- func (*ListAccountConnectorsResponse) ProtoMessage()
- func (x *ListAccountConnectorsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccountConnectorsResponse) Reset()
- func (x *ListAccountConnectorsResponse) 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 ListInsightsConfigsRequest
- func (*ListInsightsConfigsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInsightsConfigsRequest) GetFilter() string
- func (x *ListInsightsConfigsRequest) GetOrderBy() string
- func (x *ListInsightsConfigsRequest) GetPageSize() int32
- func (x *ListInsightsConfigsRequest) GetPageToken() string
- func (x *ListInsightsConfigsRequest) GetParent() string
- func (*ListInsightsConfigsRequest) ProtoMessage()
- func (x *ListInsightsConfigsRequest) ProtoReflect() protoreflect.Message
- func (x *ListInsightsConfigsRequest) Reset()
- func (x *ListInsightsConfigsRequest) String() string
- type ListInsightsConfigsResponse
- func (*ListInsightsConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInsightsConfigsResponse) GetInsightsConfigs() []*InsightsConfig
- func (x *ListInsightsConfigsResponse) GetNextPageToken() string
- func (x *ListInsightsConfigsResponse) GetUnreachable() []string
- func (*ListInsightsConfigsResponse) ProtoMessage()
- func (x *ListInsightsConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *ListInsightsConfigsResponse) Reset()
- func (x *ListInsightsConfigsResponse) String() string
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersRequest) GetFilter() string
- func (x *ListUsersRequest) GetOrderBy() string
- func (x *ListUsersRequest) GetPageSize() int32
- func (x *ListUsersRequest) GetPageToken() string
- func (x *ListUsersRequest) GetParent() string
- func (*ListUsersRequest) ProtoMessage()
- func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsersRequest) Reset()
- func (x *ListUsersRequest) String() string
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersResponse) GetNextPageToken() string
- func (x *ListUsersResponse) GetUnreachable() []string
- func (x *ListUsersResponse) GetUsers() []*User
- func (*ListUsersResponse) ProtoMessage()
- func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsersResponse) Reset()
- func (x *ListUsersResponse) 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 ProviderOAuthConfig
- func (*ProviderOAuthConfig) Descriptor() ([]byte, []int)deprecated
- func (m *ProviderOAuthConfig) GetOauthProviderId() isProviderOAuthConfig_OauthProviderId
- func (x *ProviderOAuthConfig) GetScopes() []string
- func (x *ProviderOAuthConfig) GetSystemProviderId() SystemProvider
- func (*ProviderOAuthConfig) ProtoMessage()
- func (x *ProviderOAuthConfig) ProtoReflect() protoreflect.Message
- func (x *ProviderOAuthConfig) Reset()
- func (x *ProviderOAuthConfig) String() string
- type ProviderOAuthConfig_SystemProviderId
- type RuntimeConfig
- func (*RuntimeConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeConfig) GetAppHubWorkload() *AppHubWorkload
- func (m *RuntimeConfig) GetDerivedFrom() isRuntimeConfig_DerivedFrom
- func (x *RuntimeConfig) GetGkeWorkload() *GKEWorkload
- func (m *RuntimeConfig) GetRuntime() isRuntimeConfig_Runtime
- func (x *RuntimeConfig) GetState() RuntimeConfig_State
- func (x *RuntimeConfig) GetUri() string
- func (*RuntimeConfig) ProtoMessage()
- func (x *RuntimeConfig) ProtoReflect() protoreflect.Message
- func (x *RuntimeConfig) Reset()
- func (x *RuntimeConfig) String() string
- type RuntimeConfig_AppHubWorkload
- type RuntimeConfig_GkeWorkload
- type RuntimeConfig_State
- func (RuntimeConfig_State) Descriptor() protoreflect.EnumDescriptor
- func (x RuntimeConfig_State) Enum() *RuntimeConfig_State
- func (RuntimeConfig_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x RuntimeConfig_State) Number() protoreflect.EnumNumber
- func (x RuntimeConfig_State) String() string
- func (RuntimeConfig_State) Type() protoreflect.EnumType
- 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 SystemProvider
- func (SystemProvider) Descriptor() protoreflect.EnumDescriptor
- func (x SystemProvider) Enum() *SystemProvider
- func (SystemProvider) EnumDescriptor() ([]byte, []int)deprecated
- func (x SystemProvider) Number() protoreflect.EnumNumber
- func (x SystemProvider) String() string
- func (SystemProvider) Type() protoreflect.EnumType
- type UnimplementedDeveloperConnectServer
- func (UnimplementedDeveloperConnectServer) CreateAccountConnector(context.Context, *CreateAccountConnectorRequest) (*longrunningpb.Operation, error)
- func (UnimplementedDeveloperConnectServer) CreateConnection(context.Context, *CreateConnectionRequest) (*longrunningpb.Operation, error)
- func (UnimplementedDeveloperConnectServer) CreateGitRepositoryLink(context.Context, *CreateGitRepositoryLinkRequest) (*longrunningpb.Operation, error)
- func (UnimplementedDeveloperConnectServer) DeleteAccountConnector(context.Context, *DeleteAccountConnectorRequest) (*longrunningpb.Operation, error)
- func (UnimplementedDeveloperConnectServer) DeleteConnection(context.Context, *DeleteConnectionRequest) (*longrunningpb.Operation, error)
- func (UnimplementedDeveloperConnectServer) DeleteGitRepositoryLink(context.Context, *DeleteGitRepositoryLinkRequest) (*longrunningpb.Operation, error)
- func (UnimplementedDeveloperConnectServer) DeleteSelf(context.Context, *DeleteSelfRequest) (*longrunningpb.Operation, error)
- func (UnimplementedDeveloperConnectServer) DeleteUser(context.Context, *DeleteUserRequest) (*longrunningpb.Operation, error)
- func (UnimplementedDeveloperConnectServer) FetchAccessToken(context.Context, *FetchAccessTokenRequest) (*FetchAccessTokenResponse, 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) FetchSelf(context.Context, *FetchSelfRequest) (*User, error)
- func (UnimplementedDeveloperConnectServer) GetAccountConnector(context.Context, *GetAccountConnectorRequest) (*AccountConnector, error)
- func (UnimplementedDeveloperConnectServer) GetConnection(context.Context, *GetConnectionRequest) (*Connection, error)
- func (UnimplementedDeveloperConnectServer) GetGitRepositoryLink(context.Context, *GetGitRepositoryLinkRequest) (*GitRepositoryLink, error)
- func (UnimplementedDeveloperConnectServer) ListAccountConnectors(context.Context, *ListAccountConnectorsRequest) (*ListAccountConnectorsResponse, error)
- func (UnimplementedDeveloperConnectServer) ListConnections(context.Context, *ListConnectionsRequest) (*ListConnectionsResponse, error)
- func (UnimplementedDeveloperConnectServer) ListGitRepositoryLinks(context.Context, *ListGitRepositoryLinksRequest) (*ListGitRepositoryLinksResponse, error)
- func (UnimplementedDeveloperConnectServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
- func (UnimplementedDeveloperConnectServer) UpdateAccountConnector(context.Context, *UpdateAccountConnectorRequest) (*longrunningpb.Operation, error)
- func (UnimplementedDeveloperConnectServer) UpdateConnection(context.Context, *UpdateConnectionRequest) (*longrunningpb.Operation, error)
- type UnimplementedInsightsConfigServiceServer
- func (UnimplementedInsightsConfigServiceServer) CreateInsightsConfig(context.Context, *CreateInsightsConfigRequest) (*longrunningpb.Operation, error)
- func (UnimplementedInsightsConfigServiceServer) DeleteInsightsConfig(context.Context, *DeleteInsightsConfigRequest) (*longrunningpb.Operation, error)
- func (UnimplementedInsightsConfigServiceServer) GetInsightsConfig(context.Context, *GetInsightsConfigRequest) (*InsightsConfig, error)
- func (UnimplementedInsightsConfigServiceServer) ListInsightsConfigs(context.Context, *ListInsightsConfigsRequest) (*ListInsightsConfigsResponse, error)
- func (UnimplementedInsightsConfigServiceServer) UpdateInsightsConfig(context.Context, *UpdateInsightsConfigRequest) (*longrunningpb.Operation, error)
- type UnsafeDeveloperConnectServer
- type UnsafeInsightsConfigServiceServer
- type UpdateAccountConnectorRequest
- func (*UpdateAccountConnectorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAccountConnectorRequest) GetAccountConnector() *AccountConnector
- func (x *UpdateAccountConnectorRequest) GetAllowMissing() bool
- func (x *UpdateAccountConnectorRequest) GetRequestId() string
- func (x *UpdateAccountConnectorRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateAccountConnectorRequest) GetValidateOnly() bool
- func (*UpdateAccountConnectorRequest) ProtoMessage()
- func (x *UpdateAccountConnectorRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAccountConnectorRequest) Reset()
- func (x *UpdateAccountConnectorRequest) String() string
- 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 UpdateInsightsConfigRequest
- func (*UpdateInsightsConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInsightsConfigRequest) GetAllowMissing() bool
- func (x *UpdateInsightsConfigRequest) GetInsightsConfig() *InsightsConfig
- func (x *UpdateInsightsConfigRequest) GetRequestId() string
- func (x *UpdateInsightsConfigRequest) GetValidateOnly() bool
- func (*UpdateInsightsConfigRequest) ProtoMessage()
- func (x *UpdateInsightsConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateInsightsConfigRequest) Reset()
- func (x *UpdateInsightsConfigRequest) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCreateTime() *timestamppb.Timestamp
- func (x *User) GetDisplayName() string
- func (x *User) GetLastTokenRequestTime() *timestamppb.Timestamp
- func (x *User) GetName() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) 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 ¶
const ( DeveloperConnect_ListConnections_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/ListConnections" DeveloperConnect_GetConnection_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/GetConnection" DeveloperConnect_CreateConnection_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/CreateConnection" DeveloperConnect_UpdateConnection_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/UpdateConnection" DeveloperConnect_DeleteConnection_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/DeleteConnection" DeveloperConnect_CreateGitRepositoryLink_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/CreateGitRepositoryLink" DeveloperConnect_DeleteGitRepositoryLink_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/DeleteGitRepositoryLink" DeveloperConnect_ListGitRepositoryLinks_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/ListGitRepositoryLinks" DeveloperConnect_GetGitRepositoryLink_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/GetGitRepositoryLink" DeveloperConnect_FetchReadWriteToken_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/FetchReadWriteToken" DeveloperConnect_FetchReadToken_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/FetchReadToken" DeveloperConnect_FetchLinkableGitRepositories_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/FetchLinkableGitRepositories" DeveloperConnect_FetchGitHubInstallations_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/FetchGitHubInstallations" DeveloperConnect_FetchGitRefs_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/FetchGitRefs" DeveloperConnect_ListAccountConnectors_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/ListAccountConnectors" DeveloperConnect_GetAccountConnector_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/GetAccountConnector" DeveloperConnect_CreateAccountConnector_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/CreateAccountConnector" DeveloperConnect_UpdateAccountConnector_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/UpdateAccountConnector" DeveloperConnect_DeleteAccountConnector_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/DeleteAccountConnector" DeveloperConnect_FetchAccessToken_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/FetchAccessToken" DeveloperConnect_ListUsers_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/ListUsers" DeveloperConnect_DeleteUser_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/DeleteUser" DeveloperConnect_FetchSelf_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/FetchSelf" DeveloperConnect_DeleteSelf_FullMethodName = "/google.cloud.developerconnect.v1.DeveloperConnect/DeleteSelf" )
const ( InsightsConfigService_ListInsightsConfigs_FullMethodName = "/google.cloud.developerconnect.v1.InsightsConfigService/ListInsightsConfigs" InsightsConfigService_CreateInsightsConfig_FullMethodName = "/google.cloud.developerconnect.v1.InsightsConfigService/CreateInsightsConfig" InsightsConfigService_GetInsightsConfig_FullMethodName = "/google.cloud.developerconnect.v1.InsightsConfigService/GetInsightsConfig" InsightsConfigService_UpdateInsightsConfig_FullMethodName = "/google.cloud.developerconnect.v1.InsightsConfigService/UpdateInsightsConfig" InsightsConfigService_DeleteInsightsConfig_FullMethodName = "/google.cloud.developerconnect.v1.InsightsConfigService/DeleteInsightsConfig" )
Variables ¶
var ( SystemProvider_name = map[int32]string{ 0: "SYSTEM_PROVIDER_UNSPECIFIED", 1: "GITHUB", 2: "GITLAB", 3: "GOOGLE", 4: "SENTRY", 5: "ROVO", 6: "NEW_RELIC", 7: "DATASTAX", 8: "DYNATRACE", } SystemProvider_value = map[string]int32{ "SYSTEM_PROVIDER_UNSPECIFIED": 0, "GITHUB": 1, "GITLAB": 2, "GOOGLE": 3, "SENTRY": 4, "ROVO": 5, "NEW_RELIC": 6, "DATASTAX": 7, "DYNATRACE": 8, } )
Enum value maps for SystemProvider.
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 ( InsightsConfig_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 5: "PENDING", 3: "COMPLETE", 4: "ERROR", } InsightsConfig_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "PENDING": 5, "COMPLETE": 3, "ERROR": 4, } )
Enum value maps for InsightsConfig_State.
var ( RuntimeConfig_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "LINKED", 2: "UNLINKED", } RuntimeConfig_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "LINKED": 1, "UNLINKED": 2, } )
Enum value maps for RuntimeConfig_State.
var DeveloperConnect_ServiceDesc = grpc.ServiceDesc{ ServiceName: "google.cloud.developerconnect.v1.DeveloperConnect", HandlerType: (*DeveloperConnectServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListConnections", Handler: _DeveloperConnect_ListConnections_Handler, }, { MethodName: "GetConnection", Handler: _DeveloperConnect_GetConnection_Handler, }, { MethodName: "CreateConnection", Handler: _DeveloperConnect_CreateConnection_Handler, }, { MethodName: "UpdateConnection", Handler: _DeveloperConnect_UpdateConnection_Handler, }, { MethodName: "DeleteConnection", Handler: _DeveloperConnect_DeleteConnection_Handler, }, { MethodName: "CreateGitRepositoryLink", Handler: _DeveloperConnect_CreateGitRepositoryLink_Handler, }, { MethodName: "DeleteGitRepositoryLink", Handler: _DeveloperConnect_DeleteGitRepositoryLink_Handler, }, { MethodName: "ListGitRepositoryLinks", Handler: _DeveloperConnect_ListGitRepositoryLinks_Handler, }, { MethodName: "GetGitRepositoryLink", Handler: _DeveloperConnect_GetGitRepositoryLink_Handler, }, { MethodName: "FetchReadWriteToken", Handler: _DeveloperConnect_FetchReadWriteToken_Handler, }, { MethodName: "FetchReadToken", Handler: _DeveloperConnect_FetchReadToken_Handler, }, { MethodName: "FetchLinkableGitRepositories", Handler: _DeveloperConnect_FetchLinkableGitRepositories_Handler, }, { MethodName: "FetchGitHubInstallations", Handler: _DeveloperConnect_FetchGitHubInstallations_Handler, }, { MethodName: "FetchGitRefs", Handler: _DeveloperConnect_FetchGitRefs_Handler, }, { MethodName: "ListAccountConnectors", Handler: _DeveloperConnect_ListAccountConnectors_Handler, }, { MethodName: "GetAccountConnector", Handler: _DeveloperConnect_GetAccountConnector_Handler, }, { MethodName: "CreateAccountConnector", Handler: _DeveloperConnect_CreateAccountConnector_Handler, }, { MethodName: "UpdateAccountConnector", Handler: _DeveloperConnect_UpdateAccountConnector_Handler, }, { MethodName: "DeleteAccountConnector", Handler: _DeveloperConnect_DeleteAccountConnector_Handler, }, { MethodName: "FetchAccessToken", Handler: _DeveloperConnect_FetchAccessToken_Handler, }, { MethodName: "ListUsers", Handler: _DeveloperConnect_ListUsers_Handler, }, { MethodName: "DeleteUser", Handler: _DeveloperConnect_DeleteUser_Handler, }, { MethodName: "FetchSelf", Handler: _DeveloperConnect_FetchSelf_Handler, }, { MethodName: "DeleteSelf", Handler: _DeveloperConnect_DeleteSelf_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/cloud/developerconnect/v1/developer_connect.proto", }
DeveloperConnect_ServiceDesc is the grpc.ServiceDesc for DeveloperConnect service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_google_cloud_developerconnect_v1_developer_connect_proto protoreflect.FileDescriptor
var File_google_cloud_developerconnect_v1_insights_config_proto protoreflect.FileDescriptor
var InsightsConfigService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "google.cloud.developerconnect.v1.InsightsConfigService", HandlerType: (*InsightsConfigServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListInsightsConfigs", Handler: _InsightsConfigService_ListInsightsConfigs_Handler, }, { MethodName: "CreateInsightsConfig", Handler: _InsightsConfigService_CreateInsightsConfig_Handler, }, { MethodName: "GetInsightsConfig", Handler: _InsightsConfigService_GetInsightsConfig_Handler, }, { MethodName: "UpdateInsightsConfig", Handler: _InsightsConfigService_UpdateInsightsConfig_Handler, }, { MethodName: "DeleteInsightsConfig", Handler: _InsightsConfigService_DeleteInsightsConfig_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/cloud/developerconnect/v1/insights_config.proto", }
InsightsConfigService_ServiceDesc is the grpc.ServiceDesc for InsightsConfigService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterDeveloperConnectServer ¶
func RegisterDeveloperConnectServer(s grpc.ServiceRegistrar, srv DeveloperConnectServer)
func RegisterInsightsConfigServiceServer ¶ added in v0.4.0
func RegisterInsightsConfigServiceServer(s grpc.ServiceRegistrar, srv InsightsConfigServiceServer)
Types ¶
type AccountConnector ¶ added in v0.4.0
type AccountConnector struct {
// The AccountConnector config.
//
// Types that are assignable to AccountConnectorConfig:
//
// *AccountConnector_ProviderOauthConfig
AccountConnectorConfig isAccountConnector_AccountConnectorConfig `protobuf_oneof:"account_connector_config"`
// Identifier. The resource name of the accountConnector, in the format
// `projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The timestamp when the accountConnector was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The timestamp when the accountConnector was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. Allows users 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,7,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. Labels as key value pairs
Labels map[string]string `` /* 153-byte string literal not displayed */
// Output only. Start OAuth flow by clicking on this URL.
OauthStartUri string `protobuf:"bytes,10,opt,name=oauth_start_uri,json=oauthStartUri,proto3" json:"oauth_start_uri,omitempty"`
// contains filtered or unexported fields
}
AccountConnector encapsulates what a platform administrator needs to configure for users to connect to the service providers, which includes, among other fields, the OAuth client ID, client secret, and authorization and token endpoints.
func (*AccountConnector) Descriptor
deprecated
added in
v0.4.0
func (*AccountConnector) Descriptor() ([]byte, []int)
Deprecated: Use AccountConnector.ProtoReflect.Descriptor instead.
func (*AccountConnector) GetAccountConnectorConfig ¶ added in v0.4.0
func (m *AccountConnector) GetAccountConnectorConfig() isAccountConnector_AccountConnectorConfig
func (*AccountConnector) GetAnnotations ¶ added in v0.4.0
func (x *AccountConnector) GetAnnotations() map[string]string
func (*AccountConnector) GetCreateTime ¶ added in v0.4.0
func (x *AccountConnector) GetCreateTime() *timestamppb.Timestamp
func (*AccountConnector) GetEtag ¶ added in v0.4.0
func (x *AccountConnector) GetEtag() string
func (*AccountConnector) GetLabels ¶ added in v0.4.0
func (x *AccountConnector) GetLabels() map[string]string
func (*AccountConnector) GetName ¶ added in v0.4.0
func (x *AccountConnector) GetName() string
func (*AccountConnector) GetOauthStartUri ¶ added in v0.4.0
func (x *AccountConnector) GetOauthStartUri() string
func (*AccountConnector) GetProviderOauthConfig ¶ added in v0.4.0
func (x *AccountConnector) GetProviderOauthConfig() *ProviderOAuthConfig
func (*AccountConnector) GetUpdateTime ¶ added in v0.4.0
func (x *AccountConnector) GetUpdateTime() *timestamppb.Timestamp
func (*AccountConnector) ProtoMessage ¶ added in v0.4.0
func (*AccountConnector) ProtoMessage()
func (*AccountConnector) ProtoReflect ¶ added in v0.4.0
func (x *AccountConnector) ProtoReflect() protoreflect.Message
func (*AccountConnector) Reset ¶ added in v0.4.0
func (x *AccountConnector) Reset()
func (*AccountConnector) String ¶ added in v0.4.0
func (x *AccountConnector) String() string
type AccountConnector_ProviderOauthConfig ¶ added in v0.4.0
type AccountConnector_ProviderOauthConfig struct {
// Provider OAuth config.
ProviderOauthConfig *ProviderOAuthConfig `protobuf:"bytes,5,opt,name=provider_oauth_config,json=providerOauthConfig,proto3,oneof"`
}
type AppHubWorkload ¶ added in v0.4.0
type AppHubWorkload struct {
// Required. Output only. Immutable. The name of the App Hub Workload.
// Format:
// `projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.
Workload string `protobuf:"bytes,1,opt,name=workload,proto3" json:"workload,omitempty"`
// Output only. The criticality of the App Hub Workload.
Criticality string `protobuf:"bytes,2,opt,name=criticality,proto3" json:"criticality,omitempty"`
// Output only. The environment of the App Hub Workload.
Environment string `protobuf:"bytes,3,opt,name=environment,proto3" json:"environment,omitempty"`
// contains filtered or unexported fields
}
AppHubWorkload represents the App Hub Workload.
func (*AppHubWorkload) Descriptor
deprecated
added in
v0.4.0
func (*AppHubWorkload) Descriptor() ([]byte, []int)
Deprecated: Use AppHubWorkload.ProtoReflect.Descriptor instead.
func (*AppHubWorkload) GetCriticality ¶ added in v0.4.0
func (x *AppHubWorkload) GetCriticality() string
func (*AppHubWorkload) GetEnvironment ¶ added in v0.4.0
func (x *AppHubWorkload) GetEnvironment() string
func (*AppHubWorkload) GetWorkload ¶ added in v0.4.0
func (x *AppHubWorkload) GetWorkload() string
func (*AppHubWorkload) ProtoMessage ¶ added in v0.4.0
func (*AppHubWorkload) ProtoMessage()
func (*AppHubWorkload) ProtoReflect ¶ added in v0.4.0
func (x *AppHubWorkload) ProtoReflect() protoreflect.Message
func (*AppHubWorkload) Reset ¶ added in v0.4.0
func (x *AppHubWorkload) Reset()
func (*AppHubWorkload) String ¶ added in v0.4.0
func (x *AppHubWorkload) String() string
type ArtifactConfig ¶ added in v0.4.0
type ArtifactConfig struct {
// The storage location of the artifact.
//
// Types that are assignable to ArtifactStorage:
//
// *ArtifactConfig_GoogleArtifactRegistry
ArtifactStorage isArtifactConfig_ArtifactStorage `protobuf_oneof:"artifact_storage"`
// The storage location of the artifact metadata.
//
// Types that are assignable to ArtifactMetadataStorage:
//
// *ArtifactConfig_GoogleArtifactAnalysis
ArtifactMetadataStorage isArtifactConfig_ArtifactMetadataStorage `protobuf_oneof:"artifact_metadata_storage"`
// Required. Immutable. The URI of the artifact that is deployed.
// e.g. `us-docker.pkg.dev/my-project/my-repo/image`.
// The URI does not include the tag / digest because it captures a lineage of
// artifacts.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
The artifact config of the artifact that is deployed.
func (*ArtifactConfig) Descriptor
deprecated
added in
v0.4.0
func (*ArtifactConfig) Descriptor() ([]byte, []int)
Deprecated: Use ArtifactConfig.ProtoReflect.Descriptor instead.
func (*ArtifactConfig) GetArtifactMetadataStorage ¶ added in v0.4.0
func (m *ArtifactConfig) GetArtifactMetadataStorage() isArtifactConfig_ArtifactMetadataStorage
func (*ArtifactConfig) GetArtifactStorage ¶ added in v0.4.0
func (m *ArtifactConfig) GetArtifactStorage() isArtifactConfig_ArtifactStorage
func (*ArtifactConfig) GetGoogleArtifactAnalysis ¶ added in v0.4.0
func (x *ArtifactConfig) GetGoogleArtifactAnalysis() *GoogleArtifactAnalysis
func (*ArtifactConfig) GetGoogleArtifactRegistry ¶ added in v0.4.0
func (x *ArtifactConfig) GetGoogleArtifactRegistry() *GoogleArtifactRegistry
func (*ArtifactConfig) GetUri ¶ added in v0.4.0
func (x *ArtifactConfig) GetUri() string
func (*ArtifactConfig) ProtoMessage ¶ added in v0.4.0
func (*ArtifactConfig) ProtoMessage()
func (*ArtifactConfig) ProtoReflect ¶ added in v0.4.0
func (x *ArtifactConfig) ProtoReflect() protoreflect.Message
func (*ArtifactConfig) Reset ¶ added in v0.4.0
func (x *ArtifactConfig) Reset()
func (*ArtifactConfig) String ¶ added in v0.4.0
func (x *ArtifactConfig) String() string
type ArtifactConfig_GoogleArtifactAnalysis ¶ added in v0.4.0
type ArtifactConfig_GoogleArtifactAnalysis struct {
// Optional. Set if the artifact metadata is stored in Artifact analysis.
GoogleArtifactAnalysis *GoogleArtifactAnalysis `protobuf:"bytes,3,opt,name=google_artifact_analysis,json=googleArtifactAnalysis,proto3,oneof"`
}
type ArtifactConfig_GoogleArtifactRegistry ¶ added in v0.4.0
type ArtifactConfig_GoogleArtifactRegistry struct {
// Optional. Set if the artifact is stored in Artifact regsitry.
GoogleArtifactRegistry *GoogleArtifactRegistry `protobuf:"bytes,2,opt,name=google_artifact_registry,json=googleArtifactRegistry,proto3,oneof"`
}
type BitbucketCloudConfig ¶ added in v0.4.0
type BitbucketCloudConfig struct {
// Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud
// Platform.
Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
// Required. Immutable. SecretManager resource containing the webhook secret
// used to verify webhook events, formatted as
// `projects/*/secrets/*/versions/*`. This is used to validate and create
// webhooks.
WebhookSecretSecretVersion string `` /* 143-byte string literal not displayed */
// Required. An access token with the minimum `repository` access.
// It can either be a workspace, project or repository access token.
// It's recommended to use a system account to generate the credentials.
ReadAuthorizerCredential *UserCredential `` /* 135-byte string literal not displayed */
// Required. An access token with the minimum `repository`, `pullrequest` and
// `webhook` scope access. It can either be a workspace, project or repository
// access token. This is needed to create webhooks. It's recommended to use a
// system account to generate these credentials.
AuthorizerCredential *UserCredential `protobuf:"bytes,4,opt,name=authorizer_credential,json=authorizerCredential,proto3" json:"authorizer_credential,omitempty"`
// contains filtered or unexported fields
}
Configuration for connections to an instance of Bitbucket Cloud.
func (*BitbucketCloudConfig) Descriptor
deprecated
added in
v0.4.0
func (*BitbucketCloudConfig) Descriptor() ([]byte, []int)
Deprecated: Use BitbucketCloudConfig.ProtoReflect.Descriptor instead.
func (*BitbucketCloudConfig) GetAuthorizerCredential ¶ added in v0.4.0
func (x *BitbucketCloudConfig) GetAuthorizerCredential() *UserCredential
func (*BitbucketCloudConfig) GetReadAuthorizerCredential ¶ added in v0.4.0
func (x *BitbucketCloudConfig) GetReadAuthorizerCredential() *UserCredential
func (*BitbucketCloudConfig) GetWebhookSecretSecretVersion ¶ added in v0.4.0
func (x *BitbucketCloudConfig) GetWebhookSecretSecretVersion() string
func (*BitbucketCloudConfig) GetWorkspace ¶ added in v0.4.0
func (x *BitbucketCloudConfig) GetWorkspace() string
func (*BitbucketCloudConfig) ProtoMessage ¶ added in v0.4.0
func (*BitbucketCloudConfig) ProtoMessage()
func (*BitbucketCloudConfig) ProtoReflect ¶ added in v0.4.0
func (x *BitbucketCloudConfig) ProtoReflect() protoreflect.Message
func (*BitbucketCloudConfig) Reset ¶ added in v0.4.0
func (x *BitbucketCloudConfig) Reset()
func (*BitbucketCloudConfig) String ¶ added in v0.4.0
func (x *BitbucketCloudConfig) String() string
type BitbucketDataCenterConfig ¶ added in v0.4.0
type BitbucketDataCenterConfig struct {
// Required. The URI of the Bitbucket Data Center 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
// used to verify webhook events, formatted as
// `projects/*/secrets/*/versions/*`. This is used to validate webhooks.
WebhookSecretSecretVersion string `` /* 143-byte string literal not displayed */
// Required. An http access token with the minimum `Repository read` access.
// It's recommended to use a system account to generate the credentials.
ReadAuthorizerCredential *UserCredential `` /* 135-byte string literal not displayed */
// Required. An http access token with the minimum `Repository admin` scope
// access. This is needed to create webhooks. It's recommended to use a system
// account to generate these credentials.
AuthorizerCredential *UserCredential `protobuf:"bytes,4,opt,name=authorizer_credential,json=authorizerCredential,proto3" json:"authorizer_credential,omitempty"`
// Optional. Configuration for using Service Directory to privately connect to
// a Bitbucket Data Center instance. This should only be set if the Bitbucket
// Data Center is hosted on-premises and not reachable by public internet. If
// this field is left empty, calls to the Bitbucket Data Center will be made
// over the public internet.
ServiceDirectoryConfig *ServiceDirectoryConfig `` /* 129-byte string literal not displayed */
// Optional. SSL certificate authority to trust when making requests to
// Bitbucket Data Center.
SslCaCertificate string `protobuf:"bytes,6,opt,name=ssl_ca_certificate,json=sslCaCertificate,proto3" json:"ssl_ca_certificate,omitempty"`
// Output only. Version of the Bitbucket Data Center 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 Bitbucket Data Center.
func (*BitbucketDataCenterConfig) Descriptor
deprecated
added in
v0.4.0
func (*BitbucketDataCenterConfig) Descriptor() ([]byte, []int)
Deprecated: Use BitbucketDataCenterConfig.ProtoReflect.Descriptor instead.
func (*BitbucketDataCenterConfig) GetAuthorizerCredential ¶ added in v0.4.0
func (x *BitbucketDataCenterConfig) GetAuthorizerCredential() *UserCredential
func (*BitbucketDataCenterConfig) GetHostUri ¶ added in v0.4.0
func (x *BitbucketDataCenterConfig) GetHostUri() string
func (*BitbucketDataCenterConfig) GetReadAuthorizerCredential ¶ added in v0.4.0
func (x *BitbucketDataCenterConfig) GetReadAuthorizerCredential() *UserCredential
func (*BitbucketDataCenterConfig) GetServerVersion ¶ added in v0.4.0
func (x *BitbucketDataCenterConfig) GetServerVersion() string
func (*BitbucketDataCenterConfig) GetServiceDirectoryConfig ¶ added in v0.4.0
func (x *BitbucketDataCenterConfig) GetServiceDirectoryConfig() *ServiceDirectoryConfig
func (*BitbucketDataCenterConfig) GetSslCaCertificate ¶ added in v0.4.0
func (x *BitbucketDataCenterConfig) GetSslCaCertificate() string
func (*BitbucketDataCenterConfig) GetWebhookSecretSecretVersion ¶ added in v0.4.0
func (x *BitbucketDataCenterConfig) GetWebhookSecretSecretVersion() string
func (*BitbucketDataCenterConfig) ProtoMessage ¶ added in v0.4.0
func (*BitbucketDataCenterConfig) ProtoMessage()
func (*BitbucketDataCenterConfig) ProtoReflect ¶ added in v0.4.0
func (x *BitbucketDataCenterConfig) ProtoReflect() protoreflect.Message
func (*BitbucketDataCenterConfig) Reset ¶ added in v0.4.0
func (x *BitbucketDataCenterConfig) Reset()
func (*BitbucketDataCenterConfig) String ¶ added in v0.4.0
func (x *BitbucketDataCenterConfig) String() string
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
// *Connection_BitbucketDataCenterConfig
// *Connection_BitbucketCloudConfig
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 the Connection.
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"`
// Optional. Configuration for the git proxy feature. Enabling the git proxy
// allows clients to perform git operations on the repositories linked in the
// connection.
GitProxyConfig *GitProxyConfig `protobuf:"bytes,19,opt,name=git_proxy_config,json=gitProxyConfig,proto3" json:"git_proxy_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) GetBitbucketCloudConfig ¶ added in v0.4.0
func (x *Connection) GetBitbucketCloudConfig() *BitbucketCloudConfig
func (*Connection) GetBitbucketDataCenterConfig ¶ added in v0.4.0
func (x *Connection) GetBitbucketDataCenterConfig() *BitbucketDataCenterConfig
func (*Connection) GetConnectionConfig ¶
func (m *Connection) GetConnectionConfig() isConnection_ConnectionConfig
func (*Connection) GetCreateTime ¶
func (x *Connection) GetCreateTime() *timestamppb.Timestamp
func (*Connection) 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) GetGitProxyConfig ¶ added in v0.4.0
func (x *Connection) GetGitProxyConfig() *GitProxyConfig
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_BitbucketCloudConfig ¶ added in v0.4.0
type Connection_BitbucketCloudConfig struct {
// Configuration for connections to an instance of Bitbucket Clouds.
BitbucketCloudConfig *BitbucketCloudConfig `protobuf:"bytes,18,opt,name=bitbucket_cloud_config,json=bitbucketCloudConfig,proto3,oneof"`
}
type Connection_BitbucketDataCenterConfig ¶ added in v0.4.0
type Connection_BitbucketDataCenterConfig struct {
// Configuration for connections to an instance of Bitbucket Data Center.
BitbucketDataCenterConfig *BitbucketDataCenterConfig `protobuf:"bytes,17,opt,name=bitbucket_data_center_config,json=bitbucketDataCenterConfig,proto3,oneof"`
}
type Connection_GithubConfig ¶
type Connection_GithubConfig struct {
// Configuration for connections to github.com.
GithubConfig *GitHubConfig `protobuf:"bytes,5,opt,name=github_config,json=githubConfig,proto3,oneof"`
}
type Connection_GithubEnterpriseConfig ¶ 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 CreateAccountConnectorRequest ¶ added in v0.4.0
type CreateAccountConnectorRequest struct {
// Required. Location resource name as the account_connector’s parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID to use for the AccountConnector, which will become the
// final component of the AccountConnector's resource name. Its format should
// adhere to https://google.aip.dev/122#resource-id-segments Names must be
// unique per-project per-location.
AccountConnectorId string `protobuf:"bytes,2,opt,name=account_connector_id,json=accountConnectorId,proto3" json:"account_connector_id,omitempty"`
// Required. The AccountConnector to create.
AccountConnector *AccountConnector `protobuf:"bytes,3,opt,name=account_connector,json=accountConnector,proto3" json:"account_connector,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
}
func (*CreateAccountConnectorRequest) Descriptor
deprecated
added in
v0.4.0
func (*CreateAccountConnectorRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountConnectorRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountConnectorRequest) GetAccountConnector ¶ added in v0.4.0
func (x *CreateAccountConnectorRequest) GetAccountConnector() *AccountConnector
func (*CreateAccountConnectorRequest) GetAccountConnectorId ¶ added in v0.4.0
func (x *CreateAccountConnectorRequest) GetAccountConnectorId() string
func (*CreateAccountConnectorRequest) GetParent ¶ added in v0.4.0
func (x *CreateAccountConnectorRequest) GetParent() string
func (*CreateAccountConnectorRequest) GetRequestId ¶ added in v0.4.0
func (x *CreateAccountConnectorRequest) GetRequestId() string
func (*CreateAccountConnectorRequest) GetValidateOnly ¶ added in v0.4.0
func (x *CreateAccountConnectorRequest) GetValidateOnly() bool
func (*CreateAccountConnectorRequest) ProtoMessage ¶ added in v0.4.0
func (*CreateAccountConnectorRequest) ProtoMessage()
func (*CreateAccountConnectorRequest) ProtoReflect ¶ added in v0.4.0
func (x *CreateAccountConnectorRequest) ProtoReflect() protoreflect.Message
func (*CreateAccountConnectorRequest) Reset ¶ added in v0.4.0
func (x *CreateAccountConnectorRequest) Reset()
func (*CreateAccountConnectorRequest) String ¶ added in v0.4.0
func (x *CreateAccountConnectorRequest) String() string
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 CreateInsightsConfigRequest ¶ added in v0.4.0
type CreateInsightsConfigRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the requesting InsightsConfig.
InsightsConfigId string `protobuf:"bytes,2,opt,name=insights_config_id,json=insightsConfigId,proto3" json:"insights_config_id,omitempty"`
// Required. The resource being created.
InsightsConfig *InsightsConfig `protobuf:"bytes,3,opt,name=insights_config,json=insightsConfig,proto3" json:"insights_config,omitempty"`
// Optional. If set, validate the request, but do not actually post it.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
Request for creating an InsightsConfig.
func (*CreateInsightsConfigRequest) Descriptor
deprecated
added in
v0.4.0
func (*CreateInsightsConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateInsightsConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateInsightsConfigRequest) GetInsightsConfig ¶ added in v0.4.0
func (x *CreateInsightsConfigRequest) GetInsightsConfig() *InsightsConfig
func (*CreateInsightsConfigRequest) GetInsightsConfigId ¶ added in v0.4.0
func (x *CreateInsightsConfigRequest) GetInsightsConfigId() string
func (*CreateInsightsConfigRequest) GetParent ¶ added in v0.4.0
func (x *CreateInsightsConfigRequest) GetParent() string
func (*CreateInsightsConfigRequest) GetValidateOnly ¶ added in v0.4.0
func (x *CreateInsightsConfigRequest) GetValidateOnly() bool
func (*CreateInsightsConfigRequest) ProtoMessage ¶ added in v0.4.0
func (*CreateInsightsConfigRequest) ProtoMessage()
func (*CreateInsightsConfigRequest) ProtoReflect ¶ added in v0.4.0
func (x *CreateInsightsConfigRequest) ProtoReflect() protoreflect.Message
func (*CreateInsightsConfigRequest) Reset ¶ added in v0.4.0
func (x *CreateInsightsConfigRequest) Reset()
func (*CreateInsightsConfigRequest) String ¶ added in v0.4.0
func (x *CreateInsightsConfigRequest) 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 DeleteAccountConnectorRequest ¶ added in v0.4.0
type DeleteAccountConnectorRequest 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 AccountConnectorn.
// If an etag is provided and does not match the current etag of the
// AccountConnector, deletion will be blocked and an ABORTED error will be
// returned.
Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. If set to true, any Users from this AccountConnector will also
// be deleted. (Otherwise, the request will only work if the AccountConnector
// has no Users.)
Force bool `protobuf:"varint,5,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a AccountConnector
func (*DeleteAccountConnectorRequest) Descriptor
deprecated
added in
v0.4.0
func (*DeleteAccountConnectorRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccountConnectorRequest.ProtoReflect.Descriptor instead.
func (*DeleteAccountConnectorRequest) GetEtag ¶ added in v0.4.0
func (x *DeleteAccountConnectorRequest) GetEtag() string
func (*DeleteAccountConnectorRequest) GetForce ¶ added in v0.4.0
func (x *DeleteAccountConnectorRequest) GetForce() bool
func (*DeleteAccountConnectorRequest) GetName ¶ added in v0.4.0
func (x *DeleteAccountConnectorRequest) GetName() string
func (*DeleteAccountConnectorRequest) GetRequestId ¶ added in v0.4.0
func (x *DeleteAccountConnectorRequest) GetRequestId() string
func (*DeleteAccountConnectorRequest) GetValidateOnly ¶ added in v0.4.0
func (x *DeleteAccountConnectorRequest) GetValidateOnly() bool
func (*DeleteAccountConnectorRequest) ProtoMessage ¶ added in v0.4.0
func (*DeleteAccountConnectorRequest) ProtoMessage()
func (*DeleteAccountConnectorRequest) ProtoReflect ¶ added in v0.4.0
func (x *DeleteAccountConnectorRequest) ProtoReflect() protoreflect.Message
func (*DeleteAccountConnectorRequest) Reset ¶ added in v0.4.0
func (x *DeleteAccountConnectorRequest) Reset()
func (*DeleteAccountConnectorRequest) String ¶ added in v0.4.0
func (x *DeleteAccountConnectorRequest) 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 DeleteInsightsConfigRequest ¶ added in v0.4.0
type DeleteInsightsConfigRequest struct {
// Required. Value for parent.
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
}
Request for deleting an InsightsConfig.
func (*DeleteInsightsConfigRequest) Descriptor
deprecated
added in
v0.4.0
func (*DeleteInsightsConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInsightsConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteInsightsConfigRequest) GetEtag ¶ added in v0.4.0
func (x *DeleteInsightsConfigRequest) GetEtag() string
func (*DeleteInsightsConfigRequest) GetName ¶ added in v0.4.0
func (x *DeleteInsightsConfigRequest) GetName() string
func (*DeleteInsightsConfigRequest) GetRequestId ¶ added in v0.4.0
func (x *DeleteInsightsConfigRequest) GetRequestId() string
func (*DeleteInsightsConfigRequest) GetValidateOnly ¶ added in v0.4.0
func (x *DeleteInsightsConfigRequest) GetValidateOnly() bool
func (*DeleteInsightsConfigRequest) ProtoMessage ¶ added in v0.4.0
func (*DeleteInsightsConfigRequest) ProtoMessage()
func (*DeleteInsightsConfigRequest) ProtoReflect ¶ added in v0.4.0
func (x *DeleteInsightsConfigRequest) ProtoReflect() protoreflect.Message
func (*DeleteInsightsConfigRequest) Reset ¶ added in v0.4.0
func (x *DeleteInsightsConfigRequest) Reset()
func (*DeleteInsightsConfigRequest) String ¶ added in v0.4.0
func (x *DeleteInsightsConfigRequest) String() string
type DeleteSelfRequest ¶ added in v0.4.0
type DeleteSelfRequest struct {
// Required. Name of the AccountConnector resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a User of the user themselves.
func (*DeleteSelfRequest) Descriptor
deprecated
added in
v0.4.0
func (*DeleteSelfRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSelfRequest.ProtoReflect.Descriptor instead.
func (*DeleteSelfRequest) GetName ¶ added in v0.4.0
func (x *DeleteSelfRequest) GetName() string
func (*DeleteSelfRequest) ProtoMessage ¶ added in v0.4.0
func (*DeleteSelfRequest) ProtoMessage()
func (*DeleteSelfRequest) ProtoReflect ¶ added in v0.4.0
func (x *DeleteSelfRequest) ProtoReflect() protoreflect.Message
func (*DeleteSelfRequest) Reset ¶ added in v0.4.0
func (x *DeleteSelfRequest) Reset()
func (*DeleteSelfRequest) String ¶ added in v0.4.0
func (x *DeleteSelfRequest) String() string
type DeleteUserRequest ¶ added in v0.4.0
type DeleteUserRequest 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 User
func (*DeleteUserRequest) Descriptor
deprecated
added in
v0.4.0
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetEtag ¶ added in v0.4.0
func (x *DeleteUserRequest) GetEtag() string
func (*DeleteUserRequest) GetName ¶ added in v0.4.0
func (x *DeleteUserRequest) GetName() string
func (*DeleteUserRequest) GetRequestId ¶ added in v0.4.0
func (x *DeleteUserRequest) GetRequestId() string
func (*DeleteUserRequest) GetValidateOnly ¶ added in v0.4.0
func (x *DeleteUserRequest) GetValidateOnly() bool
func (*DeleteUserRequest) ProtoMessage ¶ added in v0.4.0
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶ added in v0.4.0
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶ added in v0.4.0
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶ added in v0.4.0
func (x *DeleteUserRequest) 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)
// Lists AccountConnectors in a given project and location.
ListAccountConnectors(ctx context.Context, in *ListAccountConnectorsRequest, opts ...grpc.CallOption) (*ListAccountConnectorsResponse, error)
// Gets details of a single AccountConnector.
GetAccountConnector(ctx context.Context, in *GetAccountConnectorRequest, opts ...grpc.CallOption) (*AccountConnector, error)
// Creates a new AccountConnector in a given project and location.
CreateAccountConnector(ctx context.Context, in *CreateAccountConnectorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single AccountConnector.
UpdateAccountConnector(ctx context.Context, in *UpdateAccountConnectorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single AccountConnector.
DeleteAccountConnector(ctx context.Context, in *DeleteAccountConnectorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Fetches OAuth access token based on end user credentials.
FetchAccessToken(ctx context.Context, in *FetchAccessTokenRequest, opts ...grpc.CallOption) (*FetchAccessTokenResponse, error)
// Lists Users in a given project, location, and account_connector.
ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
// Deletes a single User.
DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Fetch the User based on the user credentials.
FetchSelf(ctx context.Context, in *FetchSelfRequest, opts ...grpc.CallOption) (*User, error)
// Delete the User based on the user credentials.
DeleteSelf(ctx context.Context, in *DeleteSelfRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
DeveloperConnectClient is the client API for DeveloperConnect service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func 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)
// Lists AccountConnectors in a given project and location.
ListAccountConnectors(context.Context, *ListAccountConnectorsRequest) (*ListAccountConnectorsResponse, error)
// Gets details of a single AccountConnector.
GetAccountConnector(context.Context, *GetAccountConnectorRequest) (*AccountConnector, error)
// Creates a new AccountConnector in a given project and location.
CreateAccountConnector(context.Context, *CreateAccountConnectorRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single AccountConnector.
UpdateAccountConnector(context.Context, *UpdateAccountConnectorRequest) (*longrunningpb.Operation, error)
// Deletes a single AccountConnector.
DeleteAccountConnector(context.Context, *DeleteAccountConnectorRequest) (*longrunningpb.Operation, error)
// Fetches OAuth access token based on end user credentials.
FetchAccessToken(context.Context, *FetchAccessTokenRequest) (*FetchAccessTokenResponse, error)
// Lists Users in a given project, location, and account_connector.
ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
// Deletes a single User.
DeleteUser(context.Context, *DeleteUserRequest) (*longrunningpb.Operation, error)
// Fetch the User based on the user credentials.
FetchSelf(context.Context, *FetchSelfRequest) (*User, error)
// Delete the User based on the user credentials.
DeleteSelf(context.Context, *DeleteSelfRequest) (*longrunningpb.Operation, error)
}
DeveloperConnectServer is the server API for DeveloperConnect service. All implementations should embed UnimplementedDeveloperConnectServer for forward compatibility
type ExchangeError ¶ added in v0.4.0
type ExchangeError struct {
// https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
// https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 -
// error_description
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
Message for representing an error from exchanging OAuth tokens.
func (*ExchangeError) Descriptor
deprecated
added in
v0.4.0
func (*ExchangeError) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeError.ProtoReflect.Descriptor instead.
func (*ExchangeError) GetCode ¶ added in v0.4.0
func (x *ExchangeError) GetCode() string
func (*ExchangeError) GetDescription ¶ added in v0.4.0
func (x *ExchangeError) GetDescription() string
func (*ExchangeError) ProtoMessage ¶ added in v0.4.0
func (*ExchangeError) ProtoMessage()
func (*ExchangeError) ProtoReflect ¶ added in v0.4.0
func (x *ExchangeError) ProtoReflect() protoreflect.Message
func (*ExchangeError) Reset ¶ added in v0.4.0
func (x *ExchangeError) Reset()
func (*ExchangeError) String ¶ added in v0.4.0
func (x *ExchangeError) String() string
type FetchAccessTokenRequest ¶ added in v0.4.0
type FetchAccessTokenRequest struct {
// Required. The resource name of the AccountConnector in the format
// `projects/*/locations/*/accountConnectors/*`.
AccountConnector string `protobuf:"bytes,1,opt,name=account_connector,json=accountConnector,proto3" json:"account_connector,omitempty"`
// contains filtered or unexported fields
}
Message for fetching an OAuth access token.
func (*FetchAccessTokenRequest) Descriptor
deprecated
added in
v0.4.0
func (*FetchAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*FetchAccessTokenRequest) GetAccountConnector ¶ added in v0.4.0
func (x *FetchAccessTokenRequest) GetAccountConnector() string
func (*FetchAccessTokenRequest) ProtoMessage ¶ added in v0.4.0
func (*FetchAccessTokenRequest) ProtoMessage()
func (*FetchAccessTokenRequest) ProtoReflect ¶ added in v0.4.0
func (x *FetchAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*FetchAccessTokenRequest) Reset ¶ added in v0.4.0
func (x *FetchAccessTokenRequest) Reset()
func (*FetchAccessTokenRequest) String ¶ added in v0.4.0
func (x *FetchAccessTokenRequest) String() string
type FetchAccessTokenResponse ¶ added in v0.4.0
type FetchAccessTokenResponse 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 scopes of the access token.
Scopes []string `protobuf:"bytes,3,rep,name=scopes,proto3" json:"scopes,omitempty"`
// The error resulted from exchanging OAuth tokens from the service provider.
ExchangeError *ExchangeError `protobuf:"bytes,4,opt,name=exchange_error,json=exchangeError,proto3" json:"exchange_error,omitempty"`
// contains filtered or unexported fields
}
Message for responding to getting an OAuth access token.
func (*FetchAccessTokenResponse) Descriptor
deprecated
added in
v0.4.0
func (*FetchAccessTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchAccessTokenResponse.ProtoReflect.Descriptor instead.
func (*FetchAccessTokenResponse) GetExchangeError ¶ added in v0.4.0
func (x *FetchAccessTokenResponse) GetExchangeError() *ExchangeError
func (*FetchAccessTokenResponse) GetExpirationTime ¶ added in v0.4.0
func (x *FetchAccessTokenResponse) GetExpirationTime() *timestamppb.Timestamp
func (*FetchAccessTokenResponse) GetScopes ¶ added in v0.4.0
func (x *FetchAccessTokenResponse) GetScopes() []string
func (*FetchAccessTokenResponse) GetToken ¶ added in v0.4.0
func (x *FetchAccessTokenResponse) GetToken() string
func (*FetchAccessTokenResponse) ProtoMessage ¶ added in v0.4.0
func (*FetchAccessTokenResponse) ProtoMessage()
func (*FetchAccessTokenResponse) ProtoReflect ¶ added in v0.4.0
func (x *FetchAccessTokenResponse) ProtoReflect() protoreflect.Message
func (*FetchAccessTokenResponse) Reset ¶ added in v0.4.0
func (x *FetchAccessTokenResponse) Reset()
func (*FetchAccessTokenResponse) String ¶ added in v0.4.0
func (x *FetchAccessTokenResponse) String() string
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 FetchSelfRequest ¶ added in v0.4.0
type FetchSelfRequest struct {
// Required. Name of the AccountConnector resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for fetching a User of the user themselves.
func (*FetchSelfRequest) Descriptor
deprecated
added in
v0.4.0
func (*FetchSelfRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchSelfRequest.ProtoReflect.Descriptor instead.
func (*FetchSelfRequest) GetName ¶ added in v0.4.0
func (x *FetchSelfRequest) GetName() string
func (*FetchSelfRequest) ProtoMessage ¶ added in v0.4.0
func (*FetchSelfRequest) ProtoMessage()
func (*FetchSelfRequest) ProtoReflect ¶ added in v0.4.0
func (x *FetchSelfRequest) ProtoReflect() protoreflect.Message
func (*FetchSelfRequest) Reset ¶ added in v0.4.0
func (x *FetchSelfRequest) Reset()
func (*FetchSelfRequest) String ¶ added in v0.4.0
func (x *FetchSelfRequest) String() string
type GKEWorkload ¶ added in v0.4.0
type GKEWorkload struct {
// Required. Immutable. The name of the GKE cluster.
// Format:
// `projects/{project}/locations/{location}/clusters/{cluster}`.
Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
// Output only. The name of the GKE deployment.
// Format:
// `projects/{project}/locations/{location}/clusters/{cluster}/namespaces/{namespace}/deployments/{deployment}`.
Deployment string `protobuf:"bytes,2,opt,name=deployment,proto3" json:"deployment,omitempty"`
// contains filtered or unexported fields
}
GKEWorkload represents the Google Kubernetes Engine runtime.
func (*GKEWorkload) Descriptor
deprecated
added in
v0.4.0
func (*GKEWorkload) Descriptor() ([]byte, []int)
Deprecated: Use GKEWorkload.ProtoReflect.Descriptor instead.
func (*GKEWorkload) GetCluster ¶ added in v0.4.0
func (x *GKEWorkload) GetCluster() string
func (*GKEWorkload) GetDeployment ¶ added in v0.4.0
func (x *GKEWorkload) GetDeployment() string
func (*GKEWorkload) ProtoMessage ¶ added in v0.4.0
func (*GKEWorkload) ProtoMessage()
func (*GKEWorkload) ProtoReflect ¶ added in v0.4.0
func (x *GKEWorkload) ProtoReflect() protoreflect.Message
func (*GKEWorkload) Reset ¶ added in v0.4.0
func (x *GKEWorkload) Reset()
func (*GKEWorkload) String ¶ added in v0.4.0
func (x *GKEWorkload) String() string
type GetAccountConnectorRequest ¶ added in v0.4.0
type GetAccountConnectorRequest 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 AccountConnector
func (*GetAccountConnectorRequest) Descriptor
deprecated
added in
v0.4.0
func (*GetAccountConnectorRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountConnectorRequest.ProtoReflect.Descriptor instead.
func (*GetAccountConnectorRequest) GetName ¶ added in v0.4.0
func (x *GetAccountConnectorRequest) GetName() string
func (*GetAccountConnectorRequest) ProtoMessage ¶ added in v0.4.0
func (*GetAccountConnectorRequest) ProtoMessage()
func (*GetAccountConnectorRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetAccountConnectorRequest) ProtoReflect() protoreflect.Message
func (*GetAccountConnectorRequest) Reset ¶ added in v0.4.0
func (x *GetAccountConnectorRequest) Reset()
func (*GetAccountConnectorRequest) String ¶ added in v0.4.0
func (x *GetAccountConnectorRequest) 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 GetInsightsConfigRequest ¶ added in v0.4.0
type GetInsightsConfigRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for getting an InsightsConfig.
func (*GetInsightsConfigRequest) Descriptor
deprecated
added in
v0.4.0
func (*GetInsightsConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInsightsConfigRequest.ProtoReflect.Descriptor instead.
func (*GetInsightsConfigRequest) GetName ¶ added in v0.4.0
func (x *GetInsightsConfigRequest) GetName() string
func (*GetInsightsConfigRequest) ProtoMessage ¶ added in v0.4.0
func (*GetInsightsConfigRequest) ProtoMessage()
func (*GetInsightsConfigRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetInsightsConfigRequest) ProtoReflect() protoreflect.Message
func (*GetInsightsConfigRequest) Reset ¶ added in v0.4.0
func (x *GetInsightsConfigRequest) Reset()
func (*GetInsightsConfigRequest) String ¶ added in v0.4.0
func (x *GetInsightsConfigRequest) 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 GitProxyConfig ¶ added in v0.4.0
type GitProxyConfig struct {
// Optional. Setting this to true allows the git proxy to be used for
// performing git operations on the repositories linked in the connection.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
The git proxy configuration.
func (*GitProxyConfig) Descriptor
deprecated
added in
v0.4.0
func (*GitProxyConfig) Descriptor() ([]byte, []int)
Deprecated: Use GitProxyConfig.ProtoReflect.Descriptor instead.
func (*GitProxyConfig) GetEnabled ¶ added in v0.4.0
func (x *GitProxyConfig) GetEnabled() bool
func (*GitProxyConfig) ProtoMessage ¶ added in v0.4.0
func (*GitProxyConfig) ProtoMessage()
func (*GitProxyConfig) ProtoReflect ¶ added in v0.4.0
func (x *GitProxyConfig) ProtoReflect() protoreflect.Message
func (*GitProxyConfig) Reset ¶ added in v0.4.0
func (x *GitProxyConfig) Reset()
func (*GitProxyConfig) String ¶ added in v0.4.0
func (x *GitProxyConfig) 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 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"`
// Output only. URI to access the linked repository through the Git Proxy.
// This field is only populated if the git proxy is enabled for the
// connection.
GitProxyUri string `protobuf:"bytes,12,opt,name=git_proxy_uri,json=gitProxyUri,proto3" json:"git_proxy_uri,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) GetGitProxyUri ¶ added in v0.4.0
func (x *GitRepositoryLink) GetGitProxyUri() 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 GoogleArtifactAnalysis ¶ added in v0.4.0
type GoogleArtifactAnalysis struct {
// Required. The project id of the project where the provenance is stored.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// contains filtered or unexported fields
}
Google Artifact Analysis configurations.
func (*GoogleArtifactAnalysis) Descriptor
deprecated
added in
v0.4.0
func (*GoogleArtifactAnalysis) Descriptor() ([]byte, []int)
Deprecated: Use GoogleArtifactAnalysis.ProtoReflect.Descriptor instead.
func (*GoogleArtifactAnalysis) GetProjectId ¶ added in v0.4.0
func (x *GoogleArtifactAnalysis) GetProjectId() string
func (*GoogleArtifactAnalysis) ProtoMessage ¶ added in v0.4.0
func (*GoogleArtifactAnalysis) ProtoMessage()
func (*GoogleArtifactAnalysis) ProtoReflect ¶ added in v0.4.0
func (x *GoogleArtifactAnalysis) ProtoReflect() protoreflect.Message
func (*GoogleArtifactAnalysis) Reset ¶ added in v0.4.0
func (x *GoogleArtifactAnalysis) Reset()
func (*GoogleArtifactAnalysis) String ¶ added in v0.4.0
func (x *GoogleArtifactAnalysis) String() string
type GoogleArtifactRegistry ¶ added in v0.4.0
type GoogleArtifactRegistry struct {
// Required. The host project of Artifact Registry.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// Required. Immutable. The name of the artifact registry package.
ArtifactRegistryPackage string `` /* 132-byte string literal not displayed */
// contains filtered or unexported fields
}
Google Artifact Registry configurations.
func (*GoogleArtifactRegistry) Descriptor
deprecated
added in
v0.4.0
func (*GoogleArtifactRegistry) Descriptor() ([]byte, []int)
Deprecated: Use GoogleArtifactRegistry.ProtoReflect.Descriptor instead.
func (*GoogleArtifactRegistry) GetArtifactRegistryPackage ¶ added in v0.4.0
func (x *GoogleArtifactRegistry) GetArtifactRegistryPackage() string
func (*GoogleArtifactRegistry) GetProjectId ¶ added in v0.4.0
func (x *GoogleArtifactRegistry) GetProjectId() string
func (*GoogleArtifactRegistry) ProtoMessage ¶ added in v0.4.0
func (*GoogleArtifactRegistry) ProtoMessage()
func (*GoogleArtifactRegistry) ProtoReflect ¶ added in v0.4.0
func (x *GoogleArtifactRegistry) ProtoReflect() protoreflect.Message
func (*GoogleArtifactRegistry) Reset ¶ added in v0.4.0
func (x *GoogleArtifactRegistry) Reset()
func (*GoogleArtifactRegistry) String ¶ added in v0.4.0
func (x *GoogleArtifactRegistry) String() string
type InsightsConfig ¶ added in v0.4.0
type InsightsConfig struct {
// The context of the InsightsConfig.
//
// Types that are assignable to InsightsConfigContext:
//
// *InsightsConfig_AppHubApplication
InsightsConfigContext isInsightsConfig_InsightsConfigContext `protobuf_oneof:"insights_config_context"`
// Identifier. The name of the InsightsConfig.
// Format:
// projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
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. The runtime configurations where the application is deployed.
RuntimeConfigs []*RuntimeConfig `protobuf:"bytes,5,rep,name=runtime_configs,json=runtimeConfigs,proto3" json:"runtime_configs,omitempty"`
// Optional. The artifact configurations of the artifacts that are deployed.
ArtifactConfigs []*ArtifactConfig `protobuf:"bytes,6,rep,name=artifact_configs,json=artifactConfigs,proto3" json:"artifact_configs,omitempty"`
// Optional. Output only. The state of the InsightsConfig.
State InsightsConfig_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.developerconnect.v1.InsightsConfig_State" json:"state,omitempty"`
// Optional. User specified annotations. See
// https://google.aip.dev/148#annotations for more details such as format and
// size limitations.
Annotations map[string]string `` /* 163-byte string literal not displayed */
// Optional. Set of labels associated with an InsightsConfig.
Labels map[string]string `` /* 153-byte string literal not displayed */
// Output only. Reconciling (https://google.aip.dev/128#reconciliation).
// Set to true if the current state of InsightsConfig does not match the
// user's intended state, and the service is actively updating the resource to
// reconcile them. This can happen due to user-triggered updates or
// system actions like failover or maintenance.
Reconciling bool `protobuf:"varint,10,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
// Output only. Any errors that occurred while setting up the InsightsConfig.
// Each error will be in the format: `field_name: error_message`, e.g.
// GetAppHubApplication: Permission denied while getting App Hub
// application. Please grant permissions to the P4SA.
Errors []*status.Status `protobuf:"bytes,11,rep,name=errors,proto3" json:"errors,omitempty"`
// contains filtered or unexported fields
}
The InsightsConfig resource is the core configuration object to capture events from your Software Development Lifecycle. It acts as the central hub for managing how Developer connect understands your application, its runtime environments, and the artifacts deployed within them.
func (*InsightsConfig) Descriptor
deprecated
added in
v0.4.0
func (*InsightsConfig) Descriptor() ([]byte, []int)
Deprecated: Use InsightsConfig.ProtoReflect.Descriptor instead.
func (*InsightsConfig) GetAnnotations ¶ added in v0.4.0
func (x *InsightsConfig) GetAnnotations() map[string]string
func (*InsightsConfig) GetAppHubApplication ¶ added in v0.4.0
func (x *InsightsConfig) GetAppHubApplication() string
func (*InsightsConfig) GetArtifactConfigs ¶ added in v0.4.0
func (x *InsightsConfig) GetArtifactConfigs() []*ArtifactConfig
func (*InsightsConfig) GetCreateTime ¶ added in v0.4.0
func (x *InsightsConfig) GetCreateTime() *timestamppb.Timestamp
func (*InsightsConfig) GetErrors ¶ added in v0.4.0
func (x *InsightsConfig) GetErrors() []*status.Status
func (*InsightsConfig) GetInsightsConfigContext ¶ added in v0.4.0
func (m *InsightsConfig) GetInsightsConfigContext() isInsightsConfig_InsightsConfigContext
func (*InsightsConfig) GetLabels ¶ added in v0.4.0
func (x *InsightsConfig) GetLabels() map[string]string
func (*InsightsConfig) GetName ¶ added in v0.4.0
func (x *InsightsConfig) GetName() string
func (*InsightsConfig) GetReconciling ¶ added in v0.4.0
func (x *InsightsConfig) GetReconciling() bool
func (*InsightsConfig) GetRuntimeConfigs ¶ added in v0.4.0
func (x *InsightsConfig) GetRuntimeConfigs() []*RuntimeConfig
func (*InsightsConfig) GetState ¶ added in v0.4.0
func (x *InsightsConfig) GetState() InsightsConfig_State
func (*InsightsConfig) GetUpdateTime ¶ added in v0.4.0
func (x *InsightsConfig) GetUpdateTime() *timestamppb.Timestamp
func (*InsightsConfig) ProtoMessage ¶ added in v0.4.0
func (*InsightsConfig) ProtoMessage()
func (*InsightsConfig) ProtoReflect ¶ added in v0.4.0
func (x *InsightsConfig) ProtoReflect() protoreflect.Message
func (*InsightsConfig) Reset ¶ added in v0.4.0
func (x *InsightsConfig) Reset()
func (*InsightsConfig) String ¶ added in v0.4.0
func (x *InsightsConfig) String() string
type InsightsConfigServiceClient ¶ added in v0.4.0
type InsightsConfigServiceClient interface {
// Lists InsightsConfigs in a given project and location.
ListInsightsConfigs(ctx context.Context, in *ListInsightsConfigsRequest, opts ...grpc.CallOption) (*ListInsightsConfigsResponse, error)
// Creates a new InsightsConfig in a given project and location.
CreateInsightsConfig(ctx context.Context, in *CreateInsightsConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details of a single Insight.
GetInsightsConfig(ctx context.Context, in *GetInsightsConfigRequest, opts ...grpc.CallOption) (*InsightsConfig, error)
// Updates the parameters of a single InsightsConfig.
UpdateInsightsConfig(ctx context.Context, in *UpdateInsightsConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Delete a single Insight.
DeleteInsightsConfig(ctx context.Context, in *DeleteInsightsConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
InsightsConfigServiceClient is the client API for InsightsConfigService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewInsightsConfigServiceClient ¶ added in v0.4.0
func NewInsightsConfigServiceClient(cc grpc.ClientConnInterface) InsightsConfigServiceClient
type InsightsConfigServiceServer ¶ added in v0.4.0
type InsightsConfigServiceServer interface {
// Lists InsightsConfigs in a given project and location.
ListInsightsConfigs(context.Context, *ListInsightsConfigsRequest) (*ListInsightsConfigsResponse, error)
// Creates a new InsightsConfig in a given project and location.
CreateInsightsConfig(context.Context, *CreateInsightsConfigRequest) (*longrunningpb.Operation, error)
// Gets details of a single Insight.
GetInsightsConfig(context.Context, *GetInsightsConfigRequest) (*InsightsConfig, error)
// Updates the parameters of a single InsightsConfig.
UpdateInsightsConfig(context.Context, *UpdateInsightsConfigRequest) (*longrunningpb.Operation, error)
// Delete a single Insight.
DeleteInsightsConfig(context.Context, *DeleteInsightsConfigRequest) (*longrunningpb.Operation, error)
}
InsightsConfigServiceServer is the server API for InsightsConfigService service. All implementations should embed UnimplementedInsightsConfigServiceServer for forward compatibility
type InsightsConfig_AppHubApplication ¶ added in v0.4.0
type InsightsConfig_AppHubApplication struct {
// Optional. The name of the App Hub Application.
// Format:
// projects/{project}/locations/{location}/applications/{application}
AppHubApplication string `protobuf:"bytes,4,opt,name=app_hub_application,json=appHubApplication,proto3,oneof"`
}
type InsightsConfig_State ¶ added in v0.4.0
type InsightsConfig_State int32
The state of the InsightsConfig.
const ( // No state specified. InsightsConfig_STATE_UNSPECIFIED InsightsConfig_State = 0 // The InsightsConfig is pending application discovery/runtime discovery. InsightsConfig_PENDING InsightsConfig_State = 5 // The initial discovery process is complete. InsightsConfig_COMPLETE InsightsConfig_State = 3 // The InsightsConfig is in an error state. InsightsConfig_ERROR InsightsConfig_State = 4 )
func (InsightsConfig_State) Descriptor ¶ added in v0.4.0
func (InsightsConfig_State) Descriptor() protoreflect.EnumDescriptor
func (InsightsConfig_State) Enum ¶ added in v0.4.0
func (x InsightsConfig_State) Enum() *InsightsConfig_State
func (InsightsConfig_State) EnumDescriptor
deprecated
added in
v0.4.0
func (InsightsConfig_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use InsightsConfig_State.Descriptor instead.
func (InsightsConfig_State) Number ¶ added in v0.4.0
func (x InsightsConfig_State) Number() protoreflect.EnumNumber
func (InsightsConfig_State) String ¶ added in v0.4.0
func (x InsightsConfig_State) String() string
func (InsightsConfig_State) Type ¶ added in v0.4.0
func (InsightsConfig_State) Type() protoreflect.EnumType
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 ListAccountConnectorsRequest ¶ added in v0.4.0
type ListAccountConnectorsRequest struct {
// Required. Parent value for ListAccountConnectorsRequest
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 AccountConnectors
func (*ListAccountConnectorsRequest) Descriptor
deprecated
added in
v0.4.0
func (*ListAccountConnectorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountConnectorsRequest.ProtoReflect.Descriptor instead.
func (*ListAccountConnectorsRequest) GetFilter ¶ added in v0.4.0
func (x *ListAccountConnectorsRequest) GetFilter() string
func (*ListAccountConnectorsRequest) GetOrderBy ¶ added in v0.4.0
func (x *ListAccountConnectorsRequest) GetOrderBy() string
func (*ListAccountConnectorsRequest) GetPageSize ¶ added in v0.4.0
func (x *ListAccountConnectorsRequest) GetPageSize() int32
func (*ListAccountConnectorsRequest) GetPageToken ¶ added in v0.4.0
func (x *ListAccountConnectorsRequest) GetPageToken() string
func (*ListAccountConnectorsRequest) GetParent ¶ added in v0.4.0
func (x *ListAccountConnectorsRequest) GetParent() string
func (*ListAccountConnectorsRequest) ProtoMessage ¶ added in v0.4.0
func (*ListAccountConnectorsRequest) ProtoMessage()
func (*ListAccountConnectorsRequest) ProtoReflect ¶ added in v0.4.0
func (x *ListAccountConnectorsRequest) ProtoReflect() protoreflect.Message
func (*ListAccountConnectorsRequest) Reset ¶ added in v0.4.0
func (x *ListAccountConnectorsRequest) Reset()
func (*ListAccountConnectorsRequest) String ¶ added in v0.4.0
func (x *ListAccountConnectorsRequest) String() string
type ListAccountConnectorsResponse ¶ added in v0.4.0
type ListAccountConnectorsResponse struct {
// The list of AccountConnectors
AccountConnectors []*AccountConnector `protobuf:"bytes,1,rep,name=account_connectors,json=accountConnectors,proto3" json:"account_connectors,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 AccountConnectors
func (*ListAccountConnectorsResponse) Descriptor
deprecated
added in
v0.4.0
func (*ListAccountConnectorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountConnectorsResponse.ProtoReflect.Descriptor instead.
func (*ListAccountConnectorsResponse) GetAccountConnectors ¶ added in v0.4.0
func (x *ListAccountConnectorsResponse) GetAccountConnectors() []*AccountConnector
func (*ListAccountConnectorsResponse) GetNextPageToken ¶ added in v0.4.0
func (x *ListAccountConnectorsResponse) GetNextPageToken() string
func (*ListAccountConnectorsResponse) GetUnreachable ¶ added in v0.4.0
func (x *ListAccountConnectorsResponse) GetUnreachable() []string
func (*ListAccountConnectorsResponse) ProtoMessage ¶ added in v0.4.0
func (*ListAccountConnectorsResponse) ProtoMessage()
func (*ListAccountConnectorsResponse) ProtoReflect ¶ added in v0.4.0
func (x *ListAccountConnectorsResponse) ProtoReflect() protoreflect.Message
func (*ListAccountConnectorsResponse) Reset ¶ added in v0.4.0
func (x *ListAccountConnectorsResponse) Reset()
func (*ListAccountConnectorsResponse) String ¶ added in v0.4.0
func (x *ListAccountConnectorsResponse) 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 ListInsightsConfigsRequest ¶ added in v0.4.0
type ListInsightsConfigsRequest struct {
// Required. Parent value for ListInsightsConfigsRequest.
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. See https://google.aip.dev/160 for more
// details. Filter string, adhering to the rules in
// https://google.aip.dev/160. List only InsightsConfigs matching the filter.
// If filter is empty, all InsightsConfigs are listed.
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
}
Request for requesting list of InsightsConfigs.
func (*ListInsightsConfigsRequest) Descriptor
deprecated
added in
v0.4.0
func (*ListInsightsConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInsightsConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListInsightsConfigsRequest) GetFilter ¶ added in v0.4.0
func (x *ListInsightsConfigsRequest) GetFilter() string
func (*ListInsightsConfigsRequest) GetOrderBy ¶ added in v0.4.0
func (x *ListInsightsConfigsRequest) GetOrderBy() string
func (*ListInsightsConfigsRequest) GetPageSize ¶ added in v0.4.0
func (x *ListInsightsConfigsRequest) GetPageSize() int32
func (*ListInsightsConfigsRequest) GetPageToken ¶ added in v0.4.0
func (x *ListInsightsConfigsRequest) GetPageToken() string
func (*ListInsightsConfigsRequest) GetParent ¶ added in v0.4.0
func (x *ListInsightsConfigsRequest) GetParent() string
func (*ListInsightsConfigsRequest) ProtoMessage ¶ added in v0.4.0
func (*ListInsightsConfigsRequest) ProtoMessage()
func (*ListInsightsConfigsRequest) ProtoReflect ¶ added in v0.4.0
func (x *ListInsightsConfigsRequest) ProtoReflect() protoreflect.Message
func (*ListInsightsConfigsRequest) Reset ¶ added in v0.4.0
func (x *ListInsightsConfigsRequest) Reset()
func (*ListInsightsConfigsRequest) String ¶ added in v0.4.0
func (x *ListInsightsConfigsRequest) String() string
type ListInsightsConfigsResponse ¶ added in v0.4.0
type ListInsightsConfigsResponse struct {
// The list of InsightsConfigs.
InsightsConfigs []*InsightsConfig `protobuf:"bytes,1,rep,name=insights_configs,json=insightsConfigs,proto3" json:"insights_configs,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
}
Request for response to listing InsightsConfigs.
func (*ListInsightsConfigsResponse) Descriptor
deprecated
added in
v0.4.0
func (*ListInsightsConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInsightsConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListInsightsConfigsResponse) GetInsightsConfigs ¶ added in v0.4.0
func (x *ListInsightsConfigsResponse) GetInsightsConfigs() []*InsightsConfig
func (*ListInsightsConfigsResponse) GetNextPageToken ¶ added in v0.4.0
func (x *ListInsightsConfigsResponse) GetNextPageToken() string
func (*ListInsightsConfigsResponse) GetUnreachable ¶ added in v0.4.0
func (x *ListInsightsConfigsResponse) GetUnreachable() []string
func (*ListInsightsConfigsResponse) ProtoMessage ¶ added in v0.4.0
func (*ListInsightsConfigsResponse) ProtoMessage()
func (*ListInsightsConfigsResponse) ProtoReflect ¶ added in v0.4.0
func (x *ListInsightsConfigsResponse) ProtoReflect() protoreflect.Message
func (*ListInsightsConfigsResponse) Reset ¶ added in v0.4.0
func (x *ListInsightsConfigsResponse) Reset()
func (*ListInsightsConfigsResponse) String ¶ added in v0.4.0
func (x *ListInsightsConfigsResponse) String() string
type ListUsersRequest ¶ added in v0.4.0
type ListUsersRequest struct {
// Required. Parent value for ListUsersRequest
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 Users
func (*ListUsersRequest) Descriptor
deprecated
added in
v0.4.0
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
func (*ListUsersRequest) GetFilter ¶ added in v0.4.0
func (x *ListUsersRequest) GetFilter() string
func (*ListUsersRequest) GetOrderBy ¶ added in v0.4.0
func (x *ListUsersRequest) GetOrderBy() string
func (*ListUsersRequest) GetPageSize ¶ added in v0.4.0
func (x *ListUsersRequest) GetPageSize() int32
func (*ListUsersRequest) GetPageToken ¶ added in v0.4.0
func (x *ListUsersRequest) GetPageToken() string
func (*ListUsersRequest) GetParent ¶ added in v0.4.0
func (x *ListUsersRequest) GetParent() string
func (*ListUsersRequest) ProtoMessage ¶ added in v0.4.0
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶ added in v0.4.0
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶ added in v0.4.0
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶ added in v0.4.0
func (x *ListUsersRequest) String() string
type ListUsersResponse ¶ added in v0.4.0
type ListUsersResponse struct {
// The list of Users
Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,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 Users
func (*ListUsersResponse) Descriptor
deprecated
added in
v0.4.0
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetNextPageToken ¶ added in v0.4.0
func (x *ListUsersResponse) GetNextPageToken() string
func (*ListUsersResponse) GetUnreachable ¶ added in v0.4.0
func (x *ListUsersResponse) GetUnreachable() []string
func (*ListUsersResponse) GetUsers ¶ added in v0.4.0
func (x *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶ added in v0.4.0
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶ added in v0.4.0
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶ added in v0.4.0
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶ added in v0.4.0
func (x *ListUsersResponse) 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 ProviderOAuthConfig ¶ added in v0.4.0
type ProviderOAuthConfig struct {
// OAuth Provider ID. It could be Developer Connect owned or providers
// provided.
//
// Types that are assignable to OauthProviderId:
//
// *ProviderOAuthConfig_SystemProviderId
OauthProviderId isProviderOAuthConfig_OauthProviderId `protobuf_oneof:"oauth_provider_id"`
// Required. User selected scopes to apply to the Oauth config
// In the event of changing scopes, user records under AccountConnector will
// be deleted and users will re-auth again.
Scopes []string `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes,omitempty"`
// contains filtered or unexported fields
}
ProviderOAuthConfig is the OAuth config for a provider.
func (*ProviderOAuthConfig) Descriptor
deprecated
added in
v0.4.0
func (*ProviderOAuthConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProviderOAuthConfig.ProtoReflect.Descriptor instead.
func (*ProviderOAuthConfig) GetOauthProviderId ¶ added in v0.4.0
func (m *ProviderOAuthConfig) GetOauthProviderId() isProviderOAuthConfig_OauthProviderId
func (*ProviderOAuthConfig) GetScopes ¶ added in v0.4.0
func (x *ProviderOAuthConfig) GetScopes() []string
func (*ProviderOAuthConfig) GetSystemProviderId ¶ added in v0.4.0
func (x *ProviderOAuthConfig) GetSystemProviderId() SystemProvider
func (*ProviderOAuthConfig) ProtoMessage ¶ added in v0.4.0
func (*ProviderOAuthConfig) ProtoMessage()
func (*ProviderOAuthConfig) ProtoReflect ¶ added in v0.4.0
func (x *ProviderOAuthConfig) ProtoReflect() protoreflect.Message
func (*ProviderOAuthConfig) Reset ¶ added in v0.4.0
func (x *ProviderOAuthConfig) Reset()
func (*ProviderOAuthConfig) String ¶ added in v0.4.0
func (x *ProviderOAuthConfig) String() string
type ProviderOAuthConfig_SystemProviderId ¶ added in v0.4.0
type ProviderOAuthConfig_SystemProviderId struct {
// Immutable. Developer Connect provided OAuth.
SystemProviderId SystemProvider `` /* 135-byte string literal not displayed */
}
type RuntimeConfig ¶ added in v0.4.0
type RuntimeConfig struct {
// The type of the runtime.
//
// Types that are assignable to Runtime:
//
// *RuntimeConfig_GkeWorkload
Runtime isRuntimeConfig_Runtime `protobuf_oneof:"runtime"`
// Where the runtime is derived from.
//
// Types that are assignable to DerivedFrom:
//
// *RuntimeConfig_AppHubWorkload
DerivedFrom isRuntimeConfig_DerivedFrom `protobuf_oneof:"derived_from"`
// Required. Immutable. The URI of the runtime configuration.
// For GKE, this is the cluster name.
// For Cloud Run, this is the service name.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// Output only. The state of the Runtime.
State RuntimeConfig_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.developerconnect.v1.RuntimeConfig_State" json:"state,omitempty"`
// contains filtered or unexported fields
}
RuntimeConfig represents the runtimes where the application is deployed.
func (*RuntimeConfig) Descriptor
deprecated
added in
v0.4.0
func (*RuntimeConfig) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeConfig.ProtoReflect.Descriptor instead.
func (*RuntimeConfig) GetAppHubWorkload ¶ added in v0.4.0
func (x *RuntimeConfig) GetAppHubWorkload() *AppHubWorkload
func (*RuntimeConfig) GetDerivedFrom ¶ added in v0.4.0
func (m *RuntimeConfig) GetDerivedFrom() isRuntimeConfig_DerivedFrom
func (*RuntimeConfig) GetGkeWorkload ¶ added in v0.4.0
func (x *RuntimeConfig) GetGkeWorkload() *GKEWorkload
func (*RuntimeConfig) GetRuntime ¶ added in v0.4.0
func (m *RuntimeConfig) GetRuntime() isRuntimeConfig_Runtime
func (*RuntimeConfig) GetState ¶ added in v0.4.0
func (x *RuntimeConfig) GetState() RuntimeConfig_State
func (*RuntimeConfig) GetUri ¶ added in v0.4.0
func (x *RuntimeConfig) GetUri() string
func (*RuntimeConfig) ProtoMessage ¶ added in v0.4.0
func (*RuntimeConfig) ProtoMessage()
func (*RuntimeConfig) ProtoReflect ¶ added in v0.4.0
func (x *RuntimeConfig) ProtoReflect() protoreflect.Message
func (*RuntimeConfig) Reset ¶ added in v0.4.0
func (x *RuntimeConfig) Reset()
func (*RuntimeConfig) String ¶ added in v0.4.0
func (x *RuntimeConfig) String() string
type RuntimeConfig_AppHubWorkload ¶ added in v0.4.0
type RuntimeConfig_AppHubWorkload struct {
// Output only. App Hub Workload.
AppHubWorkload *AppHubWorkload `protobuf:"bytes,4,opt,name=app_hub_workload,json=appHubWorkload,proto3,oneof"`
}
type RuntimeConfig_GkeWorkload ¶ added in v0.4.0
type RuntimeConfig_GkeWorkload struct {
// Output only. Google Kubernetes Engine runtime.
GkeWorkload *GKEWorkload `protobuf:"bytes,3,opt,name=gke_workload,json=gkeWorkload,proto3,oneof"`
}
type RuntimeConfig_State ¶ added in v0.4.0
type RuntimeConfig_State int32
The state of the runtime in the InsightsConfig. Whether the runtime is linked to the InsightsConfig.
const ( // No state specified. RuntimeConfig_STATE_UNSPECIFIED RuntimeConfig_State = 0 // The runtime configuration has been linked to the InsightsConfig. RuntimeConfig_LINKED RuntimeConfig_State = 1 // The runtime configuration has been unlinked to the InsightsConfig. RuntimeConfig_UNLINKED RuntimeConfig_State = 2 )
func (RuntimeConfig_State) Descriptor ¶ added in v0.4.0
func (RuntimeConfig_State) Descriptor() protoreflect.EnumDescriptor
func (RuntimeConfig_State) Enum ¶ added in v0.4.0
func (x RuntimeConfig_State) Enum() *RuntimeConfig_State
func (RuntimeConfig_State) EnumDescriptor
deprecated
added in
v0.4.0
func (RuntimeConfig_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuntimeConfig_State.Descriptor instead.
func (RuntimeConfig_State) Number ¶ added in v0.4.0
func (x RuntimeConfig_State) Number() protoreflect.EnumNumber
func (RuntimeConfig_State) String ¶ added in v0.4.0
func (x RuntimeConfig_State) String() string
func (RuntimeConfig_State) Type ¶ added in v0.4.0
func (RuntimeConfig_State) Type() protoreflect.EnumType
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 SystemProvider ¶ added in v0.4.0
type SystemProvider int32
SystemProvider is a list of providers that are owned by Developer Connect.
const ( // No system provider specified. SystemProvider_SYSTEM_PROVIDER_UNSPECIFIED SystemProvider = 0 // GitHub provider. // Scopes can be found at // https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/scopes-for-oauth-apps#available-scopes SystemProvider_GITHUB SystemProvider = 1 // GitLab provider. // Scopes can be found at // https://docs.gitlab.com/user/profile/personal_access_tokens/#personal-access-token-scopes SystemProvider_GITLAB SystemProvider = 2 // Google provider. // Recommended scopes: // // "https://www.googleapis.com/auth/drive.readonly", // "https://www.googleapis.com/auth/documents.readonly" SystemProvider_GOOGLE SystemProvider = 3 // Sentry provider. // Scopes can be found at // https://docs.sentry.io/api/permissions/ SystemProvider_SENTRY SystemProvider = 4 // Rovo provider. // Must select the "rovo" scope. SystemProvider_ROVO SystemProvider = 5 // New Relic provider. // No scopes are allowed. SystemProvider_NEW_RELIC SystemProvider = 6 // Datastax provider. // No scopes are allowed. SystemProvider_DATASTAX SystemProvider = 7 // Dynatrace provider. SystemProvider_DYNATRACE SystemProvider = 8 )
func (SystemProvider) Descriptor ¶ added in v0.4.0
func (SystemProvider) Descriptor() protoreflect.EnumDescriptor
func (SystemProvider) Enum ¶ added in v0.4.0
func (x SystemProvider) Enum() *SystemProvider
func (SystemProvider) EnumDescriptor
deprecated
added in
v0.4.0
func (SystemProvider) EnumDescriptor() ([]byte, []int)
Deprecated: Use SystemProvider.Descriptor instead.
func (SystemProvider) Number ¶ added in v0.4.0
func (x SystemProvider) Number() protoreflect.EnumNumber
func (SystemProvider) String ¶ added in v0.4.0
func (x SystemProvider) String() string
func (SystemProvider) Type ¶ added in v0.4.0
func (SystemProvider) Type() protoreflect.EnumType
type UnimplementedDeveloperConnectServer ¶
type UnimplementedDeveloperConnectServer struct {
}
UnimplementedDeveloperConnectServer should be embedded to have forward compatible implementations.
func (UnimplementedDeveloperConnectServer) CreateAccountConnector ¶ added in v0.4.0
func (UnimplementedDeveloperConnectServer) CreateAccountConnector(context.Context, *CreateAccountConnectorRequest) (*longrunningpb.Operation, error)
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) DeleteAccountConnector ¶ added in v0.4.0
func (UnimplementedDeveloperConnectServer) DeleteAccountConnector(context.Context, *DeleteAccountConnectorRequest) (*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) DeleteSelf ¶ added in v0.4.0
func (UnimplementedDeveloperConnectServer) DeleteSelf(context.Context, *DeleteSelfRequest) (*longrunningpb.Operation, error)
func (UnimplementedDeveloperConnectServer) DeleteUser ¶ added in v0.4.0
func (UnimplementedDeveloperConnectServer) DeleteUser(context.Context, *DeleteUserRequest) (*longrunningpb.Operation, error)
func (UnimplementedDeveloperConnectServer) FetchAccessToken ¶ added in v0.4.0
func (UnimplementedDeveloperConnectServer) FetchAccessToken(context.Context, *FetchAccessTokenRequest) (*FetchAccessTokenResponse, 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) FetchSelf ¶ added in v0.4.0
func (UnimplementedDeveloperConnectServer) FetchSelf(context.Context, *FetchSelfRequest) (*User, error)
func (UnimplementedDeveloperConnectServer) GetAccountConnector ¶ added in v0.4.0
func (UnimplementedDeveloperConnectServer) GetAccountConnector(context.Context, *GetAccountConnectorRequest) (*AccountConnector, 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) ListAccountConnectors ¶ added in v0.4.0
func (UnimplementedDeveloperConnectServer) ListAccountConnectors(context.Context, *ListAccountConnectorsRequest) (*ListAccountConnectorsResponse, 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) ListUsers ¶ added in v0.4.0
func (UnimplementedDeveloperConnectServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
func (UnimplementedDeveloperConnectServer) UpdateAccountConnector ¶ added in v0.4.0
func (UnimplementedDeveloperConnectServer) UpdateAccountConnector(context.Context, *UpdateAccountConnectorRequest) (*longrunningpb.Operation, error)
func (UnimplementedDeveloperConnectServer) UpdateConnection ¶
func (UnimplementedDeveloperConnectServer) UpdateConnection(context.Context, *UpdateConnectionRequest) (*longrunningpb.Operation, error)
type UnimplementedInsightsConfigServiceServer ¶ added in v0.4.0
type UnimplementedInsightsConfigServiceServer struct {
}
UnimplementedInsightsConfigServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedInsightsConfigServiceServer) CreateInsightsConfig ¶ added in v0.4.0
func (UnimplementedInsightsConfigServiceServer) CreateInsightsConfig(context.Context, *CreateInsightsConfigRequest) (*longrunningpb.Operation, error)
func (UnimplementedInsightsConfigServiceServer) DeleteInsightsConfig ¶ added in v0.4.0
func (UnimplementedInsightsConfigServiceServer) DeleteInsightsConfig(context.Context, *DeleteInsightsConfigRequest) (*longrunningpb.Operation, error)
func (UnimplementedInsightsConfigServiceServer) GetInsightsConfig ¶ added in v0.4.0
func (UnimplementedInsightsConfigServiceServer) GetInsightsConfig(context.Context, *GetInsightsConfigRequest) (*InsightsConfig, error)
func (UnimplementedInsightsConfigServiceServer) ListInsightsConfigs ¶ added in v0.4.0
func (UnimplementedInsightsConfigServiceServer) ListInsightsConfigs(context.Context, *ListInsightsConfigsRequest) (*ListInsightsConfigsResponse, error)
func (UnimplementedInsightsConfigServiceServer) UpdateInsightsConfig ¶ added in v0.4.0
func (UnimplementedInsightsConfigServiceServer) UpdateInsightsConfig(context.Context, *UpdateInsightsConfigRequest) (*longrunningpb.Operation, error)
type UnsafeDeveloperConnectServer ¶ added in v0.4.1
type UnsafeDeveloperConnectServer interface {
// contains filtered or unexported methods
}
UnsafeDeveloperConnectServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeveloperConnectServer will result in compilation errors.
type UnsafeInsightsConfigServiceServer ¶ added in v0.4.1
type UnsafeInsightsConfigServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInsightsConfigServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InsightsConfigServiceServer will result in compilation errors.
type UpdateAccountConnectorRequest ¶ added in v0.4.0
type UpdateAccountConnectorRequest struct {
// Optional. The list of fields to be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The AccountConnector to update.
AccountConnector *AccountConnector `protobuf:"bytes,2,opt,name=account_connector,json=accountConnector,proto3" json:"account_connector,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 accountConnector is not found a new
// accountConnector will be created. In this situation `update_mask` is
// ignored. The creation will succeed only if the input accountConnector has
// all the necessary
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 AccountConnector
func (*UpdateAccountConnectorRequest) Descriptor
deprecated
added in
v0.4.0
func (*UpdateAccountConnectorRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccountConnectorRequest.ProtoReflect.Descriptor instead.
func (*UpdateAccountConnectorRequest) GetAccountConnector ¶ added in v0.4.0
func (x *UpdateAccountConnectorRequest) GetAccountConnector() *AccountConnector
func (*UpdateAccountConnectorRequest) GetAllowMissing ¶ added in v0.4.0
func (x *UpdateAccountConnectorRequest) GetAllowMissing() bool
func (*UpdateAccountConnectorRequest) GetRequestId ¶ added in v0.4.0
func (x *UpdateAccountConnectorRequest) GetRequestId() string
func (*UpdateAccountConnectorRequest) GetUpdateMask ¶ added in v0.4.0
func (x *UpdateAccountConnectorRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAccountConnectorRequest) GetValidateOnly ¶ added in v0.4.0
func (x *UpdateAccountConnectorRequest) GetValidateOnly() bool
func (*UpdateAccountConnectorRequest) ProtoMessage ¶ added in v0.4.0
func (*UpdateAccountConnectorRequest) ProtoMessage()
func (*UpdateAccountConnectorRequest) ProtoReflect ¶ added in v0.4.0
func (x *UpdateAccountConnectorRequest) ProtoReflect() protoreflect.Message
func (*UpdateAccountConnectorRequest) Reset ¶ added in v0.4.0
func (x *UpdateAccountConnectorRequest) Reset()
func (*UpdateAccountConnectorRequest) String ¶ added in v0.4.0
func (x *UpdateAccountConnectorRequest) String() string
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 UpdateInsightsConfigRequest ¶ added in v0.4.0
type UpdateInsightsConfigRequest struct {
// Required. The resource being updated.
InsightsConfig *InsightsConfig `protobuf:"bytes,2,opt,name=insights_config,json=insightsConfig,proto3" json:"insights_config,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,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, and the insightsConfig is not found a new
// insightsConfig will be created. In this situation `update_mask` is ignored.
// The creation will succeed only if the input insightsConfig 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
}
Request for updating an InsightsConfig.
func (*UpdateInsightsConfigRequest) Descriptor
deprecated
added in
v0.4.0
func (*UpdateInsightsConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInsightsConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateInsightsConfigRequest) GetAllowMissing ¶ added in v0.4.0
func (x *UpdateInsightsConfigRequest) GetAllowMissing() bool
func (*UpdateInsightsConfigRequest) GetInsightsConfig ¶ added in v0.4.0
func (x *UpdateInsightsConfigRequest) GetInsightsConfig() *InsightsConfig
func (*UpdateInsightsConfigRequest) GetRequestId ¶ added in v0.4.0
func (x *UpdateInsightsConfigRequest) GetRequestId() string
func (*UpdateInsightsConfigRequest) GetValidateOnly ¶ added in v0.4.0
func (x *UpdateInsightsConfigRequest) GetValidateOnly() bool
func (*UpdateInsightsConfigRequest) ProtoMessage ¶ added in v0.4.0
func (*UpdateInsightsConfigRequest) ProtoMessage()
func (*UpdateInsightsConfigRequest) ProtoReflect ¶ added in v0.4.0
func (x *UpdateInsightsConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateInsightsConfigRequest) Reset ¶ added in v0.4.0
func (x *UpdateInsightsConfigRequest) Reset()
func (*UpdateInsightsConfigRequest) String ¶ added in v0.4.0
func (x *UpdateInsightsConfigRequest) String() string
type User ¶ added in v0.4.0
type User struct {
// Identifier. Resource name of the user, in the format
// `projects/*/locations/*/accountConnectors/*/users/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Developer Connect automatically converts user identity
// to some human readable description, e.g., email address.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. The timestamp when the user was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The timestamp when the token was last requested.
LastTokenRequestTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_token_request_time,json=lastTokenRequestTime,proto3" json:"last_token_request_time,omitempty"`
// contains filtered or unexported fields
}
User represents a user connected to the service providers through a AccountConnector.
func (*User) Descriptor
deprecated
added in
v0.4.0
func (*User) GetCreateTime ¶ added in v0.4.0
func (x *User) GetCreateTime() *timestamppb.Timestamp
func (*User) GetDisplayName ¶ added in v0.4.0
func (*User) GetLastTokenRequestTime ¶ added in v0.4.0
func (x *User) GetLastTokenRequestTime() *timestamppb.Timestamp
func (*User) ProtoMessage ¶ added in v0.4.0
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶ added in v0.4.0
func (x *User) ProtoReflect() protoreflect.Message
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