package secretmanager

Import Path
	google.golang.org/genproto/googleapis/cloud/secretmanager/v1 (on go.dev)

Dependency Relation
	imports 14 packages, and imported by 2 packages

Involved Source Files resources.pb.go service.pb.go
Package-Level Type Names (total 39, in which 36 are exported)
/* sort exporteds by: | */
Request message for [SecretManagerService.AccessSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersion]. Required. The resource name of the [Secret][google.cloud.secretmanager.v1.Secret], in the format `projects/*/secrets/*`. Deprecated: Use AccessSecretVersionRequest.ProtoReflect.Descriptor instead. (*T) GetName() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func SecretManagerServiceClient.AccessSecretVersion(ctx context.Context, in *AccessSecretVersionRequest, opts ...grpc.CallOption) (*AccessSecretVersionResponse, error) func SecretManagerServiceServer.AccessSecretVersion(context.Context, *AccessSecretVersionRequest) (*AccessSecretVersionResponse, error) func (*UnimplementedSecretManagerServiceServer).AccessSecretVersion(context.Context, *AccessSecretVersionRequest) (*AccessSecretVersionResponse, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).AccessSecretVersion(ctx context.Context, req *AccessSecretVersionRequest, opts ...gax.CallOption) (*AccessSecretVersionResponse, error)
Response message for [SecretManagerService.AccessSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersion]. The resource name of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] in the format `projects/*/secrets/*/versions/*`. Secret payload Deprecated: Use AccessSecretVersionResponse.ProtoReflect.Descriptor instead. (*T) GetName() string (*T) GetPayload() *SecretPayload (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func SecretManagerServiceClient.AccessSecretVersion(ctx context.Context, in *AccessSecretVersionRequest, opts ...grpc.CallOption) (*AccessSecretVersionResponse, error) func SecretManagerServiceServer.AccessSecretVersion(context.Context, *AccessSecretVersionRequest) (*AccessSecretVersionResponse, error) func (*UnimplementedSecretManagerServiceServer).AccessSecretVersion(context.Context, *AccessSecretVersionRequest) (*AccessSecretVersionResponse, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).AccessSecretVersion(ctx context.Context, req *AccessSecretVersionRequest, opts ...gax.CallOption) (*AccessSecretVersionResponse, error)
Request message for [SecretManagerService.AddSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AddSecretVersion]. 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/*`. Required. The secret payload of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. Deprecated: Use AddSecretVersionRequest.ProtoReflect.Descriptor instead. (*T) GetParent() string (*T) GetPayload() *SecretPayload (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func SecretManagerServiceClient.AddSecretVersion(ctx context.Context, in *AddSecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error) func SecretManagerServiceServer.AddSecretVersion(context.Context, *AddSecretVersionRequest) (*SecretVersion, error) func (*UnimplementedSecretManagerServiceServer).AddSecretVersion(context.Context, *AddSecretVersionRequest) (*SecretVersion, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).AddSecretVersion(ctx context.Context, req *AddSecretVersionRequest, opts ...gax.CallOption) (*SecretVersion, error)
Request message for [SecretManagerService.CreateSecret][google.cloud.secretmanager.v1.SecretManagerService.CreateSecret]. Required. The resource name of the project to associate with the [Secret][google.cloud.secretmanager.v1.Secret], in the format `projects/*`. Required. A [Secret][google.cloud.secretmanager.v1.Secret] with initial field values. 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. Deprecated: Use CreateSecretRequest.ProtoReflect.Descriptor instead. (*T) GetParent() string (*T) GetSecret() *Secret (*T) GetSecretId() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func SecretManagerServiceClient.CreateSecret(ctx context.Context, in *CreateSecretRequest, opts ...grpc.CallOption) (*Secret, error) func SecretManagerServiceServer.CreateSecret(context.Context, *CreateSecretRequest) (*Secret, error) func (*UnimplementedSecretManagerServiceServer).CreateSecret(context.Context, *CreateSecretRequest) (*Secret, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).CreateSecret(ctx context.Context, req *CreateSecretRequest, opts ...gax.CallOption) (*Secret, error)
Configuration for encrypting secret payloads using customer-managed encryption keys (CMEK). Required. The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads. For secrets using the [UserManaged][google.cloud.secretmanager.v1.Replication.UserManaged] replication policy type, Cloud KMS CryptoKeys must reside in the same location as the [replica location][Secret.UserManaged.Replica.location]. For secrets using the [Automatic][google.cloud.secretmanager.v1.Replication.Automatic] replication policy type, Cloud KMS CryptoKeys must reside in `global`. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Deprecated: Use CustomerManagedEncryption.ProtoReflect.Descriptor instead. (*T) GetKmsKeyName() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*Replication_Automatic).GetCustomerManagedEncryption() *CustomerManagedEncryption func (*Replication_UserManaged_Replica).GetCustomerManagedEncryption() *CustomerManagedEncryption
Describes the status of customer-managed encryption. Required. The resource name of the Cloud KMS CryptoKeyVersion used to encrypt the secret payload, in the following format: `projects/*/locations/*/keyRings/*/cryptoKeys/*/versions/*`. Deprecated: Use CustomerManagedEncryptionStatus.ProtoReflect.Descriptor instead. (*T) GetKmsKeyVersionName() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*ReplicationStatus_AutomaticStatus).GetCustomerManagedEncryption() *CustomerManagedEncryptionStatus func (*ReplicationStatus_UserManagedStatus_ReplicaStatus).GetCustomerManagedEncryption() *CustomerManagedEncryptionStatus
Request message for [SecretManagerService.DeleteSecret][google.cloud.secretmanager.v1.SecretManagerService.DeleteSecret]. Required. The resource name of the [Secret][google.cloud.secretmanager.v1.Secret], in the format `projects/*/secrets/*`. Deprecated: Use DeleteSecretRequest.ProtoReflect.Descriptor instead. (*T) GetName() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func SecretManagerServiceClient.DeleteSecret(ctx context.Context, in *DeleteSecretRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) func SecretManagerServiceServer.DeleteSecret(context.Context, *DeleteSecretRequest) (*emptypb.Empty, error) func (*UnimplementedSecretManagerServiceServer).DeleteSecret(context.Context, *DeleteSecretRequest) (*emptypb.Empty, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).DeleteSecret(ctx context.Context, req *DeleteSecretRequest, opts ...gax.CallOption) error
Request message for [SecretManagerService.DestroySecretVersion][google.cloud.secretmanager.v1.SecretManagerService.DestroySecretVersion]. Required. The resource name of the [Secret][google.cloud.secretmanager.v1.Secret], in the format `projects/*/secrets/*`. Deprecated: Use DestroySecretVersionRequest.ProtoReflect.Descriptor instead. (*T) GetName() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func SecretManagerServiceClient.DestroySecretVersion(ctx context.Context, in *DestroySecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error) func SecretManagerServiceServer.DestroySecretVersion(context.Context, *DestroySecretVersionRequest) (*SecretVersion, error) func (*UnimplementedSecretManagerServiceServer).DestroySecretVersion(context.Context, *DestroySecretVersionRequest) (*SecretVersion, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).DestroySecretVersion(ctx context.Context, req *DestroySecretVersionRequest, opts ...gax.CallOption) (*SecretVersion, error)
Request message for [SecretManagerService.DisableSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.DisableSecretVersion]. Required. The resource name of the [Secret][google.cloud.secretmanager.v1.Secret], in the format `projects/*/secrets/*`. Deprecated: Use DisableSecretVersionRequest.ProtoReflect.Descriptor instead. (*T) GetName() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func SecretManagerServiceClient.DisableSecretVersion(ctx context.Context, in *DisableSecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error) func SecretManagerServiceServer.DisableSecretVersion(context.Context, *DisableSecretVersionRequest) (*SecretVersion, error) func (*UnimplementedSecretManagerServiceServer).DisableSecretVersion(context.Context, *DisableSecretVersionRequest) (*SecretVersion, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).DisableSecretVersion(ctx context.Context, req *DisableSecretVersionRequest, opts ...gax.CallOption) (*SecretVersion, error)
Request message for [SecretManagerService.EnableSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.EnableSecretVersion]. Required. The resource name of the [Secret][google.cloud.secretmanager.v1.Secret], in the format `projects/*/secrets/*`. Deprecated: Use EnableSecretVersionRequest.ProtoReflect.Descriptor instead. (*T) GetName() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func SecretManagerServiceClient.EnableSecretVersion(ctx context.Context, in *EnableSecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error) func SecretManagerServiceServer.EnableSecretVersion(context.Context, *EnableSecretVersionRequest) (*SecretVersion, error) func (*UnimplementedSecretManagerServiceServer).EnableSecretVersion(context.Context, *EnableSecretVersionRequest) (*SecretVersion, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).EnableSecretVersion(ctx context.Context, req *EnableSecretVersionRequest, opts ...gax.CallOption) (*SecretVersion, error)
Request message for [SecretManagerService.GetSecret][google.cloud.secretmanager.v1.SecretManagerService.GetSecret]. Required. The resource name of the [Secret][google.cloud.secretmanager.v1.Secret], in the format `projects/*/secrets/*`. Deprecated: Use GetSecretRequest.ProtoReflect.Descriptor instead. (*T) GetName() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func SecretManagerServiceClient.GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*Secret, error) func SecretManagerServiceServer.GetSecret(context.Context, *GetSecretRequest) (*Secret, error) func (*UnimplementedSecretManagerServiceServer).GetSecret(context.Context, *GetSecretRequest) (*Secret, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).GetSecret(ctx context.Context, req *GetSecretRequest, opts ...gax.CallOption) (*Secret, error)
Request message for [SecretManagerService.GetSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.GetSecretVersion]. Required. The resource name of the [Secret][google.cloud.secretmanager.v1.Secret], in the format `projects/*/secrets/*`. Deprecated: Use GetSecretVersionRequest.ProtoReflect.Descriptor instead. (*T) GetName() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func SecretManagerServiceClient.GetSecretVersion(ctx context.Context, in *GetSecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error) func SecretManagerServiceServer.GetSecretVersion(context.Context, *GetSecretVersionRequest) (*SecretVersion, error) func (*UnimplementedSecretManagerServiceServer).GetSecretVersion(context.Context, *GetSecretVersionRequest) (*SecretVersion, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).GetSecretVersion(ctx context.Context, req *GetSecretVersionRequest, opts ...gax.CallOption) (*SecretVersion, error)
Request message for [SecretManagerService.ListSecrets][google.cloud.secretmanager.v1.SecretManagerService.ListSecrets]. 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. Optional. Pagination token, returned earlier via [ListSecretsResponse.next_page_token][google.cloud.secretmanager.v1.ListSecretsResponse.next_page_token]. Required. The resource name of the project associated with the [Secrets][google.cloud.secretmanager.v1.Secret], in the format `projects/*`. Deprecated: Use ListSecretsRequest.ProtoReflect.Descriptor instead. (*T) GetPageSize() int32 (*T) GetPageToken() string (*T) GetParent() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func SecretManagerServiceClient.ListSecrets(ctx context.Context, in *ListSecretsRequest, opts ...grpc.CallOption) (*ListSecretsResponse, error) func SecretManagerServiceServer.ListSecrets(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error) func (*UnimplementedSecretManagerServiceServer).ListSecrets(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).ListSecrets(ctx context.Context, req *ListSecretsRequest, opts ...gax.CallOption) *secretmanager.SecretIterator
Response message for [SecretManagerService.ListSecrets][google.cloud.secretmanager.v1.SecretManagerService.ListSecrets]. 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. The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first). The total number of [Secrets][google.cloud.secretmanager.v1.Secret]. Deprecated: Use ListSecretsResponse.ProtoReflect.Descriptor instead. (*T) GetNextPageToken() string (*T) GetSecrets() []*Secret (*T) GetTotalSize() int32 (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func SecretManagerServiceClient.ListSecrets(ctx context.Context, in *ListSecretsRequest, opts ...grpc.CallOption) (*ListSecretsResponse, error) func SecretManagerServiceServer.ListSecrets(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error) func (*UnimplementedSecretManagerServiceServer).ListSecrets(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error)
Request message for [SecretManagerService.ListSecretVersions][google.cloud.secretmanager.v1.SecretManagerService.ListSecretVersions]. 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. Optional. Pagination token, returned earlier via [ListSecretsResponse.next_page_token][google.cloud.secretmanager.v1.ListSecretsResponse.next_page_token]. Required. The resource name of the project associated with the [Secrets][google.cloud.secretmanager.v1.Secret], in the format `projects/*`. Deprecated: Use ListSecretVersionsRequest.ProtoReflect.Descriptor instead. (*T) GetPageSize() int32 (*T) GetPageToken() string (*T) GetParent() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func SecretManagerServiceClient.ListSecretVersions(ctx context.Context, in *ListSecretVersionsRequest, opts ...grpc.CallOption) (*ListSecretVersionsResponse, error) func SecretManagerServiceServer.ListSecretVersions(context.Context, *ListSecretVersionsRequest) (*ListSecretVersionsResponse, error) func (*UnimplementedSecretManagerServiceServer).ListSecretVersions(context.Context, *ListSecretVersionsRequest) (*ListSecretVersionsResponse, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).ListSecretVersions(ctx context.Context, req *ListSecretVersionsRequest, opts ...gax.CallOption) *secretmanager.SecretVersionIterator
Response message for [SecretManagerService.ListSecretVersions][google.cloud.secretmanager.v1.SecretManagerService.ListSecretVersions]. 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. The total number of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first). Deprecated: Use ListSecretVersionsResponse.ProtoReflect.Descriptor instead. (*T) GetNextPageToken() string (*T) GetTotalSize() int32 (*T) GetVersions() []*SecretVersion (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func SecretManagerServiceClient.ListSecretVersions(ctx context.Context, in *ListSecretVersionsRequest, opts ...grpc.CallOption) (*ListSecretVersionsResponse, error) func SecretManagerServiceServer.ListSecretVersions(context.Context, *ListSecretVersionsRequest) (*ListSecretVersionsResponse, error) func (*UnimplementedSecretManagerServiceServer).ListSecretVersions(context.Context, *ListSecretVersionsRequest) (*ListSecretVersionsResponse, error)
A policy that defines the replication and encryption configuration of data. The replication policy for this secret. Types that are assignable to Replication: *Replication_Automatic_ *Replication_UserManaged_ Deprecated: Use Replication.ProtoReflect.Descriptor instead. (*T) GetAutomatic() *Replication_Automatic (*T) GetReplication() isReplication_Replication (*T) GetUserManaged() *Replication_UserManaged (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*Secret).GetReplication() *Replication
A replication policy that replicates the [Secret][google.cloud.secretmanager.v1.Secret] payload without any restrictions. Optional. The customer-managed encryption configuration of the [Secret][google.cloud.secretmanager.v1.Secret]. If no configuration is provided, Google-managed default encryption is used. Updates to the [Secret][google.cloud.secretmanager.v1.Secret] encryption configuration only apply to [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] added afterwards. They do not apply retroactively to existing [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. Deprecated: Use Replication_Automatic.ProtoReflect.Descriptor instead. (*T) GetCustomerManagedEncryption() *CustomerManagedEncryption (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*Replication).GetAutomatic() *Replication_Automatic
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
A replication policy that replicates the [Secret][google.cloud.secretmanager.v1.Secret] payload into the locations specified in [Secret.replication.user_managed.replicas][] Required. The list of Replicas for this [Secret][google.cloud.secretmanager.v1.Secret]. Cannot be empty. Deprecated: Use Replication_UserManaged.ProtoReflect.Descriptor instead. (*T) GetReplicas() []*Replication_UserManaged_Replica (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*Replication).GetUserManaged() *Replication_UserManaged
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
Represents a Replica for this [Secret][google.cloud.secretmanager.v1.Secret]. Optional. The customer-managed encryption configuration of the [User-Managed Replica][Replication.UserManaged.Replica]. If no configuration is provided, Google-managed default encryption is used. Updates to the [Secret][google.cloud.secretmanager.v1.Secret] encryption configuration only apply to [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] added afterwards. They do not apply retroactively to existing [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. The canonical IDs of the location to replicate data. For example: `"us-east1"`. Deprecated: Use Replication_UserManaged_Replica.ProtoReflect.Descriptor instead. (*T) GetCustomerManagedEncryption() *CustomerManagedEncryption (*T) GetLocation() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*Replication_UserManaged).GetReplicas() []*Replication_UserManaged_Replica
The replication status of a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. The replication status of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. Types that are assignable to ReplicationStatus: *ReplicationStatus_Automatic *ReplicationStatus_UserManaged Deprecated: Use ReplicationStatus.ProtoReflect.Descriptor instead. (*T) GetAutomatic() *ReplicationStatus_AutomaticStatus (*T) GetReplicationStatus() isReplicationStatus_ReplicationStatus (*T) GetUserManaged() *ReplicationStatus_UserManagedStatus (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*SecretVersion).GetReplicationStatus() *ReplicationStatus
Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] with automatic replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1.Secret] has an automatic replication policy.
The replication status of a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] using automatic replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1.Secret] has an automatic replication policy. Output only. The customer-managed encryption status of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. Only populated if customer-managed encryption is used. Deprecated: Use ReplicationStatus_AutomaticStatus.ProtoReflect.Descriptor instead. (*T) GetCustomerManagedEncryption() *CustomerManagedEncryptionStatus (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*ReplicationStatus).GetAutomatic() *ReplicationStatus_AutomaticStatus
Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] with user-managed replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1.Secret] has a user-managed replication policy.
The replication status of a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] using user-managed replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1.Secret] has a user-managed replication policy. Output only. The list of replica statuses for the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. Deprecated: Use ReplicationStatus_UserManagedStatus.ProtoReflect.Descriptor instead. (*T) GetReplicas() []*ReplicationStatus_UserManagedStatus_ReplicaStatus (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*ReplicationStatus).GetUserManaged() *ReplicationStatus_UserManagedStatus
Describes the status of a user-managed replica for the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. Output only. The customer-managed encryption status of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. Only populated if customer-managed encryption is used. Output only. The canonical ID of the replica location. For example: `"us-east1"`. Deprecated: Use ReplicationStatus_UserManagedStatus_ReplicaStatus.ProtoReflect.Descriptor instead. (*T) GetCustomerManagedEncryption() *CustomerManagedEncryptionStatus (*T) GetLocation() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*ReplicationStatus_UserManagedStatus).GetReplicas() []*ReplicationStatus_UserManagedStatus_ReplicaStatus
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. Output only. The time at which the [Secret][google.cloud.secretmanager.v1.Secret] was created. 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. Output only. The resource name of the [Secret][google.cloud.secretmanager.v1.Secret] in the format `projects/*/secrets/*`. 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. Deprecated: Use Secret.ProtoReflect.Descriptor instead. (*T) GetCreateTime() *timestamppb.Timestamp (*T) GetLabels() map[string]string (*T) GetName() string (*T) GetReplication() *Replication (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*CreateSecretRequest).GetSecret() *Secret func (*ListSecretsResponse).GetSecrets() []*Secret func SecretManagerServiceClient.CreateSecret(ctx context.Context, in *CreateSecretRequest, opts ...grpc.CallOption) (*Secret, error) func SecretManagerServiceClient.GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*Secret, error) func SecretManagerServiceClient.UpdateSecret(ctx context.Context, in *UpdateSecretRequest, opts ...grpc.CallOption) (*Secret, error) func SecretManagerServiceServer.CreateSecret(context.Context, *CreateSecretRequest) (*Secret, error) func SecretManagerServiceServer.GetSecret(context.Context, *GetSecretRequest) (*Secret, error) func SecretManagerServiceServer.UpdateSecret(context.Context, *UpdateSecretRequest) (*Secret, error) func (*UnimplementedSecretManagerServiceServer).CreateSecret(context.Context, *CreateSecretRequest) (*Secret, error) func (*UnimplementedSecretManagerServiceServer).GetSecret(context.Context, *GetSecretRequest) (*Secret, error) func (*UnimplementedSecretManagerServiceServer).UpdateSecret(context.Context, *UpdateSecretRequest) (*Secret, error) func (*UpdateSecretRequest).GetSecret() *Secret func cloud.google.com/go/secretmanager/apiv1.(*Client).CreateSecret(ctx context.Context, req *CreateSecretRequest, opts ...gax.CallOption) (*Secret, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).GetSecret(ctx context.Context, req *GetSecretRequest, opts ...gax.CallOption) (*Secret, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).UpdateSecret(ctx context.Context, req *UpdateSecretRequest, opts ...gax.CallOption) (*Secret, error) func cloud.google.com/go/secretmanager/apiv1.(*SecretIterator).Next() (*Secret, 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. 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]. Creates a new [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] containing secret data and attaches it to an existing [Secret][google.cloud.secretmanager.v1.Secret]. Creates a new [Secret][google.cloud.secretmanager.v1.Secret] containing no [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. Deletes a [Secret][google.cloud.secretmanager.v1.Secret]. 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. 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]. 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]. Gets the access control policy for a secret. Returns empty policy if the secret exists and does not have a policy set. Gets metadata for a given [Secret][google.cloud.secretmanager.v1.Secret]. 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]. Lists [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. This call does not return secret data. Lists [Secrets][google.cloud.secretmanager.v1.Secret]. 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]. 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. Updates metadata of an existing [Secret][google.cloud.secretmanager.v1.Secret]. T : google.golang.org/genproto/googleapis/iam/v1.IAMPolicyClient func NewSecretManagerServiceClient(cc grpc.ClientConnInterface) SecretManagerServiceClient
SecretManagerServiceServer is the server API for SecretManagerService service. 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]. Creates a new [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] containing secret data and attaches it to an existing [Secret][google.cloud.secretmanager.v1.Secret]. Creates a new [Secret][google.cloud.secretmanager.v1.Secret] containing no [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. Deletes a [Secret][google.cloud.secretmanager.v1.Secret]. 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. 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]. 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]. Gets the access control policy for a secret. Returns empty policy if the secret exists and does not have a policy set. Gets metadata for a given [Secret][google.cloud.secretmanager.v1.Secret]. 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]. Lists [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. This call does not return secret data. Lists [Secrets][google.cloud.secretmanager.v1.Secret]. 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]. 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. Updates metadata of an existing [Secret][google.cloud.secretmanager.v1.Secret]. *UnimplementedSecretManagerServiceServer T : google.golang.org/genproto/googleapis/iam/v1.IAMPolicyServer func RegisterSecretManagerServiceServer(s *grpc.Server, srv SecretManagerServiceServer)
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]. The secret data. Must be no larger than 64KiB. Deprecated: Use SecretPayload.ProtoReflect.Descriptor instead. (*T) GetData() []byte (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*AccessSecretVersionResponse).GetPayload() *SecretPayload func (*AddSecretVersionRequest).GetPayload() *SecretPayload
A secret version resource in the Secret Manager API. Output only. The time at which the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] was created. 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]. 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. The replication status of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. Output only. The current state of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. Deprecated: Use SecretVersion.ProtoReflect.Descriptor instead. (*T) GetCreateTime() *timestamppb.Timestamp (*T) GetDestroyTime() *timestamppb.Timestamp (*T) GetName() string (*T) GetReplicationStatus() *ReplicationStatus (*T) GetState() SecretVersion_State (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*ListSecretVersionsResponse).GetVersions() []*SecretVersion func SecretManagerServiceClient.AddSecretVersion(ctx context.Context, in *AddSecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error) func SecretManagerServiceClient.DestroySecretVersion(ctx context.Context, in *DestroySecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error) func SecretManagerServiceClient.DisableSecretVersion(ctx context.Context, in *DisableSecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error) func SecretManagerServiceClient.EnableSecretVersion(ctx context.Context, in *EnableSecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error) func SecretManagerServiceClient.GetSecretVersion(ctx context.Context, in *GetSecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error) func SecretManagerServiceServer.AddSecretVersion(context.Context, *AddSecretVersionRequest) (*SecretVersion, error) func SecretManagerServiceServer.DestroySecretVersion(context.Context, *DestroySecretVersionRequest) (*SecretVersion, error) func SecretManagerServiceServer.DisableSecretVersion(context.Context, *DisableSecretVersionRequest) (*SecretVersion, error) func SecretManagerServiceServer.EnableSecretVersion(context.Context, *EnableSecretVersionRequest) (*SecretVersion, error) func SecretManagerServiceServer.GetSecretVersion(context.Context, *GetSecretVersionRequest) (*SecretVersion, error) func (*UnimplementedSecretManagerServiceServer).AddSecretVersion(context.Context, *AddSecretVersionRequest) (*SecretVersion, error) func (*UnimplementedSecretManagerServiceServer).DestroySecretVersion(context.Context, *DestroySecretVersionRequest) (*SecretVersion, error) func (*UnimplementedSecretManagerServiceServer).DisableSecretVersion(context.Context, *DisableSecretVersionRequest) (*SecretVersion, error) func (*UnimplementedSecretManagerServiceServer).EnableSecretVersion(context.Context, *EnableSecretVersionRequest) (*SecretVersion, error) func (*UnimplementedSecretManagerServiceServer).GetSecretVersion(context.Context, *GetSecretVersionRequest) (*SecretVersion, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).AddSecretVersion(ctx context.Context, req *AddSecretVersionRequest, opts ...gax.CallOption) (*SecretVersion, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).DestroySecretVersion(ctx context.Context, req *DestroySecretVersionRequest, opts ...gax.CallOption) (*SecretVersion, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).DisableSecretVersion(ctx context.Context, req *DisableSecretVersionRequest, opts ...gax.CallOption) (*SecretVersion, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).EnableSecretVersion(ctx context.Context, req *EnableSecretVersionRequest, opts ...gax.CallOption) (*SecretVersion, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).GetSecretVersion(ctx context.Context, req *GetSecretVersionRequest, opts ...gax.CallOption) (*SecretVersion, error) func cloud.google.com/go/secretmanager/apiv1.(*SecretVersionIterator).Next() (*SecretVersion, error)
The state of a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion], indicating if it can be accessed. ( T) Descriptor() protoreflect.EnumDescriptor ( T) Enum() *SecretVersion_State Deprecated: Use SecretVersion_State.Descriptor instead. ( T) Number() protoreflect.EnumNumber ( T) String() string ( T) Type() protoreflect.EnumType T : google.golang.org/protobuf/reflect/protoreflect.Enum T : expvar.Var T : fmt.Stringer func (*SecretVersion).GetState() SecretVersion_State func SecretVersion_State.Enum() *SecretVersion_State const SecretVersion_DESTROYED const SecretVersion_DISABLED const SecretVersion_ENABLED const SecretVersion_STATE_UNSPECIFIED
UnimplementedSecretManagerServiceServer can be embedded to have forward compatible implementations. (*T) AccessSecretVersion(context.Context, *AccessSecretVersionRequest) (*AccessSecretVersionResponse, error) (*T) AddSecretVersion(context.Context, *AddSecretVersionRequest) (*SecretVersion, error) (*T) CreateSecret(context.Context, *CreateSecretRequest) (*Secret, error) (*T) DeleteSecret(context.Context, *DeleteSecretRequest) (*emptypb.Empty, error) (*T) DestroySecretVersion(context.Context, *DestroySecretVersionRequest) (*SecretVersion, error) (*T) DisableSecretVersion(context.Context, *DisableSecretVersionRequest) (*SecretVersion, error) (*T) EnableSecretVersion(context.Context, *EnableSecretVersionRequest) (*SecretVersion, error) (*T) GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) (*T) GetSecret(context.Context, *GetSecretRequest) (*Secret, error) (*T) GetSecretVersion(context.Context, *GetSecretVersionRequest) (*SecretVersion, error) (*T) ListSecretVersions(context.Context, *ListSecretVersionsRequest) (*ListSecretVersionsResponse, error) (*T) ListSecrets(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error) (*T) SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) (*T) TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) (*T) UpdateSecret(context.Context, *UpdateSecretRequest) (*Secret, error) *T : SecretManagerServiceServer *T : google.golang.org/genproto/googleapis/iam/v1.IAMPolicyServer
Request message for [SecretManagerService.UpdateSecret][google.cloud.secretmanager.v1.SecretManagerService.UpdateSecret]. Required. [Secret][google.cloud.secretmanager.v1.Secret] with updated field values. Required. Specifies the fields to be updated. Deprecated: Use UpdateSecretRequest.ProtoReflect.Descriptor instead. (*T) GetSecret() *Secret (*T) GetUpdateMask() *fieldmaskpb.FieldMask (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func SecretManagerServiceClient.UpdateSecret(ctx context.Context, in *UpdateSecretRequest, opts ...grpc.CallOption) (*Secret, error) func SecretManagerServiceServer.UpdateSecret(context.Context, *UpdateSecretRequest) (*Secret, error) func (*UnimplementedSecretManagerServiceServer).UpdateSecret(context.Context, *UpdateSecretRequest) (*Secret, error) func cloud.google.com/go/secretmanager/apiv1.(*Client).UpdateSecret(ctx context.Context, req *UpdateSecretRequest, opts ...gax.CallOption) (*Secret, error)
Package-Level Functions (total 23, in which 2 are exported)
Package-Level Constants (total 4, all are exported)
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.
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.
The [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] may be accessed.
Not specified. This value is unused and invalid.