View Source GoogleApi.BigQuery.V2.Model.SparkStatistics (google_api_big_query v0.79.0)

Statistics for a BigSpark query. Populated as part of JobStatistics2

Attributes

  • endpoints (type: map(), default: nil) - Output only. Endpoints returned from Dataproc. Key list: - history_server_endpoint: A link to Spark job UI.
  • gcsStagingBucket (type: String.t, default: nil) - Output only. The Google Cloud Storage bucket that is used as the default file system by the Spark application. This field is only filled when the Spark procedure uses the invoker security mode. The gcsStagingBucket bucket is inferred from the @@spark_proc_properties.staging_bucket system variable (if it is provided). Otherwise, BigQuery creates a default staging bucket for the job and returns the bucket name in this field. Example: * gs://[bucket_name]
  • kmsKeyName (type: String.t, default: nil) - Output only. The Cloud KMS encryption key that is used to protect the resources created by the Spark job. If the Spark procedure uses the invoker security mode, the Cloud KMS encryption key is either inferred from the provided system variable, @@spark_proc_properties.kms_key_name, or the default key of the BigQuery job's project (if the CMEK organization policy is enforced). Otherwise, the Cloud KMS key is either inferred from the Spark connection associated with the procedure (if it is provided), or from the default key of the Spark connection's project if the CMEK organization policy is enforced. Example: * projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/cryptoKeys/[key]
  • loggingInfo (type: GoogleApi.BigQuery.V2.Model.SparkLoggingInfo.t, default: nil) - Output only. Logging info is used to generate a link to Cloud Logging.
  • sparkJobId (type: String.t, default: nil) - Output only. Spark job ID if a Spark job is created successfully.
  • sparkJobLocation (type: String.t, default: nil) - Output only. Location where the Spark job is executed. A location is selected by BigQueury for jobs configured to run in a multi-region.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BigQuery.V2.Model.SparkStatistics{
  endpoints: map() | nil,
  gcsStagingBucket: String.t() | nil,
  kmsKeyName: String.t() | nil,
  loggingInfo: GoogleApi.BigQuery.V2.Model.SparkLoggingInfo.t() | nil,
  sparkJobId: String.t() | nil,
  sparkJobLocation: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.