object GCPUtilities
- Alphabetic
- By Inheritance
- GCPUtilities
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
generateCredentials(credentials: Option[Map[String, String]]): Option[GoogleCredentials]
Retrieve the credentials needed to interact with GCP services.
Retrieve the credentials needed to interact with GCP services.
- credentials
TA map containing the Google credentials
- returns
An optional GoogleCredentials object
-
def
generateCredentialsByteArray(credentials: Option[Map[String, String]]): Option[Array[Byte]]
Given a credentials map, return a byte array
Given a credentials map, return a byte array
- credentials
The credentials map
- returns
A byte array or none
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getCredentialsFromCredentialProvider(credentialProvider: CredentialProvider, credentialName: String = "GCPCredential"): Option[GoogleCredentials]
Retrieve the credentials needed to interact with GCP services.
Retrieve the credentials needed to interact with GCP services.
- credentialProvider
The credential provider
- credentialName
The name of the credential
- returns
An optional GoogleCredentials object
-
def
getCredentialsFromPipelineContext(pipelineContext: PipelineContext, credentialName: String = "GCPCredential"): Option[GoogleCredentials]
Retrieve the credentials needed to interact with GCP services.
Retrieve the credentials needed to interact with GCP services.
- pipelineContext
The pipeline context containing the credential provider
- credentialName
The name of the credential
- returns
An optional GoogleCredentials object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
postMessage(topicName: String, creds: Option[GoogleCredentials], message: String): Boolean
Write a single message to a PubSub Topic using the provided credentials
Write a single message to a PubSub Topic using the provided credentials
- topicName
The topic within the Pub/Sub
- creds
The credentials needed to post the message
- message
The message to post to the Pub/Sub topic
- returns
A boolean indicating whether the message was published
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()