DataSourceGcpResourceInfo.fromJson constructor

DataSourceGcpResourceInfo.fromJson(
  1. Map json_
)

Implementation

DataSourceGcpResourceInfo.fromJson(core.Map json_)
  : this(
      alloyDbClusterProperties: json_.containsKey('alloyDbClusterProperties')
          ? AlloyDBClusterDataSourceReferenceProperties.fromJson(
              json_['alloyDbClusterProperties']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      cloudSqlInstanceProperties:
          json_.containsKey('cloudSqlInstanceProperties')
          ? CloudSqlInstanceDataSourceReferenceProperties.fromJson(
              json_['cloudSqlInstanceProperties']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      gcpResourcename: json_['gcpResourcename'] as core.String?,
      location: json_['location'] as core.String?,
      type: json_['type'] as core.String?,
    );