Class: Google::Apis::CloudassetV1p7beta1::CreateExportSettingRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_settingGoogle::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_idString

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

Returns:

  • (String)


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