Vertex AI v1 API - Class SecretRef (3.74.0)
Stay organized with collections
Save and categorize content based on your preferences.
public sealed class SecretRef : IMessage<SecretRef>, IEquatable<SecretRef>, IDeepCloneable<SecretRef>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1 API class SecretRef.
Reference to a secret stored in the Cloud Secret Manager that will
provide the value for this environment variable.
Inheritance
object >
SecretRef
Namespace
Google.Cloud.AIPlatform.V1
Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
public SecretRef(SecretRef other)
Properties
public string Secret { get; set; }
Required. The name of the secret in Cloud Secret Manager.
Format: {secret_name}.
| Property Value |
| Type |
Description |
string |
|
public string Version { get; set; }
The Cloud Secret Manager secret version.
Can be 'latest' for the latest version, an integer for a specific
version, or a version alias.
| Property Value |
| Type |
Description |
string |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-30 UTC.
[null,null,["Last updated 2026-07-30 UTC."],[],[]]