Class: Google::Apis::LookerV1::PeriodicExportConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/looker_v1/classes.rb,
lib/google/apis/looker_v1/representations.rb,
lib/google/apis/looker_v1/representations.rb

Overview

Configuration for periodic export.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PeriodicExportConfig

Returns a new instance of PeriodicExportConfig.



1158
1159
1160
# File 'lib/google/apis/looker_v1/classes.rb', line 1158

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#gcs_uriString

Required. Cloud Storage bucket URI for periodic export. Format: gs:// bucket_name Corresponds to the JSON property gcsUri

Returns:

  • (String)


1143
1144
1145
# File 'lib/google/apis/looker_v1/classes.rb', line 1143

def gcs_uri
  @gcs_uri
end

#kms_keyString

Required. Name of the CMEK key in KMS. Format: projects/project/locations/ location/keyRings/key_ring/cryptoKeys/crypto_key Corresponds to the JSON property kmsKey

Returns:

  • (String)


1149
1150
1151
# File 'lib/google/apis/looker_v1/classes.rb', line 1149

def kms_key
  @kms_key
end

#start_timeGoogle::Apis::LookerV1::TimeOfDay

Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp. Corresponds to the JSON property startTime



1156
1157
1158
# File 'lib/google/apis/looker_v1/classes.rb', line 1156

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1163
1164
1165
1166
1167
# File 'lib/google/apis/looker_v1/classes.rb', line 1163

def update!(**args)
  @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
  @kms_key = args[:kms_key] if args.key?(:kms_key)
  @start_time = args[:start_time] if args.key?(:start_time)
end