toJson method

Map<String, Object> toJson ()

Implementation

core.Map<core.String, core.Object> toJson() {
  final core.Map<core.String, core.Object> _json =
      new core.Map<core.String, core.Object>();
  if (appEngineRoutingOverride != null) {
    _json["appEngineRoutingOverride"] = (appEngineRoutingOverride).toJson();
  }
  if (name != null) {
    _json["name"] = name;
  }
  if (purgeTime != null) {
    _json["purgeTime"] = purgeTime;
  }
  if (rateLimits != null) {
    _json["rateLimits"] = (rateLimits).toJson();
  }
  if (retryConfig != null) {
    _json["retryConfig"] = (retryConfig).toJson();
  }
  if (stackdriverLoggingConfig != null) {
    _json["stackdriverLoggingConfig"] = (stackdriverLoggingConfig).toJson();
  }
  if (state != null) {
    _json["state"] = state;
  }
  return _json;
}