Interface Service.UpdateGatewaySecretOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsSecretValue​(java.lang.String key)
      Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
      java.lang.String getAuthConfigJson()
      Optional new auth configuration as JSON string.
      com.google.protobuf.ByteString getAuthConfigJsonBytes()
      Optional new auth configuration as JSON string.
      java.lang.String getSecretId()
      ID of the secret to update
      com.google.protobuf.ByteString getSecretIdBytes()
      ID of the secret to update
      java.util.Map<java.lang.String,​java.lang.String> getSecretValue()
      Deprecated.
      int getSecretValueCount()
      Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
      java.util.Map<java.lang.String,​java.lang.String> getSecretValueMap()
      Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
      java.lang.String getSecretValueOrDefault​(java.lang.String key, java.lang.String defaultValue)
      Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
      java.lang.String getSecretValueOrThrow​(java.lang.String key)
      Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
      java.lang.String getUpdatedBy()
      Username of the updater
      com.google.protobuf.ByteString getUpdatedByBytes()
      Username of the updater
      boolean hasAuthConfigJson()
      Optional new auth configuration as JSON string.
      boolean hasSecretId()
      ID of the secret to update
      boolean hasUpdatedBy()
      Username of the updater
      • 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 Detail

      • hasSecretId

        boolean hasSecretId()
         ID of the secret to update
         
        optional string secret_id = 1;
        Returns:
        Whether the secretId field is set.
      • getSecretId

        java.lang.String getSecretId()
         ID of the secret to update
         
        optional string secret_id = 1;
        Returns:
        The secretId.
      • getSecretIdBytes

        com.google.protobuf.ByteString getSecretIdBytes()
         ID of the secret to update
         
        optional string secret_id = 1;
        Returns:
        The bytes for secretId.
      • getSecretValueCount

        int getSecretValueCount()
         Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
         For simple API keys: {"api_key": "sk-xxx"}
         For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
         
        map<string, string> secret_value = 2;
      • containsSecretValue

        boolean containsSecretValue​(java.lang.String key)
         Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
         For simple API keys: {"api_key": "sk-xxx"}
         For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
         
        map<string, string> secret_value = 2;
      • getSecretValue

        @Deprecated
        java.util.Map<java.lang.String,​java.lang.String> getSecretValue()
        Deprecated.
        Use getSecretValueMap() instead.
      • getSecretValueMap

        java.util.Map<java.lang.String,​java.lang.String> getSecretValueMap()
         Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
         For simple API keys: {"api_key": "sk-xxx"}
         For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
         
        map<string, string> secret_value = 2;
      • getSecretValueOrDefault

        java.lang.String getSecretValueOrDefault​(java.lang.String key,
                                                 java.lang.String defaultValue)
         Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
         For simple API keys: {"api_key": "sk-xxx"}
         For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
         
        map<string, string> secret_value = 2;
      • getSecretValueOrThrow

        java.lang.String getSecretValueOrThrow​(java.lang.String key)
         Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
         For simple API keys: {"api_key": "sk-xxx"}
         For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
         
        map<string, string> secret_value = 2;
      • hasAuthConfigJson

        boolean hasAuthConfigJson()
         Optional new auth configuration as JSON string.
         For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
         
        optional string auth_config_json = 4;
        Returns:
        Whether the authConfigJson field is set.
      • getAuthConfigJson

        java.lang.String getAuthConfigJson()
         Optional new auth configuration as JSON string.
         For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
         
        optional string auth_config_json = 4;
        Returns:
        The authConfigJson.
      • getAuthConfigJsonBytes

        com.google.protobuf.ByteString getAuthConfigJsonBytes()
         Optional new auth configuration as JSON string.
         For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
         
        optional string auth_config_json = 4;
        Returns:
        The bytes for authConfigJson.
      • hasUpdatedBy

        boolean hasUpdatedBy()
         Username of the updater
         
        optional string updated_by = 5;
        Returns:
        Whether the updatedBy field is set.
      • getUpdatedBy

        java.lang.String getUpdatedBy()
         Username of the updater
         
        optional string updated_by = 5;
        Returns:
        The updatedBy.
      • getUpdatedByBytes

        com.google.protobuf.ByteString getUpdatedByBytes()
         Username of the updater
         
        optional string updated_by = 5;
        Returns:
        The bytes for updatedBy.