Class: Google::Apis::LookerV1::PeriodicExportConfig
- Inherits:
-
Object
- Object
- Google::Apis::LookerV1::PeriodicExportConfig
- 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
-
#gcs_uri ⇒ String
Required.
-
#kms_key ⇒ String
Required.
-
#start_time ⇒ Google::Apis::LookerV1::TimeOfDay
Represents a time of day.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PeriodicExportConfig
constructor
A new instance of PeriodicExportConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PeriodicExportConfig
Returns a new instance of PeriodicExportConfig.
1190 1191 1192 |
# File 'lib/google/apis/looker_v1/classes.rb', line 1190 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcs_uri ⇒ String
Required. Cloud Storage bucket URI for periodic export. Format: gs://
bucket_name
Corresponds to the JSON property gcsUri
1175 1176 1177 |
# File 'lib/google/apis/looker_v1/classes.rb', line 1175 def gcs_uri @gcs_uri end |
#kms_key ⇒ String
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
1181 1182 1183 |
# File 'lib/google/apis/looker_v1/classes.rb', line 1181 def kms_key @kms_key end |
#start_time ⇒ Google::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
1188 1189 1190 |
# File 'lib/google/apis/looker_v1/classes.rb', line 1188 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1195 1196 1197 1198 1199 |
# File 'lib/google/apis/looker_v1/classes.rb', line 1195 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 |