OidcToken

com.google.pubsub.v1.pubsub.PushConfig$.OidcToken
See theOidcToken companion object
final case class OidcToken(serviceAccountEmail: String, audience: String, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[OidcToken]

Contains information needed for generating an OpenID Connect token.

Attributes

audience

Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.

serviceAccountEmail

Service account email to be used for generating the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.

Companion:
object
Source:
PushConfig.scala
Graph
Supertypes
trait Updatable[OidcToken]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Attributes

Source:
PushConfig.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source:
PushConfig.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source:
PushConfig.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
PushConfig.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns:

human-readable representation of this message.

Source:
PushConfig.scala

Attributes

Source:
PushConfig.scala
def withUnknownFields(`__v`: UnknownFieldSet): OidcToken

Attributes

Source:
PushConfig.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source:
PushConfig.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
def update(ms: Lens[OidcToken, OidcToken] => () => OidcToken*): A

Attributes

Inherited from:
Updatable
Source:
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala