Documentation ¶
Index ¶
- Variables
- func RegisterSecureSourceManagerServer(s *grpc.Server, srv SecureSourceManagerServer)
- type BranchRule
- func (*BranchRule) Descriptor() ([]byte, []int)deprecated
- func (x *BranchRule) GetAllowStaleReviews() bool
- func (x *BranchRule) GetAnnotations() map[string]string
- func (x *BranchRule) GetCreateTime() *timestamppb.Timestamp
- func (x *BranchRule) GetDisabled() bool
- func (x *BranchRule) GetEtag() string
- func (x *BranchRule) GetIncludePattern() string
- func (x *BranchRule) GetMinimumApprovalsCount() int32
- func (x *BranchRule) GetMinimumReviewsCount() int32
- func (x *BranchRule) GetName() string
- func (x *BranchRule) GetRequireCommentsResolved() bool
- func (x *BranchRule) GetRequireLinearHistory() bool
- func (x *BranchRule) GetRequirePullRequest() bool
- func (x *BranchRule) GetRequiredStatusChecks() []*BranchRule_Check
- func (x *BranchRule) GetUid() string
- func (x *BranchRule) GetUpdateTime() *timestamppb.Timestamp
- func (*BranchRule) ProtoMessage()
- func (x *BranchRule) ProtoReflect() protoreflect.Message
- func (x *BranchRule) Reset()
- func (x *BranchRule) String() string
- type BranchRule_Check
- type CreateBranchRuleRequest
- func (*CreateBranchRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBranchRuleRequest) GetBranchRule() *BranchRule
- func (x *CreateBranchRuleRequest) GetBranchRuleId() string
- func (x *CreateBranchRuleRequest) GetParent() string
- func (*CreateBranchRuleRequest) ProtoMessage()
- func (x *CreateBranchRuleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBranchRuleRequest) Reset()
- func (x *CreateBranchRuleRequest) String() string
- type CreateInstanceRequest
- func (*CreateInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInstanceRequest) GetInstance() *Instance
- func (x *CreateInstanceRequest) GetInstanceId() string
- func (x *CreateInstanceRequest) GetParent() string
- func (x *CreateInstanceRequest) GetRequestId() string
- func (*CreateInstanceRequest) ProtoMessage()
- func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateInstanceRequest) Reset()
- func (x *CreateInstanceRequest) String() string
- type CreateRepositoryRequest
- func (*CreateRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepositoryRequest) GetParent() string
- func (x *CreateRepositoryRequest) GetRepository() *Repository
- func (x *CreateRepositoryRequest) GetRepositoryId() string
- func (*CreateRepositoryRequest) ProtoMessage()
- func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryRequest) Reset()
- func (x *CreateRepositoryRequest) String() string
- type DeleteBranchRuleRequest
- func (*DeleteBranchRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBranchRuleRequest) GetAllowMissing() bool
- func (x *DeleteBranchRuleRequest) GetName() string
- func (*DeleteBranchRuleRequest) ProtoMessage()
- func (x *DeleteBranchRuleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBranchRuleRequest) Reset()
- func (x *DeleteBranchRuleRequest) String() string
- type DeleteInstanceRequest
- func (*DeleteInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInstanceRequest) GetName() string
- func (x *DeleteInstanceRequest) GetRequestId() string
- func (*DeleteInstanceRequest) ProtoMessage()
- func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteInstanceRequest) Reset()
- func (x *DeleteInstanceRequest) String() string
- type DeleteRepositoryRequest
- func (*DeleteRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRepositoryRequest) GetAllowMissing() bool
- func (x *DeleteRepositoryRequest) GetName() string
- func (*DeleteRepositoryRequest) ProtoMessage()
- func (x *DeleteRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRepositoryRequest) Reset()
- func (x *DeleteRepositoryRequest) String() string
- type GetBranchRuleRequest
- func (*GetBranchRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBranchRuleRequest) GetName() string
- func (*GetBranchRuleRequest) ProtoMessage()
- func (x *GetBranchRuleRequest) ProtoReflect() protoreflect.Message
- func (x *GetBranchRuleRequest) Reset()
- func (x *GetBranchRuleRequest) String() string
- type GetInstanceRequest
- func (*GetInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInstanceRequest) GetName() string
- func (*GetInstanceRequest) ProtoMessage()
- func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *GetInstanceRequest) Reset()
- func (x *GetInstanceRequest) String() string
- type GetRepositoryRequest
- func (*GetRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryRequest) GetName() string
- func (*GetRepositoryRequest) ProtoMessage()
- func (x *GetRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryRequest) Reset()
- func (x *GetRepositoryRequest) String() string
- type Instance
- func (*Instance) Descriptor() ([]byte, []int)deprecated
- func (x *Instance) GetCreateTime() *timestamppb.Timestamp
- func (x *Instance) GetHostConfig() *Instance_HostConfig
- func (x *Instance) GetKmsKey() string
- func (x *Instance) GetLabels() map[string]string
- func (x *Instance) GetName() string
- func (x *Instance) GetPrivateConfig() *Instance_PrivateConfig
- func (x *Instance) GetState() Instance_State
- func (x *Instance) GetStateNote() Instance_StateNote
- func (x *Instance) GetUpdateTime() *timestamppb.Timestamp
- func (*Instance) ProtoMessage()
- func (x *Instance) ProtoReflect() protoreflect.Message
- func (x *Instance) Reset()
- func (x *Instance) String() string
- type Instance_HostConfig
- func (*Instance_HostConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Instance_HostConfig) GetApi() string
- func (x *Instance_HostConfig) GetGitHttp() string
- func (x *Instance_HostConfig) GetGitSsh() string
- func (x *Instance_HostConfig) GetHtml() string
- func (*Instance_HostConfig) ProtoMessage()
- func (x *Instance_HostConfig) ProtoReflect() protoreflect.Message
- func (x *Instance_HostConfig) Reset()
- func (x *Instance_HostConfig) String() string
- type Instance_PrivateConfig
- func (*Instance_PrivateConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Instance_PrivateConfig) GetCaPool() string
- func (x *Instance_PrivateConfig) GetHttpServiceAttachment() string
- func (x *Instance_PrivateConfig) GetIsPrivate() bool
- func (x *Instance_PrivateConfig) GetPscAllowedProjects() []string
- func (x *Instance_PrivateConfig) GetSshServiceAttachment() string
- func (*Instance_PrivateConfig) ProtoMessage()
- func (x *Instance_PrivateConfig) ProtoReflect() protoreflect.Message
- func (x *Instance_PrivateConfig) Reset()
- func (x *Instance_PrivateConfig) String() string
- type Instance_State
- func (Instance_State) Descriptor() protoreflect.EnumDescriptor
- func (x Instance_State) Enum() *Instance_State
- func (Instance_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Instance_State) Number() protoreflect.EnumNumber
- func (x Instance_State) String() string
- func (Instance_State) Type() protoreflect.EnumType
- type Instance_StateNote
- func (Instance_StateNote) Descriptor() protoreflect.EnumDescriptor
- func (x Instance_StateNote) Enum() *Instance_StateNote
- func (Instance_StateNote) EnumDescriptor() ([]byte, []int)deprecated
- func (x Instance_StateNote) Number() protoreflect.EnumNumber
- func (x Instance_StateNote) String() string
- func (Instance_StateNote) Type() protoreflect.EnumType
- type ListBranchRulesRequest
- func (*ListBranchRulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBranchRulesRequest) GetPageSize() int32
- func (x *ListBranchRulesRequest) GetPageToken() string
- func (x *ListBranchRulesRequest) GetParent() string
- func (*ListBranchRulesRequest) ProtoMessage()
- func (x *ListBranchRulesRequest) ProtoReflect() protoreflect.Message
- func (x *ListBranchRulesRequest) Reset()
- func (x *ListBranchRulesRequest) String() string
- type ListBranchRulesResponse
- func (*ListBranchRulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBranchRulesResponse) GetBranchRules() []*BranchRule
- func (x *ListBranchRulesResponse) GetNextPageToken() string
- func (*ListBranchRulesResponse) ProtoMessage()
- func (x *ListBranchRulesResponse) ProtoReflect() protoreflect.Message
- func (x *ListBranchRulesResponse) Reset()
- func (x *ListBranchRulesResponse) String() string
- type ListInstancesRequest
- func (*ListInstancesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInstancesRequest) GetFilter() string
- func (x *ListInstancesRequest) GetOrderBy() string
- func (x *ListInstancesRequest) GetPageSize() int32
- func (x *ListInstancesRequest) GetPageToken() string
- func (x *ListInstancesRequest) GetParent() string
- func (*ListInstancesRequest) ProtoMessage()
- func (x *ListInstancesRequest) ProtoReflect() protoreflect.Message
- func (x *ListInstancesRequest) Reset()
- func (x *ListInstancesRequest) String() string
- type ListInstancesResponse
- func (*ListInstancesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInstancesResponse) GetInstances() []*Instance
- func (x *ListInstancesResponse) GetNextPageToken() string
- func (x *ListInstancesResponse) GetUnreachable() []string
- func (*ListInstancesResponse) ProtoMessage()
- func (x *ListInstancesResponse) ProtoReflect() protoreflect.Message
- func (x *ListInstancesResponse) Reset()
- func (x *ListInstancesResponse) String() string
- type ListRepositoriesRequest
- func (*ListRepositoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRepositoriesRequest) GetFilter() string
- func (x *ListRepositoriesRequest) GetInstance() string
- func (x *ListRepositoriesRequest) GetPageSize() int32
- func (x *ListRepositoriesRequest) GetPageToken() string
- func (x *ListRepositoriesRequest) GetParent() string
- func (*ListRepositoriesRequest) ProtoMessage()
- func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRepositoriesRequest) Reset()
- func (x *ListRepositoriesRequest) String() string
- type ListRepositoriesResponse
- func (*ListRepositoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRepositoriesResponse) GetNextPageToken() string
- func (x *ListRepositoriesResponse) GetRepositories() []*Repository
- func (*ListRepositoriesResponse) ProtoMessage()
- func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRepositoriesResponse) Reset()
- func (x *ListRepositoriesResponse) 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 Repository
- func (*Repository) Descriptor() ([]byte, []int)deprecated
- func (x *Repository) GetCreateTime() *timestamppb.Timestamp
- func (x *Repository) GetDescription() string
- func (x *Repository) GetEtag() string
- func (x *Repository) GetInitialConfig() *Repository_InitialConfig
- func (x *Repository) GetInstance() string
- func (x *Repository) GetName() string
- func (x *Repository) GetUid() string
- func (x *Repository) GetUpdateTime() *timestamppb.Timestamp
- func (x *Repository) GetUris() *Repository_URIs
- func (*Repository) ProtoMessage()
- func (x *Repository) ProtoReflect() protoreflect.Message
- func (x *Repository) Reset()
- func (x *Repository) String() string
- type Repository_InitialConfig
- func (*Repository_InitialConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Repository_InitialConfig) GetDefaultBranch() string
- func (x *Repository_InitialConfig) GetGitignores() []string
- func (x *Repository_InitialConfig) GetLicense() string
- func (x *Repository_InitialConfig) GetReadme() string
- func (*Repository_InitialConfig) ProtoMessage()
- func (x *Repository_InitialConfig) ProtoReflect() protoreflect.Message
- func (x *Repository_InitialConfig) Reset()
- func (x *Repository_InitialConfig) String() string
- type Repository_URIs
- func (*Repository_URIs) Descriptor() ([]byte, []int)deprecated
- func (x *Repository_URIs) GetApi() string
- func (x *Repository_URIs) GetGitHttps() string
- func (x *Repository_URIs) GetHtml() string
- func (*Repository_URIs) ProtoMessage()
- func (x *Repository_URIs) ProtoReflect() protoreflect.Message
- func (x *Repository_URIs) Reset()
- func (x *Repository_URIs) String() string
- type SecureSourceManagerClient
- type SecureSourceManagerServer
- type UnimplementedSecureSourceManagerServer
- func (*UnimplementedSecureSourceManagerServer) CreateBranchRule(context.Context, *CreateBranchRuleRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedSecureSourceManagerServer) CreateInstance(context.Context, *CreateInstanceRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedSecureSourceManagerServer) CreateRepository(context.Context, *CreateRepositoryRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedSecureSourceManagerServer) DeleteBranchRule(context.Context, *DeleteBranchRuleRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedSecureSourceManagerServer) DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedSecureSourceManagerServer) DeleteRepository(context.Context, *DeleteRepositoryRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedSecureSourceManagerServer) GetBranchRule(context.Context, *GetBranchRuleRequest) (*BranchRule, error)
- func (*UnimplementedSecureSourceManagerServer) GetIamPolicyRepo(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
- func (*UnimplementedSecureSourceManagerServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
- func (*UnimplementedSecureSourceManagerServer) GetRepository(context.Context, *GetRepositoryRequest) (*Repository, error)
- func (*UnimplementedSecureSourceManagerServer) ListBranchRules(context.Context, *ListBranchRulesRequest) (*ListBranchRulesResponse, error)
- func (*UnimplementedSecureSourceManagerServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
- func (*UnimplementedSecureSourceManagerServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
- func (*UnimplementedSecureSourceManagerServer) SetIamPolicyRepo(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
- func (*UnimplementedSecureSourceManagerServer) TestIamPermissionsRepo(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
- func (*UnimplementedSecureSourceManagerServer) UpdateBranchRule(context.Context, *UpdateBranchRuleRequest) (*longrunningpb.Operation, error)
- type UpdateBranchRuleRequest
- func (*UpdateBranchRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBranchRuleRequest) GetBranchRule() *BranchRule
- func (x *UpdateBranchRuleRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateBranchRuleRequest) GetValidateOnly() bool
- func (*UpdateBranchRuleRequest) ProtoMessage()
- func (x *UpdateBranchRuleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBranchRuleRequest) Reset()
- func (x *UpdateBranchRuleRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Instance_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "DELETING", 4: "PAUSED", 6: "UNKNOWN", } Instance_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "DELETING": 3, "PAUSED": 4, "UNKNOWN": 6, } )
Enum value maps for Instance_State.
var ( Instance_StateNote_name = map[int32]string{ 0: "STATE_NOTE_UNSPECIFIED", 1: "PAUSED_CMEK_UNAVAILABLE", 2: "INSTANCE_RESUMING", } Instance_StateNote_value = map[string]int32{ "STATE_NOTE_UNSPECIFIED": 0, "PAUSED_CMEK_UNAVAILABLE": 1, "INSTANCE_RESUMING": 2, } )
Enum value maps for Instance_StateNote.
var File_google_cloud_securesourcemanager_v1_secure_source_manager_proto protoreflect.FileDescriptor
Functions ¶
func RegisterSecureSourceManagerServer ¶
func RegisterSecureSourceManagerServer(s *grpc.Server, srv SecureSourceManagerServer)
Types ¶
type BranchRule ¶ added in v1.3.0
type BranchRule struct { // Optional. A unique identifier for a BranchRule. The name should be of the // format: // `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Unique identifier of the repository. Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` // Output only. Create timestamp. CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Update timestamp. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. User annotations. These attributes can only be set and used by // the user. See https://google.aip.dev/128#annotations for more details such // as format and size limitations. 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,6,opt,name=etag,proto3" json:"etag,omitempty"` // Optional. The pattern of the branch that can match to this BranchRule. // Specified as regex. // .* for all branches. Examples: main, (main|release.*). // Current MVP phase only support `.*` for wildcard. IncludePattern string `protobuf:"bytes,7,opt,name=include_pattern,json=includePattern,proto3" json:"include_pattern,omitempty"` // Optional. Determines if the branch rule is disabled or not. Disabled bool `protobuf:"varint,8,opt,name=disabled,proto3" json:"disabled,omitempty"` // Optional. Determines if the branch rule requires a pull request or not. RequirePullRequest bool `protobuf:"varint,9,opt,name=require_pull_request,json=requirePullRequest,proto3" json:"require_pull_request,omitempty"` // Optional. The minimum number of reviews required for the branch rule to be // matched. MinimumReviewsCount int32 `protobuf:"varint,10,opt,name=minimum_reviews_count,json=minimumReviewsCount,proto3" json:"minimum_reviews_count,omitempty"` // Optional. The minimum number of approvals required for the branch rule to // be matched. MinimumApprovalsCount int32 `` /* 128-byte string literal not displayed */ // Optional. Determines if require comments resolved before merging to the // branch. RequireCommentsResolved bool `` /* 134-byte string literal not displayed */ // Optional. Determines if allow stale reviews or approvals before merging to // the branch. AllowStaleReviews bool `protobuf:"varint,15,opt,name=allow_stale_reviews,json=allowStaleReviews,proto3" json:"allow_stale_reviews,omitempty"` // Optional. Determines if require linear history before merging to the // branch. RequireLinearHistory bool `protobuf:"varint,13,opt,name=require_linear_history,json=requireLinearHistory,proto3" json:"require_linear_history,omitempty"` // Optional. List of required status checks before merging to the branch. RequiredStatusChecks []*BranchRule_Check `protobuf:"bytes,14,rep,name=required_status_checks,json=requiredStatusChecks,proto3" json:"required_status_checks,omitempty"` // contains filtered or unexported fields }
Metadata of a BranchRule. BranchRule is the protection rule to enforce pre-defined rules on desginated branches within a repository.
func (*BranchRule) Descriptor
deprecated
added in
v1.3.0
func (*BranchRule) Descriptor() ([]byte, []int)
Deprecated: Use BranchRule.ProtoReflect.Descriptor instead.
func (*BranchRule) GetAllowStaleReviews ¶ added in v1.3.0
func (x *BranchRule) GetAllowStaleReviews() bool
func (*BranchRule) GetAnnotations ¶ added in v1.3.0
func (x *BranchRule) GetAnnotations() map[string]string
func (*BranchRule) GetCreateTime ¶ added in v1.3.0
func (x *BranchRule) GetCreateTime() *timestamppb.Timestamp
func (*BranchRule) GetDisabled ¶ added in v1.3.0
func (x *BranchRule) GetDisabled() bool
func (*BranchRule) GetEtag ¶ added in v1.3.0
func (x *BranchRule) GetEtag() string
func (*BranchRule) GetIncludePattern ¶ added in v1.3.0
func (x *BranchRule) GetIncludePattern() string
func (*BranchRule) GetMinimumApprovalsCount ¶ added in v1.3.0
func (x *BranchRule) GetMinimumApprovalsCount() int32
func (*BranchRule) GetMinimumReviewsCount ¶ added in v1.3.0
func (x *BranchRule) GetMinimumReviewsCount() int32
func (*BranchRule) GetName ¶ added in v1.3.0
func (x *BranchRule) GetName() string
func (*BranchRule) GetRequireCommentsResolved ¶ added in v1.3.0
func (x *BranchRule) GetRequireCommentsResolved() bool
func (*BranchRule) GetRequireLinearHistory ¶ added in v1.3.0
func (x *BranchRule) GetRequireLinearHistory() bool
func (*BranchRule) GetRequirePullRequest ¶ added in v1.3.0
func (x *BranchRule) GetRequirePullRequest() bool
func (*BranchRule) GetRequiredStatusChecks ¶ added in v1.3.0
func (x *BranchRule) GetRequiredStatusChecks() []*BranchRule_Check
func (*BranchRule) GetUid ¶ added in v1.3.0
func (x *BranchRule) GetUid() string
func (*BranchRule) GetUpdateTime ¶ added in v1.3.0
func (x *BranchRule) GetUpdateTime() *timestamppb.Timestamp
func (*BranchRule) ProtoMessage ¶ added in v1.3.0
func (*BranchRule) ProtoMessage()
func (*BranchRule) ProtoReflect ¶ added in v1.3.0
func (x *BranchRule) ProtoReflect() protoreflect.Message
func (*BranchRule) Reset ¶ added in v1.3.0
func (x *BranchRule) Reset()
func (*BranchRule) String ¶ added in v1.3.0
func (x *BranchRule) String() string
type BranchRule_Check ¶ added in v1.3.0
type BranchRule_Check struct { // Required. The context of the check. Context string `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
Check is a type for status check.
func (*BranchRule_Check) Descriptor
deprecated
added in
v1.3.0
func (*BranchRule_Check) Descriptor() ([]byte, []int)
Deprecated: Use BranchRule_Check.ProtoReflect.Descriptor instead.
func (*BranchRule_Check) GetContext ¶ added in v1.3.0
func (x *BranchRule_Check) GetContext() string
func (*BranchRule_Check) ProtoMessage ¶ added in v1.3.0
func (*BranchRule_Check) ProtoMessage()
func (*BranchRule_Check) ProtoReflect ¶ added in v1.3.0
func (x *BranchRule_Check) ProtoReflect() protoreflect.Message
func (*BranchRule_Check) Reset ¶ added in v1.3.0
func (x *BranchRule_Check) Reset()
func (*BranchRule_Check) String ¶ added in v1.3.0
func (x *BranchRule_Check) String() string
type CreateBranchRuleRequest ¶ added in v1.3.0
type CreateBranchRuleRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` BranchRule *BranchRule `protobuf:"bytes,2,opt,name=branch_rule,json=branchRule,proto3" json:"branch_rule,omitempty"` BranchRuleId string `protobuf:"bytes,3,opt,name=branch_rule_id,json=branchRuleId,proto3" json:"branch_rule_id,omitempty"` // contains filtered or unexported fields }
CreateBranchRuleRequest is the request to create a branch rule.
func (*CreateBranchRuleRequest) Descriptor
deprecated
added in
v1.3.0
func (*CreateBranchRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBranchRuleRequest.ProtoReflect.Descriptor instead.
func (*CreateBranchRuleRequest) GetBranchRule ¶ added in v1.3.0
func (x *CreateBranchRuleRequest) GetBranchRule() *BranchRule
func (*CreateBranchRuleRequest) GetBranchRuleId ¶ added in v1.3.0
func (x *CreateBranchRuleRequest) GetBranchRuleId() string
func (*CreateBranchRuleRequest) GetParent ¶ added in v1.3.0
func (x *CreateBranchRuleRequest) GetParent() string
func (*CreateBranchRuleRequest) ProtoMessage ¶ added in v1.3.0
func (*CreateBranchRuleRequest) ProtoMessage()
func (*CreateBranchRuleRequest) ProtoReflect ¶ added in v1.3.0
func (x *CreateBranchRuleRequest) ProtoReflect() protoreflect.Message
func (*CreateBranchRuleRequest) Reset ¶ added in v1.3.0
func (x *CreateBranchRuleRequest) Reset()
func (*CreateBranchRuleRequest) String ¶ added in v1.3.0
func (x *CreateBranchRuleRequest) String() string
type CreateInstanceRequest ¶
type CreateInstanceRequest struct { // Required. Value for parent. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. ID of the instance to be created. InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // Required. The resource being created. Instance *Instance `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,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"` // contains filtered or unexported fields }
CreateInstanceRequest is the request for creating an instance.
func (*CreateInstanceRequest) Descriptor
deprecated
func (*CreateInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.
func (*CreateInstanceRequest) GetInstance ¶
func (x *CreateInstanceRequest) GetInstance() *Instance
func (*CreateInstanceRequest) GetInstanceId ¶
func (x *CreateInstanceRequest) GetInstanceId() string
func (*CreateInstanceRequest) GetParent ¶
func (x *CreateInstanceRequest) GetParent() string
func (*CreateInstanceRequest) GetRequestId ¶
func (x *CreateInstanceRequest) GetRequestId() string
func (*CreateInstanceRequest) ProtoMessage ¶
func (*CreateInstanceRequest) ProtoMessage()
func (*CreateInstanceRequest) ProtoReflect ¶
func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Message
func (*CreateInstanceRequest) Reset ¶
func (x *CreateInstanceRequest) Reset()
func (*CreateInstanceRequest) String ¶
func (x *CreateInstanceRequest) String() string
type CreateRepositoryRequest ¶
type CreateRepositoryRequest struct { // Required. The project in which to create the repository. Values are of the // form `projects/{project_number}/locations/{location_id}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The resource being created. Repository *Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // Required. The ID to use for the repository, which will become the final // component of the repository's resource name. This value should be 4-63 // characters, and valid characters are /[a-z][0-9]-/. RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // contains filtered or unexported fields }
CreateRepositoryRequest is the request for creating a repository.
func (*CreateRepositoryRequest) Descriptor
deprecated
func (*CreateRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryRequest.ProtoReflect.Descriptor instead.
func (*CreateRepositoryRequest) GetParent ¶
func (x *CreateRepositoryRequest) GetParent() string
func (*CreateRepositoryRequest) GetRepository ¶
func (x *CreateRepositoryRequest) GetRepository() *Repository
func (*CreateRepositoryRequest) GetRepositoryId ¶
func (x *CreateRepositoryRequest) GetRepositoryId() string
func (*CreateRepositoryRequest) ProtoMessage ¶
func (*CreateRepositoryRequest) ProtoMessage()
func (*CreateRepositoryRequest) ProtoReflect ¶
func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message
func (*CreateRepositoryRequest) Reset ¶
func (x *CreateRepositoryRequest) Reset()
func (*CreateRepositoryRequest) String ¶
func (x *CreateRepositoryRequest) String() string
type DeleteBranchRuleRequest ¶ added in v1.3.0
type DeleteBranchRuleRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. If set to true, and the branch rule is not found, the request // will succeed but no action will be taken on the server. AllowMissing bool `protobuf:"varint,2,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
DeleteBranchRuleRequest is the request to delete a branch rule.
func (*DeleteBranchRuleRequest) Descriptor
deprecated
added in
v1.3.0
func (*DeleteBranchRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBranchRuleRequest.ProtoReflect.Descriptor instead.
func (*DeleteBranchRuleRequest) GetAllowMissing ¶ added in v1.3.0
func (x *DeleteBranchRuleRequest) GetAllowMissing() bool
func (*DeleteBranchRuleRequest) GetName ¶ added in v1.3.0
func (x *DeleteBranchRuleRequest) GetName() string
func (*DeleteBranchRuleRequest) ProtoMessage ¶ added in v1.3.0
func (*DeleteBranchRuleRequest) ProtoMessage()
func (*DeleteBranchRuleRequest) ProtoReflect ¶ added in v1.3.0
func (x *DeleteBranchRuleRequest) ProtoReflect() protoreflect.Message
func (*DeleteBranchRuleRequest) Reset ¶ added in v1.3.0
func (x *DeleteBranchRuleRequest) Reset()
func (*DeleteBranchRuleRequest) String ¶ added in v1.3.0
func (x *DeleteBranchRuleRequest) String() string
type DeleteInstanceRequest ¶
type DeleteInstanceRequest 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"` // contains filtered or unexported fields }
DeleteInstanceRequest is the request for deleting an instance.
func (*DeleteInstanceRequest) Descriptor
deprecated
func (*DeleteInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.
func (*DeleteInstanceRequest) GetName ¶
func (x *DeleteInstanceRequest) GetName() string
func (*DeleteInstanceRequest) GetRequestId ¶
func (x *DeleteInstanceRequest) GetRequestId() string
func (*DeleteInstanceRequest) ProtoMessage ¶
func (*DeleteInstanceRequest) ProtoMessage()
func (*DeleteInstanceRequest) ProtoReflect ¶
func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Message
func (*DeleteInstanceRequest) Reset ¶
func (x *DeleteInstanceRequest) Reset()
func (*DeleteInstanceRequest) String ¶
func (x *DeleteInstanceRequest) String() string
type DeleteRepositoryRequest ¶
type DeleteRepositoryRequest struct { // Required. Name of the repository to delete. // The format is // projects/{project_number}/locations/{location_id}/repositories/{repository_id}. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. If set to true, and the repository is not found, the request will // succeed but no action will be taken on the server. AllowMissing bool `protobuf:"varint,2,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
DeleteRepositoryRequest is the request to delete a repository.
func (*DeleteRepositoryRequest) Descriptor
deprecated
func (*DeleteRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRepositoryRequest.ProtoReflect.Descriptor instead.
func (*DeleteRepositoryRequest) GetAllowMissing ¶
func (x *DeleteRepositoryRequest) GetAllowMissing() bool
func (*DeleteRepositoryRequest) GetName ¶
func (x *DeleteRepositoryRequest) GetName() string
func (*DeleteRepositoryRequest) ProtoMessage ¶
func (*DeleteRepositoryRequest) ProtoMessage()
func (*DeleteRepositoryRequest) ProtoReflect ¶
func (x *DeleteRepositoryRequest) ProtoReflect() protoreflect.Message
func (*DeleteRepositoryRequest) Reset ¶
func (x *DeleteRepositoryRequest) Reset()
func (*DeleteRepositoryRequest) String ¶
func (x *DeleteRepositoryRequest) String() string
type GetBranchRuleRequest ¶ added in v1.3.0
type GetBranchRuleRequest struct { // Required. Name of the repository to retrieve. // The format is // `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
GetBranchRuleRequest is the request for getting a branch rule.
func (*GetBranchRuleRequest) Descriptor
deprecated
added in
v1.3.0
func (*GetBranchRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBranchRuleRequest.ProtoReflect.Descriptor instead.
func (*GetBranchRuleRequest) GetName ¶ added in v1.3.0
func (x *GetBranchRuleRequest) GetName() string
func (*GetBranchRuleRequest) ProtoMessage ¶ added in v1.3.0
func (*GetBranchRuleRequest) ProtoMessage()
func (*GetBranchRuleRequest) ProtoReflect ¶ added in v1.3.0
func (x *GetBranchRuleRequest) ProtoReflect() protoreflect.Message
func (*GetBranchRuleRequest) Reset ¶ added in v1.3.0
func (x *GetBranchRuleRequest) Reset()
func (*GetBranchRuleRequest) String ¶ added in v1.3.0
func (x *GetBranchRuleRequest) String() string
type GetInstanceRequest ¶
type GetInstanceRequest struct { // Required. Name of the resource. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
GetInstanceRequest is the request for getting an instance.
func (*GetInstanceRequest) Descriptor
deprecated
func (*GetInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.
func (*GetInstanceRequest) GetName ¶
func (x *GetInstanceRequest) GetName() string
func (*GetInstanceRequest) ProtoMessage ¶
func (*GetInstanceRequest) ProtoMessage()
func (*GetInstanceRequest) ProtoReflect ¶
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message
func (*GetInstanceRequest) Reset ¶
func (x *GetInstanceRequest) Reset()
func (*GetInstanceRequest) String ¶
func (x *GetInstanceRequest) String() string
type GetRepositoryRequest ¶
type GetRepositoryRequest struct { // Required. Name of the repository to retrieve. // The format is // `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
GetRepositoryRequest is the request for getting a repository.
func (*GetRepositoryRequest) Descriptor
deprecated
func (*GetRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryRequest.ProtoReflect.Descriptor instead.
func (*GetRepositoryRequest) GetName ¶
func (x *GetRepositoryRequest) GetName() string
func (*GetRepositoryRequest) ProtoMessage ¶
func (*GetRepositoryRequest) ProtoMessage()
func (*GetRepositoryRequest) ProtoReflect ¶
func (x *GetRepositoryRequest) ProtoReflect() protoreflect.Message
func (*GetRepositoryRequest) Reset ¶
func (x *GetRepositoryRequest) Reset()
func (*GetRepositoryRequest) String ¶
func (x *GetRepositoryRequest) String() string
type Instance ¶
type Instance struct { // Optional. A unique identifier for an instance. The name should be of the // format: // `projects/{project_number}/locations/{location_id}/instances/{instance_id}` // // `project_number`: Maps to a unique int64 id assigned to each project. // // `location_id`: Refers to the region where the instance will be deployed. // Since Secure Source Manager is a regional service, it must be one of the // valid GCP regions. // // `instance_id`: User provided name for the instance, must be unique for a // project_number and location_id combination. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Create timestamp. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Update timestamp. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. Labels as key value pairs. Labels map[string]string `` /* 153-byte string literal not displayed */ // Optional. Private settings for private instance. PrivateConfig *Instance_PrivateConfig `protobuf:"bytes,13,opt,name=private_config,json=privateConfig,proto3" json:"private_config,omitempty"` // Output only. Current state of the instance. State Instance_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.securesourcemanager.v1.Instance_State" json:"state,omitempty"` // Output only. An optional field providing information about the current // instance state. StateNote Instance_StateNote `` /* 150-byte string literal not displayed */ // Optional. Immutable. Customer-managed encryption key name, in the format // projects/*/locations/*/keyRings/*/cryptoKeys/*. KmsKey string `protobuf:"bytes,11,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"` // Output only. A list of hostnames for this instance. HostConfig *Instance_HostConfig `protobuf:"bytes,9,opt,name=host_config,json=hostConfig,proto3" json:"host_config,omitempty"` // contains filtered or unexported fields }
A resource that represents a Secure Source Manager instance.
func (*Instance) Descriptor
deprecated
func (*Instance) GetCreateTime ¶
func (x *Instance) GetCreateTime() *timestamppb.Timestamp
func (*Instance) GetHostConfig ¶
func (x *Instance) GetHostConfig() *Instance_HostConfig
func (*Instance) GetPrivateConfig ¶ added in v1.1.0
func (x *Instance) GetPrivateConfig() *Instance_PrivateConfig
func (*Instance) GetState ¶
func (x *Instance) GetState() Instance_State
func (*Instance) GetStateNote ¶
func (x *Instance) GetStateNote() Instance_StateNote
func (*Instance) GetUpdateTime ¶
func (x *Instance) GetUpdateTime() *timestamppb.Timestamp
func (*Instance) ProtoMessage ¶
func (*Instance) ProtoMessage()
func (*Instance) ProtoReflect ¶
func (x *Instance) ProtoReflect() protoreflect.Message
type Instance_HostConfig ¶
type Instance_HostConfig struct { // Output only. HTML hostname. Html string `protobuf:"bytes,1,opt,name=html,proto3" json:"html,omitempty"` // Output only. API hostname. This is the hostname to use for **Host: Data // Plane** endpoints. Api string `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"` // Output only. Git HTTP hostname. GitHttp string `protobuf:"bytes,3,opt,name=git_http,json=gitHttp,proto3" json:"git_http,omitempty"` // Output only. Git SSH hostname. GitSsh string `protobuf:"bytes,4,opt,name=git_ssh,json=gitSsh,proto3" json:"git_ssh,omitempty"` // contains filtered or unexported fields }
HostConfig has different instance endpoints.
func (*Instance_HostConfig) Descriptor
deprecated
func (*Instance_HostConfig) Descriptor() ([]byte, []int)
Deprecated: Use Instance_HostConfig.ProtoReflect.Descriptor instead.
func (*Instance_HostConfig) GetApi ¶
func (x *Instance_HostConfig) GetApi() string
func (*Instance_HostConfig) GetGitHttp ¶
func (x *Instance_HostConfig) GetGitHttp() string
func (*Instance_HostConfig) GetGitSsh ¶
func (x *Instance_HostConfig) GetGitSsh() string
func (*Instance_HostConfig) GetHtml ¶
func (x *Instance_HostConfig) GetHtml() string
func (*Instance_HostConfig) ProtoMessage ¶
func (*Instance_HostConfig) ProtoMessage()
func (*Instance_HostConfig) ProtoReflect ¶
func (x *Instance_HostConfig) ProtoReflect() protoreflect.Message
func (*Instance_HostConfig) Reset ¶
func (x *Instance_HostConfig) Reset()
func (*Instance_HostConfig) String ¶
func (x *Instance_HostConfig) String() string
type Instance_PrivateConfig ¶ added in v1.1.0
type Instance_PrivateConfig struct { // Required. Immutable. Indicate if it's private instance. IsPrivate bool `protobuf:"varint,1,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"` // Required. Immutable. CA pool resource, resource must in the format of // `projects/{project}/locations/{location}/caPools/{ca_pool}`. CaPool string `protobuf:"bytes,2,opt,name=ca_pool,json=caPool,proto3" json:"ca_pool,omitempty"` // Output only. Service Attachment for HTTP, resource is in the format of // `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`. HttpServiceAttachment string `` /* 126-byte string literal not displayed */ // Output only. Service Attachment for SSH, resource is in the format of // `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`. SshServiceAttachment string `protobuf:"bytes,4,opt,name=ssh_service_attachment,json=sshServiceAttachment,proto3" json:"ssh_service_attachment,omitempty"` // Optional. Additional allowed projects for setting up PSC connections. // Instance host project is automatically allowed and does not need to be // included in this list. PscAllowedProjects []string `protobuf:"bytes,6,rep,name=psc_allowed_projects,json=pscAllowedProjects,proto3" json:"psc_allowed_projects,omitempty"` // contains filtered or unexported fields }
PrivateConfig includes settings for private instance.
func (*Instance_PrivateConfig) Descriptor
deprecated
added in
v1.1.0
func (*Instance_PrivateConfig) Descriptor() ([]byte, []int)
Deprecated: Use Instance_PrivateConfig.ProtoReflect.Descriptor instead.
func (*Instance_PrivateConfig) GetCaPool ¶ added in v1.1.0
func (x *Instance_PrivateConfig) GetCaPool() string
func (*Instance_PrivateConfig) GetHttpServiceAttachment ¶ added in v1.1.0
func (x *Instance_PrivateConfig) GetHttpServiceAttachment() string
func (*Instance_PrivateConfig) GetIsPrivate ¶ added in v1.1.0
func (x *Instance_PrivateConfig) GetIsPrivate() bool
func (*Instance_PrivateConfig) GetPscAllowedProjects ¶ added in v1.3.0
func (x *Instance_PrivateConfig) GetPscAllowedProjects() []string
func (*Instance_PrivateConfig) GetSshServiceAttachment ¶ added in v1.1.0
func (x *Instance_PrivateConfig) GetSshServiceAttachment() string
func (*Instance_PrivateConfig) ProtoMessage ¶ added in v1.1.0
func (*Instance_PrivateConfig) ProtoMessage()
func (*Instance_PrivateConfig) ProtoReflect ¶ added in v1.1.0
func (x *Instance_PrivateConfig) ProtoReflect() protoreflect.Message
func (*Instance_PrivateConfig) Reset ¶ added in v1.1.0
func (x *Instance_PrivateConfig) Reset()
func (*Instance_PrivateConfig) String ¶ added in v1.1.0
func (x *Instance_PrivateConfig) String() string
type Instance_State ¶
type Instance_State int32
Secure Source Manager instance state.
const ( // Not set. This should only be the case for incoming requests. Instance_STATE_UNSPECIFIED Instance_State = 0 // Instance is being created. Instance_CREATING Instance_State = 1 // Instance is ready. Instance_ACTIVE Instance_State = 2 // Instance is being deleted. Instance_DELETING Instance_State = 3 // Instance is paused. Instance_PAUSED Instance_State = 4 // Instance is unknown, we are not sure if it's functioning. Instance_UNKNOWN Instance_State = 6 )
func (Instance_State) Descriptor ¶
func (Instance_State) Descriptor() protoreflect.EnumDescriptor
func (Instance_State) Enum ¶
func (x Instance_State) Enum() *Instance_State
func (Instance_State) EnumDescriptor
deprecated
func (Instance_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_State.Descriptor instead.
func (Instance_State) Number ¶
func (x Instance_State) Number() protoreflect.EnumNumber
func (Instance_State) String ¶
func (x Instance_State) String() string
func (Instance_State) Type ¶
func (Instance_State) Type() protoreflect.EnumType
type Instance_StateNote ¶
type Instance_StateNote int32
Provides information about the current instance state.
const ( // STATE_NOTE_UNSPECIFIED as the first value of State. Instance_STATE_NOTE_UNSPECIFIED Instance_StateNote = 0 // CMEK access is unavailable. Instance_PAUSED_CMEK_UNAVAILABLE Instance_StateNote = 1 // INSTANCE_RESUMING indicates that the instance was previously paused // and is under the process of being brought back. // // Deprecated: Marked as deprecated in google/cloud/securesourcemanager/v1/secure_source_manager.proto. Instance_INSTANCE_RESUMING Instance_StateNote = 2 )
func (Instance_StateNote) Descriptor ¶
func (Instance_StateNote) Descriptor() protoreflect.EnumDescriptor
func (Instance_StateNote) Enum ¶
func (x Instance_StateNote) Enum() *Instance_StateNote
func (Instance_StateNote) EnumDescriptor
deprecated
func (Instance_StateNote) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_StateNote.Descriptor instead.
func (Instance_StateNote) Number ¶
func (x Instance_StateNote) Number() protoreflect.EnumNumber
func (Instance_StateNote) String ¶
func (x Instance_StateNote) String() string
func (Instance_StateNote) Type ¶
func (Instance_StateNote) Type() protoreflect.EnumType
type ListBranchRulesRequest ¶ added in v1.3.0
type ListBranchRulesRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
ListBranchRulesRequest is the request to list branch rules.
func (*ListBranchRulesRequest) Descriptor
deprecated
added in
v1.3.0
func (*ListBranchRulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBranchRulesRequest.ProtoReflect.Descriptor instead.
func (*ListBranchRulesRequest) GetPageSize ¶ added in v1.3.0
func (x *ListBranchRulesRequest) GetPageSize() int32
func (*ListBranchRulesRequest) GetPageToken ¶ added in v1.3.0
func (x *ListBranchRulesRequest) GetPageToken() string
func (*ListBranchRulesRequest) GetParent ¶ added in v1.3.0
func (x *ListBranchRulesRequest) GetParent() string
func (*ListBranchRulesRequest) ProtoMessage ¶ added in v1.3.0
func (*ListBranchRulesRequest) ProtoMessage()
func (*ListBranchRulesRequest) ProtoReflect ¶ added in v1.3.0
func (x *ListBranchRulesRequest) ProtoReflect() protoreflect.Message
func (*ListBranchRulesRequest) Reset ¶ added in v1.3.0
func (x *ListBranchRulesRequest) Reset()
func (*ListBranchRulesRequest) String ¶ added in v1.3.0
func (x *ListBranchRulesRequest) String() string
type ListBranchRulesResponse ¶ added in v1.3.0
type ListBranchRulesResponse struct { // The list of branch rules. BranchRules []*BranchRule `protobuf:"bytes,1,rep,name=branch_rules,json=branchRules,proto3" json:"branch_rules,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 }
ListBranchRulesResponse is the response to listing branchRules.
func (*ListBranchRulesResponse) Descriptor
deprecated
added in
v1.3.0
func (*ListBranchRulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBranchRulesResponse.ProtoReflect.Descriptor instead.
func (*ListBranchRulesResponse) GetBranchRules ¶ added in v1.3.0
func (x *ListBranchRulesResponse) GetBranchRules() []*BranchRule
func (*ListBranchRulesResponse) GetNextPageToken ¶ added in v1.3.0
func (x *ListBranchRulesResponse) GetNextPageToken() string
func (*ListBranchRulesResponse) ProtoMessage ¶ added in v1.3.0
func (*ListBranchRulesResponse) ProtoMessage()
func (*ListBranchRulesResponse) ProtoReflect ¶ added in v1.3.0
func (x *ListBranchRulesResponse) ProtoReflect() protoreflect.Message
func (*ListBranchRulesResponse) Reset ¶ added in v1.3.0
func (x *ListBranchRulesResponse) Reset()
func (*ListBranchRulesResponse) String ¶ added in v1.3.0
func (x *ListBranchRulesResponse) String() string
type ListInstancesRequest ¶
type ListInstancesRequest struct { // Required. Parent value for ListInstancesRequest. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // 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"` // 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"` // Filter for filtering results. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // 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 }
ListInstancesRequest is the request to list instances.
func (*ListInstancesRequest) Descriptor
deprecated
func (*ListInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.
func (*ListInstancesRequest) GetFilter ¶
func (x *ListInstancesRequest) GetFilter() string
func (*ListInstancesRequest) GetOrderBy ¶
func (x *ListInstancesRequest) GetOrderBy() string
func (*ListInstancesRequest) GetPageSize ¶
func (x *ListInstancesRequest) GetPageSize() int32
func (*ListInstancesRequest) GetPageToken ¶
func (x *ListInstancesRequest) GetPageToken() string
func (*ListInstancesRequest) GetParent ¶
func (x *ListInstancesRequest) GetParent() string
func (*ListInstancesRequest) ProtoMessage ¶
func (*ListInstancesRequest) ProtoMessage()
func (*ListInstancesRequest) ProtoReflect ¶
func (x *ListInstancesRequest) ProtoReflect() protoreflect.Message
func (*ListInstancesRequest) Reset ¶
func (x *ListInstancesRequest) Reset()
func (*ListInstancesRequest) String ¶
func (x *ListInstancesRequest) String() string
type ListInstancesResponse ¶
type ListInstancesResponse struct { // The list of instances. Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,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 }
func (*ListInstancesResponse) Descriptor
deprecated
func (*ListInstancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.
func (*ListInstancesResponse) GetInstances ¶
func (x *ListInstancesResponse) GetInstances() []*Instance
func (*ListInstancesResponse) GetNextPageToken ¶
func (x *ListInstancesResponse) GetNextPageToken() string
func (*ListInstancesResponse) GetUnreachable ¶
func (x *ListInstancesResponse) GetUnreachable() []string
func (*ListInstancesResponse) ProtoMessage ¶
func (*ListInstancesResponse) ProtoMessage()
func (*ListInstancesResponse) ProtoReflect ¶
func (x *ListInstancesResponse) ProtoReflect() protoreflect.Message
func (*ListInstancesResponse) Reset ¶
func (x *ListInstancesResponse) Reset()
func (*ListInstancesResponse) String ¶
func (x *ListInstancesResponse) String() string
type ListRepositoriesRequest ¶
type ListRepositoriesRequest struct { // Required. Parent value for ListRepositoriesRequest. 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"` // 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. Filter results. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Optional. The name of the instance in which the repository is hosted, // formatted as // `projects/{project_number}/locations/{location_id}/instances/{instance_id}`. // When listing repositories via // securesourcemanager.googleapis.com (Control Plane API), this field is // required. When listing repositories via *.sourcemanager.dev (Data Plane // API), this field is ignored. Instance string `protobuf:"bytes,5,opt,name=instance,proto3" json:"instance,omitempty"` // contains filtered or unexported fields }
ListRepositoriesRequest is request to list repositories.
func (*ListRepositoriesRequest) Descriptor
deprecated
func (*ListRepositoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*ListRepositoriesRequest) GetFilter ¶
func (x *ListRepositoriesRequest) GetFilter() string
func (*ListRepositoriesRequest) GetInstance ¶ added in v1.3.0
func (x *ListRepositoriesRequest) GetInstance() string
func (*ListRepositoriesRequest) GetPageSize ¶
func (x *ListRepositoriesRequest) GetPageSize() int32
func (*ListRepositoriesRequest) GetPageToken ¶
func (x *ListRepositoriesRequest) GetPageToken() string
func (*ListRepositoriesRequest) GetParent ¶
func (x *ListRepositoriesRequest) GetParent() string
func (*ListRepositoriesRequest) ProtoMessage ¶
func (*ListRepositoriesRequest) ProtoMessage()
func (*ListRepositoriesRequest) ProtoReflect ¶
func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message
func (*ListRepositoriesRequest) Reset ¶
func (x *ListRepositoriesRequest) Reset()
func (*ListRepositoriesRequest) String ¶
func (x *ListRepositoriesRequest) String() string
type ListRepositoriesResponse ¶
type ListRepositoriesResponse struct { // The list of repositories. Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` // A token identifying a page of results the server should return. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRepositoriesResponse) Descriptor
deprecated
func (*ListRepositoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead.
func (*ListRepositoriesResponse) GetNextPageToken ¶
func (x *ListRepositoriesResponse) GetNextPageToken() string
func (*ListRepositoriesResponse) GetRepositories ¶
func (x *ListRepositoriesResponse) GetRepositories() []*Repository
func (*ListRepositoriesResponse) ProtoMessage ¶
func (*ListRepositoriesResponse) ProtoMessage()
func (*ListRepositoriesResponse) ProtoReflect ¶
func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message
func (*ListRepositoriesResponse) Reset ¶
func (x *ListRepositoriesResponse) Reset()
func (*ListRepositoriesResponse) String ¶
func (x *ListRepositoriesResponse) String() string
type OperationMetadata ¶
type OperationMetadata struct { // Output only. The time the operation was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the operation finished running. EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Output only. Name of the verb executed by the operation. Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"` // Output only. Human-readable status of the operation, if any. StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // Output only. Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled // have [Operation.error][] value with a // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to // `Code.CANCELLED`. RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"` // Output only. API version used to start the operation. ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // contains filtered or unexported fields }
Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
deprecated
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion ¶
func (x *OperationMetadata) GetApiVersion() string
func (*OperationMetadata) GetCreateTime ¶
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*OperationMetadata) GetEndTime ¶
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*OperationMetadata) GetRequestedCancellation ¶
func (x *OperationMetadata) GetRequestedCancellation() bool
func (*OperationMetadata) GetStatusMessage ¶
func (x *OperationMetadata) GetStatusMessage() string
func (*OperationMetadata) GetTarget ¶
func (x *OperationMetadata) GetTarget() string
func (*OperationMetadata) GetVerb ¶
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage ¶
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect ¶
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset ¶
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String ¶
func (x *OperationMetadata) String() string
type Repository ¶
type Repository struct { // Optional. A unique identifier for a repository. The name should be of the // format: // `projects/{project}/locations/{location_id}/repositories/{repository_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. Description of the repository, which cannot exceed 500 // characters. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Optional. The name of the instance in which the repository is hosted, // formatted as // `projects/{project_number}/locations/{location_id}/instances/{instance_id}` // When creating repository via // securesourcemanager.googleapis.com (Control Plane API), this field is used // as input. When creating repository via *.sourcemanager.dev (Data Plane // API), this field is output only. Instance string `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"` // Output only. Unique identifier of the repository. Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"` // Output only. Create timestamp. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Update timestamp. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,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,8,opt,name=etag,proto3" json:"etag,omitempty"` // Output only. URIs for the repository. Uris *Repository_URIs `protobuf:"bytes,9,opt,name=uris,proto3" json:"uris,omitempty"` // Input only. Initial configurations for the repository. InitialConfig *Repository_InitialConfig `protobuf:"bytes,10,opt,name=initial_config,json=initialConfig,proto3" json:"initial_config,omitempty"` // contains filtered or unexported fields }
Metadata of a Secure Source Manager repository.
func (*Repository) Descriptor
deprecated
func (*Repository) Descriptor() ([]byte, []int)
Deprecated: Use Repository.ProtoReflect.Descriptor instead.
func (*Repository) GetCreateTime ¶
func (x *Repository) GetCreateTime() *timestamppb.Timestamp
func (*Repository) GetDescription ¶
func (x *Repository) GetDescription() string
func (*Repository) GetEtag ¶
func (x *Repository) GetEtag() string
func (*Repository) GetInitialConfig ¶
func (x *Repository) GetInitialConfig() *Repository_InitialConfig
func (*Repository) GetInstance ¶
func (x *Repository) GetInstance() string
func (*Repository) GetName ¶
func (x *Repository) GetName() string
func (*Repository) GetUid ¶
func (x *Repository) GetUid() string
func (*Repository) GetUpdateTime ¶
func (x *Repository) GetUpdateTime() *timestamppb.Timestamp
func (*Repository) GetUris ¶
func (x *Repository) GetUris() *Repository_URIs
func (*Repository) ProtoMessage ¶
func (*Repository) ProtoMessage()
func (*Repository) ProtoReflect ¶
func (x *Repository) ProtoReflect() protoreflect.Message
func (*Repository) Reset ¶
func (x *Repository) Reset()
func (*Repository) String ¶
func (x *Repository) String() string
type Repository_InitialConfig ¶
type Repository_InitialConfig struct { // Default branch name of the repository. DefaultBranch string `protobuf:"bytes,1,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"` // List of gitignore template names user can choose from. // Valid values: actionscript, ada, agda, android, // anjuta, ansible, appcelerator-titanium, app-engine, archives, // arch-linux-packages, atmel-studio, autotools, backup, bazaar, bazel, // bitrix, bricx-cc, c, cake-php, calabash, cf-wheels, chef-cookbook, // clojure, cloud9, c-make, code-igniter, code-kit, code-sniffer, // common-lisp, composer, concrete5, coq, cordova, cpp, craft-cms, cuda, // cvs, d, dart, dart-editor, delphi, diff, dm, dreamweaver, dropbox, // drupal, drupal-7, eagle, eclipse, eiffel-studio, elisp, elixir, elm, // emacs, ensime, epi-server, erlang, esp-idf, espresso, exercism, // expression-engine, ext-js, fancy, finale, flex-builder, force-dot-com, // fortran, fuel-php, gcov, git-book, gnome-shell-extension, go, godot, gpg, // gradle, grails, gwt, haskell, hugo, iar-ewarm, idris, igor-pro, images, // infor-cms, java, jboss, jboss-4, jboss-6, jdeveloper, jekyll, // jenkins-home, jenv, jet-brains, jigsaw, joomla, julia, jupyter-notebooks, // kate, kdevelop4, kentico, ki-cad, kohana, kotlin, lab-view, laravel, // lazarus, leiningen, lemon-stand, libre-office, lilypond, linux, lithium, // logtalk, lua, lyx, mac-os, magento, magento-1, magento-2, matlab, maven, // mercurial, mercury, metals, meta-programming-system, meteor, // microsoft-office, model-sim, momentics, mono-develop, nanoc, net-beans, // nikola, nim, ninja, node, notepad-pp, nwjs, objective--c, ocaml, octave, // opa, open-cart, openssl, oracle-forms, otto, packer, patch, perl, perl6, // phalcon, phoenix, pimcore, play-framework, plone, prestashop, processing, // psoc-creator, puppet, pure-script, putty, python, qooxdoo, qt, r, racket, // rails, raku, red, redcar, redis, rhodes-rhomobile, ros, ruby, rust, sam, // sass, sbt, scala, scheme, scons, scrivener, sdcc, seam-gen, sketch-up, // slick-edit, smalltalk, snap, splunk, stata, stella, sublime-text, // sugar-crm, svn, swift, symfony, symphony-cms, synopsys-vcs, tags, // terraform, tex, text-mate, textpattern, think-php, tortoise-git, // turbo-gears-2, typo3, umbraco, unity, unreal-engine, vagrant, vim, // virtual-env, virtuoso, visual-studio, visual-studio-code, vue, vvvv, waf, // web-methods, windows, word-press, xcode, xilinx, xilinx-ise, xojo, // yeoman, yii, zend-framework, zephir. Gitignores []string `protobuf:"bytes,2,rep,name=gitignores,proto3" json:"gitignores,omitempty"` // License template name user can choose from. // Valid values: license-0bsd, license-389-exception, aal, abstyles, // adobe-2006, adobe-glyph, adsl, afl-1-1, afl-1-2, afl-2-0, afl-2-1, // afl-3-0, afmparse, agpl-1-0, agpl-1-0-only, agpl-1-0-or-later, // agpl-3-0-only, agpl-3-0-or-later, aladdin, amdplpa, aml, ampas, antlr-pd, // antlr-pd-fallback, apache-1-0, apache-1-1, apache-2-0, apafml, apl-1-0, // apsl-1-0, apsl-1-1, apsl-1-2, apsl-2-0, artistic-1-0, artistic-1-0-cl8, // artistic-1-0-perl, artistic-2-0, autoconf-exception-2-0, // autoconf-exception-3-0, bahyph, barr, beerware, bison-exception-2-2, // bittorrent-1-0, bittorrent-1-1, blessing, blueoak-1-0-0, // bootloader-exception, borceux, bsd-1-clause, bsd-2-clause, // bsd-2-clause-freebsd, bsd-2-clause-netbsd, bsd-2-clause-patent, // bsd-2-clause-views, bsd-3-clause, bsd-3-clause-attribution, // bsd-3-clause-clear, bsd-3-clause-lbnl, bsd-3-clause-modification, // bsd-3-clause-no-nuclear-license, bsd-3-clause-no-nuclear-license-2014, // bsd-3-clause-no-nuclear-warranty, bsd-3-clause-open-mpi, bsd-4-clause, // bsd-4-clause-shortened, bsd-4-clause-uc, bsd-protection, bsd-source-code, // bsl-1-0, busl-1-1, cal-1-0, cal-1-0-combined-work-exception, caldera, // catosl-1-1, cc0-1-0, cc-by-1-0, cc-by-2-0, cc-by-3-0, cc-by-3-0-at, // cc-by-3-0-us, cc-by-4-0, cc-by-nc-1-0, cc-by-nc-2-0, cc-by-nc-3-0, // cc-by-nc-4-0, cc-by-nc-nd-1-0, cc-by-nc-nd-2-0, cc-by-nc-nd-3-0, // cc-by-nc-nd-3-0-igo, cc-by-nc-nd-4-0, cc-by-nc-sa-1-0, cc-by-nc-sa-2-0, // cc-by-nc-sa-3-0, cc-by-nc-sa-4-0, cc-by-nd-1-0, cc-by-nd-2-0, // cc-by-nd-3-0, cc-by-nd-4-0, cc-by-sa-1-0, cc-by-sa-2-0, cc-by-sa-2-0-uk, // cc-by-sa-2-1-jp, cc-by-sa-3-0, cc-by-sa-3-0-at, cc-by-sa-4-0, cc-pddc, // cddl-1-0, cddl-1-1, cdla-permissive-1-0, cdla-sharing-1-0, cecill-1-0, // cecill-1-1, cecill-2-0, cecill-2-1, cecill-b, cecill-c, cern-ohl-1-1, // cern-ohl-1-2, cern-ohl-p-2-0, cern-ohl-s-2-0, cern-ohl-w-2-0, clartistic, // classpath-exception-2-0, clisp-exception-2-0, cnri-jython, cnri-python, // cnri-python-gpl-compatible, condor-1-1, copyleft-next-0-3-0, // copyleft-next-0-3-1, cpal-1-0, cpl-1-0, cpol-1-02, crossword, // crystal-stacker, cua-opl-1-0, cube, c-uda-1-0, curl, d-fsl-1-0, diffmark, // digirule-foss-exception, doc, dotseqn, drl-1-0, dsdp, dvipdfm, ecl-1-0, // ecl-2-0, ecos-exception-2-0, efl-1-0, efl-2-0, egenix, entessa, epics, // epl-1-0, epl-2-0, erlpl-1-1, etalab-2-0, eu-datagrid, eupl-1-0, eupl-1-1, // eupl-1-2, eurosym, fair, fawkes-runtime-exception, fltk-exception, // font-exception-2-0, frameworx-1-0, freebsd-doc, freeimage, // freertos-exception-2-0, fsfap, fsful, fsfullr, ftl, gcc-exception-2-0, // gcc-exception-3-1, gd, gfdl-1-1-invariants-only, // gfdl-1-1-invariants-or-later, gfdl-1-1-no-invariants-only, // gfdl-1-1-no-invariants-or-later, gfdl-1-1-only, gfdl-1-1-or-later, // gfdl-1-2-invariants-only, gfdl-1-2-invariants-or-later, // gfdl-1-2-no-invariants-only, gfdl-1-2-no-invariants-or-later, // gfdl-1-2-only, gfdl-1-2-or-later, gfdl-1-3-invariants-only, // gfdl-1-3-invariants-or-later, gfdl-1-3-no-invariants-only, // gfdl-1-3-no-invariants-or-later, gfdl-1-3-only, gfdl-1-3-or-later, // giftware, gl2ps, glide, glulxe, glwtpl, gnu-javamail-exception, gnuplot, // gpl-1-0-only, gpl-1-0-or-later, gpl-2-0-only, gpl-2-0-or-later, // gpl-3-0-linking-exception, gpl-3-0-linking-source-exception, // gpl-3-0-only, gpl-3-0-or-later, gpl-cc-1-0, gsoap-1-3b, haskell-report, // hippocratic-2-1, hpnd, hpnd-sell-variant, htmltidy, // i2p-gpl-java-exception, ibm-pibs, icu, ijg, image-magick, imatix, imlib2, // info-zip, intel, intel-acpi, interbase-1-0, ipa, ipl-1-0, isc, // jasper-2-0, jpnic, json, lal-1-2, lal-1-3, latex2e, leptonica, // lgpl-2-0-only, lgpl-2-0-or-later, lgpl-2-1-only, lgpl-2-1-or-later, // lgpl-3-0-linking-exception, lgpl-3-0-only, lgpl-3-0-or-later, lgpllr, // libpng, libpng-2-0, libselinux-1-0, libtiff, libtool-exception, // liliq-p-1-1, liliq-r-1-1, liliq-rplus-1-1, linux-openib, // linux-syscall-note, llvm-exception, lpl-1-0, lpl-1-02, lppl-1-0, // lppl-1-1, lppl-1-2, lppl-1-3a, lppl-1-3c, lzma-exception, make-index, // mif-exception, miros, mit, mit-0, mit-advertising, mit-cmu, mit-enna, // mit-feh, mit-modern-variant, mitnfa, mit-open-group, motosoto, mpich2, // mpl-1-0, mpl-1-1, mpl-2-0, mpl-2-0-no-copyleft-exception, ms-pl, ms-rl, // mtll, mulanpsl-1-0, mulanpsl-2-0, multics, mup, naist-2003, nasa-1-3, // naumen, nbpl-1-0, ncgl-uk-2-0, ncsa, netcdf, net-snmp, newsletr, ngpl, // nist-pd, nist-pd-fallback, nlod-1-0, nlpl, nokia, nokia-qt-exception-1-1, // nosl, noweb, npl-1-0, npl-1-1, nposl-3-0, nrl, ntp, ntp-0, // ocaml-lgpl-linking-exception, occt-exception-1-0, occt-pl, oclc-2-0, // odbl-1-0, odc-by-1-0, ofl-1-0, ofl-1-0-no-rfn, ofl-1-0-rfn, ofl-1-1, // ofl-1-1-no-rfn, ofl-1-1-rfn, ogc-1-0, ogdl-taiwan-1-0, ogl-canada-2-0, // ogl-uk-1-0, ogl-uk-2-0, ogl-uk-3-0, ogtsl, oldap-1-1, oldap-1-2, // oldap-1-3, oldap-1-4, oldap-2-0, oldap-2-0-1, oldap-2-1, oldap-2-2, // oldap-2-2-1, oldap-2-2-2, oldap-2-3, oldap-2-4, oldap-2-7, oml, // openjdk-assembly-exception-1-0, openssl, openvpn-openssl-exception, // opl-1-0, oset-pl-2-1, osl-1-0, osl-1-1, osl-2-0, osl-2-1, osl-3-0, // o-uda-1-0, parity-6-0-0, parity-7-0-0, pddl-1-0, php-3-0, php-3-01, // plexus, polyform-noncommercial-1-0-0, polyform-small-business-1-0-0, // postgresql, psf-2-0, psfrag, ps-or-pdf-font-exception-20170817, psutils, // python-2-0, qhull, qpl-1-0, qt-gpl-exception-1-0, qt-lgpl-exception-1-1, // qwt-exception-1-0, rdisc, rhecos-1-1, rpl-1-1, rpsl-1-0, rsa-md, rscpl, // ruby, saxpath, sax-pd, scea, sendmail, sendmail-8-23, sgi-b-1-0, // sgi-b-1-1, sgi-b-2-0, shl-0-51, shl-2-0, shl-2-1, simpl-2-0, sissl, // sissl-1-2, sleepycat, smlnj, smppl, snia, spencer-86, spencer-94, // spencer-99, spl-1-0, ssh-openssh, ssh-short, sspl-1-0, sugarcrm-1-1-3, // swift-exception, swl, tapr-ohl-1-0, tcl, tcp-wrappers, tmate, torque-1-1, // tosl, tu-berlin-1-0, tu-berlin-2-0, u-boot-exception-2-0, ucl-1-0, // unicode-dfs-2015, unicode-dfs-2016, unicode-tou, // universal-foss-exception-1-0, unlicense, upl-1-0, vim, vostrom, vsl-1-0, // w3c, w3c-19980720, w3c-20150513, watcom-1-0, wsuipa, wtfpl, // wxwindows-exception-3-1, x11, xerox, xfree86-1-1, xinetd, xnet, xpp, // xskat, ypl-1-0, ypl-1-1, zed, zend-2-0, zimbra-1-3, zimbra-1-4, zlib, // zlib-acknowledgement, zpl-1-1, zpl-2-0, zpl-2-1. License string `protobuf:"bytes,3,opt,name=license,proto3" json:"license,omitempty"` // README template name. // Valid template name(s) are: default. Readme string `protobuf:"bytes,4,opt,name=readme,proto3" json:"readme,omitempty"` // contains filtered or unexported fields }
Repository initialization configuration.
func (*Repository_InitialConfig) Descriptor
deprecated
func (*Repository_InitialConfig) Descriptor() ([]byte, []int)
Deprecated: Use Repository_InitialConfig.ProtoReflect.Descriptor instead.
func (*Repository_InitialConfig) GetDefaultBranch ¶
func (x *Repository_InitialConfig) GetDefaultBranch() string
func (*Repository_InitialConfig) GetGitignores ¶
func (x *Repository_InitialConfig) GetGitignores() []string
func (*Repository_InitialConfig) GetLicense ¶
func (x *Repository_InitialConfig) GetLicense() string
func (*Repository_InitialConfig) GetReadme ¶
func (x *Repository_InitialConfig) GetReadme() string
func (*Repository_InitialConfig) ProtoMessage ¶
func (*Repository_InitialConfig) ProtoMessage()
func (*Repository_InitialConfig) ProtoReflect ¶
func (x *Repository_InitialConfig) ProtoReflect() protoreflect.Message
func (*Repository_InitialConfig) Reset ¶
func (x *Repository_InitialConfig) Reset()
func (*Repository_InitialConfig) String ¶
func (x *Repository_InitialConfig) String() string
type Repository_URIs ¶
type Repository_URIs struct { // Output only. HTML is the URI for user to view the repository in a // browser. Html string `protobuf:"bytes,1,opt,name=html,proto3" json:"html,omitempty"` // Output only. git_https is the git HTTPS URI for git operations. GitHttps string `protobuf:"bytes,2,opt,name=git_https,json=gitHttps,proto3" json:"git_https,omitempty"` // Output only. API is the URI for API access. Api string `protobuf:"bytes,3,opt,name=api,proto3" json:"api,omitempty"` // contains filtered or unexported fields }
URIs for the repository.
func (*Repository_URIs) Descriptor
deprecated
func (*Repository_URIs) Descriptor() ([]byte, []int)
Deprecated: Use Repository_URIs.ProtoReflect.Descriptor instead.
func (*Repository_URIs) GetApi ¶
func (x *Repository_URIs) GetApi() string
func (*Repository_URIs) GetGitHttps ¶
func (x *Repository_URIs) GetGitHttps() string
func (*Repository_URIs) GetHtml ¶
func (x *Repository_URIs) GetHtml() string
func (*Repository_URIs) ProtoMessage ¶
func (*Repository_URIs) ProtoMessage()
func (*Repository_URIs) ProtoReflect ¶
func (x *Repository_URIs) ProtoReflect() protoreflect.Message
func (*Repository_URIs) Reset ¶
func (x *Repository_URIs) Reset()
func (*Repository_URIs) String ¶
func (x *Repository_URIs) String() string
type SecureSourceManagerClient ¶
type SecureSourceManagerClient interface { // Lists Instances in a given project and location. ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) // Gets details of a single instance. GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) // Creates a new instance in a given project and location. CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes a single instance. DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Lists Repositories in a given project and location. // // **Host: Data Plane** ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error) // Gets metadata of a repository. // // **Host: Data Plane** GetRepository(ctx context.Context, in *GetRepositoryRequest, opts ...grpc.CallOption) (*Repository, error) // Creates a new repository in a given project and location. // // **Host: Data Plane** CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes a Repository. // // **Host: Data Plane** DeleteRepository(ctx context.Context, in *DeleteRepositoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Get IAM policy for a repository. GetIamPolicyRepo(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Set IAM policy on a repository. SetIamPolicyRepo(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Test IAM permissions on a repository. // IAM permission checks are not required on this method. TestIamPermissionsRepo(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) // CreateBranchRule creates a branch rule in a given repository. CreateBranchRule(ctx context.Context, in *CreateBranchRuleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // ListBranchRules lists branch rules in a given repository. ListBranchRules(ctx context.Context, in *ListBranchRulesRequest, opts ...grpc.CallOption) (*ListBranchRulesResponse, error) // GetBranchRule gets a branch rule. GetBranchRule(ctx context.Context, in *GetBranchRuleRequest, opts ...grpc.CallOption) (*BranchRule, error) // UpdateBranchRule updates a branch rule. UpdateBranchRule(ctx context.Context, in *UpdateBranchRuleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // DeleteBranchRule deletes a branch rule. DeleteBranchRule(ctx context.Context, in *DeleteBranchRuleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) }
SecureSourceManagerClient is the client API for SecureSourceManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSecureSourceManagerClient ¶
func NewSecureSourceManagerClient(cc grpc.ClientConnInterface) SecureSourceManagerClient
type SecureSourceManagerServer ¶
type SecureSourceManagerServer interface { // Lists Instances in a given project and location. ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error) // Gets details of a single instance. GetInstance(context.Context, *GetInstanceRequest) (*Instance, error) // Creates a new instance in a given project and location. CreateInstance(context.Context, *CreateInstanceRequest) (*longrunningpb.Operation, error) // Deletes a single instance. DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunningpb.Operation, error) // Lists Repositories in a given project and location. // // **Host: Data Plane** ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error) // Gets metadata of a repository. // // **Host: Data Plane** GetRepository(context.Context, *GetRepositoryRequest) (*Repository, error) // Creates a new repository in a given project and location. // // **Host: Data Plane** CreateRepository(context.Context, *CreateRepositoryRequest) (*longrunningpb.Operation, error) // Deletes a Repository. // // **Host: Data Plane** DeleteRepository(context.Context, *DeleteRepositoryRequest) (*longrunningpb.Operation, error) // Get IAM policy for a repository. GetIamPolicyRepo(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) // Set IAM policy on a repository. SetIamPolicyRepo(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) // Test IAM permissions on a repository. // IAM permission checks are not required on this method. TestIamPermissionsRepo(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) // CreateBranchRule creates a branch rule in a given repository. CreateBranchRule(context.Context, *CreateBranchRuleRequest) (*longrunningpb.Operation, error) // ListBranchRules lists branch rules in a given repository. ListBranchRules(context.Context, *ListBranchRulesRequest) (*ListBranchRulesResponse, error) // GetBranchRule gets a branch rule. GetBranchRule(context.Context, *GetBranchRuleRequest) (*BranchRule, error) // UpdateBranchRule updates a branch rule. UpdateBranchRule(context.Context, *UpdateBranchRuleRequest) (*longrunningpb.Operation, error) // DeleteBranchRule deletes a branch rule. DeleteBranchRule(context.Context, *DeleteBranchRuleRequest) (*longrunningpb.Operation, error) }
SecureSourceManagerServer is the server API for SecureSourceManager service.
type UnimplementedSecureSourceManagerServer ¶
type UnimplementedSecureSourceManagerServer struct { }
UnimplementedSecureSourceManagerServer can be embedded to have forward compatible implementations.
func (*UnimplementedSecureSourceManagerServer) CreateBranchRule ¶ added in v1.3.0
func (*UnimplementedSecureSourceManagerServer) CreateBranchRule(context.Context, *CreateBranchRuleRequest) (*longrunningpb.Operation, error)
func (*UnimplementedSecureSourceManagerServer) CreateInstance ¶
func (*UnimplementedSecureSourceManagerServer) CreateInstance(context.Context, *CreateInstanceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedSecureSourceManagerServer) CreateRepository ¶
func (*UnimplementedSecureSourceManagerServer) CreateRepository(context.Context, *CreateRepositoryRequest) (*longrunningpb.Operation, error)
func (*UnimplementedSecureSourceManagerServer) DeleteBranchRule ¶ added in v1.3.0
func (*UnimplementedSecureSourceManagerServer) DeleteBranchRule(context.Context, *DeleteBranchRuleRequest) (*longrunningpb.Operation, error)
func (*UnimplementedSecureSourceManagerServer) DeleteInstance ¶
func (*UnimplementedSecureSourceManagerServer) DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedSecureSourceManagerServer) DeleteRepository ¶
func (*UnimplementedSecureSourceManagerServer) DeleteRepository(context.Context, *DeleteRepositoryRequest) (*longrunningpb.Operation, error)
func (*UnimplementedSecureSourceManagerServer) GetBranchRule ¶ added in v1.3.0
func (*UnimplementedSecureSourceManagerServer) GetBranchRule(context.Context, *GetBranchRuleRequest) (*BranchRule, error)
func (*UnimplementedSecureSourceManagerServer) GetIamPolicyRepo ¶
func (*UnimplementedSecureSourceManagerServer) GetIamPolicyRepo(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedSecureSourceManagerServer) GetInstance ¶
func (*UnimplementedSecureSourceManagerServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
func (*UnimplementedSecureSourceManagerServer) GetRepository ¶
func (*UnimplementedSecureSourceManagerServer) GetRepository(context.Context, *GetRepositoryRequest) (*Repository, error)
func (*UnimplementedSecureSourceManagerServer) ListBranchRules ¶ added in v1.3.0
func (*UnimplementedSecureSourceManagerServer) ListBranchRules(context.Context, *ListBranchRulesRequest) (*ListBranchRulesResponse, error)
func (*UnimplementedSecureSourceManagerServer) ListInstances ¶
func (*UnimplementedSecureSourceManagerServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
func (*UnimplementedSecureSourceManagerServer) ListRepositories ¶
func (*UnimplementedSecureSourceManagerServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
func (*UnimplementedSecureSourceManagerServer) SetIamPolicyRepo ¶
func (*UnimplementedSecureSourceManagerServer) SetIamPolicyRepo(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedSecureSourceManagerServer) TestIamPermissionsRepo ¶
func (*UnimplementedSecureSourceManagerServer) TestIamPermissionsRepo(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
func (*UnimplementedSecureSourceManagerServer) UpdateBranchRule ¶ added in v1.3.0
func (*UnimplementedSecureSourceManagerServer) UpdateBranchRule(context.Context, *UpdateBranchRuleRequest) (*longrunningpb.Operation, error)
type UpdateBranchRuleRequest ¶ added in v1.3.0
type UpdateBranchRuleRequest struct { BranchRule *BranchRule `protobuf:"bytes,1,opt,name=branch_rule,json=branchRule,proto3" json:"branch_rule,omitempty"` // Optional. If set, validate the request and preview the review, but do not // actually post it. (https://google.aip.dev/163, for declarative friendly) ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // Required. Field mask is used to specify the fields to be overwritten in the // branchRule 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. // The special value "*" means full replacement. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
UpdateBranchRuleRequest is the request to update a branchRule.
func (*UpdateBranchRuleRequest) Descriptor
deprecated
added in
v1.3.0
func (*UpdateBranchRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBranchRuleRequest.ProtoReflect.Descriptor instead.
func (*UpdateBranchRuleRequest) GetBranchRule ¶ added in v1.3.0
func (x *UpdateBranchRuleRequest) GetBranchRule() *BranchRule
func (*UpdateBranchRuleRequest) GetUpdateMask ¶ added in v1.3.0
func (x *UpdateBranchRuleRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateBranchRuleRequest) GetValidateOnly ¶ added in v1.3.0
func (x *UpdateBranchRuleRequest) GetValidateOnly() bool
func (*UpdateBranchRuleRequest) ProtoMessage ¶ added in v1.3.0
func (*UpdateBranchRuleRequest) ProtoMessage()
func (*UpdateBranchRuleRequest) ProtoReflect ¶ added in v1.3.0
func (x *UpdateBranchRuleRequest) ProtoReflect() protoreflect.Message
func (*UpdateBranchRuleRequest) Reset ¶ added in v1.3.0
func (x *UpdateBranchRuleRequest) Reset()
func (*UpdateBranchRuleRequest) String ¶ added in v1.3.0
func (x *UpdateBranchRuleRequest) String() string