- 3.48.0 (latest)
- 3.47.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.0.0
- 1.2.5
- 1.1.8
- 0.2.0
public interface ServiceAccountKeyOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDisabled()
public abstract boolean getDisabled()
The key status.
bool disabled = 11;
Returns | |
---|---|
Type | Description |
boolean |
The disabled. |
getKeyAlgorithm()
public abstract ServiceAccountKeyAlgorithm getKeyAlgorithm()
Specifies the algorithm (and possibly key size) for the key.
.google.iam.admin.v1.ServiceAccountKeyAlgorithm key_algorithm = 8;
Returns | |
---|---|
Type | Description |
ServiceAccountKeyAlgorithm |
The keyAlgorithm. |
getKeyAlgorithmValue()
public abstract int getKeyAlgorithmValue()
Specifies the algorithm (and possibly key size) for the key.
.google.iam.admin.v1.ServiceAccountKeyAlgorithm key_algorithm = 8;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for keyAlgorithm. |
getKeyOrigin()
public abstract ServiceAccountKeyOrigin getKeyOrigin()
The key origin.
.google.iam.admin.v1.ServiceAccountKeyOrigin key_origin = 9;
Returns | |
---|---|
Type | Description |
ServiceAccountKeyOrigin |
The keyOrigin. |
getKeyOriginValue()
public abstract int getKeyOriginValue()
The key origin.
.google.iam.admin.v1.ServiceAccountKeyOrigin key_origin = 9;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for keyOrigin. |
getKeyType()
public abstract ListServiceAccountKeysRequest.KeyType getKeyType()
The key type.
.google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_type = 10;
Returns | |
---|---|
Type | Description |
ListServiceAccountKeysRequest.KeyType |
The keyType. |
getKeyTypeValue()
public abstract int getKeyTypeValue()
The key type.
.google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_type = 10;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for keyType. |
getName()
public abstract String getName()
The resource name of the service account key in the following format
projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}
.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
The resource name of the service account key in the following format
projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}
.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getPrivateKeyData()
public abstract ByteString getPrivateKeyData()
The private key data. Only provided in CreateServiceAccountKey
responses. Make sure to keep the private key data secure because it
allows for the assertion of the service account identity.
When base64 decoded, the private key data can be used to authenticate with
Google API client libraries and with
<a href="/sdk/gcloud/reference/auth/activate-service-account">gcloud
auth activate-service-account</a>.
bytes private_key_data = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The privateKeyData. |
getPrivateKeyType()
public abstract ServiceAccountPrivateKeyType getPrivateKeyType()
The output format for the private key.
Only provided in CreateServiceAccountKey
responses, not
in GetServiceAccountKey
or ListServiceAccountKey
responses.
Google never exposes system-managed private keys, and never retains user-managed private keys.
.google.iam.admin.v1.ServiceAccountPrivateKeyType private_key_type = 2;
Returns | |
---|---|
Type | Description |
ServiceAccountPrivateKeyType |
The privateKeyType. |
getPrivateKeyTypeValue()
public abstract int getPrivateKeyTypeValue()
The output format for the private key.
Only provided in CreateServiceAccountKey
responses, not
in GetServiceAccountKey
or ListServiceAccountKey
responses.
Google never exposes system-managed private keys, and never retains user-managed private keys.
.google.iam.admin.v1.ServiceAccountPrivateKeyType private_key_type = 2;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for privateKeyType. |
getPublicKeyData()
public abstract ByteString getPublicKeyData()
The public key data. Only provided in GetServiceAccountKey
responses.
bytes public_key_data = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The publicKeyData. |
getValidAfterTime()
public abstract Timestamp getValidAfterTime()
The key can be used after this timestamp.
.google.protobuf.Timestamp valid_after_time = 4;
Returns | |
---|---|
Type | Description |
Timestamp |
The validAfterTime. |
getValidAfterTimeOrBuilder()
public abstract TimestampOrBuilder getValidAfterTimeOrBuilder()
The key can be used after this timestamp.
.google.protobuf.Timestamp valid_after_time = 4;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getValidBeforeTime()
public abstract Timestamp getValidBeforeTime()
The key can be used before this timestamp. For system-managed key pairs, this timestamp is the end time for the private key signing operation. The public key could still be used for verification for a few hours after this time.
.google.protobuf.Timestamp valid_before_time = 5;
Returns | |
---|---|
Type | Description |
Timestamp |
The validBeforeTime. |
getValidBeforeTimeOrBuilder()
public abstract TimestampOrBuilder getValidBeforeTimeOrBuilder()
The key can be used before this timestamp. For system-managed key pairs, this timestamp is the end time for the private key signing operation. The public key could still be used for verification for a few hours after this time.
.google.protobuf.Timestamp valid_before_time = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasValidAfterTime()
public abstract boolean hasValidAfterTime()
The key can be used after this timestamp.
.google.protobuf.Timestamp valid_after_time = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the validAfterTime field is set. |
hasValidBeforeTime()
public abstract boolean hasValidBeforeTime()
The key can be used before this timestamp. For system-managed key pairs, this timestamp is the end time for the private key signing operation. The public key could still be used for verification for a few hours after this time.
.google.protobuf.Timestamp valid_before_time = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the validBeforeTime field is set. |