GoogleCloudRecommenderV1Operation.fromJson constructor
GoogleCloudRecommenderV1Operation.fromJson(
- Map json_
Implementation
GoogleCloudRecommenderV1Operation.fromJson(core.Map json_)
: this(
action: json_['action'] as core.String?,
path: json_['path'] as core.String?,
pathFilters: json_.containsKey('pathFilters')
? json_['pathFilters'] as core.Map<core.String, core.dynamic>
: null,
pathValueMatchers:
(json_['pathValueMatchers'] as core.Map<core.String, core.dynamic>?)
?.map(
(key, value) => core.MapEntry(
key,
GoogleCloudRecommenderV1ValueMatcher.fromJson(
value as core.Map<core.String, core.dynamic>,
),
),
),
resource: json_['resource'] as core.String?,
resourceType: json_['resourceType'] as core.String?,
sourcePath: json_['sourcePath'] as core.String?,
sourceResource: json_['sourceResource'] as core.String?,
value: json_['value'],
valueMatcher: json_.containsKey('valueMatcher')
? GoogleCloudRecommenderV1ValueMatcher.fromJson(
json_['valueMatcher'] as core.Map<core.String, core.dynamic>,
)
: null,
);