genproto: google.golang.org/genproto/googleapis/cloud/secretmanager/v1 Index | Files

package secretmanager

import "google.golang.org/genproto/googleapis/cloud/secretmanager/v1"

Index

Package Files

resources.pb.go service.pb.go

Variables

var (
    SecretVersion_State_name = map[int32]string{
        0:  "STATE_UNSPECIFIED",
        1:  "ENABLED",
        2:  "DISABLED",
        3:  "DESTROYED",
    }
    SecretVersion_State_value = map[string]int32{
        "STATE_UNSPECIFIED": 0,
        "ENABLED":           1,
        "DISABLED":          2,
        "DESTROYED":         3,
    }
)

Enum value maps for SecretVersion_State.

var File_google_cloud_secretmanager_v1_resources_proto protoreflect.FileDescriptor
var File_google_cloud_secretmanager_v1_service_proto protoreflect.FileDescriptor

func RegisterSecretManagerServiceServer Uses

func RegisterSecretManagerServiceServer(s *grpc.Server, srv SecretManagerServiceServer)

type AccessSecretVersionRequest Uses

type AccessSecretVersionRequest struct {

    // Required. The resource name of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] in the format
    // `projects/*/secrets/*/versions/*`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request message for [SecretManagerService.AccessSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersion].

func (*AccessSecretVersionRequest) Descriptor Uses

func (*AccessSecretVersionRequest) Descriptor() ([]byte, []int)

Deprecated: Use AccessSecretVersionRequest.ProtoReflect.Descriptor instead.

func (*AccessSecretVersionRequest) GetName Uses

func (x *AccessSecretVersionRequest) GetName() string

func (*AccessSecretVersionRequest) ProtoMessage Uses

func (*AccessSecretVersionRequest) ProtoMessage()

func (*AccessSecretVersionRequest) ProtoReflect Uses

func (x *AccessSecretVersionRequest) ProtoReflect() protoreflect.Message

func (*AccessSecretVersionRequest) Reset Uses

func (x *AccessSecretVersionRequest) Reset()

func (*AccessSecretVersionRequest) String Uses

func (x *AccessSecretVersionRequest) String() string

type AccessSecretVersionResponse Uses

type AccessSecretVersionResponse struct {

    // The resource name of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] in the format
    // `projects/*/secrets/*/versions/*`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Secret payload
    Payload *SecretPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
    // contains filtered or unexported fields
}

Response message for [SecretManagerService.AccessSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersion].

func (*AccessSecretVersionResponse) Descriptor Uses

func (*AccessSecretVersionResponse) Descriptor() ([]byte, []int)

Deprecated: Use AccessSecretVersionResponse.ProtoReflect.Descriptor instead.

func (*AccessSecretVersionResponse) GetName Uses

func (x *AccessSecretVersionResponse) GetName() string

func (*AccessSecretVersionResponse) GetPayload Uses

func (x *AccessSecretVersionResponse) GetPayload() *SecretPayload

func (*AccessSecretVersionResponse) ProtoMessage Uses

func (*AccessSecretVersionResponse) ProtoMessage()

func (*AccessSecretVersionResponse) ProtoReflect Uses

func (x *AccessSecretVersionResponse) ProtoReflect() protoreflect.Message

func (*AccessSecretVersionResponse) Reset Uses

func (x *AccessSecretVersionResponse) Reset()

func (*AccessSecretVersionResponse) String Uses

func (x *AccessSecretVersionResponse) String() string

type AddSecretVersionRequest Uses

type AddSecretVersionRequest struct {

    // Required. The resource name of the [Secret][google.cloud.secretmanager.v1.Secret] to associate with the
    // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] in the format `projects/*/secrets/*`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The secret payload of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
    Payload *SecretPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
    // contains filtered or unexported fields
}

Request message for [SecretManagerService.AddSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AddSecretVersion].

func (*AddSecretVersionRequest) Descriptor Uses

func (*AddSecretVersionRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddSecretVersionRequest.ProtoReflect.Descriptor instead.

func (*AddSecretVersionRequest) GetParent Uses

func (x *AddSecretVersionRequest) GetParent() string

func (*AddSecretVersionRequest) GetPayload Uses

func (x *AddSecretVersionRequest) GetPayload() *SecretPayload

func (*AddSecretVersionRequest) ProtoMessage Uses

func (*AddSecretVersionRequest) ProtoMessage()

func (*AddSecretVersionRequest) ProtoReflect Uses

func (x *AddSecretVersionRequest) ProtoReflect() protoreflect.Message

func (*AddSecretVersionRequest) Reset Uses

func (x *AddSecretVersionRequest) Reset()

func (*AddSecretVersionRequest) String Uses

func (x *AddSecretVersionRequest) String() string

type CreateSecretRequest Uses

type CreateSecretRequest struct {

    // Required. The resource name of the project to associate with the
    // [Secret][google.cloud.secretmanager.v1.Secret], in the format `projects/*`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. This must be unique within the project.
    //
    // A secret ID is a string with a maximum length of 255 characters and can
    // contain uppercase and lowercase letters, numerals, and the hyphen (`-`) and
    // underscore (`_`) characters.
    SecretId string `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
    // Required. A [Secret][google.cloud.secretmanager.v1.Secret] with initial field values.
    Secret *Secret `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
    // contains filtered or unexported fields
}

Request message for [SecretManagerService.CreateSecret][google.cloud.secretmanager.v1.SecretManagerService.CreateSecret].

func (*CreateSecretRequest) Descriptor Uses

func (*CreateSecretRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSecretRequest.ProtoReflect.Descriptor instead.

func (*CreateSecretRequest) GetParent Uses

func (x *CreateSecretRequest) GetParent() string

func (*CreateSecretRequest) GetSecret Uses

func (x *CreateSecretRequest) GetSecret() *Secret

func (*CreateSecretRequest) GetSecretId Uses

func (x *CreateSecretRequest) GetSecretId() string

func (*CreateSecretRequest) ProtoMessage Uses

func (*CreateSecretRequest) ProtoMessage()

func (*CreateSecretRequest) ProtoReflect Uses

func (x *CreateSecretRequest) ProtoReflect() protoreflect.Message

func (*CreateSecretRequest) Reset Uses

func (x *CreateSecretRequest) Reset()

func (*CreateSecretRequest) String Uses

func (x *CreateSecretRequest) String() string

type DeleteSecretRequest Uses

type DeleteSecretRequest struct {

    // Required. The resource name of the [Secret][google.cloud.secretmanager.v1.Secret] to delete in the format
    // `projects/*/secrets/*`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request message for [SecretManagerService.DeleteSecret][google.cloud.secretmanager.v1.SecretManagerService.DeleteSecret].

func (*DeleteSecretRequest) Descriptor Uses

func (*DeleteSecretRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSecretRequest.ProtoReflect.Descriptor instead.

func (*DeleteSecretRequest) GetName Uses

func (x *DeleteSecretRequest) GetName() string

func (*DeleteSecretRequest) ProtoMessage Uses

func (*DeleteSecretRequest) ProtoMessage()

func (*DeleteSecretRequest) ProtoReflect Uses

func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message

func (*DeleteSecretRequest) Reset Uses

func (x *DeleteSecretRequest) Reset()

func (*DeleteSecretRequest) String Uses

func (x *DeleteSecretRequest) String() string

type DestroySecretVersionRequest Uses

type DestroySecretVersionRequest struct {

    // Required. The resource name of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to destroy in the format
    // `projects/*/secrets/*/versions/*`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request message for [SecretManagerService.DestroySecretVersion][google.cloud.secretmanager.v1.SecretManagerService.DestroySecretVersion].

func (*DestroySecretVersionRequest) Descriptor Uses

func (*DestroySecretVersionRequest) Descriptor() ([]byte, []int)

Deprecated: Use DestroySecretVersionRequest.ProtoReflect.Descriptor instead.

func (*DestroySecretVersionRequest) GetName Uses

func (x *DestroySecretVersionRequest) GetName() string

func (*DestroySecretVersionRequest) ProtoMessage Uses

func (*DestroySecretVersionRequest) ProtoMessage()

func (*DestroySecretVersionRequest) ProtoReflect Uses

func (x *DestroySecretVersionRequest) ProtoReflect() protoreflect.Message

func (*DestroySecretVersionRequest) Reset Uses

func (x *DestroySecretVersionRequest) Reset()

func (*DestroySecretVersionRequest) String Uses

func (x *DestroySecretVersionRequest) String() string

type DisableSecretVersionRequest Uses

type DisableSecretVersionRequest struct {

    // Required. The resource name of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to disable in the format
    // `projects/*/secrets/*/versions/*`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request message for [SecretManagerService.DisableSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.DisableSecretVersion].

func (*DisableSecretVersionRequest) Descriptor Uses

func (*DisableSecretVersionRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisableSecretVersionRequest.ProtoReflect.Descriptor instead.

func (*DisableSecretVersionRequest) GetName Uses

func (x *DisableSecretVersionRequest) GetName() string

func (*DisableSecretVersionRequest) ProtoMessage Uses

func (*DisableSecretVersionRequest) ProtoMessage()

func (*DisableSecretVersionRequest) ProtoReflect Uses

func (x *DisableSecretVersionRequest) ProtoReflect() protoreflect.Message

func (*DisableSecretVersionRequest) Reset Uses

func (x *DisableSecretVersionRequest) Reset()

func (*DisableSecretVersionRequest) String Uses

func (x *DisableSecretVersionRequest) String() string

type EnableSecretVersionRequest Uses

type EnableSecretVersionRequest struct {

    // Required. The resource name of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to enable in the format
    // `projects/*/secrets/*/versions/*`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request message for [SecretManagerService.EnableSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.EnableSecretVersion].

func (*EnableSecretVersionRequest) Descriptor Uses

func (*EnableSecretVersionRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnableSecretVersionRequest.ProtoReflect.Descriptor instead.

func (*EnableSecretVersionRequest) GetName Uses

func (x *EnableSecretVersionRequest) GetName() string

func (*EnableSecretVersionRequest) ProtoMessage Uses

func (*EnableSecretVersionRequest) ProtoMessage()

func (*EnableSecretVersionRequest) ProtoReflect Uses

func (x *EnableSecretVersionRequest) ProtoReflect() protoreflect.Message

func (*EnableSecretVersionRequest) Reset Uses

func (x *EnableSecretVersionRequest) Reset()

func (*EnableSecretVersionRequest) String Uses

func (x *EnableSecretVersionRequest) String() string

type GetSecretRequest Uses

type GetSecretRequest struct {

    // Required. The resource name of the [Secret][google.cloud.secretmanager.v1.Secret], in the format `projects/*/secrets/*`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request message for [SecretManagerService.GetSecret][google.cloud.secretmanager.v1.SecretManagerService.GetSecret].

func (*GetSecretRequest) Descriptor Uses

func (*GetSecretRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSecretRequest.ProtoReflect.Descriptor instead.

func (*GetSecretRequest) GetName Uses

func (x *GetSecretRequest) GetName() string

func (*GetSecretRequest) ProtoMessage Uses

func (*GetSecretRequest) ProtoMessage()

func (*GetSecretRequest) ProtoReflect Uses

func (x *GetSecretRequest) ProtoReflect() protoreflect.Message

func (*GetSecretRequest) Reset Uses

func (x *GetSecretRequest) Reset()

func (*GetSecretRequest) String Uses

func (x *GetSecretRequest) String() string

type GetSecretVersionRequest Uses

type GetSecretVersionRequest struct {

    // Required. The resource name of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] in the format
    // `projects/*/secrets/*/versions/*`.
    // `projects/*/secrets/*/versions/latest` is an alias to the `latest`
    // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request message for [SecretManagerService.GetSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.GetSecretVersion].

func (*GetSecretVersionRequest) Descriptor Uses

func (*GetSecretVersionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSecretVersionRequest.ProtoReflect.Descriptor instead.

func (*GetSecretVersionRequest) GetName Uses

func (x *GetSecretVersionRequest) GetName() string

func (*GetSecretVersionRequest) ProtoMessage Uses

func (*GetSecretVersionRequest) ProtoMessage()

func (*GetSecretVersionRequest) ProtoReflect Uses

func (x *GetSecretVersionRequest) ProtoReflect() protoreflect.Message

func (*GetSecretVersionRequest) Reset Uses

func (x *GetSecretVersionRequest) Reset()

func (*GetSecretVersionRequest) String Uses

func (x *GetSecretVersionRequest) String() string

type ListSecretVersionsRequest Uses

type ListSecretVersionsRequest struct {

    // Required. The resource name of the [Secret][google.cloud.secretmanager.v1.Secret] associated with the
    // [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] to list, in the format
    // `projects/*/secrets/*`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Optional. The maximum number of results to be returned in a single page. If
    // set to 0, the server decides the number of results to return. If the
    // number is greater than 25000, it is capped at 25000.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Optional. Pagination token, returned earlier via
    // ListSecretVersionsResponse.next_page_token][].
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

Request message for [SecretManagerService.ListSecretVersions][google.cloud.secretmanager.v1.SecretManagerService.ListSecretVersions].

func (*ListSecretVersionsRequest) Descriptor Uses

func (*ListSecretVersionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSecretVersionsRequest.ProtoReflect.Descriptor instead.

func (*ListSecretVersionsRequest) GetPageSize Uses

func (x *ListSecretVersionsRequest) GetPageSize() int32

func (*ListSecretVersionsRequest) GetPageToken Uses

func (x *ListSecretVersionsRequest) GetPageToken() string

func (*ListSecretVersionsRequest) GetParent Uses

func (x *ListSecretVersionsRequest) GetParent() string

func (*ListSecretVersionsRequest) ProtoMessage Uses

func (*ListSecretVersionsRequest) ProtoMessage()

func (*ListSecretVersionsRequest) ProtoReflect Uses

func (x *ListSecretVersionsRequest) ProtoReflect() protoreflect.Message

func (*ListSecretVersionsRequest) Reset Uses

func (x *ListSecretVersionsRequest) Reset()

func (*ListSecretVersionsRequest) String Uses

func (x *ListSecretVersionsRequest) String() string

type ListSecretVersionsResponse Uses

type ListSecretVersionsResponse struct {

    // The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
    // create_time (newest first).
    Versions []*SecretVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
    // A token to retrieve the next page of results. Pass this value in
    // [ListSecretVersionsRequest.page_token][google.cloud.secretmanager.v1.ListSecretVersionsRequest.page_token] to retrieve the next page.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // The total number of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion].
    TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
    // contains filtered or unexported fields
}

Response message for [SecretManagerService.ListSecretVersions][google.cloud.secretmanager.v1.SecretManagerService.ListSecretVersions].

func (*ListSecretVersionsResponse) Descriptor Uses

func (*ListSecretVersionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSecretVersionsResponse.ProtoReflect.Descriptor instead.

func (*ListSecretVersionsResponse) GetNextPageToken Uses

func (x *ListSecretVersionsResponse) GetNextPageToken() string

func (*ListSecretVersionsResponse) GetTotalSize Uses

func (x *ListSecretVersionsResponse) GetTotalSize() int32

func (*ListSecretVersionsResponse) GetVersions Uses

func (x *ListSecretVersionsResponse) GetVersions() []*SecretVersion

func (*ListSecretVersionsResponse) ProtoMessage Uses

func (*ListSecretVersionsResponse) ProtoMessage()

func (*ListSecretVersionsResponse) ProtoReflect Uses

func (x *ListSecretVersionsResponse) ProtoReflect() protoreflect.Message

func (*ListSecretVersionsResponse) Reset Uses

func (x *ListSecretVersionsResponse) Reset()

func (*ListSecretVersionsResponse) String Uses

func (x *ListSecretVersionsResponse) String() string

type ListSecretsRequest Uses

type ListSecretsRequest struct {

    // Required. The resource name of the project associated with the
    // [Secrets][google.cloud.secretmanager.v1.Secret], in the format `projects/*`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Optional. The maximum number of results to be returned in a single page. If
    // set to 0, the server decides the number of results to return. If the
    // number is greater than 25000, it is capped at 25000.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Optional. Pagination token, returned earlier via
    // [ListSecretsResponse.next_page_token][google.cloud.secretmanager.v1.ListSecretsResponse.next_page_token].
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

Request message for [SecretManagerService.ListSecrets][google.cloud.secretmanager.v1.SecretManagerService.ListSecrets].

func (*ListSecretsRequest) Descriptor Uses

func (*ListSecretsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSecretsRequest.ProtoReflect.Descriptor instead.

func (*ListSecretsRequest) GetPageSize Uses

func (x *ListSecretsRequest) GetPageSize() int32

func (*ListSecretsRequest) GetPageToken Uses

func (x *ListSecretsRequest) GetPageToken() string

func (*ListSecretsRequest) GetParent Uses

func (x *ListSecretsRequest) GetParent() string

func (*ListSecretsRequest) ProtoMessage Uses

func (*ListSecretsRequest) ProtoMessage()

func (*ListSecretsRequest) ProtoReflect Uses

func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message

func (*ListSecretsRequest) Reset Uses

func (x *ListSecretsRequest) Reset()

func (*ListSecretsRequest) String Uses

func (x *ListSecretsRequest) String() string

type ListSecretsResponse Uses

type ListSecretsResponse struct {

    // The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
    // first).
    Secrets []*Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"`
    // A token to retrieve the next page of results. Pass this value in
    // [ListSecretsRequest.page_token][google.cloud.secretmanager.v1.ListSecretsRequest.page_token] to retrieve the next page.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // The total number of [Secrets][google.cloud.secretmanager.v1.Secret].
    TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
    // contains filtered or unexported fields
}

Response message for [SecretManagerService.ListSecrets][google.cloud.secretmanager.v1.SecretManagerService.ListSecrets].

func (*ListSecretsResponse) Descriptor Uses

func (*ListSecretsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSecretsResponse.ProtoReflect.Descriptor instead.

func (*ListSecretsResponse) GetNextPageToken Uses

func (x *ListSecretsResponse) GetNextPageToken() string

func (*ListSecretsResponse) GetSecrets Uses

func (x *ListSecretsResponse) GetSecrets() []*Secret

func (*ListSecretsResponse) GetTotalSize Uses

func (x *ListSecretsResponse) GetTotalSize() int32

func (*ListSecretsResponse) ProtoMessage Uses

func (*ListSecretsResponse) ProtoMessage()

func (*ListSecretsResponse) ProtoReflect Uses

func (x *ListSecretsResponse) ProtoReflect() protoreflect.Message

func (*ListSecretsResponse) Reset Uses

func (x *ListSecretsResponse) Reset()

func (*ListSecretsResponse) String Uses

func (x *ListSecretsResponse) String() string

type Replication Uses

type Replication struct {

    // The replication policy for this secret.
    //
    // Types that are assignable to Replication:
    //	*Replication_Automatic_
    //	*Replication_UserManaged_
    Replication isReplication_Replication `protobuf_oneof:"replication"`
    // contains filtered or unexported fields
}

A policy that defines the replication configuration of data.

func (*Replication) Descriptor Uses

func (*Replication) Descriptor() ([]byte, []int)

Deprecated: Use Replication.ProtoReflect.Descriptor instead.

func (*Replication) GetAutomatic Uses

func (x *Replication) GetAutomatic() *Replication_Automatic

func (*Replication) GetReplication Uses

func (m *Replication) GetReplication() isReplication_Replication

func (*Replication) GetUserManaged Uses

func (x *Replication) GetUserManaged() *Replication_UserManaged

func (*Replication) ProtoMessage Uses

func (*Replication) ProtoMessage()

func (*Replication) ProtoReflect Uses

func (x *Replication) ProtoReflect() protoreflect.Message

func (*Replication) Reset Uses

func (x *Replication) Reset()

func (*Replication) String Uses

func (x *Replication) String() string

type Replication_Automatic Uses

type Replication_Automatic struct {
    // contains filtered or unexported fields
}

A replication policy that replicates the [Secret][google.cloud.secretmanager.v1.Secret] payload without any restrictions.

func (*Replication_Automatic) Descriptor Uses

func (*Replication_Automatic) Descriptor() ([]byte, []int)

Deprecated: Use Replication_Automatic.ProtoReflect.Descriptor instead.

func (*Replication_Automatic) ProtoMessage Uses

func (*Replication_Automatic) ProtoMessage()

func (*Replication_Automatic) ProtoReflect Uses

func (x *Replication_Automatic) ProtoReflect() protoreflect.Message

func (*Replication_Automatic) Reset Uses

func (x *Replication_Automatic) Reset()

func (*Replication_Automatic) String Uses

func (x *Replication_Automatic) String() string

type Replication_Automatic_ Uses

type Replication_Automatic_ struct {
    // The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
    Automatic *Replication_Automatic `protobuf:"bytes,1,opt,name=automatic,proto3,oneof"`
}

type Replication_UserManaged Uses

type Replication_UserManaged struct {

    // Required. The list of Replicas for this [Secret][google.cloud.secretmanager.v1.Secret].
    //
    // Cannot be empty.
    Replicas []*Replication_UserManaged_Replica `protobuf:"bytes,1,rep,name=replicas,proto3" json:"replicas,omitempty"`
    // contains filtered or unexported fields
}

A replication policy that replicates the [Secret][google.cloud.secretmanager.v1.Secret] payload into the locations specified in [Secret.replication.user_managed.replicas][]

func (*Replication_UserManaged) Descriptor Uses

func (*Replication_UserManaged) Descriptor() ([]byte, []int)

Deprecated: Use Replication_UserManaged.ProtoReflect.Descriptor instead.

func (*Replication_UserManaged) GetReplicas Uses

func (x *Replication_UserManaged) GetReplicas() []*Replication_UserManaged_Replica

func (*Replication_UserManaged) ProtoMessage Uses

func (*Replication_UserManaged) ProtoMessage()

func (*Replication_UserManaged) ProtoReflect Uses

func (x *Replication_UserManaged) ProtoReflect() protoreflect.Message

func (*Replication_UserManaged) Reset Uses

func (x *Replication_UserManaged) Reset()

func (*Replication_UserManaged) String Uses

func (x *Replication_UserManaged) String() string

type Replication_UserManaged_ Uses

type Replication_UserManaged_ struct {
    // The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
    UserManaged *Replication_UserManaged `protobuf:"bytes,2,opt,name=user_managed,json=userManaged,proto3,oneof"`
}

type Replication_UserManaged_Replica Uses

type Replication_UserManaged_Replica struct {

    // The canonical IDs of the location to replicate data.
    // For example: `"us-east1"`.
    Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
    // contains filtered or unexported fields
}

Represents a Replica for this [Secret][google.cloud.secretmanager.v1.Secret].

func (*Replication_UserManaged_Replica) Descriptor Uses

func (*Replication_UserManaged_Replica) Descriptor() ([]byte, []int)

Deprecated: Use Replication_UserManaged_Replica.ProtoReflect.Descriptor instead.

func (*Replication_UserManaged_Replica) GetLocation Uses

func (x *Replication_UserManaged_Replica) GetLocation() string

func (*Replication_UserManaged_Replica) ProtoMessage Uses

func (*Replication_UserManaged_Replica) ProtoMessage()

func (*Replication_UserManaged_Replica) ProtoReflect Uses

func (x *Replication_UserManaged_Replica) ProtoReflect() protoreflect.Message

func (*Replication_UserManaged_Replica) Reset Uses

func (x *Replication_UserManaged_Replica) Reset()

func (*Replication_UserManaged_Replica) String Uses

func (x *Replication_UserManaged_Replica) String() string

type Secret Uses

type Secret struct {

    // Output only. The resource name of the [Secret][google.cloud.secretmanager.v1.Secret] in the format `projects/*/secrets/*`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. Immutable. The replication policy of the secret data attached to the [Secret][google.cloud.secretmanager.v1.Secret].
    //
    // The replication policy cannot be changed after the Secret has been created.
    Replication *Replication `protobuf:"bytes,2,opt,name=replication,proto3" json:"replication,omitempty"`
    // Output only. The time at which the [Secret][google.cloud.secretmanager.v1.Secret] was created.
    CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // The labels assigned to this Secret.
    //
    // Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
    // of maximum 128 bytes, and must conform to the following PCRE regular
    // expression: `[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}`
    //
    // Label values must be between 0 and 63 characters long, have a UTF-8
    // encoding of maximum 128 bytes, and must conform to the following PCRE
    // regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}`
    //
    // No more than 64 labels can be assigned to a given resource.
    Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

A [Secret][google.cloud.secretmanager.v1.Secret] is a logical secret whose value and versions can be accessed.

A [Secret][google.cloud.secretmanager.v1.Secret] is made up of zero or more [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] that represent the secret data.

func (*Secret) Descriptor Uses

func (*Secret) Descriptor() ([]byte, []int)

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetCreateTime Uses

func (x *Secret) GetCreateTime() *timestamp.Timestamp

func (*Secret) GetLabels Uses

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

func (*Secret) GetName Uses

func (x *Secret) GetName() string

func (*Secret) GetReplication Uses

func (x *Secret) GetReplication() *Replication

func (*Secret) ProtoMessage Uses

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect Uses

func (x *Secret) ProtoReflect() protoreflect.Message

func (*Secret) Reset Uses

func (x *Secret) Reset()

func (*Secret) String Uses

func (x *Secret) String() string

type SecretManagerServiceClient Uses

type SecretManagerServiceClient interface {
    // Lists [Secrets][google.cloud.secretmanager.v1.Secret].
    ListSecrets(ctx context.Context, in *ListSecretsRequest, opts ...grpc.CallOption) (*ListSecretsResponse, error)
    // Creates a new [Secret][google.cloud.secretmanager.v1.Secret] containing no [SecretVersions][google.cloud.secretmanager.v1.SecretVersion].
    CreateSecret(ctx context.Context, in *CreateSecretRequest, opts ...grpc.CallOption) (*Secret, error)
    // Creates a new [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] containing secret data and attaches
    // it to an existing [Secret][google.cloud.secretmanager.v1.Secret].
    AddSecretVersion(ctx context.Context, in *AddSecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error)
    // Gets metadata for a given [Secret][google.cloud.secretmanager.v1.Secret].
    GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*Secret, error)
    // Updates metadata of an existing [Secret][google.cloud.secretmanager.v1.Secret].
    UpdateSecret(ctx context.Context, in *UpdateSecretRequest, opts ...grpc.CallOption) (*Secret, error)
    // Deletes a [Secret][google.cloud.secretmanager.v1.Secret].
    DeleteSecret(ctx context.Context, in *DeleteSecretRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Lists [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. This call does not return secret
    // data.
    ListSecretVersions(ctx context.Context, in *ListSecretVersionsRequest, opts ...grpc.CallOption) (*ListSecretVersionsResponse, error)
    // Gets metadata for a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
    //
    // `projects/*/secrets/*/versions/latest` is an alias to the `latest`
    // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
    GetSecretVersion(ctx context.Context, in *GetSecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error)
    // Accesses a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. This call returns the secret data.
    //
    // `projects/*/secrets/*/versions/latest` is an alias to the `latest`
    // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
    AccessSecretVersion(ctx context.Context, in *AccessSecretVersionRequest, opts ...grpc.CallOption) (*AccessSecretVersionResponse, error)
    // Disables a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
    //
    // Sets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to
    // [DISABLED][google.cloud.secretmanager.v1.SecretVersion.State.DISABLED].
    DisableSecretVersion(ctx context.Context, in *DisableSecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error)
    // Enables a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
    //
    // Sets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to
    // [ENABLED][google.cloud.secretmanager.v1.SecretVersion.State.ENABLED].
    EnableSecretVersion(ctx context.Context, in *EnableSecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error)
    // Destroys a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
    //
    // Sets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to
    // [DESTROYED][google.cloud.secretmanager.v1.SecretVersion.State.DESTROYED] and irrevocably destroys the
    // secret data.
    DestroySecretVersion(ctx context.Context, in *DestroySecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error)
    // Sets the access control policy on the specified secret. Replaces any
    // existing policy.
    //
    // Permissions on [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] are enforced according
    // to the policy set on the associated [Secret][google.cloud.secretmanager.v1.Secret].
    SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
    // Gets the access control policy for a secret.
    // Returns empty policy if the secret exists and does not have a policy set.
    GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
    // Returns permissions that a caller has for the specified secret.
    // If the secret does not exist, this call returns an empty set of
    // permissions, not a NOT_FOUND error.
    //
    // Note: This operation is designed to be used for building permission-aware
    // UIs and command-line tools, not for authorization checking. This operation
    // may "fail open" without warning.
    TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
}

SecretManagerServiceClient is the client API for SecretManagerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewSecretManagerServiceClient Uses

func NewSecretManagerServiceClient(cc grpc.ClientConnInterface) SecretManagerServiceClient

type SecretManagerServiceServer Uses

type SecretManagerServiceServer interface {
    // Lists [Secrets][google.cloud.secretmanager.v1.Secret].
    ListSecrets(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error)
    // Creates a new [Secret][google.cloud.secretmanager.v1.Secret] containing no [SecretVersions][google.cloud.secretmanager.v1.SecretVersion].
    CreateSecret(context.Context, *CreateSecretRequest) (*Secret, error)
    // Creates a new [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] containing secret data and attaches
    // it to an existing [Secret][google.cloud.secretmanager.v1.Secret].
    AddSecretVersion(context.Context, *AddSecretVersionRequest) (*SecretVersion, error)
    // Gets metadata for a given [Secret][google.cloud.secretmanager.v1.Secret].
    GetSecret(context.Context, *GetSecretRequest) (*Secret, error)
    // Updates metadata of an existing [Secret][google.cloud.secretmanager.v1.Secret].
    UpdateSecret(context.Context, *UpdateSecretRequest) (*Secret, error)
    // Deletes a [Secret][google.cloud.secretmanager.v1.Secret].
    DeleteSecret(context.Context, *DeleteSecretRequest) (*empty.Empty, error)
    // Lists [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. This call does not return secret
    // data.
    ListSecretVersions(context.Context, *ListSecretVersionsRequest) (*ListSecretVersionsResponse, error)
    // Gets metadata for a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
    //
    // `projects/*/secrets/*/versions/latest` is an alias to the `latest`
    // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
    GetSecretVersion(context.Context, *GetSecretVersionRequest) (*SecretVersion, error)
    // Accesses a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. This call returns the secret data.
    //
    // `projects/*/secrets/*/versions/latest` is an alias to the `latest`
    // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
    AccessSecretVersion(context.Context, *AccessSecretVersionRequest) (*AccessSecretVersionResponse, error)
    // Disables a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
    //
    // Sets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to
    // [DISABLED][google.cloud.secretmanager.v1.SecretVersion.State.DISABLED].
    DisableSecretVersion(context.Context, *DisableSecretVersionRequest) (*SecretVersion, error)
    // Enables a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
    //
    // Sets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to
    // [ENABLED][google.cloud.secretmanager.v1.SecretVersion.State.ENABLED].
    EnableSecretVersion(context.Context, *EnableSecretVersionRequest) (*SecretVersion, error)
    // Destroys a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
    //
    // Sets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to
    // [DESTROYED][google.cloud.secretmanager.v1.SecretVersion.State.DESTROYED] and irrevocably destroys the
    // secret data.
    DestroySecretVersion(context.Context, *DestroySecretVersionRequest) (*SecretVersion, error)
    // Sets the access control policy on the specified secret. Replaces any
    // existing policy.
    //
    // Permissions on [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] are enforced according
    // to the policy set on the associated [Secret][google.cloud.secretmanager.v1.Secret].
    SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
    // Gets the access control policy for a secret.
    // Returns empty policy if the secret exists and does not have a policy set.
    GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
    // Returns permissions that a caller has for the specified secret.
    // If the secret does not exist, this call returns an empty set of
    // permissions, not a NOT_FOUND error.
    //
    // Note: This operation is designed to be used for building permission-aware
    // UIs and command-line tools, not for authorization checking. This operation
    // may "fail open" without warning.
    TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
}

SecretManagerServiceServer is the server API for SecretManagerService service.

type SecretPayload Uses

type SecretPayload struct {

    // The secret data. Must be no larger than 64KiB.
    Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
    // contains filtered or unexported fields
}

A secret payload resource in the Secret Manager API. This contains the sensitive secret payload that is associated with a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].

func (*SecretPayload) Descriptor Uses

func (*SecretPayload) Descriptor() ([]byte, []int)

Deprecated: Use SecretPayload.ProtoReflect.Descriptor instead.

func (*SecretPayload) GetData Uses

func (x *SecretPayload) GetData() []byte

func (*SecretPayload) ProtoMessage Uses

func (*SecretPayload) ProtoMessage()

func (*SecretPayload) ProtoReflect Uses

func (x *SecretPayload) ProtoReflect() protoreflect.Message

func (*SecretPayload) Reset Uses

func (x *SecretPayload) Reset()

func (*SecretPayload) String Uses

func (x *SecretPayload) String() string

type SecretVersion Uses

type SecretVersion struct {

    // Output only. The resource name of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] in the
    // format `projects/*/secrets/*/versions/*`.
    //
    // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] IDs in a [Secret][google.cloud.secretmanager.v1.Secret] start at 1 and
    // are incremented for each subsequent version of the secret.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Output only. The time at which the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] was created.
    CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Output only. The time this [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] was destroyed.
    // Only present if [state][google.cloud.secretmanager.v1.SecretVersion.state] is
    // [DESTROYED][google.cloud.secretmanager.v1.SecretVersion.State.DESTROYED].
    DestroyTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=destroy_time,json=destroyTime,proto3" json:"destroy_time,omitempty"`
    // Output only. The current state of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
    State SecretVersion_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.secretmanager.v1.SecretVersion_State" json:"state,omitempty"`
    // contains filtered or unexported fields
}

A secret version resource in the Secret Manager API.

func (*SecretVersion) Descriptor Uses

func (*SecretVersion) Descriptor() ([]byte, []int)

Deprecated: Use SecretVersion.ProtoReflect.Descriptor instead.

func (*SecretVersion) GetCreateTime Uses

func (x *SecretVersion) GetCreateTime() *timestamp.Timestamp

func (*SecretVersion) GetDestroyTime Uses

func (x *SecretVersion) GetDestroyTime() *timestamp.Timestamp

func (*SecretVersion) GetName Uses

func (x *SecretVersion) GetName() string

func (*SecretVersion) GetState Uses

func (x *SecretVersion) GetState() SecretVersion_State

func (*SecretVersion) ProtoMessage Uses

func (*SecretVersion) ProtoMessage()

func (*SecretVersion) ProtoReflect Uses

func (x *SecretVersion) ProtoReflect() protoreflect.Message

func (*SecretVersion) Reset Uses

func (x *SecretVersion) Reset()

func (*SecretVersion) String Uses

func (x *SecretVersion) String() string

type SecretVersion_State Uses

type SecretVersion_State int32

The state of a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion], indicating if it can be accessed.

const (
    // Not specified. This value is unused and invalid.
    SecretVersion_STATE_UNSPECIFIED SecretVersion_State = 0
    // The [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] may be accessed.
    SecretVersion_ENABLED SecretVersion_State = 1
    // The [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] may not be accessed, but the secret data
    // is still available and can be placed back into the [ENABLED][google.cloud.secretmanager.v1.SecretVersion.State.ENABLED]
    // state.
    SecretVersion_DISABLED SecretVersion_State = 2
    // The [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] is destroyed and the secret data is no longer
    // stored. A version may not leave this state once entered.
    SecretVersion_DESTROYED SecretVersion_State = 3
)

func (SecretVersion_State) Descriptor Uses

func (SecretVersion_State) Descriptor() protoreflect.EnumDescriptor

func (SecretVersion_State) Enum Uses

func (x SecretVersion_State) Enum() *SecretVersion_State

func (SecretVersion_State) EnumDescriptor Uses

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

Deprecated: Use SecretVersion_State.Descriptor instead.

func (SecretVersion_State) Number Uses

func (x SecretVersion_State) Number() protoreflect.EnumNumber

func (SecretVersion_State) String Uses

func (x SecretVersion_State) String() string

func (SecretVersion_State) Type Uses

func (SecretVersion_State) Type() protoreflect.EnumType

type UnimplementedSecretManagerServiceServer Uses

type UnimplementedSecretManagerServiceServer struct {
}

UnimplementedSecretManagerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSecretManagerServiceServer) AccessSecretVersion Uses

func (*UnimplementedSecretManagerServiceServer) AccessSecretVersion(context.Context, *AccessSecretVersionRequest) (*AccessSecretVersionResponse, error)

func (*UnimplementedSecretManagerServiceServer) AddSecretVersion Uses

func (*UnimplementedSecretManagerServiceServer) AddSecretVersion(context.Context, *AddSecretVersionRequest) (*SecretVersion, error)

func (*UnimplementedSecretManagerServiceServer) CreateSecret Uses

func (*UnimplementedSecretManagerServiceServer) CreateSecret(context.Context, *CreateSecretRequest) (*Secret, error)

func (*UnimplementedSecretManagerServiceServer) DeleteSecret Uses

func (*UnimplementedSecretManagerServiceServer) DeleteSecret(context.Context, *DeleteSecretRequest) (*empty.Empty, error)

func (*UnimplementedSecretManagerServiceServer) DestroySecretVersion Uses

func (*UnimplementedSecretManagerServiceServer) DestroySecretVersion(context.Context, *DestroySecretVersionRequest) (*SecretVersion, error)

func (*UnimplementedSecretManagerServiceServer) DisableSecretVersion Uses

func (*UnimplementedSecretManagerServiceServer) DisableSecretVersion(context.Context, *DisableSecretVersionRequest) (*SecretVersion, error)

func (*UnimplementedSecretManagerServiceServer) EnableSecretVersion Uses

func (*UnimplementedSecretManagerServiceServer) EnableSecretVersion(context.Context, *EnableSecretVersionRequest) (*SecretVersion, error)

func (*UnimplementedSecretManagerServiceServer) GetIamPolicy Uses

func (*UnimplementedSecretManagerServiceServer) GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedSecretManagerServiceServer) GetSecret Uses

func (*UnimplementedSecretManagerServiceServer) GetSecret(context.Context, *GetSecretRequest) (*Secret, error)

func (*UnimplementedSecretManagerServiceServer) GetSecretVersion Uses

func (*UnimplementedSecretManagerServiceServer) GetSecretVersion(context.Context, *GetSecretVersionRequest) (*SecretVersion, error)

func (*UnimplementedSecretManagerServiceServer) ListSecretVersions Uses

func (*UnimplementedSecretManagerServiceServer) ListSecretVersions(context.Context, *ListSecretVersionsRequest) (*ListSecretVersionsResponse, error)

func (*UnimplementedSecretManagerServiceServer) ListSecrets Uses

func (*UnimplementedSecretManagerServiceServer) ListSecrets(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error)

func (*UnimplementedSecretManagerServiceServer) SetIamPolicy Uses

func (*UnimplementedSecretManagerServiceServer) SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedSecretManagerServiceServer) TestIamPermissions Uses

func (*UnimplementedSecretManagerServiceServer) TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)

func (*UnimplementedSecretManagerServiceServer) UpdateSecret Uses

func (*UnimplementedSecretManagerServiceServer) UpdateSecret(context.Context, *UpdateSecretRequest) (*Secret, error)

type UpdateSecretRequest Uses

type UpdateSecretRequest struct {

    // Required. [Secret][google.cloud.secretmanager.v1.Secret] with updated field values.
    Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
    // Required. Specifies the fields to be updated.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

Request message for [SecretManagerService.UpdateSecret][google.cloud.secretmanager.v1.SecretManagerService.UpdateSecret].

func (*UpdateSecretRequest) Descriptor Uses

func (*UpdateSecretRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSecretRequest.ProtoReflect.Descriptor instead.

func (*UpdateSecretRequest) GetSecret Uses

func (x *UpdateSecretRequest) GetSecret() *Secret

func (*UpdateSecretRequest) GetUpdateMask Uses

func (x *UpdateSecretRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateSecretRequest) ProtoMessage Uses

func (*UpdateSecretRequest) ProtoMessage()

func (*UpdateSecretRequest) ProtoReflect Uses

func (x *UpdateSecretRequest) ProtoReflect() protoreflect.Message

func (*UpdateSecretRequest) Reset Uses

func (x *UpdateSecretRequest) Reset()

func (*UpdateSecretRequest) String Uses

func (x *UpdateSecretRequest) String() string

Package secretmanager imports 14 packages (graph) and is imported by 10 packages. Updated 2020-06-17. Refresh now. Tools for package owners.