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
- val batchingSettings: BatchingSettings
-
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
getPublisherBuilder(topicName: String, creds: Option[GoogleCredentials]): Builder
Generates the builder used to create a publisher for Pub/Sub messages.
Generates the builder used to create a publisher for Pub/Sub messages.
- topicName
The topic within the Pub/Sub
- creds
The credentials needed to post the message
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val messageCountBatchSize: Long
-
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
- val requestBytesThreshold: Long
- val retrySettings: RetrySettings
-
def
setGCSAuthorization(credentials: Map[String, String], pipelineContext: PipelineContext): Unit
Given a credential map, this function will set the appropriate properties required for Spark access.
Given a credential map, this function will set the appropriate properties required for Spark access.
- credentials
The GCP auth map
- pipelineContext
The current pipeline context
-
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()