Send feedback Class Pipeline.Destination.AuthenticationConfig.OAuthToken (1.57.0) Stay organized with collections Save and categorize content based on your preferences.
Version 1.57.0keyboard_arrow_down
public static final class Pipeline . Destination . AuthenticationConfig . OAuthToken extends GeneratedMessageV3 implements Pipeline . Destination . AuthenticationConfig . OAuthTokenOrBuilder
Contains information needed for generating an OAuth token . This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
Protobuf type google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OAuthToken
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields SCOPE_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER
Field Value Type Description int
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value Type Description int
Static Methods getDefaultInstance()
public static Pipeline . Destination . AuthenticationConfig . OAuthToken getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Pipeline . Destination . AuthenticationConfig . OAuthToken . Builder newBuilder ()
newBuilder(Pipeline.Destination.AuthenticationConfig.OAuthToken )
public static Pipeline . Destination . AuthenticationConfig . OAuthToken . Builder newBuilder ( Pipeline . Destination . AuthenticationConfig . OAuthToken )
public static Pipeline . Destination . AuthenticationConfig . OAuthToken parseDelimitedFrom ( InputStream input )
public static Pipeline . Destination . AuthenticationConfig . OAuthToken parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Pipeline . Destination . AuthenticationConfig . OAuthToken parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Pipeline . Destination . AuthenticationConfig . OAuthToken parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Pipeline . Destination . AuthenticationConfig . OAuthToken parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Pipeline . Destination . AuthenticationConfig . OAuthToken parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Pipeline . Destination . AuthenticationConfig . OAuthToken parseFrom ( CodedInputStream input )
public static Pipeline . Destination . AuthenticationConfig . OAuthToken parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Pipeline . Destination . AuthenticationConfig . OAuthToken parseFrom ( InputStream input )
public static Pipeline . Destination . AuthenticationConfig . OAuthToken parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Pipeline . Destination . AuthenticationConfig . OAuthToken parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Pipeline . Destination . AuthenticationConfig . OAuthToken parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Pipeline . Destination . AuthenticationConfig . OAuthToken > parser ()
Methods equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides getDefaultInstanceForType()
public Pipeline . Destination . AuthenticationConfig . OAuthToken getDefaultInstanceForType ()
getParserForType()
public Parser<Pipeline . Destination . AuthenticationConfig . OAuthToken > getParserForType ()
Overrides getScope() Returns Type Description String
The scope.
getScopeBytes()
public ByteString getScopeBytes ()
Returns Type Description ByteString
The bytes for scope.
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides getServiceAccount()
public String getServiceAccount ()
Required. Service account email used to generate the OAuth token . The principal who calls this API must have iam.serviceAccounts.actAs permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. Eventarc service agents must have roles/roles/iam.serviceAccountTokenCreator role to allow Pipeline to create OAuth2 tokens for authenticated requests.
string service_account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns Type Description String
The serviceAccount.
getServiceAccountBytes()
public ByteString getServiceAccountBytes ()
Required. Service account email used to generate the OAuth token . The principal who calls this API must have iam.serviceAccounts.actAs permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. Eventarc service agents must have roles/roles/iam.serviceAccountTokenCreator role to allow Pipeline to create OAuth2 tokens for authenticated requests.
string service_account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns Type Description ByteString
The bytes for serviceAccount.
hashCode() Returns Type Description int
Overrides internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides isInitialized()
public final boolean isInitialized ()
Overrides newBuilderForType()
public Pipeline . Destination . AuthenticationConfig . OAuthToken . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Pipeline . Destination . AuthenticationConfig . OAuthToken . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides toBuilder()
public Pipeline . Destination . AuthenticationConfig . OAuthToken . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides Send feedback
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 2025-06-05 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-05 UTC."],[],[]]