securesourcemanagerpb

package
v0.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Instance_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "DELETING",
		4: "PAUSED",
	}
	Instance_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"ACTIVE":            2,
		"DELETING":          3,
		"PAUSED":            4,
	}
)

Enum value maps for Instance_State.

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

View Source
var File_google_cloud_securesourcemanager_v1_secure_source_manager_proto protoreflect.FileDescriptor

Functions

func RegisterSecureSourceManagerServer

func RegisterSecureSourceManagerServer(s *grpc.Server, srv SecureSourceManagerServer)

Types

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 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 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 */
	// 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) Descriptor() ([]byte, []int)

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetCreateTime

func (x *Instance) GetCreateTime() *timestamppb.Timestamp

func (*Instance) GetHostConfig

func (x *Instance) GetHostConfig() *Instance_HostConfig

func (*Instance) GetKmsKey

func (x *Instance) GetKmsKey() string

func (*Instance) GetLabels

func (x *Instance) GetLabels() map[string]string

func (*Instance) GetName

func (x *Instance) GetName() string

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

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

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

func (Instance_State) Descriptor

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 (Instance_State) String

func (x Instance_State) String() string

func (Instance_State) Type

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

func (Instance_StateNote) EnumDescriptor deprecated

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

Deprecated: Use Instance_StateNote.Descriptor instead.

func (Instance_StateNote) Number

func (Instance_StateNote) String

func (x Instance_StateNote) String() string

func (Instance_StateNote) Type

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"`
	// 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) 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"`
	// Output only. The name of the instance in which the repository is hosted,
	// formatted as
	// `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
	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)
}

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.

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

SecureSourceManagerServer is the server API for SecureSourceManager service.

type UnimplementedSecureSourceManagerServer

type UnimplementedSecureSourceManagerServer struct {
}

UnimplementedSecureSourceManagerServer can be embedded to have forward compatible implementations.

func (*UnimplementedSecureSourceManagerServer) CreateInstance

func (*UnimplementedSecureSourceManagerServer) CreateRepository

func (*UnimplementedSecureSourceManagerServer) DeleteInstance

func (*UnimplementedSecureSourceManagerServer) DeleteRepository

func (*UnimplementedSecureSourceManagerServer) GetIamPolicyRepo

func (*UnimplementedSecureSourceManagerServer) GetInstance

func (*UnimplementedSecureSourceManagerServer) GetRepository

func (*UnimplementedSecureSourceManagerServer) ListInstances

func (*UnimplementedSecureSourceManagerServer) ListRepositories

func (*UnimplementedSecureSourceManagerServer) SetIamPolicyRepo

func (*UnimplementedSecureSourceManagerServer) TestIamPermissionsRepo

Jump to

Keyboard shortcuts

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