toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'billingAccount': ?billingAccount,
'bucketId': ?bucketId,
'cmekSettings': ?pulumi.Input.mapOptionalInputValue<BillingAccountBucketConfigCmekSettings, Map<String, dynamic>>(cmekSettings, (value) => value.toMap()),
'deletionPolicy': ?deletionPolicy,
'description': ?description,
'indexConfigs': ?pulumi.Input.mapOptionalInputValue<List<BillingAccountBucketConfigIndexConfig>, List<Map<String, dynamic>>>(indexConfigs, (value) => pulumi.Input.encodeList<BillingAccountBucketConfigIndexConfig, Map<String, dynamic>>(value, (value) => value.toMap())),
'lifecycleState': ?lifecycleState,
'location': ?location,
'name': ?name,
'retentionDays': ?retentionDays,
};
}