toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (creationTime != null) 'creationTime': creationTime!,
      if (description != null) 'description': description!,
      if (diskSizeBytes != null) 'diskSizeBytes': diskSizeBytes!,
      if (id != null) 'id': id!,
      if (projectId != null) 'projectId': projectId!,
      if (pubsubMetadata != null) 'pubsubMetadata': pubsubMetadata!,
      if (region != null) 'region': region!,
      if (sourceJobId != null) 'sourceJobId': sourceJobId!,
      if (state != null) 'state': state!,
      if (ttl != null) 'ttl': ttl!,
    };