Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: generated/googleapis/lib/serviceuser/v1.dart

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.serviceuser.v1; 3 library googleapis.serviceuser.v1;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:async' as async; 6 import 'dart:async' as async;
7 import 'dart:convert' as convert; 7 import 'dart:convert' as convert;
8 8
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
10 import 'package:http/http.dart' as http_1; 10 import 'package:http/http.dart' as http_1;
(...skipping 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after
1230 * the browser to determine whether the subsequent cross-origin request is 1230 * the browser to determine whether the subsequent cross-origin request is
1231 * allowed to proceed. 1231 * allowed to proceed.
1232 */ 1232 */
1233 core.bool allowCors; 1233 core.bool allowCors;
1234 /** The list of APIs served by this endpoint. */ 1234 /** The list of APIs served by this endpoint. */
1235 core.List<core.String> apis; 1235 core.List<core.String> apis;
1236 /** The list of features enabled on this endpoint. */ 1236 /** The list of features enabled on this endpoint. */
1237 core.List<core.String> features; 1237 core.List<core.String> features;
1238 /** The canonical name of this endpoint. */ 1238 /** The canonical name of this endpoint. */
1239 core.String name; 1239 core.String name;
1240 /**
1241 * The specification of an Internet routable address of API frontend that will
1242 * handle requests to this [API
1243 * Endpoint](https://cloud.google.com/apis/design/glossary).
1244 * It should be either a valid IPv4 address or a fully-qualified domain name.
1245 * For example, "8.8.8.8" or "myservice.appspot.com".
1246 */
1247 core.String target;
1240 1248
1241 Endpoint(); 1249 Endpoint();
1242 1250
1243 Endpoint.fromJson(core.Map _json) { 1251 Endpoint.fromJson(core.Map _json) {
1244 if (_json.containsKey("aliases")) { 1252 if (_json.containsKey("aliases")) {
1245 aliases = _json["aliases"]; 1253 aliases = _json["aliases"];
1246 } 1254 }
1247 if (_json.containsKey("allowCors")) { 1255 if (_json.containsKey("allowCors")) {
1248 allowCors = _json["allowCors"]; 1256 allowCors = _json["allowCors"];
1249 } 1257 }
1250 if (_json.containsKey("apis")) { 1258 if (_json.containsKey("apis")) {
1251 apis = _json["apis"]; 1259 apis = _json["apis"];
1252 } 1260 }
1253 if (_json.containsKey("features")) { 1261 if (_json.containsKey("features")) {
1254 features = _json["features"]; 1262 features = _json["features"];
1255 } 1263 }
1256 if (_json.containsKey("name")) { 1264 if (_json.containsKey("name")) {
1257 name = _json["name"]; 1265 name = _json["name"];
1258 } 1266 }
1267 if (_json.containsKey("target")) {
1268 target = _json["target"];
1269 }
1259 } 1270 }
1260 1271
1261 core.Map toJson() { 1272 core.Map toJson() {
1262 var _json = new core.Map(); 1273 var _json = new core.Map();
1263 if (aliases != null) { 1274 if (aliases != null) {
1264 _json["aliases"] = aliases; 1275 _json["aliases"] = aliases;
1265 } 1276 }
1266 if (allowCors != null) { 1277 if (allowCors != null) {
1267 _json["allowCors"] = allowCors; 1278 _json["allowCors"] = allowCors;
1268 } 1279 }
1269 if (apis != null) { 1280 if (apis != null) {
1270 _json["apis"] = apis; 1281 _json["apis"] = apis;
1271 } 1282 }
1272 if (features != null) { 1283 if (features != null) {
1273 _json["features"] = features; 1284 _json["features"] = features;
1274 } 1285 }
1275 if (name != null) { 1286 if (name != null) {
1276 _json["name"] = name; 1287 _json["name"] = name;
1277 } 1288 }
1289 if (target != null) {
1290 _json["target"] = target;
1291 }
1278 return _json; 1292 return _json;
1279 } 1293 }
1280 } 1294 }
1281 1295
1282 /** Enum type definition. */ 1296 /** Enum type definition. */
1283 class Enum { 1297 class Enum {
1284 /** Enum value definitions. */ 1298 /** Enum value definitions. */
1285 core.List<EnumValue> enumvalue; 1299 core.List<EnumValue> enumvalue;
1286 /** Enum type name. */ 1300 /** Enum type name. */
1287 core.String name; 1301 core.String name;
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1532 } 1546 }
1533 } 1547 }
1534 1548
1535 /** 1549 /**
1536 * Defines the HTTP configuration for a service. It contains a list of 1550 * Defines the HTTP configuration for a service. It contains a list of
1537 * HttpRule, each specifying the mapping of an RPC method 1551 * HttpRule, each specifying the mapping of an RPC method
1538 * to one or more HTTP REST API methods. 1552 * to one or more HTTP REST API methods.
1539 */ 1553 */
1540 class Http { 1554 class Http {
1541 /** 1555 /**
1556 * When set to true, URL path parmeters will be fully URI-decoded except in
1557 * cases of single segment matches in reserved expansion, where "%2F" will be
1558 * left encoded.
1559 *
1560 * The default behavior is to not decode RFC 6570 reserved characters in multi
1561 * segment matches.
1562 */
1563 core.bool fullyDecodeReservedExpansion;
1564 /**
1542 * A list of HTTP configuration rules that apply to individual API methods. 1565 * A list of HTTP configuration rules that apply to individual API methods.
1543 * 1566 *
1544 * **NOTE:** All service configuration rules follow "last one wins" order. 1567 * **NOTE:** All service configuration rules follow "last one wins" order.
1545 */ 1568 */
1546 core.List<HttpRule> rules; 1569 core.List<HttpRule> rules;
1547 1570
1548 Http(); 1571 Http();
1549 1572
1550 Http.fromJson(core.Map _json) { 1573 Http.fromJson(core.Map _json) {
1574 if (_json.containsKey("fullyDecodeReservedExpansion")) {
1575 fullyDecodeReservedExpansion = _json["fullyDecodeReservedExpansion"];
1576 }
1551 if (_json.containsKey("rules")) { 1577 if (_json.containsKey("rules")) {
1552 rules = _json["rules"].map((value) => new HttpRule.fromJson(value)).toList (); 1578 rules = _json["rules"].map((value) => new HttpRule.fromJson(value)).toList ();
1553 } 1579 }
1554 } 1580 }
1555 1581
1556 core.Map toJson() { 1582 core.Map toJson() {
1557 var _json = new core.Map(); 1583 var _json = new core.Map();
1584 if (fullyDecodeReservedExpansion != null) {
1585 _json["fullyDecodeReservedExpansion"] = fullyDecodeReservedExpansion;
1586 }
1558 if (rules != null) { 1587 if (rules != null) {
1559 _json["rules"] = rules.map((value) => (value).toJson()).toList(); 1588 _json["rules"] = rules.map((value) => (value).toJson()).toList();
1560 } 1589 }
1561 return _json; 1590 return _json;
1562 } 1591 }
1563 } 1592 }
1564 1593
1565 /** 1594 /**
1566 * `HttpRule` defines the mapping of an RPC method to one or more HTTP 1595 * `HttpRule` defines the mapping of an RPC method to one or more HTTP
1567 * REST APIs. The mapping determines what portions of the request 1596 * REST APIs. The mapping determines what portions of the request
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after
2518 _json["unit"] = unit; 2547 _json["unit"] = unit;
2519 } 2548 }
2520 if (valueType != null) { 2549 if (valueType != null) {
2521 _json["valueType"] = valueType; 2550 _json["valueType"] = valueType;
2522 } 2551 }
2523 return _json; 2552 return _json;
2524 } 2553 }
2525 } 2554 }
2526 2555
2527 /** 2556 /**
2557 * Bind API methods to metrics. Binding a method to a metric causes that
2558 * metric's configured quota, billing, and monitoring behaviors to apply to the
2559 * method call.
2560 *
2561 * Used by metric-based quotas only.
2562 */
2563 class MetricRule {
2564 /**
2565 * Metrics to update when the selected methods are called, and the associated
2566 * cost applied to each metric.
2567 *
2568 * The key of the map is the metric name, and the values are the amount
2569 * increased for the metric against which the quota limits are defined.
2570 * The value must not be negative.
2571 */
2572 core.Map<core.String, core.String> metricCosts;
2573 /**
2574 * Selects the methods to which this rule applies.
2575 *
2576 * Refer to selector for syntax details.
2577 */
2578 core.String selector;
2579
2580 MetricRule();
2581
2582 MetricRule.fromJson(core.Map _json) {
2583 if (_json.containsKey("metricCosts")) {
2584 metricCosts = _json["metricCosts"];
2585 }
2586 if (_json.containsKey("selector")) {
2587 selector = _json["selector"];
2588 }
2589 }
2590
2591 core.Map toJson() {
2592 var _json = new core.Map();
2593 if (metricCosts != null) {
2594 _json["metricCosts"] = metricCosts;
2595 }
2596 if (selector != null) {
2597 _json["selector"] = selector;
2598 }
2599 return _json;
2600 }
2601 }
2602
2603 /**
2528 * Declares an API to be included in this API. The including API must 2604 * Declares an API to be included in this API. The including API must
2529 * redeclare all the methods from the included API, but documentation 2605 * redeclare all the methods from the included API, but documentation
2530 * and options are inherited as follows: 2606 * and options are inherited as follows:
2531 * 2607 *
2532 * - If after comment and whitespace stripping, the documentation 2608 * - If after comment and whitespace stripping, the documentation
2533 * string of the redeclared method is empty, it will be inherited 2609 * string of the redeclared method is empty, it will be inherited
2534 * from the original method. 2610 * from the original method.
2535 * 2611 *
2536 * - Each annotation belonging to the service config (http, 2612 * - Each annotation belonging to the service config (http,
2537 * visibility) which is not set in the redeclared method will be 2613 * visibility) which is not set in the redeclared method will be
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
3162 if (name != null) { 3238 if (name != null) {
3163 _json["name"] = name; 3239 _json["name"] = name;
3164 } 3240 }
3165 if (service != null) { 3241 if (service != null) {
3166 _json["service"] = (service).toJson(); 3242 _json["service"] = (service).toJson();
3167 } 3243 }
3168 return _json; 3244 return _json;
3169 } 3245 }
3170 } 3246 }
3171 3247
3248 /**
3249 * Quota configuration helps to achieve fairness and budgeting in service
3250 * usage.
3251 *
3252 * The quota configuration works this way:
3253 * - The service configuration defines a set of metrics.
3254 * - For API calls, the quota.metric_rules maps methods to metrics with
3255 * corresponding costs.
3256 * - The quota.limits defines limits on the metrics, which will be used for
3257 * quota checks at runtime.
3258 *
3259 * An example quota configuration in yaml format:
3260 *
3261 * quota:
3262 *
3263 * - name: apiWriteQpsPerProject
3264 * metric: library.googleapis.com/write_calls
3265 * unit: "1/min/{project}" # rate limit for consumer projects
3266 * values:
3267 * STANDARD: 10000
3268 *
3269 *
3270 * # The metric rules bind all methods to the read_calls metric,
3271 * # except for the UpdateBook and DeleteBook methods. These two methods
3272 * # are mapped to the write_calls metric, with the UpdateBook method
3273 * # consuming at twice rate as the DeleteBook method.
3274 * metric_rules:
3275 * - selector: "*"
3276 * metric_costs:
3277 * library.googleapis.com/read_calls: 1
3278 * - selector: google.example.library.v1.LibraryService.UpdateBook
3279 * metric_costs:
3280 * library.googleapis.com/write_calls: 2
3281 * - selector: google.example.library.v1.LibraryService.DeleteBook
3282 * metric_costs:
3283 * library.googleapis.com/write_calls: 1
3284 *
3285 * Corresponding Metric definition:
3286 *
3287 * metrics:
3288 * - name: library.googleapis.com/read_calls
3289 * display_name: Read requests
3290 * metric_kind: DELTA
3291 * value_type: INT64
3292 *
3293 * - name: library.googleapis.com/write_calls
3294 * display_name: Write requests
3295 * metric_kind: DELTA
3296 * value_type: INT64
3297 */
3298 class Quota {
3299 /**
3300 * List of `QuotaLimit` definitions for the service.
3301 *
3302 * Used by metric-based quotas only.
3303 */
3304 core.List<QuotaLimit> limits;
3305 /**
3306 * List of `MetricRule` definitions, each one mapping a selected method to one
3307 * or more metrics.
3308 *
3309 * Used by metric-based quotas only.
3310 */
3311 core.List<MetricRule> metricRules;
3312
3313 Quota();
3314
3315 Quota.fromJson(core.Map _json) {
3316 if (_json.containsKey("limits")) {
3317 limits = _json["limits"].map((value) => new QuotaLimit.fromJson(value)).to List();
3318 }
3319 if (_json.containsKey("metricRules")) {
3320 metricRules = _json["metricRules"].map((value) => new MetricRule.fromJson( value)).toList();
3321 }
3322 }
3323
3324 core.Map toJson() {
3325 var _json = new core.Map();
3326 if (limits != null) {
3327 _json["limits"] = limits.map((value) => (value).toJson()).toList();
3328 }
3329 if (metricRules != null) {
3330 _json["metricRules"] = metricRules.map((value) => (value).toJson()).toList ();
3331 }
3332 return _json;
3333 }
3334 }
3335
3336 /**
3337 * `QuotaLimit` defines a specific limit that applies over a specified duration
3338 * for a limit type. There can be at most one limit for a duration and limit
3339 * type combination defined within a `QuotaGroup`.
3340 */
3341 class QuotaLimit {
3342 /**
3343 * Default number of tokens that can be consumed during the specified
3344 * duration. This is the number of tokens assigned when a client
3345 * application developer activates the service for his/her project.
3346 *
3347 * Specifying a value of 0 will block all requests. This can be used if you
3348 * are provisioning quota to selected consumers and blocking others.
3349 * Similarly, a value of -1 will indicate an unlimited quota. No other
3350 * negative values are allowed.
3351 *
3352 * Used by group-based quotas only.
3353 */
3354 core.String defaultLimit;
3355 /**
3356 * Optional. User-visible, extended description for this quota limit.
3357 * Should be used only when more context is needed to understand this limit
3358 * than provided by the limit's display name (see: `display_name`).
3359 */
3360 core.String description;
3361 /**
3362 * User-visible display name for this limit.
3363 * Optional. If not set, the UI will provide a default display name based on
3364 * the quota configuration. This field can be used to override the default
3365 * display name generated from the configuration.
3366 */
3367 core.String displayName;
3368 /**
3369 * Duration of this limit in textual notation. Example: "100s", "24h", "1d".
3370 * For duration longer than a day, only multiple of days is supported. We
3371 * support only "100s" and "1d" for now. Additional support will be added in
3372 * the future. "0" indicates indefinite duration.
3373 *
3374 * Used by group-based quotas only.
3375 */
3376 core.String duration;
3377 /**
3378 * Free tier value displayed in the Developers Console for this limit.
3379 * The free tier is the number of tokens that will be subtracted from the
3380 * billed amount when billing is enabled.
3381 * This field can only be set on a limit with duration "1d", in a billable
3382 * group; it is invalid on any other limit. If this field is not set, it
3383 * defaults to 0, indicating that there is no free tier for this service.
3384 *
3385 * Used by group-based quotas only.
3386 */
3387 core.String freeTier;
3388 /**
3389 * Maximum number of tokens that can be consumed during the specified
3390 * duration. Client application developers can override the default limit up
3391 * to this maximum. If specified, this value cannot be set to a value less
3392 * than the default limit. If not specified, it is set to the default limit.
3393 *
3394 * To allow clients to apply overrides with no upper bound, set this to -1,
3395 * indicating unlimited maximum quota.
3396 *
3397 * Used by group-based quotas only.
3398 */
3399 core.String maxLimit;
3400 /**
3401 * The name of the metric this quota limit applies to. The quota limits with
3402 * the same metric will be checked together during runtime. The metric must be
3403 * defined within the service config.
3404 *
3405 * Used by metric-based quotas only.
3406 */
3407 core.String metric;
3408 /**
3409 * Name of the quota limit. The name is used to refer to the limit when
3410 * overriding the default limit on per-consumer basis.
3411 *
3412 * For group-based quota limits, the name must be unique within the quota
3413 * group. If a name is not provided, it will be generated from the limit_by
3414 * and duration fields.
3415 *
3416 * For metric-based quota limits, the name must be provided, and it must be
3417 * unique within the service. The name can only include alphanumeric
3418 * characters as well as '-'.
3419 *
3420 * The maximum length of the limit name is 64 characters.
3421 *
3422 * The name of a limit is used as a unique identifier for this limit.
3423 * Therefore, once a limit has been put into use, its name should be
3424 * immutable. You can use the display_name field to provide a user-friendly
3425 * name for the limit. The display name can be evolved over time without
3426 * affecting the identity of the limit.
3427 */
3428 core.String name;
3429 /**
3430 * Specify the unit of the quota limit. It uses the same syntax as
3431 * Metric.unit. The supported unit kinds are determined by the quota
3432 * backend system.
3433 *
3434 * The [Google Service Control](https://cloud.google.com/service-control)
3435 * supports the following unit components:
3436 * * One of the time intevals:
3437 * * "/min" for quota every minute.
3438 * * "/d" for quota every 24 hours, starting 00:00 US Pacific Time.
3439 * * Otherwise the quota won't be reset by time, such as storage limit.
3440 * * One and only one of the granted containers:
3441 * * "/{organization}" quota for an organization.
3442 * * "/{project}" quota for a project.
3443 * * "/{folder}" quota for a folder.
3444 * * "/{resource}" quota for a universal resource.
3445 * * Zero or more quota segmentation dimension. Not all combos are valid.
3446 * * "/{region}" quota for every region. Not to be used with time intervals.
3447 * * Otherwise the resources granted on the target is not segmented.
3448 * * "/{zone}" quota for every zone. Not to be used with time intervals.
3449 * * Otherwise the resources granted on the target is not segmented.
3450 * * "/{resource}" quota for a resource associated with a project or org.
3451 *
3452 * Here are some examples:
3453 * * "1/min/{project}" for quota per minute per project.
3454 * * "1/min/{user}" for quota per minute per user.
3455 * * "1/min/{organization}" for quota per minute per organization.
3456 *
3457 * Note: the order of unit components is insignificant.
3458 * The "1" at the beginning is required to follow the metric unit syntax.
3459 *
3460 * Used by metric-based quotas only.
3461 */
3462 core.String unit;
3463 /**
3464 * Tiered limit values. Also allows for regional or zone overrides for these
3465 * values if "/{region}" or "/{zone}" is specified in the unit field.
3466 *
3467 * Currently supported tiers from low to high:
3468 * VERY_LOW, LOW, STANDARD, HIGH, VERY_HIGH
3469 *
3470 * To apply different limit values for users according to their tiers, specify
3471 * the values for the tiers you want to differentiate. For example:
3472 * {LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000}
3473 *
3474 * The limit value for each tier is optional except for the tier STANDARD.
3475 * The limit value for an unspecified tier falls to the value of its next
3476 * tier towards tier STANDARD. For the above example, the limit value for tier
3477 * STANDARD is 500.
3478 *
3479 * To apply the same limit value for all users, just specify limit value for
3480 * tier STANDARD. For example: {STANDARD:500}.
3481 *
3482 * To apply a regional overide for a tier, add a map entry with key
3483 * "<TIER>/<region>", where <region> is a region name. Similarly, for a zone
3484 * override, add a map entry with key "<TIER>/{zone}".
3485 * Further, a wildcard can be used at the end of a zone name in order to
3486 * specify zone level overrides. For example:
3487 * LOW: 10, STANDARD: 50, HIGH: 100,
3488 * LOW/us-central1: 20, STANDARD/us-central1: 60, HIGH/us-central1: 200,
3489 * LOW/us-central1-*: 10, STANDARD/us-central1-*: 20, HIGH/us-central1-*: 80
3490 *
3491 * The regional overrides tier set for each region must be the same as
3492 * the tier set for default limit values. Same rule applies for zone overrides
3493 * tier as well.
3494 *
3495 * Used by metric-based quotas only.
3496 */
3497 core.Map<core.String, core.String> values;
3498
3499 QuotaLimit();
3500
3501 QuotaLimit.fromJson(core.Map _json) {
3502 if (_json.containsKey("defaultLimit")) {
3503 defaultLimit = _json["defaultLimit"];
3504 }
3505 if (_json.containsKey("description")) {
3506 description = _json["description"];
3507 }
3508 if (_json.containsKey("displayName")) {
3509 displayName = _json["displayName"];
3510 }
3511 if (_json.containsKey("duration")) {
3512 duration = _json["duration"];
3513 }
3514 if (_json.containsKey("freeTier")) {
3515 freeTier = _json["freeTier"];
3516 }
3517 if (_json.containsKey("maxLimit")) {
3518 maxLimit = _json["maxLimit"];
3519 }
3520 if (_json.containsKey("metric")) {
3521 metric = _json["metric"];
3522 }
3523 if (_json.containsKey("name")) {
3524 name = _json["name"];
3525 }
3526 if (_json.containsKey("unit")) {
3527 unit = _json["unit"];
3528 }
3529 if (_json.containsKey("values")) {
3530 values = _json["values"];
3531 }
3532 }
3533
3534 core.Map toJson() {
3535 var _json = new core.Map();
3536 if (defaultLimit != null) {
3537 _json["defaultLimit"] = defaultLimit;
3538 }
3539 if (description != null) {
3540 _json["description"] = description;
3541 }
3542 if (displayName != null) {
3543 _json["displayName"] = displayName;
3544 }
3545 if (duration != null) {
3546 _json["duration"] = duration;
3547 }
3548 if (freeTier != null) {
3549 _json["freeTier"] = freeTier;
3550 }
3551 if (maxLimit != null) {
3552 _json["maxLimit"] = maxLimit;
3553 }
3554 if (metric != null) {
3555 _json["metric"] = metric;
3556 }
3557 if (name != null) {
3558 _json["name"] = name;
3559 }
3560 if (unit != null) {
3561 _json["unit"] = unit;
3562 }
3563 if (values != null) {
3564 _json["values"] = values;
3565 }
3566 return _json;
3567 }
3568 }
3569
3172 /** Response message for SearchServices method. */ 3570 /** Response message for SearchServices method. */
3173 class SearchServicesResponse { 3571 class SearchServicesResponse {
3174 /** 3572 /**
3175 * Token that can be passed to `ListAvailableServices` to resume a paginated 3573 * Token that can be passed to `ListAvailableServices` to resume a paginated
3176 * query. 3574 * query.
3177 */ 3575 */
3178 core.String nextPageToken; 3576 core.String nextPageToken;
3179 /** Services available publicly or available to the authenticated caller. */ 3577 /** Services available publicly or available to the authenticated caller. */
3180 core.List<PublishedService> services; 3578 core.List<PublishedService> services;
3181 3579
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
3298 * The DNS address at which this service is available, 3696 * The DNS address at which this service is available,
3299 * e.g. `calendar.googleapis.com`. 3697 * e.g. `calendar.googleapis.com`.
3300 */ 3698 */
3301 core.String name; 3699 core.String name;
3302 /** 3700 /**
3303 * The id of the Google developer project that owns the service. 3701 * The id of the Google developer project that owns the service.
3304 * Members of this project can manage the service configuration, 3702 * Members of this project can manage the service configuration,
3305 * manage consumption of the service, etc. 3703 * manage consumption of the service, etc.
3306 */ 3704 */
3307 core.String producerProjectId; 3705 core.String producerProjectId;
3706 /** Quota configuration. */
3707 Quota quota;
3308 /** 3708 /**
3309 * Output only. The source information for this configuration if available. 3709 * Output only. The source information for this configuration if available.
3310 */ 3710 */
3311 SourceInfo sourceInfo; 3711 SourceInfo sourceInfo;
3312 /** System parameter configuration. */ 3712 /** System parameter configuration. */
3313 SystemParameters systemParameters; 3713 SystemParameters systemParameters;
3314 /** 3714 /**
3315 * A list of all proto message types included in this API service. 3715 * A list of all proto message types included in this API service.
3316 * It serves similar purpose as [google.api.Service.types], except that 3716 * It serves similar purpose as [google.api.Service.types], except that
3317 * these types are not needed by user-defined APIs. Therefore, they will not 3717 * these types are not needed by user-defined APIs. Therefore, they will not
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
3393 } 3793 }
3394 if (_json.containsKey("monitoring")) { 3794 if (_json.containsKey("monitoring")) {
3395 monitoring = new Monitoring.fromJson(_json["monitoring"]); 3795 monitoring = new Monitoring.fromJson(_json["monitoring"]);
3396 } 3796 }
3397 if (_json.containsKey("name")) { 3797 if (_json.containsKey("name")) {
3398 name = _json["name"]; 3798 name = _json["name"];
3399 } 3799 }
3400 if (_json.containsKey("producerProjectId")) { 3800 if (_json.containsKey("producerProjectId")) {
3401 producerProjectId = _json["producerProjectId"]; 3801 producerProjectId = _json["producerProjectId"];
3402 } 3802 }
3803 if (_json.containsKey("quota")) {
3804 quota = new Quota.fromJson(_json["quota"]);
3805 }
3403 if (_json.containsKey("sourceInfo")) { 3806 if (_json.containsKey("sourceInfo")) {
3404 sourceInfo = new SourceInfo.fromJson(_json["sourceInfo"]); 3807 sourceInfo = new SourceInfo.fromJson(_json["sourceInfo"]);
3405 } 3808 }
3406 if (_json.containsKey("systemParameters")) { 3809 if (_json.containsKey("systemParameters")) {
3407 systemParameters = new SystemParameters.fromJson(_json["systemParameters"] ); 3810 systemParameters = new SystemParameters.fromJson(_json["systemParameters"] );
3408 } 3811 }
3409 if (_json.containsKey("systemTypes")) { 3812 if (_json.containsKey("systemTypes")) {
3410 systemTypes = _json["systemTypes"].map((value) => new Type.fromJson(value) ).toList(); 3813 systemTypes = _json["systemTypes"].map((value) => new Type.fromJson(value) ).toList();
3411 } 3814 }
3412 if (_json.containsKey("title")) { 3815 if (_json.containsKey("title")) {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
3478 } 3881 }
3479 if (monitoring != null) { 3882 if (monitoring != null) {
3480 _json["monitoring"] = (monitoring).toJson(); 3883 _json["monitoring"] = (monitoring).toJson();
3481 } 3884 }
3482 if (name != null) { 3885 if (name != null) {
3483 _json["name"] = name; 3886 _json["name"] = name;
3484 } 3887 }
3485 if (producerProjectId != null) { 3888 if (producerProjectId != null) {
3486 _json["producerProjectId"] = producerProjectId; 3889 _json["producerProjectId"] = producerProjectId;
3487 } 3890 }
3891 if (quota != null) {
3892 _json["quota"] = (quota).toJson();
3893 }
3488 if (sourceInfo != null) { 3894 if (sourceInfo != null) {
3489 _json["sourceInfo"] = (sourceInfo).toJson(); 3895 _json["sourceInfo"] = (sourceInfo).toJson();
3490 } 3896 }
3491 if (systemParameters != null) { 3897 if (systemParameters != null) {
3492 _json["systemParameters"] = (systemParameters).toJson(); 3898 _json["systemParameters"] = (systemParameters).toJson();
3493 } 3899 }
3494 if (systemTypes != null) { 3900 if (systemTypes != null) {
3495 _json["systemTypes"] = systemTypes.map((value) => (value).toJson()).toList (); 3901 _json["systemTypes"] = systemTypes.map((value) => (value).toJson()).toList ();
3496 } 3902 }
3497 if (title != null) { 3903 if (title != null) {
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
4137 var _json = new core.Map(); 4543 var _json = new core.Map();
4138 if (restriction != null) { 4544 if (restriction != null) {
4139 _json["restriction"] = restriction; 4545 _json["restriction"] = restriction;
4140 } 4546 }
4141 if (selector != null) { 4547 if (selector != null) {
4142 _json["selector"] = selector; 4548 _json["selector"] = selector;
4143 } 4549 }
4144 return _json; 4550 return _json;
4145 } 4551 }
4146 } 4552 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/servicemanagement/v1.dart ('k') | generated/googleapis/lib/sheets/v4.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698