Interface EnableSecretVersionRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
EnableSecretVersionRequest, EnableSecretVersionRequest.Builder

@Generated public interface EnableSecretVersionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       Required. The resource name of the
       [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] to enable
       in the format `projects/*/secrets/*/versions/*` or
       `projects/*/locations/*/secrets/*/versions/*`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The resource name of the
       [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] to enable
       in the format `projects/*/secrets/*/versions/*` or
       `projects/*/locations/*/secrets/*/versions/*`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • getEtag

      String getEtag()
       Optional. Etag of the
       [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. The
       request succeeds if it matches the etag of the currently stored secret
       version object. If the etag is omitted, the request succeeds.
       
      string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The etag.
    • getEtagBytes

      com.google.protobuf.ByteString getEtagBytes()
       Optional. Etag of the
       [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. The
       request succeeds if it matches the etag of the currently stored secret
       version object. If the etag is omitted, the request succeeds.
       
      string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for etag.