Skip to content

Commit

Permalink
feat!: run the generator (#2104)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed May 15, 2020
1 parent 2dfda8f commit dca679d
Show file tree
Hide file tree
Showing 45 changed files with 3,143 additions and 1,651 deletions.
742 changes: 31 additions & 711 deletions discovery/apigee-v1.json

Large diffs are not rendered by default.

68 changes: 36 additions & 32 deletions discovery/bigqueryreservation-v1.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion discovery/bigqueryreservation-v1alpha2.json
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@
}
}
},
"revision": "20200410",
"revision": "20200509",
"rootUrl": "https://bigqueryreservation.googleapis.com/",
"schemas": {
"CreateSlotPoolMetadata": {
Expand Down Expand Up @@ -830,12 +830,14 @@
"enum": [
"COMMITMENT_PLAN_UNSPECIFIED",
"FLEX",
"TRIAL",
"MONTHLY",
"ANNUAL"
],
"enumDescriptions": [
"Invalid plan value. Requests with this value will be rejected with\nerror code `google.rpc.Code.INVALID_ARGUMENT`.",
"Slot pool can be removed at any point, even after becoming ACTIVE.",
"Trial commitments have a committed period of 182 days after becoming\nACTIVE. After that, they are converted to a new commitment based on the\nrenewal_plan. Default renewal_plan for Trial commitment is Flex so that\nit can be deleted right after committed period ends.",
"Slot pool cannot be removed for 30 days after becoming ACTIVE.",
"Slot pool cannot be removed for 365 days after becoming ACTIVE.\nNote: annual commitments are automatically downgraded to monthly after\n365 days."
],
Expand Down
27 changes: 5 additions & 22 deletions discovery/bigqueryreservation-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@
}
}
},
"revision": "20200410",
"revision": "20200509",
"rootUrl": "https://bigqueryreservation.googleapis.com/",
"schemas": {
"Assignment": {
Expand Down Expand Up @@ -782,23 +782,6 @@
},
"type": "object"
},
"Autoscale": {
"description": "Auto scaling settings and current situation.\nSystem will create a dedicated FLEX capacity commitment to hold the slots\nfor auto-scale. Users won't be able to manage it,to avoid conflicts.\nScale-up will happen, if there are always pending tasks for the past 10\nminutes.\nScale-down will happen, if the system knows that scale-up won't be\ntriggered again.\nNote this is an alpha feature.",
"id": "Autoscale",
"properties": {
"currentSlots": {
"description": "Output only. The slot capacity added to this reservation when autoscale happens. Will\nbe between [0, max_slots].",
"format": "int64",
"type": "string"
},
"maxSlots": {
"description": "Number of slots to be scaled when needed.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"BiReservation": {
"description": "Represents a BI Reservation.",
"id": "BiReservation",
Expand Down Expand Up @@ -842,12 +825,14 @@
"enum": [
"COMMITMENT_PLAN_UNSPECIFIED",
"FLEX",
"TRIAL",
"MONTHLY",
"ANNUAL"
],
"enumDescriptions": [
"Invalid plan value. Requests with this value will be rejected with\nerror code `google.rpc.Code.INVALID_ARGUMENT`.",
"Flex commitments have committed period of 1 minute after becoming ACTIVE.\nAfter that, they are not in a committed period anymore and can be removed\nany time.",
"Trial commitments have a committed period of 182 days after becoming\nACTIVE. After that, they are converted to a new commitment based on the\nrenewal_plan. Default renewal_plan for Trial commitment is Flex so that\nit can be deleted right after committed period ends.",
"Monthly commitments have a committed period of 30 days after becoming\nACTIVE. After that, they are not in a committed period anymore and can be\nremoved any time.",
"Annual commitments have a committed period of 365 days after becoming\nACTIVE. After that they are converted to a new commitment based on the\nrenewal_plan."
],
Expand All @@ -858,12 +843,14 @@
"enum": [
"COMMITMENT_PLAN_UNSPECIFIED",
"FLEX",
"TRIAL",
"MONTHLY",
"ANNUAL"
],
"enumDescriptions": [
"Invalid plan value. Requests with this value will be rejected with\nerror code `google.rpc.Code.INVALID_ARGUMENT`.",
"Flex commitments have committed period of 1 minute after becoming ACTIVE.\nAfter that, they are not in a committed period anymore and can be removed\nany time.",
"Trial commitments have a committed period of 182 days after becoming\nACTIVE. After that, they are converted to a new commitment based on the\nrenewal_plan. Default renewal_plan for Trial commitment is Flex so that\nit can be deleted right after committed period ends.",
"Monthly commitments have a committed period of 30 days after becoming\nACTIVE. After that, they are not in a committed period anymore and can be\nremoved any time.",
"Annual commitments have a committed period of 365 days after becoming\nACTIVE. After that they are converted to a new commitment based on the\nrenewal_plan."
],
Expand Down Expand Up @@ -993,10 +980,6 @@
"description": "A reservation is a mechanism used to guarantee slots to users.",
"id": "Reservation",
"properties": {
"autoscale": {
"$ref": "Autoscale",
"description": "The configuration parameters for the auto scaling feature. Note this is an\nalpha feature."
},
"ignoreIdleSlots": {
"description": "If false, any query using this reservation will use idle slots from other\nreservations within the same admin project. If true, a query using this\nreservation will execute with the slot capacity specified above at most.",
"type": "boolean"
Expand Down
8 changes: 4 additions & 4 deletions discovery/cloudsearch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1805,7 +1805,7 @@
}
}
},
"revision": "20200421",
"revision": "20200505",
"rootUrl": "https://cloudsearch.googleapis.com/",
"schemas": {
"BooleanOperatorOptions": {
Expand Down Expand Up @@ -2396,7 +2396,7 @@
"type": "integer"
},
"percentage": {
"description": "Percent of results that match the bucket value. This value is between\n(0-100]. Percentages are returned for all searches, but are an estimate.\nBecause percentages are always returned, you should render percentages\ninstead of counts.",
"description": "Percent of results that match the bucket value. The returned value is\nbetween (0-100], and is rounded down to an integer if fractional. If the\nvalue is not explicitly returned, it represents a percentage value that\nrounds to 0. Percentages are returned for all searches, but are an\nestimate. Because percentages are always returned, you should render\npercentages instead of counts.",
"format": "int32",
"type": "integer"
},
Expand Down Expand Up @@ -3367,7 +3367,7 @@
"type": "array"
},
"objectDisplayLabel": {
"description": "The user friendly label to display in the search result to indicate the\ntype of the item. This is OPTIONAL; if not provided, an object label isn't\ndisplayed on the context line of the search results. The maximum length\nis 32 characters.",
"description": "The user friendly label to display in the search result to indicate the\ntype of the item. This is OPTIONAL; if not provided, an object label isn't\ndisplayed on the context line of the search results. The maximum length\nis 64 characters.",
"type": "string"
}
},
Expand Down Expand Up @@ -3690,7 +3690,7 @@
"id": "PropertyDisplayOptions",
"properties": {
"displayLabel": {
"description": "The user friendly label for the property that is used if the property\nis specified to be displayed in ObjectDisplayOptions. If provided, the\ndisplay label is shown in front of the property values when the property is\npart of the object display options. For example, if the property value is\n'1', the value by itself may not be useful context for the user. If the\ndisplay name given was 'priority', then the user sees 'priority : 1' in\nthe search results which provides clear context to search users. This is\nOPTIONAL; if not given, only the property values are displayed.\nThe maximum length is 32 characters.",
"description": "The user friendly label for the property that is used if the property\nis specified to be displayed in ObjectDisplayOptions. If provided, the\ndisplay label is shown in front of the property values when the property is\npart of the object display options. For example, if the property value is\n'1', the value by itself may not be useful context for the user. If the\ndisplay name given was 'priority', then the user sees 'priority : 1' in\nthe search results which provides clear context to search users. This is\nOPTIONAL; if not given, only the property values are displayed.\nThe maximum length is 64 characters.",
"type": "string"
}
},
Expand Down
4 changes: 2 additions & 2 deletions discovery/container-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2459,7 +2459,7 @@
}
}
},
"revision": "20200425",
"revision": "20200501",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -3862,7 +3862,7 @@
"type": "object"
},
"NodeTaint": {
"description": "Kubernetes taint is comprised of three fields: key, value, and effect. Effect\ncan only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.\n\nFor more information, including usage and the valid values, see:\nhttps://kubernetes.io/docs/concepts/configuration/taint-and-toleration/",
"description": "Kubernetes taint is comprised of three fields: key, value, and effect. Effect\ncan only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.\n\nSee\n[here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)\nfor more information, including usage and the valid values.",
"id": "NodeTaint",
"properties": {
"effect": {
Expand Down
4 changes: 2 additions & 2 deletions discovery/datastore-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@
}
}
},
"revision": "20200405",
"revision": "20200510",
"rootUrl": "https://datastore.googleapis.com/",
"schemas": {
"AllocateIdsRequest": {
Expand Down Expand Up @@ -2038,7 +2038,7 @@
"type": "string"
},
"stringValue": {
"description": "A UTF-8 encoded string value.\nWhen `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.\nOtherwise, may be set to at least 1,000,000 bytes.",
"description": "A UTF-8 encoded string value.\nWhen `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.\nOtherwise, may be set to at most 1,000,000 bytes.",
"type": "string"
},
"timestampValue": {
Expand Down
4 changes: 2 additions & 2 deletions discovery/datastore-v1beta3.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
}
}
},
"revision": "20200405",
"revision": "20200510",
"rootUrl": "https://datastore.googleapis.com/",
"schemas": {
"AllocateIdsRequest": {
Expand Down Expand Up @@ -1489,7 +1489,7 @@
"type": "string"
},
"stringValue": {
"description": "A UTF-8 encoded string value.\nWhen `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.\nOtherwise, may be set to at least 1,000,000 bytes.",
"description": "A UTF-8 encoded string value.\nWhen `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.\nOtherwise, may be set to at most 1,000,000 bytes.",
"type": "string"
},
"timestampValue": {
Expand Down
4 changes: 2 additions & 2 deletions discovery/dialogflow-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3659,7 +3659,7 @@
"type": "array"
},
"value": {
"description": "Optional. The definition of the parameter value. It can be:\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.",
"description": "Optional. The definition of the parameter value. It can be:\n\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.",
"type": "string"
}
},
Expand Down Expand Up @@ -5748,7 +5748,7 @@
"type": "array"
},
"value": {
"description": "Optional. The definition of the parameter value. It can be:\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.",
"description": "Optional. The definition of the parameter value. It can be:\n\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.",
"type": "string"
}
},
Expand Down
4 changes: 2 additions & 2 deletions discovery/dialogflow-v2beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -5475,7 +5475,7 @@
"type": "array"
},
"value": {
"description": "Optional. The definition of the parameter value. It can be:\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.",
"description": "Optional. The definition of the parameter value. It can be:\n\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.",
"type": "string"
}
},
Expand Down Expand Up @@ -7827,7 +7827,7 @@
"type": "array"
},
"value": {
"description": "Optional. The definition of the parameter value. It can be:\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.",
"description": "Optional. The definition of the parameter value. It can be:\n\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.",
"type": "string"
}
},
Expand Down
Loading

0 comments on commit dca679d

Please sign in to comment.