public final class AttachedOidcConfig extends GeneratedMessageV3 implements AttachedOidcConfigOrBuilder
OIDC discovery information of the target cluster.
Kubernetes Service Account (KSA) tokens are JWT tokens signed by the cluster
API server. This fields indicates how GCP services
validate KSA tokens in order to allow system workloads (such as GKE Connect
and telemetry agents) to authenticate back to GCP.
Both clusters with public and private issuer URLs are supported.
Clusters with public issuers only need to specify the issuer_url
field
while clusters with private issuers need to provide both
issuer_url
and oidc_jwks
.
Protobuf type google.cloud.gkemulticloud.v1.AttachedOidcConfig
Static Fields
ISSUER_URL_FIELD_NUMBER
public static final int ISSUER_URL_FIELD_NUMBER
Field Value
JWKS_FIELD_NUMBER
public static final int JWKS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AttachedOidcConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AttachedOidcConfig.Builder newBuilder()
Returns
newBuilder(AttachedOidcConfig prototype)
public static AttachedOidcConfig.Builder newBuilder(AttachedOidcConfig prototype)
Parameter
Returns
public static AttachedOidcConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AttachedOidcConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AttachedOidcConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AttachedOidcConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AttachedOidcConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AttachedOidcConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AttachedOidcConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AttachedOidcConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AttachedOidcConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AttachedOidcConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AttachedOidcConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AttachedOidcConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AttachedOidcConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AttachedOidcConfig getDefaultInstanceForType()
Returns
getIssuerUrl()
public String getIssuerUrl()
A JSON Web Token (JWT) issuer URI. issuer
must start with https://
.
string issuer_url = 1;
Returns
Type | Description |
String | The issuerUrl.
|
getIssuerUrlBytes()
public ByteString getIssuerUrlBytes()
A JSON Web Token (JWT) issuer URI. issuer
must start with https://
.
string issuer_url = 1;
Returns
getJwks()
public ByteString getJwks()
Optional. OIDC verification keys in JWKS format (RFC 7517).
It contains a list of OIDC verification keys that can be used to verify
OIDC JWTs.
This field is required for cluster that doesn't have a publicly available
discovery endpoint. When provided, it will be directly used
to verify the OIDC JWT asserted by the IDP.
bytes jwks = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getParserForType()
public Parser<AttachedOidcConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AttachedOidcConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AttachedOidcConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AttachedOidcConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions