final case class AIInference(endpoint: String = "", inferenceMode: InferenceMode = com.google.pubsub.v1.pubsub.AIInference.InferenceMode.Empty, serviceAccountEmail: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[AIInference] with Product with Serializable
Configuration for making inference requests against Vertex AI models.
- endpoint
Required. An endpoint to a Vertex AI model of the form
projects/{project}/locations/{location}/endpoints/{endpoint}orprojects/{project}/locations/{location}/publishers/{publisher}/models/{model}. Vertex AI API requests will be sent to this endpoint.- serviceAccountEmail
Optional. The service account to use to make prediction requests against endpoints. The resource creator or updater that specifies this field must have
iam.serviceAccounts.actAspermission on the service account. If not specified, the Pub/Sub [service agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
- Annotations
- @SerialVersionUID()
- Source
- AIInference.scala
- Alphabetic
- By Inheritance
- AIInference
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AIInference(endpoint: String = "", inferenceMode: InferenceMode = com.google.pubsub.v1.pubsub.AIInference.InferenceMode.Empty, serviceAccountEmail: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- endpoint
Required. An endpoint to a Vertex AI model of the form
projects/{project}/locations/{location}/endpoints/{endpoint}orprojects/{project}/locations/{location}/publishers/{publisher}/models/{model}. Vertex AI API requests will be sent to this endpoint.- serviceAccountEmail
Optional. The service account to use to make prediction requests against endpoints. The resource creator or updater that specifies this field must have
iam.serviceAccounts.actAspermission on the service account. If not specified, the Pub/Sub [service agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearInferenceMode: AIInference
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: AIInference.type
- Definition Classes
- AIInference → GeneratedMessage
- def discardUnknownFields: AIInference
- val endpoint: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- AIInference → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- AIInference → GeneratedMessage
- def getUnstructuredInference: UnstructuredInference
- val inferenceMode: InferenceMode
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- AIInference → GeneratedMessage
- val serviceAccountEmail: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- AIInference → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[AIInference, AIInference]) => Mutation[AIInference]*): AIInference
- Definition Classes
- Updatable
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withEndpoint(__v: String): AIInference
- def withInferenceMode(__v: InferenceMode): AIInference
- def withServiceAccountEmail(__v: String): AIInference
- def withUnknownFields(__v: UnknownFieldSet): AIInference
- def withUnstructuredInference(__v: UnstructuredInference): AIInference
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- AIInference → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage