Class: Google::Apis::CloudassetV1p7beta1::CreateExportSettingRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1p7beta1::CreateExportSettingRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1p7beta1/classes.rb,
lib/google/apis/cloudasset_v1p7beta1/representations.rb,
lib/google/apis/cloudasset_v1p7beta1/representations.rb
Instance Attribute Summary collapse
-
#export_setting ⇒ Google::Apis::CloudassetV1p7beta1::ExportSetting
Settings that configure CAI to export assets on given schedules.
-
#export_setting_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateExportSettingRequest
constructor
A new instance of CreateExportSettingRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateExportSettingRequest
Returns a new instance of CreateExportSettingRequest.
427 428 429 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 427 def initialize(**args) update!(**args) end |
Instance Attribute Details
#export_setting ⇒ Google::Apis::CloudassetV1p7beta1::ExportSetting
Settings that configure CAI to export assets on given schedules. An [
InventorySettings] might have multiple [ExportSetting], each with a unique
identifier.
Corresponds to the JSON property exportSetting
419 420 421 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 419 def export_setting @export_setting end |
#export_setting_id ⇒ String
Required. This is the client-assigned export setting identifier encoded in UTF-
8 and it needs to be unique under a specific [InventorySettings].
Corresponds to the JSON property exportSettingId
425 426 427 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 425 def export_setting_id @export_setting_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
432 433 434 435 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 432 def update!(**args) @export_setting = args[:export_setting] if args.key?(:export_setting) @export_setting_id = args[:export_setting_id] if args.key?(:export_setting_id) end |