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 Google Cloud Platform services
validate KSA tokens in order to allow system workloads (such as GKE Connect
and telemetry agents) to authenticate back to Google Cloud Platform.
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
ISSUER_URL_FIELD_NUMBER
public static final int ISSUER_URL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
JWKS_FIELD_NUMBER
public static final int JWKS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AttachedOidcConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AttachedOidcConfig.Builder newBuilder()
newBuilder(AttachedOidcConfig prototype)
public static AttachedOidcConfig.Builder newBuilder(AttachedOidcConfig prototype)
public static AttachedOidcConfig parseDelimitedFrom(InputStream input)
public static AttachedOidcConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AttachedOidcConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AttachedOidcConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AttachedOidcConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AttachedOidcConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AttachedOidcConfig parseFrom(CodedInputStream input)
public static AttachedOidcConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AttachedOidcConfig parseFrom(InputStream input)
public static AttachedOidcConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AttachedOidcConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AttachedOidcConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AttachedOidcConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public AttachedOidcConfig getDefaultInstanceForType()
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 |
---|
Type | Description |
ByteString | The bytes for issuerUrl.
|
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];
getParserForType()
public Parser<AttachedOidcConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AttachedOidcConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AttachedOidcConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AttachedOidcConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides