Class Credential
java.lang.Object
com.google.genai.gaos.models.credentials.Credential
Credential
Server-managed credential resource stored in Secret Manager.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCredential(String id) Credential(OffsetDateTime createTime, String id, Status status, Type type, OffsetDateTime updateTime) -
Method Summary
Modifier and TypeMethodDescriptionstatic Credential.Builderbuilder()Output only.booleaninthashCode()id()Required.status()Output only.toString()type()Required.Output only.withCreateTime(OffsetDateTime createTime) Output only.Required.withStatus(Status status) Output only.Required.withUpdateTime(OffsetDateTime updateTime) Output only.
-
Constructor Details
-
Credential
public Credential(@Nullable OffsetDateTime createTime, @Nonnull String id, @Nullable Status status, @Nullable Type type, @Nullable OffsetDateTime updateTime) -
Credential
-
-
Method Details
-
createTime
Output only. The timestamp when the credential was created. -
id
Required. Output only. Identifier.Unique identifier for the credential.
-
status
Output only. Current status of the credential. -
type
Required. Output only. The type of credential. -
updateTime
Output only. The timestamp when the credential was last updated. -
builder
-
withCreateTime
Output only. The timestamp when the credential was created. -
withId
Required. Output only. Identifier.Unique identifier for the credential.
-
withStatus
Output only. Current status of the credential. -
withType
Required. Output only. The type of credential. -
withUpdateTime
Output only. The timestamp when the credential was last updated. -
equals
-
hashCode
public int hashCode() -
toString
-