GoogleCloudContentwarehouseV1SetAclRequest.fromJson constructor

GoogleCloudContentwarehouseV1SetAclRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContentwarehouseV1SetAclRequest.fromJson(core.Map json_)
    : this(
        policy: json_.containsKey('policy')
            ? GoogleIamV1Policy.fromJson(
                json_['policy'] as core.Map<core.String, core.dynamic>)
            : null,
        projectOwner: json_.containsKey('projectOwner')
            ? json_['projectOwner'] as core.bool
            : null,
        requestMetadata: json_.containsKey('requestMetadata')
            ? GoogleCloudContentwarehouseV1RequestMetadata.fromJson(
                json_['requestMetadata']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );