GoogleCloudOsconfigV2OrchestrationScopeSelector.fromJson constructor

GoogleCloudOsconfigV2OrchestrationScopeSelector.fromJson(
  1. Map json_
)

Implementation

GoogleCloudOsconfigV2OrchestrationScopeSelector.fromJson(core.Map json_)
  : this(
      locationSelector: json_.containsKey('locationSelector')
          ? GoogleCloudOsconfigV2OrchestrationScopeLocationSelector.fromJson(
              json_['locationSelector']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      resourceHierarchySelector:
          json_.containsKey('resourceHierarchySelector')
          ? GoogleCloudOsconfigV2OrchestrationScopeResourceHierarchySelector.fromJson(
              json_['resourceHierarchySelector']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );