google-api-go-client: update all APIs.

Change-Id: Idc616709138d8152420af1435966db844748ea75
Reviewed-on: https://code-review.googlesource.com/4782
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/analyticsreporting/v4/analyticsreporting-api.json b/analyticsreporting/v4/analyticsreporting-api.json
index 96999cb..0681d38 100644
--- a/analyticsreporting/v4/analyticsreporting-api.json
+++ b/analyticsreporting/v4/analyticsreporting-api.json
@@ -89,7 +89,7 @@
           "type": "string"
         },
         "expression": {
-          "description": "A metric expression in the request. An expression is constructed from one\nor more metrics and numbers. Accepted operators include: Plus (+), Minus\n(-), Negation (Unary -), Divided by (/), Multiplied by (*), Parenthesis,\nPositive cardinal numbers (0-9), can include decimals and is limited to\n1024 characters. Example `ga:totalRefunds/ga:users`, in most cases the\nmetric expression is just a single metric name like `ga:users`.",
+          "description": "A metric expression in the request. An expression is constructed from one\nor more metrics and numbers. Accepted operators include: Plus (+), Minus\n(-), Negation (Unary -), Divided by (/), Multiplied by (*), Parenthesis,\nPositive cardinal numbers (0-9), can include decimals and is limited to\n1024 characters. Example `ga:totalRefunds/ga:users`, in most cases the\nmetric expression is just a single metric name like `ga:users`.\nAdding mixed `MetricType` (E.g., `CURRENCY` + `PERCENTAGE`) metrics\nwill result in unexpected results.",
           "type": "string"
         }
       },
@@ -250,7 +250,7 @@
       "type": "object",
       "properties": {
         "maxComparisonValue": {
-          "description": "Maximum comparison values for BETWEEN match type.",
+          "description": "Maximum comparison values for `BETWEEN` match type.",
           "type": "string"
         },
         "dimensionName": {
@@ -258,7 +258,7 @@
           "type": "string"
         },
         "caseSensitive": {
-          "description": "Should the match be case sensitive, ignored for IN_LIST operator.",
+          "description": "Should the match be case sensitive, ignored for `IN_LIST` operator.",
           "type": "boolean"
         },
         "operator": {
@@ -297,7 +297,7 @@
           }
         },
         "minComparisonValue": {
-          "description": "Minimum comparison values for BETWEEN match type.",
+          "description": "Minimum comparison values for `BETWEEN` match type.",
           "type": "string"
         }
       },
@@ -308,7 +308,7 @@
       "type": "object",
       "properties": {
         "cohortGroup": {
-          "description": "Cohort group associated with this request. If there is a cohort group\nin the request the `ga:cohort` dimension must be present.",
+          "description": "Cohort group associated with this request. If there is a cohort group\nin the request the `ga:cohort` dimension must be present. All requests\nshould have the same cohort definitions.",
           "$ref": "CohortGroup"
         },
         "dimensions": {
@@ -348,21 +348,21 @@
           }
         },
         "dateRanges": {
-          "description": "Date ranges in the request. The request can have a maximum of 2 date\nranges. The response will contain a set of metric values for each\ncombination of the dimensions for each date range in the request. So, if\nthere are two date ranges, there will be two set of metric values, one for\nthe original date range and one for the second date range.\nDate ranges should not be specified for cohorts or Lifetime value\nrequests.",
+          "description": "Date ranges in the request. The request can have a maximum of 2 date\nranges. The response will contain a set of metric values for each\ncombination of the dimensions for each date range in the request. So, if\nthere are two date ranges, there will be two set of metric values, one for\nthe original date range and one for the second date range.\nThe `reportRequest.dateRanges` field should not be specified for cohorts\nor Lifetime value requests.\nIf a date range is not provided, the default date range is (startDate:\ncurrent date - 7 days, endDate: current date - 1 day)",
           "type": "array",
           "items": {
             "$ref": "DateRange"
           }
         },
         "segments": {
-          "description": "Segment the data returned for the request. A segment definition helps look\nat a subset of the segment request. A request can contain up to four\nsegments.",
+          "description": "Segment the data returned for the request. A segment definition helps look\nat a subset of the segment request. A request can contain up to four\nsegments. All requests should have the same segment definitions. Requests\nwith segments must have the `ga:segment` dimension.",
           "type": "array",
           "items": {
             "$ref": "Segment"
           }
         },
         "samplingLevel": {
-          "description": "The desired sampling level. If the sampling level is not specified the\nDEFAULT sampling level will be used.",
+          "description": "The desired sampling level. If the sampling level is not specified the\nDEFAULT sampling level will be used. All requests should have same\n`samplingLevel`.",
           "enum": [
             "SAMPLING_UNSPECIFIED",
             "DEFAULT",
@@ -378,26 +378,26 @@
           "type": "string"
         },
         "metrics": {
-          "description": "Metrics (numbers) requested in the request.",
+          "description": "Metrics, the quantitative measurements, requested in the request.\nRequests must specify at least one metric.",
           "type": "array",
           "items": {
             "$ref": "Metric"
           }
         },
         "pageSize": {
-          "description": "Page size is for paging and specifies the maximum number of returned rows.\nPage size should be \u003e= 0. A query returns the default of 1000 rows.\nThe Analytics Core Reporting API returns a maximum of 10,000 rows per\nrequest, no matter how many you ask for. It can also return fewer rows\nthan requested, if there aren't as many dimension segments as you expect.\nFor instance, there are fewer than 300 possible values for `ga:country`,\nso when segmenting only by country, you can't get more than 300 rows,\neven if you set `pageSize` to a higher value.",
+          "description": "Page size is for paging and specifies the maximum number of returned rows.\nPage size should be \u003e= 0. A query returns the default of 1,000 rows.\nThe Analytics Core Reporting API returns a maximum of 10,000 rows per\nrequest, no matter how many you ask for. It can also return fewer rows\nthan requested, if there aren't as many dimension segments as you expect.\nFor instance, there are fewer than 300 possible values for `ga:country`,\nso when segmenting only by country, you can't get more than 300 rows,\neven if you set `pageSize` to a higher value.",
           "type": "integer",
           "format": "int32"
         },
         "orderBys": {
-          "description": "Sort order on output rows. To compare two rows, the elements of the\nfollowing are applied in order until a difference is found.  All date\nranges in the output get the same row order. The `order_by` field gets\napplied first followed by the sorts in the `additional_ordering` fields.",
+          "description": "Sort order on output rows. To compare two rows, the elements of the\nfollowing are applied in order until a difference is found.  All date\nranges in the output get the same row order.",
           "type": "array",
           "items": {
             "$ref": "OrderBy"
           }
         },
         "filtersExpression": {
-          "description": "Dimension or metric filters that restrict the data returned for your\nrequest. To use the filtersExpression, supply a dimension or metric on\nwhich to filter, followed by the filter expression. For example, the\nfollowing expression selects `ga:browser` dimension which starts with\nFirefox; `ga:browser=~^Firefox`. For more information on dimensions\nand metric filters, see\n[Filters reference](https://developers.google.com/analytics/devguides/reporting/core/v3/reference#filters).",
+          "description": "Dimension or metric filters that restrict the data returned for your\nrequest. To use the `filtersExpression`, supply a dimension or metric on\nwhich to filter, followed by the filter expression. For example, the\nfollowing expression selects `ga:browser` dimension which starts with\nFirefox; `ga:browser=~^Firefox`. For more information on dimensions\nand metric filters, see\n[Filters reference](https://developers.google.com/analytics/devguides/reporting/core/v3/reference#filters).",
           "type": "string"
         },
         "hideValueRanges": {
@@ -492,7 +492,7 @@
           "type": "string"
         },
         "maxComparisonValue": {
-          "description": "Max comparison value is only used for BETWEEN operator.",
+          "description": "Max comparison value is only used for `BETWEEN` operator.",
           "type": "string"
         }
       },
@@ -563,7 +563,7 @@
       "type": "object",
       "properties": {
         "reportRequests": {
-          "description": "Requests, each request will have a separate response.",
+          "description": "Requests, each request will have a separate response.\nThere can be a maximum of 5 requests. All requests should have the same\n`dateRange`, `viewId`, `segments`, `samplingLevel`, and `cohortGroup`.",
           "type": "array",
           "items": {
             "$ref": "ReportRequest"
@@ -634,7 +634,7 @@
           "type": "string"
         },
         "dateRange": {
-          "description": "This is used for `FIRST_VISIT_DATE` cohort, the cohort selects users\nwhose first visit date is between start date and end date defined in the\nDateRange. The date ranges should be aligned for cohort requests. If the\nrequest contains cohort_nth_day it should be exactly one day long,\nif `ga:cohortNthWeek` it should be aligned to the week boundary (starting\nat Sunday and ending Saturday), and for cohort_nth_month the date range\nshould be aligned to the month (starting at the first and ending on the\nlast day of the month).\nFor LTV requests there are no such restrictions.\nYou do not need to supply a date range for the reportsRequest object.",
+          "description": "This is used for `FIRST_VISIT_DATE` cohort, the cohort selects users\nwhose first visit date is between start date and end date defined in the\nDateRange. The date ranges should be aligned for cohort requests. If the\nrequest contains `ga:cohortNthDay` it should be exactly one day long,\nif `ga:cohortNthWeek` it should be aligned to the week boundary (starting\nat Sunday and ending Saturday), and for `ga:cohortNthMonth` the date range\nshould be aligned to the month (starting at the first and ending on the\nlast day of the month).\nFor LTV requests there are no such restrictions.\nYou do not need to supply a date range for the\n`reportsRequest.dateRanges` field.",
           "$ref": "DateRange"
         },
         "name": {
@@ -795,7 +795,7 @@
           }
         },
         "maxGroupCount": {
-          "description": "Specifies the maximum number of groups to return.\nIf set to -1, returns all groups. The default value is 5.",
+          "description": "Specifies the maximum number of groups to return.\nThe default value is 10, also the maximum value is 1,000.",
           "type": "integer",
           "format": "int32"
         },
@@ -872,7 +872,7 @@
           "$ref": "DynamicSegment"
         },
         "segmentId": {
-          "description": "The segment ID of a built-in or custom segment, for example 'gaid::-3'.",
+          "description": "The segment ID of a built-in or custom segment, for example `gaid::-3`.",
           "type": "string"
         }
       },
@@ -919,7 +919,7 @@
       "type": "object",
       "properties": {
         "lifetimeValue": {
-          "description": "Enable Life Time Value (LTV).  LTV measures lifetime value for users\nacquired through different channels.\nPlease see:\n[Cohort Analysis](https://support.google.com/analytics/answer/6074676) and\n[Lifetime Value](https://support.google.com/analytics/answer/6182550)\nIf the value of lifetimeValue is false:\n\n- The metric values are similar to the values in the web interface cohort\n  report.\n- The cohort definition date ranges must be aligned to the calendar week\n  and month. i.e. while requesting `ga:cohortNthWeek` the `startDate` in\n  the cohort definition should be a Sunday and the `endDate` should be the\n  following Saturday, and for `ga:cohortNthMonth`, the `startDate`\n  should be the 1st of the month and `endDate` should be the last day\n  of the month.\n\nWhen the lifetimeValue is true:\n\n- The metric values will correspond to the values in the web interface\n  LifeTime value report.\n- The Lifetime Value report shows you how user value (Revenue) and\n  engagement (Appviews, Goal Completions, Sessions, and Session Duration)\n  grow during the 90 days after a user is acquired.\n- The metrics are calculated as a cumulative average per user per the time\n  increment.\n- The cohort definition date ranges need not be aligned to the calendar\n  week and month boundaries.",
+          "description": "Enable Life Time Value (LTV).  LTV measures lifetime value for users\nacquired through different channels.\nPlease see:\n[Cohort Analysis](https://support.google.com/analytics/answer/6074676) and\n[Lifetime Value](https://support.google.com/analytics/answer/6182550)\nIf the value of lifetimeValue is false:\n\n- The metric values are similar to the values in the web interface cohort\n  report.\n- The cohort definition date ranges must be aligned to the calendar week\n  and month. i.e. while requesting `ga:cohortNthWeek` the `startDate` in\n  the cohort definition should be a Sunday and the `endDate` should be the\n  following Saturday, and for `ga:cohortNthMonth`, the `startDate`\n  should be the 1st of the month and `endDate` should be the last day\n  of the month.\n\nWhen the lifetimeValue is true:\n\n- The metric values will correspond to the values in the web interface\n  LifeTime value report.\n- The Lifetime Value report shows you how user value (Revenue) and\n  engagement (Appviews, Goal Completions, Sessions, and Session Duration)\n  grow during the 90 days after a user is acquired.\n- The metrics are calculated as a cumulative average per user per the time\n  increment.\n- The cohort definition date ranges need not be aligned to the calendar\n  week and month boundaries.\n- The `viewId` must be an\n  [app view ID](https://support.google.com/analytics/answer/2649553#WebVersusAppViews)",
           "type": "boolean"
         },
         "cohorts": {
@@ -933,7 +933,7 @@
       "id": "CohortGroup"
     },
     "GetReportsResponse": {
-      "description": "The main response class which holds the reports from the Reporting API\nbatchRequest call.",
+      "description": "The main response class which holds the reports from the Reporting API\n`batchGet` call.",
       "type": "object",
       "properties": {
         "reports": {
@@ -1048,7 +1048,7 @@
       "id": "PivotValueRegion"
     }
   },
-  "revision": "20160503",
+  "revision": "20160512",
   "basePath": "",
   "icons": {
     "x32": "http://www.google.com/images/icons/product/search-32.gif",
diff --git a/analyticsreporting/v4/analyticsreporting-gen.go b/analyticsreporting/v4/analyticsreporting-gen.go
index bd0bb66..a001d83 100644
--- a/analyticsreporting/v4/analyticsreporting-gen.go
+++ b/analyticsreporting/v4/analyticsreporting-gen.go
@@ -99,16 +99,19 @@
 	// the
 	// DateRange. The date ranges should be aligned for cohort requests. If
 	// the
-	// request contains cohort_nth_day it should be exactly one day long,
+	// request contains `ga:cohortNthDay` it should be exactly one day
+	// long,
 	// if `ga:cohortNthWeek` it should be aligned to the week boundary
 	// (starting
-	// at Sunday and ending Saturday), and for cohort_nth_month the date
+	// at Sunday and ending Saturday), and for `ga:cohortNthMonth` the date
 	// range
 	// should be aligned to the month (starting at the first and ending on
 	// the
 	// last day of the month).
 	// For LTV requests there are no such restrictions.
-	// You do not need to supply a date range for the reportsRequest object.
+	// You do not need to supply a date range for
+	// the
+	// `reportsRequest.dateRanges` field.
 	DateRange *DateRange `json:"dateRange,omitempty"`
 
 	// Name: A unique name for the cohort. If not defined name will be
@@ -205,6 +208,10 @@
 	// - The cohort definition date ranges need not be aligned to the
 	// calendar
 	//   week and month boundaries.
+	// - The `viewId` must be an
+	//   [app view
+	// ID](https://support.google.com/analytics/answer/2649553#WebVersusAppVi
+	// ews)
 	LifetimeValue bool `json:"lifetimeValue,omitempty"`
 
 	// ForceSendFields is a list of field names (e.g. "Cohorts") to
@@ -517,7 +524,12 @@
 // GetReportsRequest: The batch request containing multiple report
 // request.
 type GetReportsRequest struct {
-	// ReportRequests: Requests, each request will have a separate response.
+	// ReportRequests: Requests, each request will have a separate
+	// response.
+	// There can be a maximum of 5 requests. All requests should have the
+	// same
+	// `dateRange`, `viewId`, `segments`, `samplingLevel`, and
+	// `cohortGroup`.
 	ReportRequests []*ReportRequest `json:"reportRequests,omitempty"`
 
 	// ForceSendFields is a list of field names (e.g. "ReportRequests") to
@@ -537,7 +549,7 @@
 
 // GetReportsResponse: The main response class which holds the reports
 // from the Reporting API
-// batchRequest call.
+// `batchGet` call.
 type GetReportsResponse struct {
 	// Reports: Responses corresponding to each of the request.
 	Reports []*Report `json:"reports,omitempty"`
@@ -584,7 +596,11 @@
 	// to
 	// 1024 characters. Example `ga:totalRefunds/ga:users`, in most cases
 	// the
-	// metric expression is just a single metric name like `ga:users`.
+	// metric expression is just a single metric name like
+	// `ga:users`.
+	// Adding mixed `MetricType` (E.g., `CURRENCY` + `PERCENTAGE`)
+	// metrics
+	// will result in unexpected results.
 	Expression string `json:"expression,omitempty"`
 
 	// FormattingType: Specifies how the metric expression should be
@@ -870,7 +886,7 @@
 	Dimensions []*Dimension `json:"dimensions,omitempty"`
 
 	// MaxGroupCount: Specifies the maximum number of groups to return.
-	// If set to -1, returns all groups. The default value is 5.
+	// The default value is 10, also the maximum value is 1,000.
 	MaxGroupCount int64 `json:"maxGroupCount,omitempty"`
 
 	// Metrics: Metrics to aggregate and return.
@@ -1090,7 +1106,9 @@
 type ReportRequest struct {
 	// CohortGroup: Cohort group associated with this request. If there is a
 	// cohort group
-	// in the request the `ga:cohort` dimension must be present.
+	// in the request the `ga:cohort` dimension must be present. All
+	// requests
+	// should have the same cohort definitions.
 	CohortGroup *CohortGroup `json:"cohortGroup,omitempty"`
 
 	// DateRanges: Date ranges in the request. The request can have a
@@ -1102,9 +1120,12 @@
 	// there are two date ranges, there will be two set of metric values,
 	// one for
 	// the original date range and one for the second date range.
-	// Date ranges should not be specified for cohorts or Lifetime
-	// value
-	// requests.
+	// The `reportRequest.dateRanges` field should not be specified for
+	// cohorts
+	// or Lifetime value requests.
+	// If a date range is not provided, the default date range is
+	// (startDate:
+	// current date - 7 days, endDate: current date - 1 day)
 	DateRanges []*DateRange `json:"dateRanges,omitempty"`
 
 	// DimensionFilterClauses: The dimension filter clauses for filtering
@@ -1121,7 +1142,7 @@
 
 	// FiltersExpression: Dimension or metric filters that restrict the data
 	// returned for your
-	// request. To use the filtersExpression, supply a dimension or metric
+	// request. To use the `filtersExpression`, supply a dimension or metric
 	// on
 	// which to filter, followed by the filter expression. For example,
 	// the
@@ -1161,22 +1182,21 @@
 	// metrics are aggregated.
 	MetricFilterClauses []*MetricFilterClause `json:"metricFilterClauses,omitempty"`
 
-	// Metrics: Metrics (numbers) requested in the request.
+	// Metrics: Metrics, the quantitative measurements, requested in the
+	// request.
+	// Requests must specify at least one metric.
 	Metrics []*Metric `json:"metrics,omitempty"`
 
 	// OrderBys: Sort order on output rows. To compare two rows, the
 	// elements of the
 	// following are applied in order until a difference is found.  All
 	// date
-	// ranges in the output get the same row order. The `order_by` field
-	// gets
-	// applied first followed by the sorts in the `additional_ordering`
-	// fields.
+	// ranges in the output get the same row order.
 	OrderBys []*OrderBy `json:"orderBys,omitempty"`
 
 	// PageSize: Page size is for paging and specifies the maximum number of
 	// returned rows.
-	// Page size should be >= 0. A query returns the default of 1000
+	// Page size should be >= 0. A query returns the default of 1,000
 	// rows.
 	// The Analytics Core Reporting API returns a maximum of 10,000 rows
 	// per
@@ -1205,7 +1225,9 @@
 
 	// SamplingLevel: The desired sampling level. If the sampling level is
 	// not specified the
-	// DEFAULT sampling level will be used.
+	// DEFAULT sampling level will be used. All requests should have
+	// same
+	// `samplingLevel`.
 	//
 	// Possible values:
 	//   "SAMPLING_UNSPECIFIED" - If sampling level is unspecified the
@@ -1223,7 +1245,9 @@
 	// definition helps look
 	// at a subset of the segment request. A request can contain up to
 	// four
-	// segments.
+	// segments. All requests should have the same segment definitions.
+	// Requests
+	// with segments must have the `ga:segment` dimension.
 	Segments []*Segment `json:"segments,omitempty"`
 
 	// ViewId: Unique View Id for retrieving Analytics data.
@@ -1278,7 +1302,7 @@
 	DynamicSegment *DynamicSegment `json:"dynamicSegment,omitempty"`
 
 	// SegmentId: The segment ID of a built-in or custom segment, for
-	// example 'gaid::-3'.
+	// example `gaid::-3`.
 	SegmentId string `json:"segmentId,omitempty"`
 
 	// ForceSendFields is a list of field names (e.g. "DynamicSegment") to
@@ -1324,7 +1348,7 @@
 // options on a dimension.
 type SegmentDimensionFilter struct {
 	// CaseSensitive: Should the match be case sensitive, ignored for
-	// IN_LIST operator.
+	// `IN_LIST` operator.
 	CaseSensitive bool `json:"caseSensitive,omitempty"`
 
 	// DimensionName: Name of the dimension for which the filter is being
@@ -1335,10 +1359,12 @@
 	// for all operators
 	Expressions []string `json:"expressions,omitempty"`
 
-	// MaxComparisonValue: Maximum comparison values for BETWEEN match type.
+	// MaxComparisonValue: Maximum comparison values for `BETWEEN` match
+	// type.
 	MaxComparisonValue string `json:"maxComparisonValue,omitempty"`
 
-	// MinComparisonValue: Minimum comparison values for BETWEEN match type.
+	// MinComparisonValue: Minimum comparison values for `BETWEEN` match
+	// type.
 	MinComparisonValue string `json:"minComparisonValue,omitempty"`
 
 	// Operator: The operator to use to match the dimension with the
@@ -1498,7 +1524,7 @@
 	// treated as minimum comparison value.
 	ComparisonValue string `json:"comparisonValue,omitempty"`
 
-	// MaxComparisonValue: Max comparison value is only used for BETWEEN
+	// MaxComparisonValue: Max comparison value is only used for `BETWEEN`
 	// operator.
 	MaxComparisonValue string `json:"maxComparisonValue,omitempty"`
 
diff --git a/api-list.json b/api-list.json
index 8944069..5b83189 100644
--- a/api-list.json
+++ b/api-list.json
@@ -1961,25 +1961,6 @@
   },
   {
    "kind": "discovery#directoryItem",
-   "id": "reseller:v1sandbox",
-   "name": "reseller",
-   "version": "v1sandbox",
-   "title": "Enterprise Apps Reseller API",
-   "description": "Creates and manages your customers and their subscriptions.",
-   "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/reseller/v1sandbox/rest",
-   "discoveryLink": "./apis/reseller/v1sandbox/rest",
-   "icons": {
-    "x16": "http://www.google.com/images/icons/product/search-16.gif",
-    "x32": "http://www.google.com/images/icons/product/search-32.gif"
-   },
-   "documentationLink": "https://developers.google.com/google-apps/reseller/",
-   "labels": [
-    "limited_availability"
-   ],
-   "preferred": false
-  },
-  {
-   "kind": "discovery#directoryItem",
    "id": "reseller:v1",
    "name": "reseller",
    "version": "v1",
@@ -2037,6 +2018,21 @@
   },
   {
    "kind": "discovery#directoryItem",
+   "id": "runtimeconfig:v1beta1",
+   "name": "runtimeconfig",
+   "version": "v1beta1",
+   "title": "Google Cloud Runtime Configuration API",
+   "description": "Google Cloud RuntimeConfig Service.",
+   "discoveryRestUrl": "https://runtimeconfig.googleapis.com/$discovery/rest?version=v1beta1",
+   "icons": {
+    "x16": "http://www.google.com/images/icons/product/search-16.gif",
+    "x32": "http://www.google.com/images/icons/product/search-32.gif"
+   },
+   "documentationLink": "https://cloud.google.com/deployment-manager/docs/",
+   "preferred": true
+  },
+  {
+   "kind": "discovery#directoryItem",
    "id": "serviceregistry:alpha",
    "name": "serviceregistry",
    "version": "alpha",
@@ -2048,7 +2044,7 @@
     "x16": "http://www.google.com/images/icons/product/search-16.gif",
     "x32": "http://www.google.com/images/icons/product/search-32.gif"
    },
-   "documentationLink": "https://developers.google.com/cloud-serviceregistry/",
+   "documentationLink": "https://cloud.google.com/service-registry/",
    "labels": [
     "limited_availability"
    ],
@@ -2056,6 +2052,21 @@
   },
   {
    "kind": "discovery#directoryItem",
+   "id": "sheets:v4",
+   "name": "sheets",
+   "version": "v4",
+   "title": "Google Sheets API",
+   "description": "Reads and writes Google Sheets.",
+   "discoveryRestUrl": "https://sheets.googleapis.com/$discovery/rest?version=v4",
+   "icons": {
+    "x16": "http://www.google.com/images/icons/product/search-16.gif",
+    "x32": "http://www.google.com/images/icons/product/search-32.gif"
+   },
+   "documentationLink": "https://developers.google.com/sheets/",
+   "preferred": true
+  },
+  {
+   "kind": "discovery#directoryItem",
    "id": "siteVerification:v1",
    "name": "siteVerification",
    "version": "v1",
@@ -2356,7 +2367,7 @@
    "name": "youtubeAnalytics",
    "version": "v1",
    "title": "YouTube Analytics API",
-   "description": "Retrieves your YouTube Analytics reports.",
+   "description": "Retrieves your YouTube Analytics data.",
    "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/youtubeAnalytics/v1/rest",
    "discoveryLink": "./apis/youtubeAnalytics/v1/rest",
    "icons": {
@@ -2372,7 +2383,7 @@
    "name": "youtubeAnalytics",
    "version": "v1beta1",
    "title": "YouTube Analytics API",
-   "description": "Retrieves your YouTube Analytics reports.",
+   "description": "Retrieves your YouTube Analytics data.",
    "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/youtubeAnalytics/v1beta1/rest",
    "discoveryLink": "./apis/youtubeAnalytics/v1beta1/rest",
    "icons": {
diff --git a/bigquery/v2/bigquery-api.json b/bigquery/v2/bigquery-api.json
index df49a42..91bcef4 100644
--- a/bigquery/v2/bigquery-api.json
+++ b/bigquery/v2/bigquery-api.json
@@ -1,11 +1,11 @@
 {
  "kind": "discovery#restDescription",
- "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/z6HzBfGebIdGFhaOZXVF2LxYY3c\"",
+ "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/xJN8TIpPcg1NGIZr6unBuM4TVZg\"",
  "discoveryVersion": "v1",
  "id": "bigquery:v2",
  "name": "bigquery",
  "version": "v2",
- "revision": "20160502",
+ "revision": "20160511",
  "title": "BigQuery API",
  "description": "A data platform for customers to create, manage, share and query data.",
  "ownerDomain": "google.com",
@@ -515,7 +515,7 @@
     },
     "sourceUris": {
      "type": "array",
-     "description": "[Required] The fully-qualified URIs that point to your data in Google Cloud. For Google Cloud Storage URIs: Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. For Google Cloud Bigtable URIs: Exactly one URI can be specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore backups, exactly one URI can be specified, and it must end with '.backup_info'. Also, the '*' wildcard character is not allowed.",
+     "description": "[Required] The fully-qualified URIs that point to your data in Google Cloud. For Google Cloud Storage URIs: Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources. For Google Cloud Bigtable URIs: Exactly one URI can be specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore backups, exactly one URI can be specified, and it must end with '.backup_info'. Also, the '*' wildcard character is not allowed.",
      "items": {
       "type": "string"
      }
@@ -726,6 +726,10 @@
      "type": "boolean",
      "description": "Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false."
     },
+    "autodetect": {
+     "type": "boolean",
+     "description": "[Experimental] Indicates if we should automatically infer the options and schema for CSV and JSON sources."
+    },
     "createDisposition": {
      "type": "string",
      "description": "[Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion."
@@ -1387,6 +1391,11 @@
      "description": "[Output-only] The size of this table in bytes, excluding any data in the streaming buffer.",
      "format": "int64"
     },
+    "numLongTermBytes": {
+     "type": "string",
+     "description": "[Output-only] The number of bytes in the table that are considered \"long-term storage\".",
+     "format": "int64"
+    },
     "numRows": {
      "type": "string",
      "description": "[Output-only] The number of rows of data in this table, excluding any data in the streaming buffer.",
diff --git a/bigquery/v2/bigquery-gen.go b/bigquery/v2/bigquery-gen.go
index 13b0403..7e4bc12 100644
--- a/bigquery/v2/bigquery-gen.go
+++ b/bigquery/v2/bigquery-gen.go
@@ -747,8 +747,7 @@
 	// data in Google Cloud. For Google Cloud Storage URIs: Each URI can
 	// contain one '*' wildcard character and it must come after the
 	// 'bucket' name. Size limits related to load jobs apply to external
-	// data sources, plus an additional limit of 10 GB maximum size across
-	// all URIs. For Google Cloud Bigtable URIs: Exactly one URI can be
+	// data sources. For Google Cloud Bigtable URIs: Exactly one URI can be
 	// specified and it has be a fully specified and valid HTTPS URL for a
 	// Google Cloud Bigtable table. For Google Cloud Datastore backups,
 	// exactly one URI can be specified, and it must end with
@@ -1044,6 +1043,10 @@
 	// value is false.
 	AllowQuotedNewlines bool `json:"allowQuotedNewlines,omitempty"`
 
+	// Autodetect: [Experimental] Indicates if we should automatically infer
+	// the options and schema for CSV and JSON sources.
+	Autodetect bool `json:"autodetect,omitempty"`
+
 	// CreateDisposition: [Optional] Specifies whether the job is allowed to
 	// create new tables. The following values are supported:
 	// CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the
@@ -1889,6 +1892,10 @@
 	// any data in the streaming buffer.
 	NumBytes int64 `json:"numBytes,omitempty,string"`
 
+	// NumLongTermBytes: [Output-only] The number of bytes in the table that
+	// are considered "long-term storage".
+	NumLongTermBytes int64 `json:"numLongTermBytes,omitempty,string"`
+
 	// NumRows: [Output-only] The number of rows of data in this table,
 	// excluding any data in the streaming buffer.
 	NumRows uint64 `json:"numRows,omitempty,string"`
diff --git a/compute/v0.alpha/compute-api.json b/compute/v0.alpha/compute-api.json
index f938157..512a611 100644
--- a/compute/v0.alpha/compute-api.json
+++ b/compute/v0.alpha/compute-api.json
@@ -1,11 +1,11 @@
 {
  "kind": "discovery#restDescription",
- "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/g3Knv5UWE5OyelxuV37Yt0qwZ_s\"",
+ "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/8Fs2vePryMPianMrCoPKbvMbQvo\"",
  "discoveryVersion": "v1",
  "id": "compute:alpha",
  "name": "compute",
  "version": "alpha",
- "revision": "20160426",
+ "revision": "20160509",
  "title": "Compute Engine API",
  "description": "Creates and runs virtual machines on Google Cloud Platform.",
  "ownerDomain": "google.com",
@@ -1943,7 +1943,7 @@
     },
     "sourceTags": {
      "type": "array",
-     "description": "A list of instance tags which this rule applies to. One or both of sourceRanges and sourceTags may be set.\n\nIf both properties are set, an inbound connection is allowed if the range matches the sourceRanges OR the tag of the source matches the sourceTags property. The connection does not need to match both properties.",
+     "description": "A list of instance tags which this rule applies to. One or both of sourceRanges and sourceTags may be set.\n\nIf both properties are set, an inbound connection is allowed if the range matches the sourceRanges OR the tag of the source matches the sourceTags property. The connection does not need to match both properties.\n\nSource tags cannot be used to allow access to an instance's external IP address. Because tags are associated with an instance, not an IP address, source tags can only be used to control traffic traveling from an instance inside the same network as the firewall.",
      "items": {
       "type": "string"
      }
@@ -1988,6 +1988,28 @@
     }
    }
   },
+  "FixedOrPercent": {
+   "id": "FixedOrPercent",
+   "type": "object",
+   "description": "Encapsulates numeric value that can be either absolute or relative.",
+   "properties": {
+    "calculated": {
+     "type": "integer",
+     "description": "[Output Only] Absolute value calculated based on mode: mode = fixed -\u003e calculated = fixed = percent -\u003e calculated = ceiling(percent/100 * base_value)",
+     "format": "int32"
+    },
+    "fixed": {
+     "type": "integer",
+     "description": "fixed must be non-negative.",
+     "format": "int32"
+    },
+    "percent": {
+     "type": "integer",
+     "description": "percent must belong to [0, 100].",
+     "format": "int32"
+    }
+   }
+  },
   "ForwardingRule": {
    "id": "ForwardingRule",
    "type": "object",
@@ -3271,6 +3293,17 @@
       ]
      }
     },
+    "updatePolicy": {
+     "$ref": "InstanceGroupManagerUpdatePolicy",
+     "description": "The update policy for this managed instance group."
+    },
+    "versions": {
+     "type": "array",
+     "description": "Versions supported by this IGM. User should set this field if they need fine-grained control over how many instances in each version are run by this IGM. Versions are keyed by instanceTemplate. Every instanceTemplate can appear at most once. This field overrides instanceTemplate field. If both instanceTemplate and versions are set, the user receives a warning. \"instanceTemplate: X\" is semantically equivalent to \"versions [ { instanceTemplate: X } ]\". Exactly one version must have targetSize field left unset. Size of such a version will be calculated automatically.",
+     "items": {
+      "$ref": "InstanceGroupManagerVersion"
+     }
+    },
     "zone": {
      "type": "string",
      "description": "The name of the zone where the managed instance group is located."
@@ -3400,6 +3433,79 @@
     }
    }
   },
+  "InstanceGroupManagerUpdatePolicy": {
+   "id": "InstanceGroupManagerUpdatePolicy",
+   "type": "object",
+   "properties": {
+    "maxSurge": {
+     "$ref": "FixedOrPercent",
+     "description": "Maximum number of instances that can be created above the InstanceGroupManager.targetSize during the update process. By default, a fixed value of 1 is used. Using maxSurge \u003e 0 will cause instance names to change during the update process. At least one of { maxSurge, maxUnavailable } must be greater than 0."
+    },
+    "maxUnavailable": {
+     "$ref": "FixedOrPercent",
+     "description": "Maximum number of instances that can be unavailable during the update process. The instance is considered available if all of the following conditions are satisfied: 1. instance's status is RUNNING 2. instance's liveness health check result was observed to be HEALTHY at least once By default, a fixed value of 1 is used. At least one of { maxSurge, maxUnavailable } must be greater than 0."
+    },
+    "minReadySec": {
+     "type": "integer",
+     "description": "Minimum number of seconds to wait for after a newly created instance becomes available.",
+     "format": "int32"
+    },
+    "minimalAction": {
+     "type": "string",
+     "description": "Minimal action to be taken on an instance. The order of action types is: REBOOT \u003c REPLACE.",
+     "enum": [
+      "REBOOT",
+      "REPLACE"
+     ],
+     "enumDescriptions": [
+      "",
+      ""
+     ]
+    },
+    "standbyMode": {
+     "type": "string",
+     "description": "Standby mode of all the standby instances managed by the IGM.",
+     "enum": [
+      "DRAINED"
+     ],
+     "enumDescriptions": [
+      ""
+     ]
+    },
+    "type": {
+     "type": "string",
+     "enum": [
+      "OPPORTUNISTIC",
+      "PROACTIVE"
+     ],
+     "enumDescriptions": [
+      "",
+      ""
+     ]
+    }
+   }
+  },
+  "InstanceGroupManagerVersion": {
+   "id": "InstanceGroupManagerVersion",
+   "type": "object",
+   "properties": {
+    "instanceTemplate": {
+     "type": "string"
+    },
+    "keepStandbyInstances": {
+     "type": "boolean",
+     "description": "If this field is set, IGM maintains a pool of standby instances created from instanceTemplate. The number of standby instances is such that the total number of instances created from this instanceTemplate is equal to InstanceGroupManager.targetSize regardless of what is the value of targetSize.fixed or targetSize.percent. Standby instances are useful during the update, when the user wants to be able to quickly rollout/rollback to the target version."
+    },
+    "tag": {
+     "type": "string",
+     "description": "Tag describing the version. Changing it may trigger an action configured in UpdatePolicy."
+    },
+    "targetSize": {
+     "$ref": "FixedOrPercent",
+     "description": "Intended number of instances that are created from instanceTemplate. The final number of instances created from instanceTemplate will be equal to: * if expressed as fixed number: min(targetSize.fixed, instanceGroupManager.targetSize), * if expressed as percent: ceiling(targetSize.percent * InstanceGroupManager.targetSize). If unset, this version will handle all the remaining instances."
+    }
+   }
+  },
   "InstanceGroupManagersAbandonInstancesRequest": {
    "id": "InstanceGroupManagersAbandonInstancesRequest",
    "type": "object",
@@ -4194,7 +4300,7 @@
     },
     "isSharedCpu": {
      "type": "boolean",
-     "description": "[Output Only] Whether this machine type has a shared CPU."
+     "description": "[Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information."
     },
     "kind": {
      "type": "string",
@@ -4439,6 +4545,16 @@
     "lastAttempt": {
      "$ref": "ManagedInstanceLastAttempt",
      "description": "[Output Only] Information about the last attempt to create or delete the instance."
+    },
+    "standbyMode": {
+     "type": "string",
+     "description": "[Output Only] Standby mode of the instance. This field is non-empty iff the instance is a standby.",
+     "enum": [
+      "DRAINED"
+     ],
+     "enumDescriptions": [
+      ""
+     ]
     }
    }
   },
@@ -4625,7 +4741,7 @@
     },
     "networkIP": {
      "type": "string",
-     "description": "An IPV4 internal network address to assign to the instance for this network interface. If not specified by user an unused internal IP is assigned by system."
+     "description": "An IPv4 internal network address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system."
     },
     "subnetwork": {
      "type": "string",
@@ -7192,12 +7308,16 @@
      "description": "Sesssion affinity option, must be one of the following values:\nNONE: Connections from the same client IP may go to any instance in the pool.\nCLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy.\nCLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy.",
      "enum": [
       "CLIENT_IP",
+      "CLIENT_IP_PORT_PROTO",
       "CLIENT_IP_PROTO",
+      "GENERATED_COOKIE",
       "NONE"
      ],
      "enumDescriptions": [
       "",
       "",
+      "",
+      "",
       ""
      ]
     }
@@ -9850,6 +9970,10 @@
        "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
        "location": "path"
       },
+      "guestFlush": {
+       "type": "boolean",
+       "location": "query"
+      },
       "project": {
        "type": "string",
        "description": "Project ID for this request.",
diff --git a/compute/v0.alpha/compute-gen.go b/compute/v0.alpha/compute-gen.go
index 05e61d0..d99d8e2 100644
--- a/compute/v0.alpha/compute-gen.go
+++ b/compute/v0.alpha/compute-gen.go
@@ -3064,6 +3064,11 @@
 	// range matches the sourceRanges OR the tag of the source matches the
 	// sourceTags property. The connection does not need to match both
 	// properties.
+	//
+	// Source tags cannot be used to allow access to an instance's external
+	// IP address. Because tags are associated with an instance, not an IP
+	// address, source tags can only be used to control traffic traveling
+	// from an instance inside the same network as the firewall.
 	SourceTags []string `json:"sourceTags,omitempty"`
 
 	// TargetTags: A list of instance tags indicating sets of instances
@@ -3164,6 +3169,35 @@
 	return gensupport.MarshalJSON(raw, s.ForceSendFields)
 }
 
+// FixedOrPercent: Encapsulates numeric value that can be either
+// absolute or relative.
+type FixedOrPercent struct {
+	// Calculated: [Output Only] Absolute value calculated based on mode:
+	// mode = fixed -> calculated = fixed = percent -> calculated =
+	// ceiling(percent/100 * base_value)
+	Calculated int64 `json:"calculated,omitempty"`
+
+	// Fixed: fixed must be non-negative.
+	Fixed int64 `json:"fixed,omitempty"`
+
+	// Percent: percent must belong to [0, 100].
+	Percent int64 `json:"percent,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Calculated") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *FixedOrPercent) MarshalJSON() ([]byte, error) {
+	type noMethod FixedOrPercent
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
 // ForwardingRule: A ForwardingRule resource. A ForwardingRule resource
 // specifies which pool of target virtual machines to forward a packet
 // to if it matches the given [IPAddress, IPProtocol, portRange] tuple.
@@ -4747,6 +4781,20 @@
 	// Resizing the group changes this number.
 	TargetSize int64 `json:"targetSize,omitempty"`
 
+	// UpdatePolicy: The update policy for this managed instance group.
+	UpdatePolicy *InstanceGroupManagerUpdatePolicy `json:"updatePolicy,omitempty"`
+
+	// Versions: Versions supported by this IGM. User should set this field
+	// if they need fine-grained control over how many instances in each
+	// version are run by this IGM. Versions are keyed by instanceTemplate.
+	// Every instanceTemplate can appear at most once. This field overrides
+	// instanceTemplate field. If both instanceTemplate and versions are
+	// set, the user receives a warning. "instanceTemplate: X" is
+	// semantically equivalent to "versions [ { instanceTemplate: X } ]".
+	// Exactly one version must have targetSize field left unset. Size of
+	// such a version will be calculated automatically.
+	Versions []*InstanceGroupManagerVersion `json:"versions,omitempty"`
+
 	// Zone: The name of the zone where the managed instance group is
 	// located.
 	Zone string `json:"zone,omitempty"`
@@ -4949,6 +4997,102 @@
 	return gensupport.MarshalJSON(raw, s.ForceSendFields)
 }
 
+type InstanceGroupManagerUpdatePolicy struct {
+	// MaxSurge: Maximum number of instances that can be created above the
+	// InstanceGroupManager.targetSize during the update process. By
+	// default, a fixed value of 1 is used. Using maxSurge > 0 will cause
+	// instance names to change during the update process. At least one of {
+	// maxSurge, maxUnavailable } must be greater than 0.
+	MaxSurge *FixedOrPercent `json:"maxSurge,omitempty"`
+
+	// MaxUnavailable: Maximum number of instances that can be unavailable
+	// during the update process. The instance is considered available if
+	// all of the following conditions are satisfied: 1. instance's status
+	// is RUNNING 2. instance's liveness health check result was observed to
+	// be HEALTHY at least once By default, a fixed value of 1 is used. At
+	// least one of { maxSurge, maxUnavailable } must be greater than 0.
+	MaxUnavailable *FixedOrPercent `json:"maxUnavailable,omitempty"`
+
+	// MinReadySec: Minimum number of seconds to wait for after a newly
+	// created instance becomes available.
+	MinReadySec int64 `json:"minReadySec,omitempty"`
+
+	// MinimalAction: Minimal action to be taken on an instance. The order
+	// of action types is: REBOOT < REPLACE.
+	//
+	// Possible values:
+	//   "REBOOT"
+	//   "REPLACE"
+	MinimalAction string `json:"minimalAction,omitempty"`
+
+	// StandbyMode: Standby mode of all the standby instances managed by the
+	// IGM.
+	//
+	// Possible values:
+	//   "DRAINED"
+	StandbyMode string `json:"standbyMode,omitempty"`
+
+	// Possible values:
+	//   "OPPORTUNISTIC"
+	//   "PROACTIVE"
+	Type string `json:"type,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "MaxSurge") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *InstanceGroupManagerUpdatePolicy) MarshalJSON() ([]byte, error) {
+	type noMethod InstanceGroupManagerUpdatePolicy
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+type InstanceGroupManagerVersion struct {
+	InstanceTemplate string `json:"instanceTemplate,omitempty"`
+
+	// KeepStandbyInstances: If this field is set, IGM maintains a pool of
+	// standby instances created from instanceTemplate. The number of
+	// standby instances is such that the total number of instances created
+	// from this instanceTemplate is equal to
+	// InstanceGroupManager.targetSize regardless of what is the value of
+	// targetSize.fixed or targetSize.percent. Standby instances are useful
+	// during the update, when the user wants to be able to quickly
+	// rollout/rollback to the target version.
+	KeepStandbyInstances bool `json:"keepStandbyInstances,omitempty"`
+
+	// Tag: Tag describing the version. Changing it may trigger an action
+	// configured in UpdatePolicy.
+	Tag string `json:"tag,omitempty"`
+
+	// TargetSize: Intended number of instances that are created from
+	// instanceTemplate. The final number of instances created from
+	// instanceTemplate will be equal to: * if expressed as fixed number:
+	// min(targetSize.fixed, instanceGroupManager.targetSize), * if
+	// expressed as percent: ceiling(targetSize.percent *
+	// InstanceGroupManager.targetSize). If unset, this version will handle
+	// all the remaining instances.
+	TargetSize *FixedOrPercent `json:"targetSize,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "InstanceTemplate") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *InstanceGroupManagerVersion) MarshalJSON() ([]byte, error) {
+	type noMethod InstanceGroupManagerVersion
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
 type InstanceGroupManagersAbandonInstancesRequest struct {
 	// Instances: The URL for one or more instances to abandon from the
 	// managed instance group.
@@ -6078,7 +6222,7 @@
 	Id uint64 `json:"id,omitempty,string"`
 
 	// IsSharedCpu: [Output Only] Whether this machine type has a shared
-	// CPU.
+	// CPU. See Shared-core machine types for more information.
 	IsSharedCpu bool `json:"isSharedCpu,omitempty"`
 
 	// Kind: [Output Only] The type of the resource. Always
@@ -6382,6 +6526,13 @@
 	// create or delete the instance.
 	LastAttempt *ManagedInstanceLastAttempt `json:"lastAttempt,omitempty"`
 
+	// StandbyMode: [Output Only] Standby mode of the instance. This field
+	// is non-empty iff the instance is a standby.
+	//
+	// Possible values:
+	//   "DRAINED"
+	StandbyMode string `json:"standbyMode,omitempty"`
+
 	// ForceSendFields is a list of field names (e.g. "CurrentAction") to
 	// unconditionally include in API requests. By default, fields with
 	// empty values are omitted from API requests. However, any non-pointer,
@@ -6652,9 +6803,9 @@
 	// - global/networks/default
 	Network string `json:"network,omitempty"`
 
-	// NetworkIP: An IPV4 internal network address to assign to the instance
-	// for this network interface. If not specified by user an unused
-	// internal IP is assigned by system.
+	// NetworkIP: An IPv4 internal network address to assign to the instance
+	// for this network interface. If not specified by the user, an unused
+	// internal IP is assigned by the system.
 	NetworkIP string `json:"networkIP,omitempty"`
 
 	// Subnetwork: The URL of the Subnetwork resource for this instance. If
@@ -9965,7 +10116,9 @@
 	//
 	// Possible values:
 	//   "CLIENT_IP"
+	//   "CLIENT_IP_PORT_PROTO"
 	//   "CLIENT_IP_PROTO"
+	//   "GENERATED_COOKIE"
 	//   "NONE"
 	SessionAffinity string `json:"sessionAffinity,omitempty"`
 
@@ -17318,6 +17471,12 @@
 	return c
 }
 
+// GuestFlush sets the optional parameter "guestFlush":
+func (c *DisksCreateSnapshotCall) GuestFlush(guestFlush bool) *DisksCreateSnapshotCall {
+	c.urlParams_.Set("guestFlush", fmt.Sprint(guestFlush))
+	return c
+}
+
 // Fields allows partial responses to be retrieved. See
 // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 // for more information.
@@ -17411,6 +17570,10 @@
 	//       "required": true,
 	//       "type": "string"
 	//     },
+	//     "guestFlush": {
+	//       "location": "query",
+	//       "type": "boolean"
+	//     },
 	//     "project": {
 	//       "description": "Project ID for this request.",
 	//       "location": "path",
diff --git a/compute/v0.beta/compute-api.json b/compute/v0.beta/compute-api.json
index 51ab6d2..caed251 100644
--- a/compute/v0.beta/compute-api.json
+++ b/compute/v0.beta/compute-api.json
@@ -1,11 +1,11 @@
 {
  "kind": "discovery#restDescription",
- "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/qdr1w6sMhGzZZQqehsiwfB-1J_I\"",
+ "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/ouy7ZdLkvFk1jjdhnmfKA-WXl0w\"",
  "discoveryVersion": "v1",
  "id": "compute:beta",
  "name": "compute",
  "version": "beta",
- "revision": "20160426",
+ "revision": "20160509",
  "title": "Compute Engine API",
  "description": "Creates and runs virtual machines on Google Cloud Platform.",
  "ownerDomain": "google.com",
@@ -1573,7 +1573,7 @@
     },
     "sourceTags": {
      "type": "array",
-     "description": "A list of instance tags which this rule applies to. One or both of sourceRanges and sourceTags may be set.\n\nIf both properties are set, an inbound connection is allowed if the range matches the sourceRanges OR the tag of the source matches the sourceTags property. The connection does not need to match both properties.",
+     "description": "A list of instance tags which this rule applies to. One or both of sourceRanges and sourceTags may be set.\n\nIf both properties are set, an inbound connection is allowed if the range matches the sourceRanges OR the tag of the source matches the sourceTags property. The connection does not need to match both properties.\n\nSource tags cannot be used to allow access to an instance's external IP address. Because tags are associated with an instance, not an IP address, source tags can only be used to control traffic traveling from an instance inside the same network as the firewall.",
      "items": {
       "type": "string"
      }
@@ -3551,7 +3551,7 @@
     },
     "isSharedCpu": {
      "type": "boolean",
-     "description": "[Output Only] Whether this machine type has a shared CPU."
+     "description": "[Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information."
     },
     "kind": {
      "type": "string",
@@ -3978,7 +3978,7 @@
     },
     "networkIP": {
      "type": "string",
-     "description": "An IPV4 internal network address to assign to the instance for this network interface. If not specified by user an unused internal IP is assigned by system."
+     "description": "An IPv4 internal network address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system."
     },
     "subnetwork": {
      "type": "string",
diff --git a/compute/v0.beta/compute-gen.go b/compute/v0.beta/compute-gen.go
index 96cbd74..d86c5a4 100644
--- a/compute/v0.beta/compute-gen.go
+++ b/compute/v0.beta/compute-gen.go
@@ -2550,6 +2550,11 @@
 	// range matches the sourceRanges OR the tag of the source matches the
 	// sourceTags property. The connection does not need to match both
 	// properties.
+	//
+	// Source tags cannot be used to allow access to an instance's external
+	// IP address. Because tags are associated with an instance, not an IP
+	// address, source tags can only be used to control traffic traveling
+	// from an instance inside the same network as the firewall.
 	SourceTags []string `json:"sourceTags,omitempty"`
 
 	// TargetTags: A list of instance tags indicating sets of instances
@@ -5208,7 +5213,7 @@
 	Id uint64 `json:"id,omitempty,string"`
 
 	// IsSharedCpu: [Output Only] Whether this machine type has a shared
-	// CPU.
+	// CPU. See Shared-core machine types for more information.
 	IsSharedCpu bool `json:"isSharedCpu,omitempty"`
 
 	// Kind: [Output Only] The type of the resource. Always
@@ -5777,9 +5782,9 @@
 	// - global/networks/default
 	Network string `json:"network,omitempty"`
 
-	// NetworkIP: An IPV4 internal network address to assign to the instance
-	// for this network interface. If not specified by user an unused
-	// internal IP is assigned by system.
+	// NetworkIP: An IPv4 internal network address to assign to the instance
+	// for this network interface. If not specified by the user, an unused
+	// internal IP is assigned by the system.
 	NetworkIP string `json:"networkIP,omitempty"`
 
 	// Subnetwork: The URL of the Subnetwork resource for this instance. If
diff --git a/compute/v1/compute-api.json b/compute/v1/compute-api.json
index b9e0b1a..9dacfa8 100644
--- a/compute/v1/compute-api.json
+++ b/compute/v1/compute-api.json
@@ -1,11 +1,11 @@
 {
  "kind": "discovery#restDescription",
- "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/-kKJM_jdN_4N4POlnVybNFH0Kag\"",
+ "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/EHCe447NNFzcuEzJ3q8xwd99R4Q\"",
  "discoveryVersion": "v1",
  "id": "compute:v1",
  "name": "compute",
  "version": "v1",
- "revision": "20160426",
+ "revision": "20160509",
  "title": "Compute Engine API",
  "description": "Creates and runs virtual machines on Google Cloud Platform.",
  "ownerDomain": "google.com",
@@ -1471,7 +1471,7 @@
     },
     "sourceTags": {
      "type": "array",
-     "description": "A list of instance tags which this rule applies to. One or both of sourceRanges and sourceTags may be set.\n\nIf both properties are set, an inbound connection is allowed if the range matches the sourceRanges OR the tag of the source matches the sourceTags property. The connection does not need to match both properties.",
+     "description": "A list of instance tags which this rule applies to. One or both of sourceRanges and sourceTags may be set.\n\nIf both properties are set, an inbound connection is allowed if the range matches the sourceRanges OR the tag of the source matches the sourceTags property. The connection does not need to match both properties.\n\nSource tags cannot be used to allow access to an instance's external IP address. Because tags are associated with an instance, not an IP address, source tags can only be used to control traffic traveling from an instance inside the same network as the firewall.",
      "items": {
       "type": "string"
      }
@@ -3754,7 +3754,7 @@
     },
     "networkIP": {
      "type": "string",
-     "description": "An IPV4 internal network address to assign to the instance for this network interface. If not specified by user an unused internal IP is assigned by system."
+     "description": "An IPv4 internal network address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system."
     },
     "subnetwork": {
      "type": "string",
diff --git a/compute/v1/compute-gen.go b/compute/v1/compute-gen.go
index e8ac3e7..9661e61 100644
--- a/compute/v1/compute-gen.go
+++ b/compute/v1/compute-gen.go
@@ -2372,6 +2372,11 @@
 	// range matches the sourceRanges OR the tag of the source matches the
 	// sourceTags property. The connection does not need to match both
 	// properties.
+	//
+	// Source tags cannot be used to allow access to an instance's external
+	// IP address. Because tags are associated with an instance, not an IP
+	// address, source tags can only be used to control traffic traveling
+	// from an instance inside the same network as the firewall.
 	SourceTags []string `json:"sourceTags,omitempty"`
 
 	// TargetTags: A list of instance tags indicating sets of instances
@@ -5379,9 +5384,9 @@
 	// - global/networks/default
 	Network string `json:"network,omitempty"`
 
-	// NetworkIP: An IPV4 internal network address to assign to the instance
-	// for this network interface. If not specified by user an unused
-	// internal IP is assigned by system.
+	// NetworkIP: An IPv4 internal network address to assign to the instance
+	// for this network interface. If not specified by the user, an unused
+	// internal IP is assigned by the system.
 	NetworkIP string `json:"networkIP,omitempty"`
 
 	// Subnetwork: The URL of the Subnetwork resource for this instance. If
diff --git a/firebaserules/v1/firebaserules-api.json b/firebaserules/v1/firebaserules-api.json
index 1d7720d..2f0d25f 100644
--- a/firebaserules/v1/firebaserules-api.json
+++ b/firebaserules/v1/firebaserules-api.json
@@ -9,7 +9,7 @@
       }
     }
   },
-  "description": "The Firebase Rules API allows developers to create and manage rules that determine when a Firebase Rules-enabled service should permit a request.\n",
+  "description": "Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request.\n",
   "protocol": "rest",
   "title": "Firebase Rules API",
   "resources": {
@@ -517,7 +517,7 @@
       "id": "Issue"
     }
   },
-  "revision": "20160506",
+  "revision": "20160513",
   "basePath": "",
   "icons": {
     "x32": "http://www.google.com/images/icons/product/search-32.gif",
diff --git a/identitytoolkit/v3/identitytoolkit-api.json b/identitytoolkit/v3/identitytoolkit-api.json
index 833c425..cee8aa9 100644
--- a/identitytoolkit/v3/identitytoolkit-api.json
+++ b/identitytoolkit/v3/identitytoolkit-api.json
@@ -1,12 +1,12 @@
 {
  "kind": "discovery#restDescription",
- "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/1jTcUxjnrXHKHJeGnVacLku5ypc\"",
+ "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/R4cuCODTYsbGjTBiFOeVYpfBJ-Q\"",
  "discoveryVersion": "v1",
  "id": "identitytoolkit:v3",
  "name": "identitytoolkit",
  "canonicalName": "Identity Toolkit",
  "version": "v3",
- "revision": "20160420",
+ "revision": "20160510",
  "title": "Google Identity Toolkit API",
  "description": "Help the third party sites to implement federated login.",
  "ownerDomain": "google.com",
@@ -758,6 +758,11 @@
    "type": "object",
    "description": "Request to verify a custom token",
    "properties": {
+    "delegatedProjectNumber": {
+     "type": "string",
+     "description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.",
+     "format": "int64"
+    },
     "instanceId": {
      "type": "string",
      "description": "Instance id token of the app."
diff --git a/identitytoolkit/v3/identitytoolkit-gen.go b/identitytoolkit/v3/identitytoolkit-gen.go
index 86e3214..31673f2 100644
--- a/identitytoolkit/v3/identitytoolkit-gen.go
+++ b/identitytoolkit/v3/identitytoolkit-gen.go
@@ -880,6 +880,10 @@
 // IdentitytoolkitRelyingpartyVerifyCustomTokenRequest: Request to
 // verify a custom token
 type IdentitytoolkitRelyingpartyVerifyCustomTokenRequest struct {
+	// DelegatedProjectNumber: GCP project number of the requesting
+	// delegated app. Currently only intended for Firebase V1 migration.
+	DelegatedProjectNumber int64 `json:"delegatedProjectNumber,omitempty,string"`
+
 	// InstanceId: Instance id token of the app.
 	InstanceId string `json:"instanceId,omitempty"`
 
@@ -890,12 +894,13 @@
 	// Token: The custom token to verify
 	Token string `json:"token,omitempty"`
 
-	// ForceSendFields is a list of field names (e.g. "InstanceId") to
-	// unconditionally include in API requests. By default, fields with
-	// empty values are omitted from API requests. However, any non-pointer,
-	// non-interface field appearing in ForceSendFields will be sent to the
-	// server regardless of whether the field is empty or not. This may be
-	// used to include empty fields in Patch requests.
+	// ForceSendFields is a list of field names (e.g.
+	// "DelegatedProjectNumber") to unconditionally include in API requests.
+	// By default, fields with empty values are omitted from API requests.
+	// However, any non-pointer, non-interface field appearing in
+	// ForceSendFields will be sent to the server regardless of whether the
+	// field is empty or not. This may be used to include empty fields in
+	// Patch requests.
 	ForceSendFields []string `json:"-"`
 }
 
diff --git a/runtimeconfig/v1beta1/runtimeconfig-api.json b/runtimeconfig/v1beta1/runtimeconfig-api.json
new file mode 100644
index 0000000..fc556d7
--- /dev/null
+++ b/runtimeconfig/v1beta1/runtimeconfig-api.json
@@ -0,0 +1,875 @@
+{
+  "id": "runtimeconfig:v1beta1",
+  "auth": {
+    "oauth2": {
+      "scopes": {
+        "https://www.googleapis.com/auth/cloud-platform": {
+          "description": "View and manage your data across Google Cloud Platform services"
+        },
+        "https://www.googleapis.com/auth/cloudruntimeconfig": {
+          "description": "Manage your Google Cloud Platform services' runtime configuration"
+        }
+      }
+    }
+  },
+  "description": "Google Cloud Runtime Configuration Service.",
+  "protocol": "rest",
+  "title": "Google Cloud Runtime Configuration API",
+  "resources": {
+    "projects": {
+      "resources": {
+        "configs": {
+          "resources": {
+            "variables": {
+              "methods": {
+                "watch": {
+                  "id": "runtimeconfig.projects.configs.variables.watch",
+                  "response": {
+                    "$ref": "Variable"
+                  },
+                  "parameterOrder": [
+                    "name"
+                  ],
+                  "description": "WatchVariable watches for a variable to change and then returns the new\nvalue or times out.\nIf variable is deleted while being watched, VariableState will be DELETED\nand the Value will contain the last known value.\nIf the operation deadline is set to a larger value than internal timeout\nexisting, current variable value will be returned and Variable state will\nbe VARIABLE_STATE_UNSPECIFIED.",
+                  "request": {
+                    "$ref": "WatchVariableRequest"
+                  },
+                  "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}:watch",
+                  "httpMethod": "POST",
+                  "parameters": {
+                    "name": {
+                      "description": "The name of the variable to retrieve.",
+                      "required": true,
+                      "pattern": "^projects/[^/]*/configs/[^/]*/variables/.*$",
+                      "location": "path",
+                      "type": "string"
+                    }
+                  },
+                  "path": "v1beta1/{+name}:watch",
+                  "scopes": [
+                    "https://www.googleapis.com/auth/cloud-platform",
+                    "https://www.googleapis.com/auth/cloudruntimeconfig"
+                  ]
+                },
+                "list": {
+                  "id": "runtimeconfig.projects.configs.variables.list",
+                  "response": {
+                    "$ref": "ListVariablesResponse"
+                  },
+                  "parameterOrder": [
+                    "parent"
+                  ],
+                  "description": "Lists variables within given RuntimeConfig object, matching optionally\nprovided filter.\nList contains only variable metadata, but not values.",
+                  "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables",
+                  "httpMethod": "GET",
+                  "parameters": {
+                    "pageSize": {
+                      "description": "List pagination support.\nThe size of the page to return. We may return fewer elements.",
+                      "location": "query",
+                      "type": "integer",
+                      "format": "int32"
+                    },
+                    "filter": {
+                      "description": "List only variables matching filter prefix exactly.\ne.g. `projects/{project_id}/config/{config_id}/variables/{variable/id}`.",
+                      "location": "query",
+                      "type": "string"
+                    },
+                    "parent": {
+                      "description": "Which RuntimeConfig object to list for variables.",
+                      "required": true,
+                      "pattern": "^projects/[^/]*/configs/[^/]*$",
+                      "location": "path",
+                      "type": "string"
+                    },
+                    "pageToken": {
+                      "description": "The token for pagination.",
+                      "location": "query",
+                      "type": "string"
+                    }
+                  },
+                  "path": "v1beta1/{+parent}/variables",
+                  "scopes": [
+                    "https://www.googleapis.com/auth/cloud-platform",
+                    "https://www.googleapis.com/auth/cloudruntimeconfig"
+                  ]
+                },
+                "get": {
+                  "id": "runtimeconfig.projects.configs.variables.get",
+                  "response": {
+                    "$ref": "Variable"
+                  },
+                  "parameterOrder": [
+                    "name"
+                  ],
+                  "description": "Gets the variable resource object.",
+                  "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}",
+                  "httpMethod": "GET",
+                  "parameters": {
+                    "name": {
+                      "description": "What variable to return.",
+                      "required": true,
+                      "pattern": "^projects/[^/]*/configs/[^/]*/variables/.*$",
+                      "location": "path",
+                      "type": "string"
+                    }
+                  },
+                  "path": "v1beta1/{+name}",
+                  "scopes": [
+                    "https://www.googleapis.com/auth/cloud-platform",
+                    "https://www.googleapis.com/auth/cloudruntimeconfig"
+                  ]
+                },
+                "create": {
+                  "id": "runtimeconfig.projects.configs.variables.create",
+                  "response": {
+                    "$ref": "Variable"
+                  },
+                  "parameterOrder": [
+                    "parent"
+                  ],
+                  "description": "Creates a variable within the given configuration.\nCreate variable will create all required intermediate path elements.\nIt is a FAILED_PRECONDITION error to create a variable with a name that is\na prefix of an existing variable name, or that has an existing variable\nname as a prefix.",
+                  "request": {
+                    "$ref": "Variable"
+                  },
+                  "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables",
+                  "httpMethod": "POST",
+                  "parameters": {
+                    "parent": {
+                      "description": "The configuration parent, that will own the variable.\nRequired, must a valid configuration name within project_id.",
+                      "required": true,
+                      "pattern": "^projects/[^/]*/configs/[^/]*$",
+                      "location": "path",
+                      "type": "string"
+                    }
+                  },
+                  "path": "v1beta1/{+parent}/variables",
+                  "scopes": [
+                    "https://www.googleapis.com/auth/cloud-platform",
+                    "https://www.googleapis.com/auth/cloudruntimeconfig"
+                  ]
+                },
+                "update": {
+                  "id": "runtimeconfig.projects.configs.variables.update",
+                  "response": {
+                    "$ref": "Variable"
+                  },
+                  "parameterOrder": [
+                    "name"
+                  ],
+                  "description": "Updates an existing variable with a new value.",
+                  "request": {
+                    "$ref": "Variable"
+                  },
+                  "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}",
+                  "httpMethod": "PUT",
+                  "parameters": {
+                    "name": {
+                      "description": "The name of the variable to update.\nIn the format of:\n\"projects/{project_id}/configs/{config_id}/variables/{variable_id}\"",
+                      "required": true,
+                      "pattern": "^projects/[^/]*/configs/[^/]*/variables/.*$",
+                      "location": "path",
+                      "type": "string"
+                    }
+                  },
+                  "path": "v1beta1/{+name}",
+                  "scopes": [
+                    "https://www.googleapis.com/auth/cloud-platform",
+                    "https://www.googleapis.com/auth/cloudruntimeconfig"
+                  ]
+                },
+                "delete": {
+                  "id": "runtimeconfig.projects.configs.variables.delete",
+                  "response": {
+                    "$ref": "Empty"
+                  },
+                  "parameterOrder": [
+                    "name"
+                  ],
+                  "description": "Deletes variable or variables.\nIf name denotes a variable, that variable is deleted. If name is a prefix\nand recursive is true, then all variables with that prefix are deleted,\nit's a FAILED_PRECONDITION to delete a prefix without recursive being true.",
+                  "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}",
+                  "httpMethod": "DELETE",
+                  "parameters": {
+                    "recursive": {
+                      "description": "If recursive is false and name is a prefix of other variables, then\nthe request will fail.",
+                      "location": "query",
+                      "type": "boolean"
+                    },
+                    "name": {
+                      "description": "The name of the variable to delete.",
+                      "required": true,
+                      "pattern": "^projects/[^/]*/configs/[^/]*/variables/.*$",
+                      "location": "path",
+                      "type": "string"
+                    }
+                  },
+                  "path": "v1beta1/{+name}",
+                  "scopes": [
+                    "https://www.googleapis.com/auth/cloud-platform",
+                    "https://www.googleapis.com/auth/cloudruntimeconfig"
+                  ]
+                }
+              }
+            },
+            "waiters": {
+              "methods": {
+                "get": {
+                  "id": "runtimeconfig.projects.configs.waiters.get",
+                  "response": {
+                    "$ref": "Waiter"
+                  },
+                  "parameterOrder": [
+                    "name"
+                  ],
+                  "description": "Gets the Waiter resource with the specified name.",
+                  "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters/{waitersId}",
+                  "httpMethod": "GET",
+                  "parameters": {
+                    "name": {
+                      "description": "The fully-qualified name of the Waiter resource object to retrieve.",
+                      "required": true,
+                      "pattern": "^projects/[^/]*/configs/[^/]*/waiters/[^/]*$",
+                      "location": "path",
+                      "type": "string"
+                    }
+                  },
+                  "path": "v1beta1/{+name}",
+                  "scopes": [
+                    "https://www.googleapis.com/auth/cloud-platform",
+                    "https://www.googleapis.com/auth/cloudruntimeconfig"
+                  ]
+                },
+                "create": {
+                  "id": "runtimeconfig.projects.configs.waiters.create",
+                  "response": {
+                    "$ref": "Operation"
+                  },
+                  "parameterOrder": [
+                    "parent"
+                  ],
+                  "description": "Creates a Waiter resource. This operation returns a long-running Operation\nresource which can be polled for completion. However, a Waiter with the\ngiven name will exist (and can be retrieved) prior to the resultant\nOperation completing. If the resultant Operation indicates a failure, the\nfailed Waiter resource will still exist and must be deleted prior to\nsubsequent creation attempts.",
+                  "request": {
+                    "$ref": "Waiter"
+                  },
+                  "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters",
+                  "httpMethod": "POST",
+                  "parameters": {
+                    "parent": {
+                      "description": "The fully-qualified name of the configuration that will own the waiter.\nRequired. Must be a valid configuration name.",
+                      "required": true,
+                      "pattern": "^projects/[^/]*/configs/[^/]*$",
+                      "location": "path",
+                      "type": "string"
+                    }
+                  },
+                  "path": "v1beta1/{+parent}/waiters",
+                  "scopes": [
+                    "https://www.googleapis.com/auth/cloud-platform",
+                    "https://www.googleapis.com/auth/cloudruntimeconfig"
+                  ]
+                },
+                "list": {
+                  "id": "runtimeconfig.projects.configs.waiters.list",
+                  "response": {
+                    "$ref": "ListWaitersResponse"
+                  },
+                  "parameterOrder": [
+                    "parent"
+                  ],
+                  "description": "List Waiters within the given RuntimeConfig resource.",
+                  "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters",
+                  "httpMethod": "GET",
+                  "parameters": {
+                    "pageSize": {
+                      "description": "List pagination support.\nThe size of the page to return. We may return fewer elements.",
+                      "location": "query",
+                      "type": "integer",
+                      "format": "int32"
+                    },
+                    "parent": {
+                      "description": "The fully-qualified name of the configuration to list.\nRequired. Must be a valid configuration name.",
+                      "required": true,
+                      "pattern": "^projects/[^/]*/configs/[^/]*$",
+                      "location": "path",
+                      "type": "string"
+                    },
+                    "pageToken": {
+                      "description": "The token for pagination.",
+                      "location": "query",
+                      "type": "string"
+                    }
+                  },
+                  "path": "v1beta1/{+parent}/waiters",
+                  "scopes": [
+                    "https://www.googleapis.com/auth/cloud-platform",
+                    "https://www.googleapis.com/auth/cloudruntimeconfig"
+                  ]
+                },
+                "delete": {
+                  "id": "runtimeconfig.projects.configs.waiters.delete",
+                  "response": {
+                    "$ref": "Empty"
+                  },
+                  "parameterOrder": [
+                    "name"
+                  ],
+                  "description": "Deletes the Waiter with the specified name.",
+                  "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters/{waitersId}",
+                  "httpMethod": "DELETE",
+                  "parameters": {
+                    "name": {
+                      "description": "The Waiter resource to delete.",
+                      "required": true,
+                      "pattern": "^projects/[^/]*/configs/[^/]*/waiters/[^/]*$",
+                      "location": "path",
+                      "type": "string"
+                    }
+                  },
+                  "path": "v1beta1/{+name}",
+                  "scopes": [
+                    "https://www.googleapis.com/auth/cloud-platform",
+                    "https://www.googleapis.com/auth/cloudruntimeconfig"
+                  ]
+                }
+              }
+            },
+            "operations": {
+              "methods": {
+                "get": {
+                  "id": "runtimeconfig.projects.configs.operations.get",
+                  "response": {
+                    "$ref": "Operation"
+                  },
+                  "parameterOrder": [
+                    "name"
+                  ],
+                  "description": "Gets the latest state of a long-running operation.  Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
+                  "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/operations/{operationsId}",
+                  "httpMethod": "GET",
+                  "parameters": {
+                    "name": {
+                      "description": "The name of the operation resource.",
+                      "required": true,
+                      "pattern": "^projects/[^/]*/configs/[^/]*/operations/.*$",
+                      "location": "path",
+                      "type": "string"
+                    }
+                  },
+                  "path": "v1beta1/{+name}",
+                  "scopes": [
+                    "https://www.googleapis.com/auth/cloud-platform",
+                    "https://www.googleapis.com/auth/cloudruntimeconfig"
+                  ]
+                }
+              }
+            }
+          },
+          "methods": {
+            "update": {
+              "id": "runtimeconfig.projects.configs.update",
+              "response": {
+                "$ref": "RuntimeConfig"
+              },
+              "parameterOrder": [
+                "name"
+              ],
+              "description": "Updates the config resource object.\nRuntimeConfig object must already exist.",
+              "request": {
+                "$ref": "RuntimeConfig"
+              },
+              "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}",
+              "httpMethod": "PUT",
+              "parameters": {
+                "name": {
+                  "description": "The name of the config resource to update.\nRequired. Must be a valid config resource.",
+                  "required": true,
+                  "pattern": "^projects/[^/]*/configs/[^/]*$",
+                  "location": "path",
+                  "type": "string"
+                }
+              },
+              "path": "v1beta1/{+name}",
+              "scopes": [
+                "https://www.googleapis.com/auth/cloud-platform",
+                "https://www.googleapis.com/auth/cloudruntimeconfig"
+              ]
+            },
+            "get": {
+              "id": "runtimeconfig.projects.configs.get",
+              "response": {
+                "$ref": "RuntimeConfig"
+              },
+              "parameterOrder": [
+                "name"
+              ],
+              "description": "Gets the config resource object.",
+              "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}",
+              "httpMethod": "GET",
+              "parameters": {
+                "name": {
+                  "description": "The name of the RuntimeConfig resource object to retrieve.",
+                  "required": true,
+                  "pattern": "^projects/[^/]*/configs/[^/]*$",
+                  "location": "path",
+                  "type": "string"
+                }
+              },
+              "path": "v1beta1/{+name}",
+              "scopes": [
+                "https://www.googleapis.com/auth/cloud-platform",
+                "https://www.googleapis.com/auth/cloudruntimeconfig"
+              ]
+            },
+            "create": {
+              "id": "runtimeconfig.projects.configs.create",
+              "response": {
+                "$ref": "RuntimeConfig"
+              },
+              "parameterOrder": [
+                "parent"
+              ],
+              "description": "CreateConfig creates a new config resource object.\nThe configuration name must be unique within project.",
+              "request": {
+                "$ref": "RuntimeConfig"
+              },
+              "flatPath": "v1beta1/projects/{projectsId}/configs",
+              "httpMethod": "POST",
+              "parameters": {
+                "parent": {
+                  "description": "The cloud project to which configuration belongs.\nRequired. Must be a valid GCP project.",
+                  "required": true,
+                  "pattern": "^projects/[^/]*$",
+                  "location": "path",
+                  "type": "string"
+                }
+              },
+              "path": "v1beta1/{+parent}/configs",
+              "scopes": [
+                "https://www.googleapis.com/auth/cloud-platform",
+                "https://www.googleapis.com/auth/cloudruntimeconfig"
+              ]
+            },
+            "list": {
+              "id": "runtimeconfig.projects.configs.list",
+              "response": {
+                "$ref": "ListConfigsResponse"
+              },
+              "parameterOrder": [
+                "parent"
+              ],
+              "description": "Lists all the config objects within project.",
+              "flatPath": "v1beta1/projects/{projectsId}/configs",
+              "httpMethod": "GET",
+              "parameters": {
+                "pageSize": {
+                  "description": "List pagination support.\nThe size of the page to return. We may return fewer elements.",
+                  "location": "query",
+                  "type": "integer",
+                  "format": "int32"
+                },
+                "parent": {
+                  "description": "The cloud project, whose configuration resources we want to list.\nRequired. Must be a valid GCP project.",
+                  "required": true,
+                  "pattern": "^projects/[^/]*$",
+                  "location": "path",
+                  "type": "string"
+                },
+                "pageToken": {
+                  "description": "The token for pagination.",
+                  "location": "query",
+                  "type": "string"
+                }
+              },
+              "path": "v1beta1/{+parent}/configs",
+              "scopes": [
+                "https://www.googleapis.com/auth/cloud-platform",
+                "https://www.googleapis.com/auth/cloudruntimeconfig"
+              ]
+            },
+            "delete": {
+              "id": "runtimeconfig.projects.configs.delete",
+              "response": {
+                "$ref": "Empty"
+              },
+              "parameterOrder": [
+                "name"
+              ],
+              "description": "Deletes the config object.",
+              "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}",
+              "httpMethod": "DELETE",
+              "parameters": {
+                "name": {
+                  "description": "The configuration resource object to delete.\nRequired. Must be a valid GCP project.",
+                  "required": true,
+                  "pattern": "^projects/[^/]*/configs/[^/]*$",
+                  "location": "path",
+                  "type": "string"
+                }
+              },
+              "path": "v1beta1/{+name}",
+              "scopes": [
+                "https://www.googleapis.com/auth/cloud-platform",
+                "https://www.googleapis.com/auth/cloudruntimeconfig"
+              ]
+            }
+          }
+        }
+      }
+    }
+  },
+  "schemas": {
+    "Status": {
+      "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed.  The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n    it may embed the `Status` in the normal response to indicate the partial\n    errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n    have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n    `Status` message should be used directly inside batch response, one for\n    each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n    results in its response, the status of those operations should be\n    represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n    be used directly after any stripping needed for security/privacy reasons.",
+      "type": "object",
+      "properties": {
+        "code": {
+          "description": "The status code, which should be an enum value of google.rpc.Code.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "details": {
+          "description": "A list of messages that carry the error details.  There will be a\ncommon set of message types for APIs to use.",
+          "type": "array",
+          "items": {
+            "additionalProperties": {
+              "description": "Properties of the object. Contains field @ype with type URL.",
+              "type": "any"
+            },
+            "type": "object"
+          }
+        },
+        "message": {
+          "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+          "type": "string"
+        }
+      },
+      "id": "Status"
+    },
+    "ListConfigsResponse": {
+      "description": "Response for the `ListConfigs()` method.\nOrder of returned configuration objects is arbitrary.",
+      "type": "object",
+      "properties": {
+        "nextPageToken": {
+          "description": "Pagination support.",
+          "type": "string"
+        },
+        "configs": {
+          "description": "Found configurations in the project.",
+          "type": "array",
+          "items": {
+            "$ref": "RuntimeConfig"
+          }
+        }
+      },
+      "id": "ListConfigsResponse"
+    },
+    "Variable": {
+      "description": "Variable message describes a single variable within a Configuration object.\nname denotes the hierarchical variable name, e.g.\nports/serving_port within flags configuration object.\nValue is an opaque string and only leaf variables can have values.",
+      "type": "object",
+      "properties": {
+        "value": {
+          "description": "`len(value)` must be less than 4096 bytes. Empty values are also accepted.\nvalue must be Base64 encoded.",
+          "type": "string",
+          "format": "byte"
+        },
+        "updateTime": {
+          "description": "[Output Only] The time of the last variable update.",
+          "type": "string",
+          "format": "google-datetime"
+        },
+        "state": {
+          "description": "[Ouput only] The current state of the variable.\nState denotes the outcome of the Watch call and is unset by the Get/List\ncalls.",
+          "enum": [
+            "VARIABLE_STATE_UNSPECIFIED",
+            "UPDATED",
+            "DELETED"
+          ],
+          "enumDescriptions": [
+            "Default variable state.",
+            "Variable had been updated, while watch was executing.",
+            "Variable had been deleted, while watch was executing."
+          ],
+          "type": "string"
+        },
+        "name": {
+          "description": "Name of the variable resource.\nIt has format of\n\"projects/{project_id}/configs/{config_id}/variables/{variable_id}\",\nWhere `project_id` must be a valid Google Cloud project ID, `config_id`\nmust be a valid RuntimeConfig object and `variable_id` follows Unix\nfile system file path naming.\n`variable_id` can contain ASCII letters, numbers, slashes and dashes.\nSlashes are used as path element separators and are not part of the\n`variable_id` itself, so `variable_id` must contain at least one non-slash\ncharacter. Multiple slashes are coalesced into single slash character.\nEach path segment should follow RFC 1035 segment specification.\n`len(variable_id)` must be less than 256 bytes.\nThe name is assigned by the client, but will be validated on the server\nside to adhere to the format.\nName is immutable and cannot be changed.",
+          "type": "string"
+        }
+      },
+      "id": "Variable"
+    },
+    "Operation": {
+      "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
+      "type": "object",
+      "properties": {
+        "error": {
+          "description": "The error result of the operation in case of failure.",
+          "$ref": "Status"
+        },
+        "done": {
+          "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.",
+          "type": "boolean"
+        },
+        "metadata": {
+          "description": "Service-specific metadata associated with the operation.  It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata.  Any method that returns a\nlong-running operation should document the metadata type, if any.",
+          "additionalProperties": {
+            "description": "Properties of the object. Contains field @ype with type URL.",
+            "type": "any"
+          },
+          "type": "object"
+        },
+        "response": {
+          "description": "The normal response of the operation in case of success.  If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`.  If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource.  For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name.  For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
+          "additionalProperties": {
+            "description": "Properties of the object. Contains field @ype with type URL.",
+            "type": "any"
+          },
+          "type": "object"
+        },
+        "name": {
+          "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.",
+          "type": "string"
+        }
+      },
+      "id": "Operation"
+    },
+    "Waiter": {
+      "description": "A Waiter resource waits for some condition within a RuntimeConfig resource\nto be met. For example: each node in a distributed system startup process\nwrites a value to a Variable resource indicating its readiness. A Waiter\nconfigured with the proper `success` condition can be used to wait until\nsome number of nodes have checked in.\nOnce created, a Waiter resource is immutable.",
+      "type": "object",
+      "properties": {
+        "timeout": {
+          "description": "The timeout, beginning from the instant that CreateWaiter is called. If\nthis timeout elapses prior to the success or failure conditions being met,\nthe Waiter will fail and the `error` code will be set to DEADLINE_EXCEEDED.\nRequired.",
+          "type": "string",
+          "format": "google-duration"
+        },
+        "success": {
+          "description": "The success condition. If this condition is met, `done` will be set to\n`true` and the `error` value will remain unset. The failure condition\ntakes precedence over the success condition. If both conditions are met, a\nfailure will be indicated. Required.",
+          "$ref": "EndCondition"
+        },
+        "failure": {
+          "description": "The failure condition. If this condition is met, `done` will be set to\n`true` and the `error` code will be set to ABORTED. The failure condition\ntakes precedence over the success condition. If both conditions are met, a\nfailure will be indicated. This value is optional; if no failure condition\nis set, the only failure scenario will be a timeout. Optional.",
+          "$ref": "EndCondition"
+        },
+        "createTime": {
+          "description": "The instant at which this Waiter was created. Adding the value of `timeout`\nto this instant yields the timeout deadline for this Waiter. Output only.",
+          "type": "string",
+          "format": "google-datetime"
+        },
+        "name": {
+          "description": "Name of the variable resource.\nIt has format of\n\"projects/{project_id}/configs/{config_id}/waiters/{waiter_id}\",\nWhere `project_id` must be a valid Google Cloud project ID, `config_id`\nmust be a valid RuntimeConfig object and the `waiter_id` must match\nRFC 1035 segment specification, and `len(waiter_id)` must be less than\n64 bytes.\nThe name is assigned by the client, but will be validated on the server\nside to adhere to the format.\nName is immutable and cannot be changed. Required.",
+          "type": "string"
+        },
+        "error": {
+          "description": "If the Waiter ended due to a failure or timeout, this value will be set.\nOutput only.\n",
+          "$ref": "Status"
+        },
+        "done": {
+          "description": "If the value is `false`, it means the Waiter is still waiting for one of\nits conditions to be met.\nIf true, the Waiter has finished. If the Waiter finished due to a timeout\nor failure, `error` will be set. Output only.",
+          "type": "boolean"
+        }
+      },
+      "id": "Waiter"
+    },
+    "RuntimeConfig": {
+      "description": "RuntimeConfig is the primary resource in the Configuration service.\nIt consists of metadata and a hierarchy of variables.",
+      "type": "object",
+      "properties": {
+        "description": {
+          "description": "Description of the configuration object.\n`len(description)` must be less than 256.",
+          "type": "string"
+        },
+        "name": {
+          "description": "The resource name of a runtime config.\nIt has the format of \"projects/{project_id}/configs/{config_id}\",\nwhere `project_id` is a valid Google cloud project ID, and the\n`config_id` must match RFC 1035 segment specification, and\n`len(config_id)` must be less than 64 bytes.\nThe name is assigned by the client, but will be validated on the server\nside to adhere to the format.\nName is immutable and cannot be changed.",
+          "type": "string"
+        }
+      },
+      "id": "RuntimeConfig"
+    },
+    "ListWaitersResponse": {
+      "description": "Response for the `ListWaiters()` method.\nOrder of returned waiter objects is arbitrary.",
+      "type": "object",
+      "properties": {
+        "nextPageToken": {
+          "description": "Pagination support.",
+          "type": "string"
+        },
+        "waiters": {
+          "description": "Found waiters in the project.",
+          "type": "array",
+          "items": {
+            "$ref": "Waiter"
+          }
+        }
+      },
+      "id": "ListWaitersResponse"
+    },
+    "EndCondition": {
+      "description": "A condition that a Waiter resource is waiting for. The set of possible\nconditions may expand over time.",
+      "type": "object",
+      "properties": {
+        "cardinality": {
+          "description": "The Cardinality condition type configuration.",
+          "$ref": "Cardinality"
+        }
+      },
+      "id": "EndCondition"
+    },
+    "Cardinality": {
+      "description": "The Cardinality condition is met when the count of `Variable` resources\nunder the specified path prefix reaches the specified number.\nFor example, take the following variables in a RuntimeConfig object:\n  /foo/variable1 = \"value1\"\n  /foo/variable2 = \"value2\"\n  /bar/variable3 = \"value3\"\n\nThese variables would satisfy a Cardinality condition with `path` set to\n\"/foo\" and `number` set to 2, but would not satisify the same condition\nwith `number` set to 3.",
+      "type": "object",
+      "properties": {
+        "path": {
+          "description": "The root of the variable subtree to monitor. Required.",
+          "type": "string"
+        },
+        "number": {
+          "description": "The number of decendents of `path` that must exist before this condition\nis met. Optional; defaults to 1 if not specified.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "Cardinality"
+    },
+    "Empty": {
+      "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n    service Foo {\n      rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n    }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+      "type": "object",
+      "properties": {},
+      "id": "Empty"
+    },
+    "WatchVariableRequest": {
+      "description": "Request for the `WatchVariable()` method.",
+      "type": "object",
+      "properties": {
+        "newerThan": {
+          "description": "If backend has a variable that has a newer value than this timestamp, then\nrequest will return immediately with current value.\nIf not specified or variable has an older timestamp, will wait for the new\nvalue.",
+          "type": "string",
+          "format": "google-datetime"
+        }
+      },
+      "id": "WatchVariableRequest"
+    },
+    "ListVariablesResponse": {
+      "description": "Response for the `ListVariables()` method.\nOrder of returned variable objects is arbitrary.",
+      "type": "object",
+      "properties": {
+        "variables": {
+          "description": "Matched variables and their values.",
+          "type": "array",
+          "items": {
+            "$ref": "Variable"
+          }
+        },
+        "nextPageToken": {
+          "description": "Pagination support.",
+          "type": "string"
+        }
+      },
+      "id": "ListVariablesResponse"
+    }
+  },
+  "revision": "20160510",
+  "basePath": "",
+  "icons": {
+    "x32": "http://www.google.com/images/icons/product/search-32.gif",
+    "x16": "http://www.google.com/images/icons/product/search-16.gif"
+  },
+  "version_module": "True",
+  "discoveryVersion": "v1",
+  "baseUrl": "https://runtimeconfig.googleapis.com/",
+  "name": "runtimeconfig",
+  "parameters": {
+    "access_token": {
+      "description": "OAuth access token.",
+      "type": "string",
+      "location": "query"
+    },
+    "prettyPrint": {
+      "description": "Returns response with indentations and line breaks.",
+      "default": "true",
+      "type": "boolean",
+      "location": "query"
+    },
+    "key": {
+      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
+      "type": "string",
+      "location": "query"
+    },
+    "quotaUser": {
+      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
+      "type": "string",
+      "location": "query"
+    },
+    "pp": {
+      "description": "Pretty-print response.",
+      "default": "true",
+      "type": "boolean",
+      "location": "query"
+    },
+    "fields": {
+      "description": "Selector specifying which fields to include in a partial response.",
+      "type": "string",
+      "location": "query"
+    },
+    "alt": {
+      "description": "Data format for response.",
+      "location": "query",
+      "enum": [
+        "json",
+        "media",
+        "proto"
+      ],
+      "default": "json",
+      "enumDescriptions": [
+        "Responses with Content-Type of application/json",
+        "Media download with context-dependent Content-Type",
+        "Responses with Content-Type of application/x-protobuf"
+      ],
+      "type": "string"
+    },
+    "$.xgafv": {
+      "description": "V1 error format.",
+      "enum": [
+        "1",
+        "2"
+      ],
+      "enumDescriptions": [
+        "v1 error format",
+        "v2 error format"
+      ],
+      "type": "string",
+      "location": "query"
+    },
+    "callback": {
+      "description": "JSONP",
+      "type": "string",
+      "location": "query"
+    },
+    "oauth_token": {
+      "description": "OAuth 2.0 token for the current user.",
+      "type": "string",
+      "location": "query"
+    },
+    "uploadType": {
+      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+      "type": "string",
+      "location": "query"
+    },
+    "bearer_token": {
+      "description": "OAuth bearer token.",
+      "type": "string",
+      "location": "query"
+    },
+    "upload_protocol": {
+      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+      "type": "string",
+      "location": "query"
+    }
+  },
+  "documentationLink": "https://cloud.google.com/deployment-manager/docs/",
+  "ownerDomain": "google.com",
+  "batchPath": "batch",
+  "servicePath": "",
+  "ownerName": "Google",
+  "version": "v1beta1",
+  "rootUrl": "https://runtimeconfig.googleapis.com/",
+  "kind": "discovery#restDescription"
+}
diff --git a/runtimeconfig/v1beta1/runtimeconfig-gen.go b/runtimeconfig/v1beta1/runtimeconfig-gen.go
new file mode 100644
index 0000000..4eb626c
--- /dev/null
+++ b/runtimeconfig/v1beta1/runtimeconfig-gen.go
@@ -0,0 +1,2898 @@
+// Package runtimeconfig provides access to the Google Cloud Runtime Configuration API.
+//
+// See https://cloud.google.com/deployment-manager/docs/
+//
+// Usage example:
+//
+//   import "google.golang.org/api/runtimeconfig/v1beta1"
+//   ...
+//   runtimeconfigService, err := runtimeconfig.New(oauthHttpClient)
+package runtimeconfig // import "google.golang.org/api/runtimeconfig/v1beta1"
+
+import (
+	"bytes"
+	"encoding/json"
+	"errors"
+	"fmt"
+	context "golang.org/x/net/context"
+	ctxhttp "golang.org/x/net/context/ctxhttp"
+	gensupport "google.golang.org/api/gensupport"
+	googleapi "google.golang.org/api/googleapi"
+	"io"
+	"net/http"
+	"net/url"
+	"strconv"
+	"strings"
+)
+
+// Always reference these packages, just in case the auto-generated code
+// below doesn't.
+var _ = bytes.NewBuffer
+var _ = strconv.Itoa
+var _ = fmt.Sprintf
+var _ = json.NewDecoder
+var _ = io.Copy
+var _ = url.Parse
+var _ = gensupport.MarshalJSON
+var _ = googleapi.Version
+var _ = errors.New
+var _ = strings.Replace
+var _ = context.Canceled
+var _ = ctxhttp.Do
+
+const apiId = "runtimeconfig:v1beta1"
+const apiName = "runtimeconfig"
+const apiVersion = "v1beta1"
+const basePath = "https://runtimeconfig.googleapis.com/"
+
+// OAuth2 scopes used by this API.
+const (
+	// View and manage your data across Google Cloud Platform services
+	CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"
+
+	// Manage your Google Cloud Platform services' runtime configuration
+	CloudruntimeconfigScope = "https://www.googleapis.com/auth/cloudruntimeconfig"
+)
+
+func New(client *http.Client) (*Service, error) {
+	if client == nil {
+		return nil, errors.New("client is nil")
+	}
+	s := &Service{client: client, BasePath: basePath}
+	s.Projects = NewProjectsService(s)
+	return s, nil
+}
+
+type Service struct {
+	client    *http.Client
+	BasePath  string // API endpoint base URL
+	UserAgent string // optional additional User-Agent fragment
+
+	Projects *ProjectsService
+}
+
+func (s *Service) userAgent() string {
+	if s.UserAgent == "" {
+		return googleapi.UserAgent
+	}
+	return googleapi.UserAgent + " " + s.UserAgent
+}
+
+func NewProjectsService(s *Service) *ProjectsService {
+	rs := &ProjectsService{s: s}
+	rs.Configs = NewProjectsConfigsService(s)
+	return rs
+}
+
+type ProjectsService struct {
+	s *Service
+
+	Configs *ProjectsConfigsService
+}
+
+func NewProjectsConfigsService(s *Service) *ProjectsConfigsService {
+	rs := &ProjectsConfigsService{s: s}
+	rs.Operations = NewProjectsConfigsOperationsService(s)
+	rs.Variables = NewProjectsConfigsVariablesService(s)
+	rs.Waiters = NewProjectsConfigsWaitersService(s)
+	return rs
+}
+
+type ProjectsConfigsService struct {
+	s *Service
+
+	Operations *ProjectsConfigsOperationsService
+
+	Variables *ProjectsConfigsVariablesService
+
+	Waiters *ProjectsConfigsWaitersService
+}
+
+func NewProjectsConfigsOperationsService(s *Service) *ProjectsConfigsOperationsService {
+	rs := &ProjectsConfigsOperationsService{s: s}
+	return rs
+}
+
+type ProjectsConfigsOperationsService struct {
+	s *Service
+}
+
+func NewProjectsConfigsVariablesService(s *Service) *ProjectsConfigsVariablesService {
+	rs := &ProjectsConfigsVariablesService{s: s}
+	return rs
+}
+
+type ProjectsConfigsVariablesService struct {
+	s *Service
+}
+
+func NewProjectsConfigsWaitersService(s *Service) *ProjectsConfigsWaitersService {
+	rs := &ProjectsConfigsWaitersService{s: s}
+	return rs
+}
+
+type ProjectsConfigsWaitersService struct {
+	s *Service
+}
+
+// Cardinality: The Cardinality condition is met when the count of
+// `Variable` resources
+// under the specified path prefix reaches the specified number.
+// For example, take the following variables in a RuntimeConfig object:
+//   /foo/variable1 = "value1"
+//   /foo/variable2 = "value2"
+//   /bar/variable3 = "value3"
+//
+// These variables would satisfy a Cardinality condition with `path` set
+// to
+// "/foo" and `number` set to 2, but would not satisify the same
+// condition
+// with `number` set to 3.
+type Cardinality struct {
+	// Number: The number of decendents of `path` that must exist before
+	// this condition
+	// is met. Optional; defaults to 1 if not specified.
+	Number int64 `json:"number,omitempty"`
+
+	// Path: The root of the variable subtree to monitor. Required.
+	Path string `json:"path,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Number") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *Cardinality) MarshalJSON() ([]byte, error) {
+	type noMethod Cardinality
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// Empty: A generic empty message that you can re-use to avoid defining
+// duplicated
+// empty messages in your APIs. A typical example is to use it as the
+// request
+// or the response type of an API method. For instance:
+//
+//     service Foo {
+//       rpc Bar(google.protobuf.Empty) returns
+// (google.protobuf.Empty);
+//     }
+//
+// The JSON representation for `Empty` is empty JSON object `{}`.
+type Empty struct {
+	// ServerResponse contains the HTTP response code and headers from the
+	// server.
+	googleapi.ServerResponse `json:"-"`
+}
+
+// EndCondition: A condition that a Waiter resource is waiting for. The
+// set of possible
+// conditions may expand over time.
+type EndCondition struct {
+	// Cardinality: The Cardinality condition type configuration.
+	Cardinality *Cardinality `json:"cardinality,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Cardinality") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *EndCondition) MarshalJSON() ([]byte, error) {
+	type noMethod EndCondition
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// ListConfigsResponse: Response for the `ListConfigs()` method.
+// Order of returned configuration objects is arbitrary.
+type ListConfigsResponse struct {
+	// Configs: Found configurations in the project.
+	Configs []*RuntimeConfig `json:"configs,omitempty"`
+
+	// NextPageToken: Pagination support.
+	NextPageToken string `json:"nextPageToken,omitempty"`
+
+	// ServerResponse contains the HTTP response code and headers from the
+	// server.
+	googleapi.ServerResponse `json:"-"`
+
+	// ForceSendFields is a list of field names (e.g. "Configs") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *ListConfigsResponse) MarshalJSON() ([]byte, error) {
+	type noMethod ListConfigsResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// ListVariablesResponse: Response for the `ListVariables()`
+// method.
+// Order of returned variable objects is arbitrary.
+type ListVariablesResponse struct {
+	// NextPageToken: Pagination support.
+	NextPageToken string `json:"nextPageToken,omitempty"`
+
+	// Variables: Matched variables and their values.
+	Variables []*Variable `json:"variables,omitempty"`
+
+	// ServerResponse contains the HTTP response code and headers from the
+	// server.
+	googleapi.ServerResponse `json:"-"`
+
+	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *ListVariablesResponse) MarshalJSON() ([]byte, error) {
+	type noMethod ListVariablesResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// ListWaitersResponse: Response for the `ListWaiters()` method.
+// Order of returned waiter objects is arbitrary.
+type ListWaitersResponse struct {
+	// NextPageToken: Pagination support.
+	NextPageToken string `json:"nextPageToken,omitempty"`
+
+	// Waiters: Found waiters in the project.
+	Waiters []*Waiter `json:"waiters,omitempty"`
+
+	// ServerResponse contains the HTTP response code and headers from the
+	// server.
+	googleapi.ServerResponse `json:"-"`
+
+	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *ListWaitersResponse) MarshalJSON() ([]byte, error) {
+	type noMethod ListWaitersResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// Operation: This resource represents a long-running operation that is
+// the result of a
+// network API call.
+type Operation struct {
+	// Done: If the value is `false`, it means the operation is still in
+	// progress.
+	// If true, the operation is completed, and either `error` or `response`
+	// is
+	// available.
+	Done bool `json:"done,omitempty"`
+
+	// Error: The error result of the operation in case of failure.
+	Error *Status `json:"error,omitempty"`
+
+	// Metadata: Service-specific metadata associated with the operation.
+	// It typically
+	// contains progress information and common metadata such as create
+	// time.
+	// Some services might not provide such metadata.  Any method that
+	// returns a
+	// long-running operation should document the metadata type, if any.
+	Metadata OperationMetadata `json:"metadata,omitempty"`
+
+	// Name: The server-assigned name, which is only unique within the same
+	// service that
+	// originally returns it. If you use the default HTTP mapping,
+	// the
+	// `name` should have the format of `operations/some/unique/name`.
+	Name string `json:"name,omitempty"`
+
+	// Response: The normal response of the operation in case of success.
+	// If the original
+	// method returns no data on success, such as `Delete`, the response
+	// is
+	// `google.protobuf.Empty`.  If the original method is
+	// standard
+	// `Get`/`Create`/`Update`, the response should be the resource.  For
+	// other
+	// methods, the response should have the type `XxxResponse`, where
+	// `Xxx`
+	// is the original method name.  For example, if the original method
+	// name
+	// is `TakeSnapshot()`, the inferred response type
+	// is
+	// `TakeSnapshotResponse`.
+	Response OperationResponse `json:"response,omitempty"`
+
+	// ServerResponse contains the HTTP response code and headers from the
+	// server.
+	googleapi.ServerResponse `json:"-"`
+
+	// ForceSendFields is a list of field names (e.g. "Done") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *Operation) MarshalJSON() ([]byte, error) {
+	type noMethod Operation
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+type OperationMetadata interface{}
+
+type OperationResponse interface{}
+
+// RuntimeConfig: RuntimeConfig is the primary resource in the
+// Configuration service.
+// It consists of metadata and a hierarchy of variables.
+type RuntimeConfig struct {
+	// Description: Description of the configuration
+	// object.
+	// `len(description)` must be less than 256.
+	Description string `json:"description,omitempty"`
+
+	// Name: The resource name of a runtime config.
+	// It has the format of
+	// "projects/{project_id}/configs/{config_id}",
+	// where `project_id` is a valid Google cloud project ID, and
+	// the
+	// `config_id` must match RFC 1035 segment specification,
+	// and
+	// `len(config_id)` must be less than 64 bytes.
+	// The name is assigned by the client, but will be validated on the
+	// server
+	// side to adhere to the format.
+	// Name is immutable and cannot be changed.
+	Name string `json:"name,omitempty"`
+
+	// ServerResponse contains the HTTP response code and headers from the
+	// server.
+	googleapi.ServerResponse `json:"-"`
+
+	// ForceSendFields is a list of field names (e.g. "Description") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *RuntimeConfig) MarshalJSON() ([]byte, error) {
+	type noMethod RuntimeConfig
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// Status: The `Status` type defines a logical error model that is
+// suitable for different
+// programming environments, including REST APIs and RPC APIs. It is
+// used by
+// [gRPC](https://github.com/grpc). The error model is designed to
+// be:
+//
+// - Simple to use and understand for most users
+// - Flexible enough to meet unexpected needs
+//
+// # Overview
+//
+// The `Status` message contains three pieces of data: error code, error
+// message,
+// and error details. The error code should be an enum value
+// of
+// google.rpc.Code, but it may accept additional error codes if needed.
+// The
+// error message should be a developer-facing English message that
+// helps
+// developers *understand* and *resolve* the error. If a localized
+// user-facing
+// error message is needed, put the localized message in the error
+// details or
+// localize it in the client. The optional error details may contain
+// arbitrary
+// information about the error. There is a predefined set of error
+// detail types
+// in the package `google.rpc` which can be used for common error
+// conditions.
+//
+// # Language mapping
+//
+// The `Status` message is the logical representation of the error
+// model, but it
+// is not necessarily the actual wire format. When the `Status` message
+// is
+// exposed in different client libraries and different wire protocols,
+// it can be
+// mapped differently. For example, it will likely be mapped to some
+// exceptions
+// in Java, but more likely mapped to some error codes in C.
+//
+// # Other uses
+//
+// The error model and the `Status` message can be used in a variety
+// of
+// environments, either with or without APIs, to provide a
+// consistent developer experience across different
+// environments.
+//
+// Example uses of this error model include:
+//
+// - Partial errors. If a service needs to return partial errors to the
+// client,
+//     it may embed the `Status` in the normal response to indicate the
+// partial
+//     errors.
+//
+// - Workflow errors. A typical workflow has multiple steps. Each step
+// may
+//     have a `Status` message for error reporting purpose.
+//
+// - Batch operations. If a client uses batch request and batch
+// response, the
+//     `Status` message should be used directly inside batch response,
+// one for
+//     each error sub-response.
+//
+// - Asynchronous operations. If an API call embeds asynchronous
+// operation
+//     results in its response, the status of those operations should
+// be
+//     represented directly using the `Status` message.
+//
+// - Logging. If some API errors are stored in logs, the message
+// `Status` could
+//     be used directly after any stripping needed for security/privacy
+// reasons.
+type Status struct {
+	// Code: The status code, which should be an enum value of
+	// google.rpc.Code.
+	Code int64 `json:"code,omitempty"`
+
+	// Details: A list of messages that carry the error details.  There will
+	// be a
+	// common set of message types for APIs to use.
+	Details []StatusDetails `json:"details,omitempty"`
+
+	// Message: A developer-facing error message, which should be in
+	// English. Any
+	// user-facing error message should be localized and sent in
+	// the
+	// google.rpc.Status.details field, or localized by the client.
+	Message string `json:"message,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Code") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *Status) MarshalJSON() ([]byte, error) {
+	type noMethod Status
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+type StatusDetails interface{}
+
+// Variable: Variable message describes a single variable within a
+// Configuration object.
+// name denotes the hierarchical variable name, e.g.
+// ports/serving_port within flags configuration object.
+// Value is an opaque string and only leaf variables can have values.
+type Variable struct {
+	// Name: Name of the variable resource.
+	// It has format
+	// of
+	// "projects/{project_id}/configs/{config_id}/variables/{variable_id}"
+	// ,
+	// Where `project_id` must be a valid Google Cloud project ID,
+	// `config_id`
+	// must be a valid RuntimeConfig object and `variable_id` follows
+	// Unix
+	// file system file path naming.
+	// `variable_id` can contain ASCII letters, numbers, slashes and
+	// dashes.
+	// Slashes are used as path element separators and are not part of
+	// the
+	// `variable_id` itself, so `variable_id` must contain at least one
+	// non-slash
+	// character. Multiple slashes are coalesced into single slash
+	// character.
+	// Each path segment should follow RFC 1035 segment
+	// specification.
+	// `len(variable_id)` must be less than 256 bytes.
+	// The name is assigned by the client, but will be validated on the
+	// server
+	// side to adhere to the format.
+	// Name is immutable and cannot be changed.
+	Name string `json:"name,omitempty"`
+
+	// State: [Ouput only] The current state of the variable.
+	// State denotes the outcome of the Watch call and is unset by the
+	// Get/List
+	// calls.
+	//
+	// Possible values:
+	//   "VARIABLE_STATE_UNSPECIFIED" - Default variable state.
+	//   "UPDATED" - Variable had been updated, while watch was executing.
+	//   "DELETED" - Variable had been deleted, while watch was executing.
+	State string `json:"state,omitempty"`
+
+	// UpdateTime: [Output Only] The time of the last variable update.
+	UpdateTime string `json:"updateTime,omitempty"`
+
+	// Value: `len(value)` must be less than 4096 bytes. Empty values are
+	// also accepted.
+	// value must be Base64 encoded.
+	Value string `json:"value,omitempty"`
+
+	// ServerResponse contains the HTTP response code and headers from the
+	// server.
+	googleapi.ServerResponse `json:"-"`
+
+	// ForceSendFields is a list of field names (e.g. "Name") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *Variable) MarshalJSON() ([]byte, error) {
+	type noMethod Variable
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// Waiter: A Waiter resource waits for some condition within a
+// RuntimeConfig resource
+// to be met. For example: each node in a distributed system startup
+// process
+// writes a value to a Variable resource indicating its readiness. A
+// Waiter
+// configured with the proper `success` condition can be used to wait
+// until
+// some number of nodes have checked in.
+// Once created, a Waiter resource is immutable.
+type Waiter struct {
+	// CreateTime: The instant at which this Waiter was created. Adding the
+	// value of `timeout`
+	// to this instant yields the timeout deadline for this Waiter. Output
+	// only.
+	CreateTime string `json:"createTime,omitempty"`
+
+	// Done: If the value is `false`, it means the Waiter is still waiting
+	// for one of
+	// its conditions to be met.
+	// If true, the Waiter has finished. If the Waiter finished due to a
+	// timeout
+	// or failure, `error` will be set. Output only.
+	Done bool `json:"done,omitempty"`
+
+	// Error: If the Waiter ended due to a failure or timeout, this value
+	// will be set.
+	// Output only.
+	//
+	Error *Status `json:"error,omitempty"`
+
+	// Failure: The failure condition. If this condition is met, `done` will
+	// be set to
+	// `true` and the `error` code will be set to ABORTED. The failure
+	// condition
+	// takes precedence over the success condition. If both conditions are
+	// met, a
+	// failure will be indicated. This value is optional; if no failure
+	// condition
+	// is set, the only failure scenario will be a timeout. Optional.
+	Failure *EndCondition `json:"failure,omitempty"`
+
+	// Name: Name of the variable resource.
+	// It has format
+	// of
+	// "projects/{project_id}/configs/{config_id}/waiters/{waiter_id}",
+	// Wh
+	// ere `project_id` must be a valid Google Cloud project ID,
+	// `config_id`
+	// must be a valid RuntimeConfig object and the `waiter_id` must
+	// match
+	// RFC 1035 segment specification, and `len(waiter_id)` must be less
+	// than
+	// 64 bytes.
+	// The name is assigned by the client, but will be validated on the
+	// server
+	// side to adhere to the format.
+	// Name is immutable and cannot be changed. Required.
+	Name string `json:"name,omitempty"`
+
+	// Success: The success condition. If this condition is met, `done` will
+	// be set to
+	// `true` and the `error` value will remain unset. The failure
+	// condition
+	// takes precedence over the success condition. If both conditions are
+	// met, a
+	// failure will be indicated. Required.
+	Success *EndCondition `json:"success,omitempty"`
+
+	// Timeout: The timeout, beginning from the instant that CreateWaiter is
+	// called. If
+	// this timeout elapses prior to the success or failure conditions being
+	// met,
+	// the Waiter will fail and the `error` code will be set to
+	// DEADLINE_EXCEEDED.
+	// Required.
+	Timeout string `json:"timeout,omitempty"`
+
+	// ServerResponse contains the HTTP response code and headers from the
+	// server.
+	googleapi.ServerResponse `json:"-"`
+
+	// ForceSendFields is a list of field names (e.g. "CreateTime") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *Waiter) MarshalJSON() ([]byte, error) {
+	type noMethod Waiter
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// WatchVariableRequest: Request for the `WatchVariable()` method.
+type WatchVariableRequest struct {
+	// NewerThan: If backend has a variable that has a newer value than this
+	// timestamp, then
+	// request will return immediately with current value.
+	// If not specified or variable has an older timestamp, will wait for
+	// the new
+	// value.
+	NewerThan string `json:"newerThan,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "NewerThan") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *WatchVariableRequest) MarshalJSON() ([]byte, error) {
+	type noMethod WatchVariableRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// method id "runtimeconfig.projects.configs.create":
+
+type ProjectsConfigsCreateCall struct {
+	s             *Service
+	parent        string
+	runtimeconfig *RuntimeConfig
+	urlParams_    gensupport.URLParams
+	ctx_          context.Context
+}
+
+// Create: CreateConfig creates a new config resource object.
+// The configuration name must be unique within project.
+func (r *ProjectsConfigsService) Create(parent string, runtimeconfig *RuntimeConfig) *ProjectsConfigsCreateCall {
+	c := &ProjectsConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.parent = parent
+	c.runtimeconfig = runtimeconfig
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *ProjectsConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsConfigsCreateCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *ProjectsConfigsCreateCall) Context(ctx context.Context) *ProjectsConfigsCreateCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *ProjectsConfigsCreateCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	body, err := googleapi.WithoutDataWrapper.JSONReader(c.runtimeconfig)
+	if err != nil {
+		return nil, err
+	}
+	ctype := "application/json"
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/configs")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("POST", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"parent": c.parent,
+	})
+	req.Header.Set("Content-Type", ctype)
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "runtimeconfig.projects.configs.create" call.
+// Exactly one of *RuntimeConfig or error will be non-nil. Any non-2xx
+// status code is an error. Response headers are in either
+// *RuntimeConfig.ServerResponse.Header or (if a response was returned
+// at all) in error.(*googleapi.Error).Header. Use
+// googleapi.IsNotModified to check whether the returned error was
+// because http.StatusNotModified was returned.
+func (c *ProjectsConfigsCreateCall) Do(opts ...googleapi.CallOption) (*RuntimeConfig, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &RuntimeConfig{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "CreateConfig creates a new config resource object.\nThe configuration name must be unique within project.",
+	//   "flatPath": "v1beta1/projects/{projectsId}/configs",
+	//   "httpMethod": "POST",
+	//   "id": "runtimeconfig.projects.configs.create",
+	//   "parameterOrder": [
+	//     "parent"
+	//   ],
+	//   "parameters": {
+	//     "parent": {
+	//       "description": "The cloud project to which configuration belongs.\nRequired. Must be a valid GCP project.",
+	//       "location": "path",
+	//       "pattern": "^projects/[^/]*$",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v1beta1/{+parent}/configs",
+	//   "request": {
+	//     "$ref": "RuntimeConfig"
+	//   },
+	//   "response": {
+	//     "$ref": "RuntimeConfig"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/cloud-platform",
+	//     "https://www.googleapis.com/auth/cloudruntimeconfig"
+	//   ]
+	// }
+
+}
+
+// method id "runtimeconfig.projects.configs.delete":
+
+type ProjectsConfigsDeleteCall struct {
+	s          *Service
+	name       string
+	urlParams_ gensupport.URLParams
+	ctx_       context.Context
+}
+
+// Delete: Deletes the config object.
+func (r *ProjectsConfigsService) Delete(name string) *ProjectsConfigsDeleteCall {
+	c := &ProjectsConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.name = name
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *ProjectsConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsConfigsDeleteCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *ProjectsConfigsDeleteCall) Context(ctx context.Context) *ProjectsConfigsDeleteCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *ProjectsConfigsDeleteCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("DELETE", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"name": c.name,
+	})
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "runtimeconfig.projects.configs.delete" call.
+// Exactly one of *Empty or error will be non-nil. Any non-2xx status
+// code is an error. Response headers are in either
+// *Empty.ServerResponse.Header or (if a response was returned at all)
+// in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
+// check whether the returned error was because http.StatusNotModified
+// was returned.
+func (c *ProjectsConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &Empty{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Deletes the config object.",
+	//   "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}",
+	//   "httpMethod": "DELETE",
+	//   "id": "runtimeconfig.projects.configs.delete",
+	//   "parameterOrder": [
+	//     "name"
+	//   ],
+	//   "parameters": {
+	//     "name": {
+	//       "description": "The configuration resource object to delete.\nRequired. Must be a valid GCP project.",
+	//       "location": "path",
+	//       "pattern": "^projects/[^/]*/configs/[^/]*$",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v1beta1/{+name}",
+	//   "response": {
+	//     "$ref": "Empty"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/cloud-platform",
+	//     "https://www.googleapis.com/auth/cloudruntimeconfig"
+	//   ]
+	// }
+
+}
+
+// method id "runtimeconfig.projects.configs.get":
+
+type ProjectsConfigsGetCall struct {
+	s            *Service
+	name         string
+	urlParams_   gensupport.URLParams
+	ifNoneMatch_ string
+	ctx_         context.Context
+}
+
+// Get: Gets the config resource object.
+func (r *ProjectsConfigsService) Get(name string) *ProjectsConfigsGetCall {
+	c := &ProjectsConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.name = name
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *ProjectsConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsConfigsGetCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// IfNoneMatch sets the optional parameter which makes the operation
+// fail if the object's ETag matches the given value. This is useful for
+// getting updates only after the object has changed since the last
+// request. Use googleapi.IsNotModified to check whether the response
+// error from Do is the result of In-None-Match.
+func (c *ProjectsConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsConfigsGetCall {
+	c.ifNoneMatch_ = entityTag
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *ProjectsConfigsGetCall) Context(ctx context.Context) *ProjectsConfigsGetCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *ProjectsConfigsGetCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("GET", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"name": c.name,
+	})
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ifNoneMatch_ != "" {
+		req.Header.Set("If-None-Match", c.ifNoneMatch_)
+	}
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "runtimeconfig.projects.configs.get" call.
+// Exactly one of *RuntimeConfig or error will be non-nil. Any non-2xx
+// status code is an error. Response headers are in either
+// *RuntimeConfig.ServerResponse.Header or (if a response was returned
+// at all) in error.(*googleapi.Error).Header. Use
+// googleapi.IsNotModified to check whether the returned error was
+// because http.StatusNotModified was returned.
+func (c *ProjectsConfigsGetCall) Do(opts ...googleapi.CallOption) (*RuntimeConfig, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &RuntimeConfig{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Gets the config resource object.",
+	//   "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}",
+	//   "httpMethod": "GET",
+	//   "id": "runtimeconfig.projects.configs.get",
+	//   "parameterOrder": [
+	//     "name"
+	//   ],
+	//   "parameters": {
+	//     "name": {
+	//       "description": "The name of the RuntimeConfig resource object to retrieve.",
+	//       "location": "path",
+	//       "pattern": "^projects/[^/]*/configs/[^/]*$",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v1beta1/{+name}",
+	//   "response": {
+	//     "$ref": "RuntimeConfig"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/cloud-platform",
+	//     "https://www.googleapis.com/auth/cloudruntimeconfig"
+	//   ]
+	// }
+
+}
+
+// method id "runtimeconfig.projects.configs.list":
+
+type ProjectsConfigsListCall struct {
+	s            *Service
+	parent       string
+	urlParams_   gensupport.URLParams
+	ifNoneMatch_ string
+	ctx_         context.Context
+}
+
+// List: Lists all the config objects within project.
+func (r *ProjectsConfigsService) List(parent string) *ProjectsConfigsListCall {
+	c := &ProjectsConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.parent = parent
+	return c
+}
+
+// PageSize sets the optional parameter "pageSize": List pagination
+// support.
+// The size of the page to return. We may return fewer elements.
+func (c *ProjectsConfigsListCall) PageSize(pageSize int64) *ProjectsConfigsListCall {
+	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
+	return c
+}
+
+// PageToken sets the optional parameter "pageToken": The token for
+// pagination.
+func (c *ProjectsConfigsListCall) PageToken(pageToken string) *ProjectsConfigsListCall {
+	c.urlParams_.Set("pageToken", pageToken)
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *ProjectsConfigsListCall) Fields(s ...googleapi.Field) *ProjectsConfigsListCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// IfNoneMatch sets the optional parameter which makes the operation
+// fail if the object's ETag matches the given value. This is useful for
+// getting updates only after the object has changed since the last
+// request. Use googleapi.IsNotModified to check whether the response
+// error from Do is the result of In-None-Match.
+func (c *ProjectsConfigsListCall) IfNoneMatch(entityTag string) *ProjectsConfigsListCall {
+	c.ifNoneMatch_ = entityTag
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *ProjectsConfigsListCall) Context(ctx context.Context) *ProjectsConfigsListCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *ProjectsConfigsListCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/configs")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("GET", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"parent": c.parent,
+	})
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ifNoneMatch_ != "" {
+		req.Header.Set("If-None-Match", c.ifNoneMatch_)
+	}
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "runtimeconfig.projects.configs.list" call.
+// Exactly one of *ListConfigsResponse or error will be non-nil. Any
+// non-2xx status code is an error. Response headers are in either
+// *ListConfigsResponse.ServerResponse.Header or (if a response was
+// returned at all) in error.(*googleapi.Error).Header. Use
+// googleapi.IsNotModified to check whether the returned error was
+// because http.StatusNotModified was returned.
+func (c *ProjectsConfigsListCall) Do(opts ...googleapi.CallOption) (*ListConfigsResponse, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &ListConfigsResponse{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Lists all the config objects within project.",
+	//   "flatPath": "v1beta1/projects/{projectsId}/configs",
+	//   "httpMethod": "GET",
+	//   "id": "runtimeconfig.projects.configs.list",
+	//   "parameterOrder": [
+	//     "parent"
+	//   ],
+	//   "parameters": {
+	//     "pageSize": {
+	//       "description": "List pagination support.\nThe size of the page to return. We may return fewer elements.",
+	//       "format": "int32",
+	//       "location": "query",
+	//       "type": "integer"
+	//     },
+	//     "pageToken": {
+	//       "description": "The token for pagination.",
+	//       "location": "query",
+	//       "type": "string"
+	//     },
+	//     "parent": {
+	//       "description": "The cloud project, whose configuration resources we want to list.\nRequired. Must be a valid GCP project.",
+	//       "location": "path",
+	//       "pattern": "^projects/[^/]*$",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v1beta1/{+parent}/configs",
+	//   "response": {
+	//     "$ref": "ListConfigsResponse"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/cloud-platform",
+	//     "https://www.googleapis.com/auth/cloudruntimeconfig"
+	//   ]
+	// }
+
+}
+
+// Pages invokes f for each page of results.
+// A non-nil error returned from f will halt the iteration.
+// The provided context supersedes any context provided to the Context method.
+func (c *ProjectsConfigsListCall) Pages(ctx context.Context, f func(*ListConfigsResponse) error) error {
+	c.ctx_ = ctx
+	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
+	for {
+		x, err := c.Do()
+		if err != nil {
+			return err
+		}
+		if err := f(x); err != nil {
+			return err
+		}
+		if x.NextPageToken == "" {
+			return nil
+		}
+		c.PageToken(x.NextPageToken)
+	}
+}
+
+// method id "runtimeconfig.projects.configs.update":
+
+type ProjectsConfigsUpdateCall struct {
+	s             *Service
+	name          string
+	runtimeconfig *RuntimeConfig
+	urlParams_    gensupport.URLParams
+	ctx_          context.Context
+}
+
+// Update: Updates the config resource object.
+// RuntimeConfig object must already exist.
+func (r *ProjectsConfigsService) Update(name string, runtimeconfig *RuntimeConfig) *ProjectsConfigsUpdateCall {
+	c := &ProjectsConfigsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.name = name
+	c.runtimeconfig = runtimeconfig
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *ProjectsConfigsUpdateCall) Fields(s ...googleapi.Field) *ProjectsConfigsUpdateCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *ProjectsConfigsUpdateCall) Context(ctx context.Context) *ProjectsConfigsUpdateCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *ProjectsConfigsUpdateCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	body, err := googleapi.WithoutDataWrapper.JSONReader(c.runtimeconfig)
+	if err != nil {
+		return nil, err
+	}
+	ctype := "application/json"
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("PUT", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"name": c.name,
+	})
+	req.Header.Set("Content-Type", ctype)
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "runtimeconfig.projects.configs.update" call.
+// Exactly one of *RuntimeConfig or error will be non-nil. Any non-2xx
+// status code is an error. Response headers are in either
+// *RuntimeConfig.ServerResponse.Header or (if a response was returned
+// at all) in error.(*googleapi.Error).Header. Use
+// googleapi.IsNotModified to check whether the returned error was
+// because http.StatusNotModified was returned.
+func (c *ProjectsConfigsUpdateCall) Do(opts ...googleapi.CallOption) (*RuntimeConfig, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &RuntimeConfig{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Updates the config resource object.\nRuntimeConfig object must already exist.",
+	//   "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}",
+	//   "httpMethod": "PUT",
+	//   "id": "runtimeconfig.projects.configs.update",
+	//   "parameterOrder": [
+	//     "name"
+	//   ],
+	//   "parameters": {
+	//     "name": {
+	//       "description": "The name of the config resource to update.\nRequired. Must be a valid config resource.",
+	//       "location": "path",
+	//       "pattern": "^projects/[^/]*/configs/[^/]*$",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v1beta1/{+name}",
+	//   "request": {
+	//     "$ref": "RuntimeConfig"
+	//   },
+	//   "response": {
+	//     "$ref": "RuntimeConfig"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/cloud-platform",
+	//     "https://www.googleapis.com/auth/cloudruntimeconfig"
+	//   ]
+	// }
+
+}
+
+// method id "runtimeconfig.projects.configs.operations.get":
+
+type ProjectsConfigsOperationsGetCall struct {
+	s            *Service
+	name         string
+	urlParams_   gensupport.URLParams
+	ifNoneMatch_ string
+	ctx_         context.Context
+}
+
+// Get: Gets the latest state of a long-running operation.  Clients can
+// use this
+// method to poll the operation result at intervals as recommended by
+// the API
+// service.
+func (r *ProjectsConfigsOperationsService) Get(name string) *ProjectsConfigsOperationsGetCall {
+	c := &ProjectsConfigsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.name = name
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *ProjectsConfigsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsConfigsOperationsGetCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// IfNoneMatch sets the optional parameter which makes the operation
+// fail if the object's ETag matches the given value. This is useful for
+// getting updates only after the object has changed since the last
+// request. Use googleapi.IsNotModified to check whether the response
+// error from Do is the result of In-None-Match.
+func (c *ProjectsConfigsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsConfigsOperationsGetCall {
+	c.ifNoneMatch_ = entityTag
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *ProjectsConfigsOperationsGetCall) Context(ctx context.Context) *ProjectsConfigsOperationsGetCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *ProjectsConfigsOperationsGetCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("GET", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"name": c.name,
+	})
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ifNoneMatch_ != "" {
+		req.Header.Set("If-None-Match", c.ifNoneMatch_)
+	}
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "runtimeconfig.projects.configs.operations.get" call.
+// Exactly one of *Operation or error will be non-nil. Any non-2xx
+// status code is an error. Response headers are in either
+// *Operation.ServerResponse.Header or (if a response was returned at
+// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified
+// to check whether the returned error was because
+// http.StatusNotModified was returned.
+func (c *ProjectsConfigsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &Operation{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Gets the latest state of a long-running operation.  Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
+	//   "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/operations/{operationsId}",
+	//   "httpMethod": "GET",
+	//   "id": "runtimeconfig.projects.configs.operations.get",
+	//   "parameterOrder": [
+	//     "name"
+	//   ],
+	//   "parameters": {
+	//     "name": {
+	//       "description": "The name of the operation resource.",
+	//       "location": "path",
+	//       "pattern": "^projects/[^/]*/configs/[^/]*/operations/.*$",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v1beta1/{+name}",
+	//   "response": {
+	//     "$ref": "Operation"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/cloud-platform",
+	//     "https://www.googleapis.com/auth/cloudruntimeconfig"
+	//   ]
+	// }
+
+}
+
+// method id "runtimeconfig.projects.configs.variables.create":
+
+type ProjectsConfigsVariablesCreateCall struct {
+	s          *Service
+	parent     string
+	variable   *Variable
+	urlParams_ gensupport.URLParams
+	ctx_       context.Context
+}
+
+// Create: Creates a variable within the given configuration.
+// Create variable will create all required intermediate path
+// elements.
+// It is a FAILED_PRECONDITION error to create a variable with a name
+// that is
+// a prefix of an existing variable name, or that has an existing
+// variable
+// name as a prefix.
+func (r *ProjectsConfigsVariablesService) Create(parent string, variable *Variable) *ProjectsConfigsVariablesCreateCall {
+	c := &ProjectsConfigsVariablesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.parent = parent
+	c.variable = variable
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *ProjectsConfigsVariablesCreateCall) Fields(s ...googleapi.Field) *ProjectsConfigsVariablesCreateCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *ProjectsConfigsVariablesCreateCall) Context(ctx context.Context) *ProjectsConfigsVariablesCreateCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *ProjectsConfigsVariablesCreateCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	body, err := googleapi.WithoutDataWrapper.JSONReader(c.variable)
+	if err != nil {
+		return nil, err
+	}
+	ctype := "application/json"
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/variables")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("POST", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"parent": c.parent,
+	})
+	req.Header.Set("Content-Type", ctype)
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "runtimeconfig.projects.configs.variables.create" call.
+// Exactly one of *Variable or error will be non-nil. Any non-2xx status
+// code is an error. Response headers are in either
+// *Variable.ServerResponse.Header or (if a response was returned at
+// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified
+// to check whether the returned error was because
+// http.StatusNotModified was returned.
+func (c *ProjectsConfigsVariablesCreateCall) Do(opts ...googleapi.CallOption) (*Variable, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &Variable{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Creates a variable within the given configuration.\nCreate variable will create all required intermediate path elements.\nIt is a FAILED_PRECONDITION error to create a variable with a name that is\na prefix of an existing variable name, or that has an existing variable\nname as a prefix.",
+	//   "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables",
+	//   "httpMethod": "POST",
+	//   "id": "runtimeconfig.projects.configs.variables.create",
+	//   "parameterOrder": [
+	//     "parent"
+	//   ],
+	//   "parameters": {
+	//     "parent": {
+	//       "description": "The configuration parent, that will own the variable.\nRequired, must a valid configuration name within project_id.",
+	//       "location": "path",
+	//       "pattern": "^projects/[^/]*/configs/[^/]*$",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v1beta1/{+parent}/variables",
+	//   "request": {
+	//     "$ref": "Variable"
+	//   },
+	//   "response": {
+	//     "$ref": "Variable"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/cloud-platform",
+	//     "https://www.googleapis.com/auth/cloudruntimeconfig"
+	//   ]
+	// }
+
+}
+
+// method id "runtimeconfig.projects.configs.variables.delete":
+
+type ProjectsConfigsVariablesDeleteCall struct {
+	s          *Service
+	name       string
+	urlParams_ gensupport.URLParams
+	ctx_       context.Context
+}
+
+// Delete: Deletes variable or variables.
+// If name denotes a variable, that variable is deleted. If name is a
+// prefix
+// and recursive is true, then all variables with that prefix are
+// deleted,
+// it's a FAILED_PRECONDITION to delete a prefix without recursive being
+// true.
+func (r *ProjectsConfigsVariablesService) Delete(name string) *ProjectsConfigsVariablesDeleteCall {
+	c := &ProjectsConfigsVariablesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.name = name
+	return c
+}
+
+// Recursive sets the optional parameter "recursive": If recursive is
+// false and name is a prefix of other variables, then
+// the request will fail.
+func (c *ProjectsConfigsVariablesDeleteCall) Recursive(recursive bool) *ProjectsConfigsVariablesDeleteCall {
+	c.urlParams_.Set("recursive", fmt.Sprint(recursive))
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *ProjectsConfigsVariablesDeleteCall) Fields(s ...googleapi.Field) *ProjectsConfigsVariablesDeleteCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *ProjectsConfigsVariablesDeleteCall) Context(ctx context.Context) *ProjectsConfigsVariablesDeleteCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *ProjectsConfigsVariablesDeleteCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("DELETE", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"name": c.name,
+	})
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "runtimeconfig.projects.configs.variables.delete" call.
+// Exactly one of *Empty or error will be non-nil. Any non-2xx status
+// code is an error. Response headers are in either
+// *Empty.ServerResponse.Header or (if a response was returned at all)
+// in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
+// check whether the returned error was because http.StatusNotModified
+// was returned.
+func (c *ProjectsConfigsVariablesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &Empty{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Deletes variable or variables.\nIf name denotes a variable, that variable is deleted. If name is a prefix\nand recursive is true, then all variables with that prefix are deleted,\nit's a FAILED_PRECONDITION to delete a prefix without recursive being true.",
+	//   "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}",
+	//   "httpMethod": "DELETE",
+	//   "id": "runtimeconfig.projects.configs.variables.delete",
+	//   "parameterOrder": [
+	//     "name"
+	//   ],
+	//   "parameters": {
+	//     "name": {
+	//       "description": "The name of the variable to delete.",
+	//       "location": "path",
+	//       "pattern": "^projects/[^/]*/configs/[^/]*/variables/.*$",
+	//       "required": true,
+	//       "type": "string"
+	//     },
+	//     "recursive": {
+	//       "description": "If recursive is false and name is a prefix of other variables, then\nthe request will fail.",
+	//       "location": "query",
+	//       "type": "boolean"
+	//     }
+	//   },
+	//   "path": "v1beta1/{+name}",
+	//   "response": {
+	//     "$ref": "Empty"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/cloud-platform",
+	//     "https://www.googleapis.com/auth/cloudruntimeconfig"
+	//   ]
+	// }
+
+}
+
+// method id "runtimeconfig.projects.configs.variables.get":
+
+type ProjectsConfigsVariablesGetCall struct {
+	s            *Service
+	name         string
+	urlParams_   gensupport.URLParams
+	ifNoneMatch_ string
+	ctx_         context.Context
+}
+
+// Get: Gets the variable resource object.
+func (r *ProjectsConfigsVariablesService) Get(name string) *ProjectsConfigsVariablesGetCall {
+	c := &ProjectsConfigsVariablesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.name = name
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *ProjectsConfigsVariablesGetCall) Fields(s ...googleapi.Field) *ProjectsConfigsVariablesGetCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// IfNoneMatch sets the optional parameter which makes the operation
+// fail if the object's ETag matches the given value. This is useful for
+// getting updates only after the object has changed since the last
+// request. Use googleapi.IsNotModified to check whether the response
+// error from Do is the result of In-None-Match.
+func (c *ProjectsConfigsVariablesGetCall) IfNoneMatch(entityTag string) *ProjectsConfigsVariablesGetCall {
+	c.ifNoneMatch_ = entityTag
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *ProjectsConfigsVariablesGetCall) Context(ctx context.Context) *ProjectsConfigsVariablesGetCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *ProjectsConfigsVariablesGetCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("GET", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"name": c.name,
+	})
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ifNoneMatch_ != "" {
+		req.Header.Set("If-None-Match", c.ifNoneMatch_)
+	}
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "runtimeconfig.projects.configs.variables.get" call.
+// Exactly one of *Variable or error will be non-nil. Any non-2xx status
+// code is an error. Response headers are in either
+// *Variable.ServerResponse.Header or (if a response was returned at
+// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified
+// to check whether the returned error was because
+// http.StatusNotModified was returned.
+func (c *ProjectsConfigsVariablesGetCall) Do(opts ...googleapi.CallOption) (*Variable, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &Variable{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Gets the variable resource object.",
+	//   "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}",
+	//   "httpMethod": "GET",
+	//   "id": "runtimeconfig.projects.configs.variables.get",
+	//   "parameterOrder": [
+	//     "name"
+	//   ],
+	//   "parameters": {
+	//     "name": {
+	//       "description": "What variable to return.",
+	//       "location": "path",
+	//       "pattern": "^projects/[^/]*/configs/[^/]*/variables/.*$",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v1beta1/{+name}",
+	//   "response": {
+	//     "$ref": "Variable"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/cloud-platform",
+	//     "https://www.googleapis.com/auth/cloudruntimeconfig"
+	//   ]
+	// }
+
+}
+
+// method id "runtimeconfig.projects.configs.variables.list":
+
+type ProjectsConfigsVariablesListCall struct {
+	s            *Service
+	parent       string
+	urlParams_   gensupport.URLParams
+	ifNoneMatch_ string
+	ctx_         context.Context
+}
+
+// List: Lists variables within given RuntimeConfig object, matching
+// optionally
+// provided filter.
+// List contains only variable metadata, but not values.
+func (r *ProjectsConfigsVariablesService) List(parent string) *ProjectsConfigsVariablesListCall {
+	c := &ProjectsConfigsVariablesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.parent = parent
+	return c
+}
+
+// Filter sets the optional parameter "filter": List only variables
+// matching filter prefix exactly.
+// e.g.
+// `projects/{project_id}/config/{config_id}/variables/{variable/id}`.
+func (c *ProjectsConfigsVariablesListCall) Filter(filter string) *ProjectsConfigsVariablesListCall {
+	c.urlParams_.Set("filter", filter)
+	return c
+}
+
+// PageSize sets the optional parameter "pageSize": List pagination
+// support.
+// The size of the page to return. We may return fewer elements.
+func (c *ProjectsConfigsVariablesListCall) PageSize(pageSize int64) *ProjectsConfigsVariablesListCall {
+	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
+	return c
+}
+
+// PageToken sets the optional parameter "pageToken": The token for
+// pagination.
+func (c *ProjectsConfigsVariablesListCall) PageToken(pageToken string) *ProjectsConfigsVariablesListCall {
+	c.urlParams_.Set("pageToken", pageToken)
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *ProjectsConfigsVariablesListCall) Fields(s ...googleapi.Field) *ProjectsConfigsVariablesListCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// IfNoneMatch sets the optional parameter which makes the operation
+// fail if the object's ETag matches the given value. This is useful for
+// getting updates only after the object has changed since the last
+// request. Use googleapi.IsNotModified to check whether the response
+// error from Do is the result of In-None-Match.
+func (c *ProjectsConfigsVariablesListCall) IfNoneMatch(entityTag string) *ProjectsConfigsVariablesListCall {
+	c.ifNoneMatch_ = entityTag
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *ProjectsConfigsVariablesListCall) Context(ctx context.Context) *ProjectsConfigsVariablesListCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *ProjectsConfigsVariablesListCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/variables")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("GET", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"parent": c.parent,
+	})
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ifNoneMatch_ != "" {
+		req.Header.Set("If-None-Match", c.ifNoneMatch_)
+	}
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "runtimeconfig.projects.configs.variables.list" call.
+// Exactly one of *ListVariablesResponse or error will be non-nil. Any
+// non-2xx status code is an error. Response headers are in either
+// *ListVariablesResponse.ServerResponse.Header or (if a response was
+// returned at all) in error.(*googleapi.Error).Header. Use
+// googleapi.IsNotModified to check whether the returned error was
+// because http.StatusNotModified was returned.
+func (c *ProjectsConfigsVariablesListCall) Do(opts ...googleapi.CallOption) (*ListVariablesResponse, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &ListVariablesResponse{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Lists variables within given RuntimeConfig object, matching optionally\nprovided filter.\nList contains only variable metadata, but not values.",
+	//   "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables",
+	//   "httpMethod": "GET",
+	//   "id": "runtimeconfig.projects.configs.variables.list",
+	//   "parameterOrder": [
+	//     "parent"
+	//   ],
+	//   "parameters": {
+	//     "filter": {
+	//       "description": "List only variables matching filter prefix exactly.\ne.g. `projects/{project_id}/config/{config_id}/variables/{variable/id}`.",
+	//       "location": "query",
+	//       "type": "string"
+	//     },
+	//     "pageSize": {
+	//       "description": "List pagination support.\nThe size of the page to return. We may return fewer elements.",
+	//       "format": "int32",
+	//       "location": "query",
+	//       "type": "integer"
+	//     },
+	//     "pageToken": {
+	//       "description": "The token for pagination.",
+	//       "location": "query",
+	//       "type": "string"
+	//     },
+	//     "parent": {
+	//       "description": "Which RuntimeConfig object to list for variables.",
+	//       "location": "path",
+	//       "pattern": "^projects/[^/]*/configs/[^/]*$",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v1beta1/{+parent}/variables",
+	//   "response": {
+	//     "$ref": "ListVariablesResponse"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/cloud-platform",
+	//     "https://www.googleapis.com/auth/cloudruntimeconfig"
+	//   ]
+	// }
+
+}
+
+// Pages invokes f for each page of results.
+// A non-nil error returned from f will halt the iteration.
+// The provided context supersedes any context provided to the Context method.
+func (c *ProjectsConfigsVariablesListCall) Pages(ctx context.Context, f func(*ListVariablesResponse) error) error {
+	c.ctx_ = ctx
+	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
+	for {
+		x, err := c.Do()
+		if err != nil {
+			return err
+		}
+		if err := f(x); err != nil {
+			return err
+		}
+		if x.NextPageToken == "" {
+			return nil
+		}
+		c.PageToken(x.NextPageToken)
+	}
+}
+
+// method id "runtimeconfig.projects.configs.variables.update":
+
+type ProjectsConfigsVariablesUpdateCall struct {
+	s          *Service
+	name       string
+	variable   *Variable
+	urlParams_ gensupport.URLParams
+	ctx_       context.Context
+}
+
+// Update: Updates an existing variable with a new value.
+func (r *ProjectsConfigsVariablesService) Update(name string, variable *Variable) *ProjectsConfigsVariablesUpdateCall {
+	c := &ProjectsConfigsVariablesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.name = name
+	c.variable = variable
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *ProjectsConfigsVariablesUpdateCall) Fields(s ...googleapi.Field) *ProjectsConfigsVariablesUpdateCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *ProjectsConfigsVariablesUpdateCall) Context(ctx context.Context) *ProjectsConfigsVariablesUpdateCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *ProjectsConfigsVariablesUpdateCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	body, err := googleapi.WithoutDataWrapper.JSONReader(c.variable)
+	if err != nil {
+		return nil, err
+	}
+	ctype := "application/json"
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("PUT", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"name": c.name,
+	})
+	req.Header.Set("Content-Type", ctype)
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "runtimeconfig.projects.configs.variables.update" call.
+// Exactly one of *Variable or error will be non-nil. Any non-2xx status
+// code is an error. Response headers are in either
+// *Variable.ServerResponse.Header or (if a response was returned at
+// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified
+// to check whether the returned error was because
+// http.StatusNotModified was returned.
+func (c *ProjectsConfigsVariablesUpdateCall) Do(opts ...googleapi.CallOption) (*Variable, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &Variable{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Updates an existing variable with a new value.",
+	//   "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}",
+	//   "httpMethod": "PUT",
+	//   "id": "runtimeconfig.projects.configs.variables.update",
+	//   "parameterOrder": [
+	//     "name"
+	//   ],
+	//   "parameters": {
+	//     "name": {
+	//       "description": "The name of the variable to update.\nIn the format of:\n\"projects/{project_id}/configs/{config_id}/variables/{variable_id}\"",
+	//       "location": "path",
+	//       "pattern": "^projects/[^/]*/configs/[^/]*/variables/.*$",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v1beta1/{+name}",
+	//   "request": {
+	//     "$ref": "Variable"
+	//   },
+	//   "response": {
+	//     "$ref": "Variable"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/cloud-platform",
+	//     "https://www.googleapis.com/auth/cloudruntimeconfig"
+	//   ]
+	// }
+
+}
+
+// method id "runtimeconfig.projects.configs.variables.watch":
+
+type ProjectsConfigsVariablesWatchCall struct {
+	s                    *Service
+	name                 string
+	watchvariablerequest *WatchVariableRequest
+	urlParams_           gensupport.URLParams
+	ctx_                 context.Context
+}
+
+// Watch: WatchVariable watches for a variable to change and then
+// returns the new
+// value or times out.
+// If variable is deleted while being watched, VariableState will be
+// DELETED
+// and the Value will contain the last known value.
+// If the operation deadline is set to a larger value than internal
+// timeout
+// existing, current variable value will be returned and Variable state
+// will
+// be VARIABLE_STATE_UNSPECIFIED.
+func (r *ProjectsConfigsVariablesService) Watch(name string, watchvariablerequest *WatchVariableRequest) *ProjectsConfigsVariablesWatchCall {
+	c := &ProjectsConfigsVariablesWatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.name = name
+	c.watchvariablerequest = watchvariablerequest
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *ProjectsConfigsVariablesWatchCall) Fields(s ...googleapi.Field) *ProjectsConfigsVariablesWatchCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *ProjectsConfigsVariablesWatchCall) Context(ctx context.Context) *ProjectsConfigsVariablesWatchCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *ProjectsConfigsVariablesWatchCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	body, err := googleapi.WithoutDataWrapper.JSONReader(c.watchvariablerequest)
+	if err != nil {
+		return nil, err
+	}
+	ctype := "application/json"
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}:watch")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("POST", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"name": c.name,
+	})
+	req.Header.Set("Content-Type", ctype)
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "runtimeconfig.projects.configs.variables.watch" call.
+// Exactly one of *Variable or error will be non-nil. Any non-2xx status
+// code is an error. Response headers are in either
+// *Variable.ServerResponse.Header or (if a response was returned at
+// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified
+// to check whether the returned error was because
+// http.StatusNotModified was returned.
+func (c *ProjectsConfigsVariablesWatchCall) Do(opts ...googleapi.CallOption) (*Variable, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &Variable{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "WatchVariable watches for a variable to change and then returns the new\nvalue or times out.\nIf variable is deleted while being watched, VariableState will be DELETED\nand the Value will contain the last known value.\nIf the operation deadline is set to a larger value than internal timeout\nexisting, current variable value will be returned and Variable state will\nbe VARIABLE_STATE_UNSPECIFIED.",
+	//   "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}:watch",
+	//   "httpMethod": "POST",
+	//   "id": "runtimeconfig.projects.configs.variables.watch",
+	//   "parameterOrder": [
+	//     "name"
+	//   ],
+	//   "parameters": {
+	//     "name": {
+	//       "description": "The name of the variable to retrieve.",
+	//       "location": "path",
+	//       "pattern": "^projects/[^/]*/configs/[^/]*/variables/.*$",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v1beta1/{+name}:watch",
+	//   "request": {
+	//     "$ref": "WatchVariableRequest"
+	//   },
+	//   "response": {
+	//     "$ref": "Variable"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/cloud-platform",
+	//     "https://www.googleapis.com/auth/cloudruntimeconfig"
+	//   ]
+	// }
+
+}
+
+// method id "runtimeconfig.projects.configs.waiters.create":
+
+type ProjectsConfigsWaitersCreateCall struct {
+	s          *Service
+	parent     string
+	waiter     *Waiter
+	urlParams_ gensupport.URLParams
+	ctx_       context.Context
+}
+
+// Create: Creates a Waiter resource. This operation returns a
+// long-running Operation
+// resource which can be polled for completion. However, a Waiter with
+// the
+// given name will exist (and can be retrieved) prior to the
+// resultant
+// Operation completing. If the resultant Operation indicates a failure,
+// the
+// failed Waiter resource will still exist and must be deleted prior
+// to
+// subsequent creation attempts.
+func (r *ProjectsConfigsWaitersService) Create(parent string, waiter *Waiter) *ProjectsConfigsWaitersCreateCall {
+	c := &ProjectsConfigsWaitersCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.parent = parent
+	c.waiter = waiter
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *ProjectsConfigsWaitersCreateCall) Fields(s ...googleapi.Field) *ProjectsConfigsWaitersCreateCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *ProjectsConfigsWaitersCreateCall) Context(ctx context.Context) *ProjectsConfigsWaitersCreateCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *ProjectsConfigsWaitersCreateCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	body, err := googleapi.WithoutDataWrapper.JSONReader(c.waiter)
+	if err != nil {
+		return nil, err
+	}
+	ctype := "application/json"
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/waiters")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("POST", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"parent": c.parent,
+	})
+	req.Header.Set("Content-Type", ctype)
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "runtimeconfig.projects.configs.waiters.create" call.
+// Exactly one of *Operation or error will be non-nil. Any non-2xx
+// status code is an error. Response headers are in either
+// *Operation.ServerResponse.Header or (if a response was returned at
+// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified
+// to check whether the returned error was because
+// http.StatusNotModified was returned.
+func (c *ProjectsConfigsWaitersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &Operation{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Creates a Waiter resource. This operation returns a long-running Operation\nresource which can be polled for completion. However, a Waiter with the\ngiven name will exist (and can be retrieved) prior to the resultant\nOperation completing. If the resultant Operation indicates a failure, the\nfailed Waiter resource will still exist and must be deleted prior to\nsubsequent creation attempts.",
+	//   "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters",
+	//   "httpMethod": "POST",
+	//   "id": "runtimeconfig.projects.configs.waiters.create",
+	//   "parameterOrder": [
+	//     "parent"
+	//   ],
+	//   "parameters": {
+	//     "parent": {
+	//       "description": "The fully-qualified name of the configuration that will own the waiter.\nRequired. Must be a valid configuration name.",
+	//       "location": "path",
+	//       "pattern": "^projects/[^/]*/configs/[^/]*$",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v1beta1/{+parent}/waiters",
+	//   "request": {
+	//     "$ref": "Waiter"
+	//   },
+	//   "response": {
+	//     "$ref": "Operation"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/cloud-platform",
+	//     "https://www.googleapis.com/auth/cloudruntimeconfig"
+	//   ]
+	// }
+
+}
+
+// method id "runtimeconfig.projects.configs.waiters.delete":
+
+type ProjectsConfigsWaitersDeleteCall struct {
+	s          *Service
+	name       string
+	urlParams_ gensupport.URLParams
+	ctx_       context.Context
+}
+
+// Delete: Deletes the Waiter with the specified name.
+func (r *ProjectsConfigsWaitersService) Delete(name string) *ProjectsConfigsWaitersDeleteCall {
+	c := &ProjectsConfigsWaitersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.name = name
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *ProjectsConfigsWaitersDeleteCall) Fields(s ...googleapi.Field) *ProjectsConfigsWaitersDeleteCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *ProjectsConfigsWaitersDeleteCall) Context(ctx context.Context) *ProjectsConfigsWaitersDeleteCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *ProjectsConfigsWaitersDeleteCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("DELETE", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"name": c.name,
+	})
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "runtimeconfig.projects.configs.waiters.delete" call.
+// Exactly one of *Empty or error will be non-nil. Any non-2xx status
+// code is an error. Response headers are in either
+// *Empty.ServerResponse.Header or (if a response was returned at all)
+// in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
+// check whether the returned error was because http.StatusNotModified
+// was returned.
+func (c *ProjectsConfigsWaitersDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &Empty{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Deletes the Waiter with the specified name.",
+	//   "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters/{waitersId}",
+	//   "httpMethod": "DELETE",
+	//   "id": "runtimeconfig.projects.configs.waiters.delete",
+	//   "parameterOrder": [
+	//     "name"
+	//   ],
+	//   "parameters": {
+	//     "name": {
+	//       "description": "The Waiter resource to delete.",
+	//       "location": "path",
+	//       "pattern": "^projects/[^/]*/configs/[^/]*/waiters/[^/]*$",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v1beta1/{+name}",
+	//   "response": {
+	//     "$ref": "Empty"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/cloud-platform",
+	//     "https://www.googleapis.com/auth/cloudruntimeconfig"
+	//   ]
+	// }
+
+}
+
+// method id "runtimeconfig.projects.configs.waiters.get":
+
+type ProjectsConfigsWaitersGetCall struct {
+	s            *Service
+	name         string
+	urlParams_   gensupport.URLParams
+	ifNoneMatch_ string
+	ctx_         context.Context
+}
+
+// Get: Gets the Waiter resource with the specified name.
+func (r *ProjectsConfigsWaitersService) Get(name string) *ProjectsConfigsWaitersGetCall {
+	c := &ProjectsConfigsWaitersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.name = name
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *ProjectsConfigsWaitersGetCall) Fields(s ...googleapi.Field) *ProjectsConfigsWaitersGetCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// IfNoneMatch sets the optional parameter which makes the operation
+// fail if the object's ETag matches the given value. This is useful for
+// getting updates only after the object has changed since the last
+// request. Use googleapi.IsNotModified to check whether the response
+// error from Do is the result of In-None-Match.
+func (c *ProjectsConfigsWaitersGetCall) IfNoneMatch(entityTag string) *ProjectsConfigsWaitersGetCall {
+	c.ifNoneMatch_ = entityTag
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *ProjectsConfigsWaitersGetCall) Context(ctx context.Context) *ProjectsConfigsWaitersGetCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *ProjectsConfigsWaitersGetCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("GET", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"name": c.name,
+	})
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ifNoneMatch_ != "" {
+		req.Header.Set("If-None-Match", c.ifNoneMatch_)
+	}
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "runtimeconfig.projects.configs.waiters.get" call.
+// Exactly one of *Waiter or error will be non-nil. Any non-2xx status
+// code is an error. Response headers are in either
+// *Waiter.ServerResponse.Header or (if a response was returned at all)
+// in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
+// check whether the returned error was because http.StatusNotModified
+// was returned.
+func (c *ProjectsConfigsWaitersGetCall) Do(opts ...googleapi.CallOption) (*Waiter, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &Waiter{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Gets the Waiter resource with the specified name.",
+	//   "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters/{waitersId}",
+	//   "httpMethod": "GET",
+	//   "id": "runtimeconfig.projects.configs.waiters.get",
+	//   "parameterOrder": [
+	//     "name"
+	//   ],
+	//   "parameters": {
+	//     "name": {
+	//       "description": "The fully-qualified name of the Waiter resource object to retrieve.",
+	//       "location": "path",
+	//       "pattern": "^projects/[^/]*/configs/[^/]*/waiters/[^/]*$",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v1beta1/{+name}",
+	//   "response": {
+	//     "$ref": "Waiter"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/cloud-platform",
+	//     "https://www.googleapis.com/auth/cloudruntimeconfig"
+	//   ]
+	// }
+
+}
+
+// method id "runtimeconfig.projects.configs.waiters.list":
+
+type ProjectsConfigsWaitersListCall struct {
+	s            *Service
+	parent       string
+	urlParams_   gensupport.URLParams
+	ifNoneMatch_ string
+	ctx_         context.Context
+}
+
+// List: List Waiters within the given RuntimeConfig resource.
+func (r *ProjectsConfigsWaitersService) List(parent string) *ProjectsConfigsWaitersListCall {
+	c := &ProjectsConfigsWaitersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.parent = parent
+	return c
+}
+
+// PageSize sets the optional parameter "pageSize": List pagination
+// support.
+// The size of the page to return. We may return fewer elements.
+func (c *ProjectsConfigsWaitersListCall) PageSize(pageSize int64) *ProjectsConfigsWaitersListCall {
+	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
+	return c
+}
+
+// PageToken sets the optional parameter "pageToken": The token for
+// pagination.
+func (c *ProjectsConfigsWaitersListCall) PageToken(pageToken string) *ProjectsConfigsWaitersListCall {
+	c.urlParams_.Set("pageToken", pageToken)
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *ProjectsConfigsWaitersListCall) Fields(s ...googleapi.Field) *ProjectsConfigsWaitersListCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// IfNoneMatch sets the optional parameter which makes the operation
+// fail if the object's ETag matches the given value. This is useful for
+// getting updates only after the object has changed since the last
+// request. Use googleapi.IsNotModified to check whether the response
+// error from Do is the result of In-None-Match.
+func (c *ProjectsConfigsWaitersListCall) IfNoneMatch(entityTag string) *ProjectsConfigsWaitersListCall {
+	c.ifNoneMatch_ = entityTag
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *ProjectsConfigsWaitersListCall) Context(ctx context.Context) *ProjectsConfigsWaitersListCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *ProjectsConfigsWaitersListCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/waiters")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("GET", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"parent": c.parent,
+	})
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ifNoneMatch_ != "" {
+		req.Header.Set("If-None-Match", c.ifNoneMatch_)
+	}
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "runtimeconfig.projects.configs.waiters.list" call.
+// Exactly one of *ListWaitersResponse or error will be non-nil. Any
+// non-2xx status code is an error. Response headers are in either
+// *ListWaitersResponse.ServerResponse.Header or (if a response was
+// returned at all) in error.(*googleapi.Error).Header. Use
+// googleapi.IsNotModified to check whether the returned error was
+// because http.StatusNotModified was returned.
+func (c *ProjectsConfigsWaitersListCall) Do(opts ...googleapi.CallOption) (*ListWaitersResponse, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &ListWaitersResponse{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "List Waiters within the given RuntimeConfig resource.",
+	//   "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters",
+	//   "httpMethod": "GET",
+	//   "id": "runtimeconfig.projects.configs.waiters.list",
+	//   "parameterOrder": [
+	//     "parent"
+	//   ],
+	//   "parameters": {
+	//     "pageSize": {
+	//       "description": "List pagination support.\nThe size of the page to return. We may return fewer elements.",
+	//       "format": "int32",
+	//       "location": "query",
+	//       "type": "integer"
+	//     },
+	//     "pageToken": {
+	//       "description": "The token for pagination.",
+	//       "location": "query",
+	//       "type": "string"
+	//     },
+	//     "parent": {
+	//       "description": "The fully-qualified name of the configuration to list.\nRequired. Must be a valid configuration name.",
+	//       "location": "path",
+	//       "pattern": "^projects/[^/]*/configs/[^/]*$",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v1beta1/{+parent}/waiters",
+	//   "response": {
+	//     "$ref": "ListWaitersResponse"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/cloud-platform",
+	//     "https://www.googleapis.com/auth/cloudruntimeconfig"
+	//   ]
+	// }
+
+}
+
+// Pages invokes f for each page of results.
+// A non-nil error returned from f will halt the iteration.
+// The provided context supersedes any context provided to the Context method.
+func (c *ProjectsConfigsWaitersListCall) Pages(ctx context.Context, f func(*ListWaitersResponse) error) error {
+	c.ctx_ = ctx
+	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
+	for {
+		x, err := c.Do()
+		if err != nil {
+			return err
+		}
+		if err := f(x); err != nil {
+			return err
+		}
+		if x.NextPageToken == "" {
+			return nil
+		}
+		c.PageToken(x.NextPageToken)
+	}
+}
diff --git a/serviceregistry/v0.alpha/serviceregistry-api.json b/serviceregistry/v0.alpha/serviceregistry-api.json
index 3eb5884..355a6bf 100644
--- a/serviceregistry/v0.alpha/serviceregistry-api.json
+++ b/serviceregistry/v0.alpha/serviceregistry-api.json
@@ -1,12 +1,12 @@
 {
  "kind": "discovery#restDescription",
- "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/qJRJqUKH8cPIVj6FBA7UQg2ScgI\"",
+ "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/o_sq9wu8KS0g-XzYr68H2umzlwQ\"",
  "discoveryVersion": "v1",
  "id": "serviceregistry:alpha",
  "name": "serviceregistry",
  "canonicalName": "Service Registry",
  "version": "alpha",
- "revision": "20160505",
+ "revision": "20160516",
  "title": "Google Cloud Service Registry API",
  "description": "Manages service endpoints in Service Registry and provides integration with DNS for service discovery and name resolution.",
  "ownerDomain": "google.com",
@@ -15,7 +15,7 @@
   "x16": "http://www.google.com/images/icons/product/search-16.gif",
   "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
- "documentationLink": "https://developers.google.com/cloud-serviceregistry/",
+ "documentationLink": "https://cloud.google.com/service-registry/",
  "labels": [
   "limited_availability"
  ],
diff --git a/serviceregistry/v0.alpha/serviceregistry-gen.go b/serviceregistry/v0.alpha/serviceregistry-gen.go
index c27e159..1ff5e3d 100644
--- a/serviceregistry/v0.alpha/serviceregistry-gen.go
+++ b/serviceregistry/v0.alpha/serviceregistry-gen.go
@@ -1,6 +1,6 @@
 // Package serviceregistry provides access to the Google Cloud Service Registry API.
 //
-// See https://developers.google.com/cloud-serviceregistry/
+// See https://cloud.google.com/service-registry/
 //
 // Usage example:
 //
diff --git a/sheets/v4/sheets-api.json b/sheets/v4/sheets-api.json
new file mode 100644
index 0000000..8bc360c
--- /dev/null
+++ b/sheets/v4/sheets-api.json
@@ -0,0 +1,3696 @@
+{
+  "id": "sheets:v4",
+  "auth": {
+    "oauth2": {
+      "scopes": {
+        "https://www.googleapis.com/auth/drive.readonly": {
+          "description": "View the files in your Google Drive"
+        },
+        "https://www.googleapis.com/auth/spreadsheets.readonly": {
+          "description": "View your Google Spreadsheets"
+        },
+        "https://www.googleapis.com/auth/drive": {
+          "description": "View and manage the files in your Google Drive"
+        },
+        "https://www.googleapis.com/auth/spreadsheets": {
+          "description": "View and manage your spreadsheets in Google Drive"
+        }
+      }
+    }
+  },
+  "description": "An API for reading and modifying Google Sheets.",
+  "protocol": "rest",
+  "title": "Google Sheets API",
+  "resources": {
+    "spreadsheets": {
+      "resources": {
+        "values": {
+          "methods": {
+            "update": {
+              "id": "sheets.spreadsheets.values.update",
+              "response": {
+                "$ref": "UpdateValuesResponse"
+              },
+              "parameterOrder": [
+                "spreadsheetId",
+                "range"
+              ],
+              "description": "Sets values in a range of a spreadsheet.\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption.",
+              "request": {
+                "$ref": "ValueRange"
+              },
+              "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}",
+              "httpMethod": "PUT",
+              "parameters": {
+                "valueInputOption": {
+                  "description": "How the input data should be interpreted.",
+                  "enum": [
+                    "INPUT_VALUE_OPTION_UNSPECIFIED",
+                    "RAW",
+                    "USER_ENTERED"
+                  ],
+                  "location": "query",
+                  "type": "string"
+                },
+                "spreadsheetId": {
+                  "description": "The id of the spreadsheet to update.",
+                  "required": true,
+                  "location": "path",
+                  "type": "string"
+                },
+                "range": {
+                  "description": "The A1 notation of the values to update.",
+                  "required": true,
+                  "location": "path",
+                  "type": "string"
+                }
+              },
+              "path": "v4/spreadsheets/{spreadsheetId}/values/{range}",
+              "scopes": [
+                "https://www.googleapis.com/auth/drive",
+                "https://www.googleapis.com/auth/spreadsheets"
+              ]
+            },
+            "get": {
+              "id": "sheets.spreadsheets.values.get",
+              "response": {
+                "$ref": "ValueRange"
+              },
+              "parameterOrder": [
+                "spreadsheetId",
+                "range"
+              ],
+              "description": "Returns a range of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and a range.",
+              "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}",
+              "httpMethod": "GET",
+              "parameters": {
+                "spreadsheetId": {
+                  "description": "The id of the spreadsheet to retrieve data from.",
+                  "required": true,
+                  "location": "path",
+                  "type": "string"
+                },
+                "valueRenderOption": {
+                  "description": "How values should be represented in the output.",
+                  "enum": [
+                    "FORMATTED_VALUE",
+                    "UNFORMATTED_VALUE",
+                    "FORMULA"
+                  ],
+                  "location": "query",
+                  "type": "string"
+                },
+                "dateTimeRenderOption": {
+                  "description": "How dates, times, and durations should be represented in the output.\nThis is ignored if the ValueRenderOption option is\nFORMATTED_VALUE.",
+                  "enum": [
+                    "SERIAL_NUMBER",
+                    "FORMATTED_STRING"
+                  ],
+                  "location": "query",
+                  "type": "string"
+                },
+                "range": {
+                  "description": "The A1 notation of the values to retrieve.",
+                  "required": true,
+                  "location": "path",
+                  "type": "string"
+                },
+                "majorDimension": {
+                  "description": "The major dimension that results should use.\n\nFor example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.",
+                  "enum": [
+                    "DIMENSION_UNSPECIFIED",
+                    "ROWS",
+                    "COLUMNS"
+                  ],
+                  "location": "query",
+                  "type": "string"
+                }
+              },
+              "path": "v4/spreadsheets/{spreadsheetId}/values/{range}",
+              "scopes": [
+                "https://www.googleapis.com/auth/drive",
+                "https://www.googleapis.com/auth/drive.readonly",
+                "https://www.googleapis.com/auth/spreadsheets",
+                "https://www.googleapis.com/auth/spreadsheets.readonly"
+              ]
+            },
+            "batchGet": {
+              "id": "sheets.spreadsheets.values.batchGet",
+              "response": {
+                "$ref": "BatchGetValuesResponse"
+              },
+              "parameterOrder": [
+                "spreadsheetId"
+              ],
+              "description": "Returns one or more ranges of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and one or more ranges.",
+              "flatPath": "v4/spreadsheets/{spreadsheetId}/values:batchGet",
+              "httpMethod": "GET",
+              "parameters": {
+                "spreadsheetId": {
+                  "description": "The id of the spreadsheet to retrieve data from.",
+                  "required": true,
+                  "location": "path",
+                  "type": "string"
+                },
+                "ranges": {
+                  "description": "The A1 notation of the values to retrieve.",
+                  "repeated": true,
+                  "location": "query",
+                  "type": "string"
+                },
+                "valueRenderOption": {
+                  "description": "How values should be represented in the output.",
+                  "enum": [
+                    "FORMATTED_VALUE",
+                    "UNFORMATTED_VALUE",
+                    "FORMULA"
+                  ],
+                  "location": "query",
+                  "type": "string"
+                },
+                "dateTimeRenderOption": {
+                  "description": "How dates, times, and durations should be represented in the output.\nThis is ignored if ValueRenderOption option is\nFORMATTED_VALUE.",
+                  "enum": [
+                    "SERIAL_NUMBER",
+                    "FORMATTED_STRING"
+                  ],
+                  "location": "query",
+                  "type": "string"
+                },
+                "majorDimension": {
+                  "description": "The major dimension that results should use.\n\nFor example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.",
+                  "enum": [
+                    "DIMENSION_UNSPECIFIED",
+                    "ROWS",
+                    "COLUMNS"
+                  ],
+                  "location": "query",
+                  "type": "string"
+                }
+              },
+              "path": "v4/spreadsheets/{spreadsheetId}/values:batchGet",
+              "scopes": [
+                "https://www.googleapis.com/auth/drive",
+                "https://www.googleapis.com/auth/drive.readonly",
+                "https://www.googleapis.com/auth/spreadsheets",
+                "https://www.googleapis.com/auth/spreadsheets.readonly"
+              ]
+            },
+            "batchUpdate": {
+              "id": "sheets.spreadsheets.values.batchUpdate",
+              "response": {
+                "$ref": "BatchUpdateValuesResponse"
+              },
+              "parameterOrder": [
+                "spreadsheetId"
+              ],
+              "description": "Sets values in a range of a spreadsheet.\nThe caller must specify the spreadsheet ID,\na valueInputOption, and one or more\nValueRanges.",
+              "request": {
+                "$ref": "BatchUpdateValuesRequest"
+              },
+              "flatPath": "v4/spreadsheets/{spreadsheetId}/values:batchUpdate",
+              "httpMethod": "POST",
+              "parameters": {
+                "spreadsheetId": {
+                  "description": "The id of the spreadsheet to update.",
+                  "required": true,
+                  "location": "path",
+                  "type": "string"
+                }
+              },
+              "path": "v4/spreadsheets/{spreadsheetId}/values:batchUpdate",
+              "scopes": [
+                "https://www.googleapis.com/auth/drive",
+                "https://www.googleapis.com/auth/spreadsheets"
+              ]
+            }
+          }
+        },
+        "sheets": {
+          "methods": {
+            "copyTo": {
+              "id": "sheets.spreadsheets.sheets.copyTo",
+              "response": {
+                "$ref": "SheetProperties"
+              },
+              "parameterOrder": [
+                "spreadsheetId",
+                "sheetId"
+              ],
+              "description": "Copies a single sheet from a spreadsheet to another spreadsheet.\nReturns the properties of the newly created sheet.",
+              "request": {
+                "$ref": "CopySheetToAnotherSpreadsheetRequest"
+              },
+              "flatPath": "v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo",
+              "httpMethod": "POST",
+              "parameters": {
+                "sheetId": {
+                  "description": "The ID of the sheet to copy.",
+                  "required": true,
+                  "location": "path",
+                  "type": "integer",
+                  "format": "int32"
+                },
+                "spreadsheetId": {
+                  "description": "The id of the spreadsheet containing the sheet to copy.",
+                  "required": true,
+                  "location": "path",
+                  "type": "string"
+                }
+              },
+              "path": "v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo",
+              "scopes": [
+                "https://www.googleapis.com/auth/drive",
+                "https://www.googleapis.com/auth/spreadsheets"
+              ]
+            }
+          }
+        }
+      },
+      "methods": {
+        "create": {
+          "id": "sheets.spreadsheets.create",
+          "response": {
+            "$ref": "Spreadsheet"
+          },
+          "parameterOrder": [],
+          "description": "Creates a spreadsheet, returning the newly created spreadsheet.",
+          "request": {
+            "$ref": "Spreadsheet"
+          },
+          "flatPath": "v4/spreadsheets",
+          "httpMethod": "POST",
+          "parameters": {},
+          "path": "v4/spreadsheets",
+          "scopes": [
+            "https://www.googleapis.com/auth/drive",
+            "https://www.googleapis.com/auth/spreadsheets"
+          ]
+        },
+        "get": {
+          "id": "sheets.spreadsheets.get",
+          "response": {
+            "$ref": "Spreadsheet"
+          },
+          "parameterOrder": [
+            "spreadsheetId"
+          ],
+          "description": "Returns the spreadsheet at the given id.\nThe caller must specify the spreadsheet ID.\n\nBy default, data within grids will not be returned.\nYou can include grid data one of two ways: specify a field mask listing\nyour desired fields (using the `fields` URL parameter in HTTP,\nor `FieldMaskContext.response_mask` in the request extensions in an RPC),\nor by setting the\nincludeGridData URL parameter\nto true.  If a field mask is set, the `includeGridData` parameter is\nignored.\n\nFor large spreadsheets, it is recommended to retrieve only the specific\nfields of the spreadsheet that you want.\n\nTo retrieve only subsets of the spreadsheet, use the\nranges URL parameter.\nMultiple ranges can be specified.  Limiting the range will\nreturn only the portions of the spreadsheet that intersect the requested\nranges. Ranges are specified using A1 notation.",
+          "flatPath": "v4/spreadsheets/{spreadsheetId}",
+          "httpMethod": "GET",
+          "parameters": {
+            "spreadsheetId": {
+              "description": "The spreadsheet to request.",
+              "required": true,
+              "location": "path",
+              "type": "string"
+            },
+            "ranges": {
+              "description": "The ranges to retrieve from the spreadsheet.",
+              "repeated": true,
+              "location": "query",
+              "type": "string"
+            },
+            "includeGridData": {
+              "description": "True if grid data should be returned.\nThis parameter is ignored if a field mask was set in the request.",
+              "location": "query",
+              "type": "boolean"
+            }
+          },
+          "path": "v4/spreadsheets/{spreadsheetId}",
+          "scopes": [
+            "https://www.googleapis.com/auth/drive",
+            "https://www.googleapis.com/auth/drive.readonly",
+            "https://www.googleapis.com/auth/spreadsheets",
+            "https://www.googleapis.com/auth/spreadsheets.readonly"
+          ]
+        },
+        "batchUpdate": {
+          "id": "sheets.spreadsheets.batchUpdate",
+          "response": {
+            "$ref": "BatchUpdateSpreadsheetResponse"
+          },
+          "parameterOrder": [
+            "spreadsheetId"
+          ],
+          "description": "Applies one or more updates to the spreadsheet.\n\nEach request is validated before\nbeing applied. If any request is not valid then the entire request will\nfail and nothing will be applied.\n\nSome requests have replies to\ngive you some information about how\nthey applied. The replies will mirror the requests.  For example,\nif you applied 4 updates and the 3rd one had a reply, then the\nresponse will have 2 empty replies, the actual reply, and another empty\nreply, in that order.\n\nDue to the collaborative nature of spreadsheets, it is not guaranteed that\nthe spreadsheet will reflect exactly your changes after this completes,\nhowever it is guaranteed that all the updates in the request will be\napplied atomically. Your changes may be altered with respect to\ncollaborator changes. If there are no collaborators, the spreadsheet\nshould reflect your changes.",
+          "request": {
+            "$ref": "BatchUpdateSpreadsheetRequest"
+          },
+          "flatPath": "v4/spreadsheets/{spreadsheetId}:batchUpdate",
+          "httpMethod": "POST",
+          "parameters": {
+            "spreadsheetId": {
+              "description": "The spreadsheet to apply the updates to.",
+              "required": true,
+              "location": "path",
+              "type": "string"
+            }
+          },
+          "path": "v4/spreadsheets/{spreadsheetId}:batchUpdate",
+          "scopes": [
+            "https://www.googleapis.com/auth/drive",
+            "https://www.googleapis.com/auth/spreadsheets"
+          ]
+        }
+      }
+    }
+  },
+  "schemas": {
+    "AddNamedRangeResponse": {
+      "description": "The result of adding a named range.",
+      "type": "object",
+      "properties": {
+        "namedRange": {
+          "description": "The named range to add.",
+          "$ref": "NamedRange"
+        }
+      },
+      "id": "AddNamedRangeResponse"
+    },
+    "UpdateProtectedRangeRequest": {
+      "description": "Updates an existing protected range with the specified\nprotectedRangeId.",
+      "type": "object",
+      "properties": {
+        "protectedRange": {
+          "description": "The protected range to update with the new properties. If a nonzero\nprotectedRangeId is\nspecified, the protected range will use that ID. (It is an error to\nspecify the ID of a protected range that already exists.)",
+          "$ref": "ProtectedRange"
+        },
+        "fields": {
+          "description": "The fields that should be updated.  At least one field must be specified.\nThe root `protectedRange` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.",
+          "type": "string",
+          "format": "google-fieldmask"
+        }
+      },
+      "id": "UpdateProtectedRangeRequest"
+    },
+    "Padding": {
+      "description": "The amount of padding around the cell, in pixels.\nWhen updating padding, every field must be specified.",
+      "type": "object",
+      "properties": {
+        "right": {
+          "description": "The right padding of the cell.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "left": {
+          "description": "The left padding of the cell.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "top": {
+          "description": "The top padding of the cell.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "bottom": {
+          "description": "The bottom padding of the cell.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "Padding"
+    },
+    "MergeCellsRequest": {
+      "description": "Merges all cells in the range.",
+      "type": "object",
+      "properties": {
+        "mergeType": {
+          "description": "How the cells should be merged.",
+          "enum": [
+            "MERGE_ALL",
+            "MERGE_COLUMNS",
+            "MERGE_ROWS"
+          ],
+          "enumDescriptions": [
+            "Create a single merge from the range",
+            "Create a merge for each column in the range",
+            "Create a merge for each row in the range"
+          ],
+          "type": "string"
+        },
+        "range": {
+          "description": "The range of cells to merge.",
+          "$ref": "GridRange"
+        }
+      },
+      "id": "MergeCellsRequest"
+    },
+    "AddSheetResponse": {
+      "description": "The result of adding a sheet.",
+      "type": "object",
+      "properties": {
+        "properties": {
+          "description": "The properties of the newly added sheet.",
+          "$ref": "SheetProperties"
+        }
+      },
+      "id": "AddSheetResponse"
+    },
+    "PivotGroupValueMetadata": {
+      "description": "Metadata about a value in a pivot grouping.",
+      "type": "object",
+      "properties": {
+        "value": {
+          "description": "The calculated value the metadata corresponds to.\n(Note that formulaValue is not valid,\n because the values will be calculated.)",
+          "$ref": "ExtendedValue"
+        },
+        "collapsed": {
+          "description": "True if the data corresponding to the value is collapsed.",
+          "type": "boolean"
+        }
+      },
+      "id": "PivotGroupValueMetadata"
+    },
+    "UpdateEmbeddedObjectPositionResponse": {
+      "description": "The result of updating an embedded object's position.",
+      "type": "object",
+      "properties": {
+        "position": {
+          "description": "The new position of the embedded object.",
+          "$ref": "EmbeddedObjectPosition"
+        }
+      },
+      "id": "UpdateEmbeddedObjectPositionResponse"
+    },
+    "UpdateConditionalFormatRuleRequest": {
+      "description": "Updates a conditional format rule at the given index,\nor moves a conditional format rule to another index.",
+      "type": "object",
+      "properties": {
+        "sheetId": {
+          "description": "The sheet of the rule to move.  Required if newIndex is set,\nunused otherwise.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "rule": {
+          "description": "The rule that should replace the rule at the given index.",
+          "$ref": "ConditionalFormatRule"
+        },
+        "index": {
+          "description": "The zero-based index of the rule that should be replaced or moved.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "newIndex": {
+          "description": "The zero-based new index the rule should end up at.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "UpdateConditionalFormatRuleRequest"
+    },
+    "TextFormat": {
+      "description": "The format of a run of text in a cell.\nAbsent values indicate that the field isn't specified.",
+      "type": "object",
+      "properties": {
+        "bold": {
+          "description": "True if the text is bold.",
+          "type": "boolean"
+        },
+        "italic": {
+          "description": "True if the text is italicized.",
+          "type": "boolean"
+        },
+        "foregroundColor": {
+          "description": "The foreground color of the text.",
+          "$ref": "Color"
+        },
+        "fontFamily": {
+          "description": "The font family.",
+          "type": "string"
+        },
+        "strikethrough": {
+          "description": "True if the text has a strikethrough.",
+          "type": "boolean"
+        },
+        "fontSize": {
+          "description": "The size of the font.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "underline": {
+          "description": "True if the text is underlined.",
+          "type": "boolean"
+        }
+      },
+      "id": "TextFormat"
+    },
+    "UpdateChartSpecRequest": {
+      "description": "Updates a chart's specifications.\n(This does not move or resize a chart. To move or resize a chart, use\n UpdateEmbeddedObjectPositionRequest.)",
+      "type": "object",
+      "properties": {
+        "chartId": {
+          "description": "The ID of the chart to update.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "spec": {
+          "description": "The specification to apply to the chart.",
+          "$ref": "ChartSpec"
+        }
+      },
+      "id": "UpdateChartSpecRequest"
+    },
+    "GridCoordinate": {
+      "description": "A coordinate in a sheet.\nAll indexes are zero-based.",
+      "type": "object",
+      "properties": {
+        "sheetId": {
+          "description": "The sheet this coordinate is on.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "rowIndex": {
+          "description": "The row index of the coordinate.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "columnIndex": {
+          "description": "The column index of the coordinate.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "GridCoordinate"
+    },
+    "DeleteFilterViewRequest": {
+      "description": "Deletes a particular filter view.",
+      "type": "object",
+      "properties": {
+        "filterId": {
+          "description": "The ID of the filter to delete.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "DeleteFilterViewRequest"
+    },
+    "BatchUpdateValuesResponse": {
+      "description": "The response when updating a range of values in a spreadsheet.",
+      "type": "object",
+      "properties": {
+        "totalUpdatedSheets": {
+          "description": "The total number of sheets where at least one cell in the sheet was\nupdated.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "totalUpdatedColumns": {
+          "description": "The total number of columns where at least one cell in the column was\nupdated.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "responses": {
+          "description": "One UpdateValuesResponse per requested range, in the same order as\nthe requests appeared.",
+          "type": "array",
+          "items": {
+            "$ref": "UpdateValuesResponse"
+          }
+        },
+        "totalUpdatedCells": {
+          "description": "The total number of cells updated.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "spreadsheetId": {
+          "description": "The spreadsheet the updates were applied to.",
+          "type": "string"
+        },
+        "totalUpdatedRows": {
+          "description": "The total number of rows where at least one cell in the row was updated.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "BatchUpdateValuesResponse"
+    },
+    "UpdateNamedRangeRequest": {
+      "description": "Updates properties of the named range with the specified\nnamedRangeId.\nIt is an error to specify read only fields in the field mask.",
+      "type": "object",
+      "properties": {
+        "fields": {
+          "description": "The fields that should be updated.  At least one field must be specified.\nThe root `namedRange` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.",
+          "type": "string",
+          "format": "google-fieldmask"
+        },
+        "namedRange": {
+          "description": "The named range to update with the new properties.",
+          "$ref": "NamedRange"
+        }
+      },
+      "id": "UpdateNamedRangeRequest"
+    },
+    "UpdateValuesResponse": {
+      "description": "The response when updating a range of values in a spreadsheet.",
+      "type": "object",
+      "properties": {
+        "updatedRange": {
+          "description": "The range (in A1 notation) that updates were applied to.",
+          "type": "string"
+        },
+        "updatedColumns": {
+          "description": "The number of columns where at least one cell in the column was updated.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "spreadsheetId": {
+          "description": "The spreadsheet the updates were applied to.",
+          "type": "string"
+        },
+        "updatedRows": {
+          "description": "The number of rows where at least one cell in the row was updated.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "updatedCells": {
+          "description": "The number of cells updated.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "UpdateValuesResponse"
+    },
+    "SpreadsheetProperties": {
+      "description": "Properties of a spreadsheet.",
+      "type": "object",
+      "properties": {
+        "timeZone": {
+          "description": "The time zone of the spreadsheet, in CLDR format such as\n`America/New_York`. If the time zone isn't recognized, this may\nbe a custom time zone such as `GMT-07:00`.",
+          "type": "string"
+        },
+        "autoRecalc": {
+          "description": "The amount of time to wait before volatile functions are recalculated.",
+          "enum": [
+            "RECALCULATION_INTERVAL_UNSPECIFIED",
+            "ON_CHANGE",
+            "MINUTE",
+            "HOUR"
+          ],
+          "enumDescriptions": [
+            "Default value. This value must not be used.",
+            "Volatile functions are updated on every change.",
+            "Volatile functions are updated on every change and every minute.",
+            "Volatile functions are updated on every change and hourly."
+          ],
+          "type": "string"
+        },
+        "locale": {
+          "description": "The locale of the spreadsheet in one of the following formats:\n* an ISO 639-1 language code such as `en`\n* an ISO 639-2 language code such as `fil`, if no 639-1 code exists\n* a combination of the ISO language code and country code, such as `en_US`\nNote: when updating this field, not all locales/languages are supported.",
+          "type": "string"
+        },
+        "title": {
+          "description": "The title of the spreadsheet.",
+          "type": "string"
+        },
+        "defaultFormat": {
+          "description": "The default format of all cells in the spreadsheet.\nCellData.effectiveFormat will not be set if the cell's format is equal\nto this default format.\nThis field is read-only.",
+          "$ref": "CellFormat"
+        }
+      },
+      "id": "SpreadsheetProperties"
+    },
+    "CellData": {
+      "description": "Data about a specific cell.",
+      "type": "object",
+      "properties": {
+        "hyperlink": {
+          "description": "A hyperlink this cell points to, if any.\nThis field is read-only.  (To set it, use a `=HYPERLINK` formula.)",
+          "type": "string"
+        },
+        "effectiveFormat": {
+          "description": "The effective format being used by the cell.\nThis includes the results of applying any conditional formatting and,\nif the cell contains a formula, the computed number format.\nIf the effective format is the default format, effective format will\nnot be written.\nThis field is read-only.",
+          "$ref": "CellFormat"
+        },
+        "note": {
+          "description": "Any note on the cell.",
+          "type": "string"
+        },
+        "formattedValue": {
+          "description": "The formatted value of the cell.\nThis is the value as it's shown to the user.\nThis field is read-only.",
+          "type": "string"
+        },
+        "userEnteredValue": {
+          "description": "The value the user entered in the cell. e.g, `1234`, `'Hello'`, or `=NOW()`\nNote: Dates, Times and DateTimes are represented as doubles in\nserial number format.",
+          "$ref": "ExtendedValue"
+        },
+        "dataValidation": {
+          "description": "A data validation rule on the cell, if any.\n\nWhen writing, the new data validation rule will overwrite any prior rule.",
+          "$ref": "DataValidationRule"
+        },
+        "userEnteredFormat": {
+          "description": "The format the user entered for the cell.\n\nWhen writing, the new format will be merged with the existing format.",
+          "$ref": "CellFormat"
+        },
+        "pivotTable": {
+          "description": "A pivot table anchored at this cell. The size of pivot table itself\nis computed dynamically based on its data, grouping, filters, values,\netc... Only the top-left cell of the pivot table contains the pivot table\ndefinition. The other cells will contain the calculated values of the\nresults of the pivot in their effectiveValue fields.",
+          "$ref": "PivotTable"
+        },
+        "textFormatRuns": {
+          "description": "Runs of rich text applied to subsections of the cell.\nRuns start at specific indexes in the text and continue until the next\nrun. Properties of a run will continue unless explicitly changed\nin a subsequent run (and properties of the first run will continue\nthe properties of the cell unless explicitly changed).\n\nWhen writing, the new runs will overwrite any prior runs.",
+          "type": "array",
+          "items": {
+            "$ref": "TextFormatRun"
+          }
+        },
+        "effectiveValue": {
+          "description": "The effective value of the cell. For cells with formulas, this will be\nthe calculated value.  For cells with literals, this will be\nthe same as the user_entered_value.\nThis field is read-only.",
+          "$ref": "ExtendedValue"
+        }
+      },
+      "id": "CellData"
+    },
+    "UnmergeCellsRequest": {
+      "description": "Unmerges cells in the given range.",
+      "type": "object",
+      "properties": {
+        "range": {
+          "description": "The range within which all cells should be unmerged.\nIf the range spans multiple merges, all will be unmerged.\nThe range must not partially span any merge.",
+          "$ref": "GridRange"
+        }
+      },
+      "id": "UnmergeCellsRequest"
+    },
+    "TextToColumnsRequest": {
+      "description": "Splits a column of text into multiple columns,\nbased on a delimiter in each cell.",
+      "type": "object",
+      "properties": {
+        "source": {
+          "description": "The source data range.  This must span exactly one column.",
+          "$ref": "GridRange"
+        },
+        "delimiter": {
+          "description": "The delimiter to use. Used only if delimiterType is\nCUSTOM.",
+          "type": "string"
+        },
+        "delimiterType": {
+          "description": "The delimiter type to use.",
+          "enum": [
+            "DELIMITER_TYPE_UNSPECIFIED",
+            "COMMA",
+            "SEMICOLON",
+            "PERIOD",
+            "SPACE",
+            "CUSTOM"
+          ],
+          "enumDescriptions": [
+            "Default value. This value must not be used.",
+            "\",\"",
+            "\";\"",
+            "\".\"",
+            "\" \"",
+            "A custom value as defined in delimiter."
+          ],
+          "type": "string"
+        }
+      },
+      "id": "TextToColumnsRequest"
+    },
+    "AddProtectedRangeResponse": {
+      "description": "The result of adding a new protected range.",
+      "type": "object",
+      "properties": {
+        "protectedRange": {
+          "description": "The newly added protected range.",
+          "$ref": "ProtectedRange"
+        }
+      },
+      "id": "AddProtectedRangeResponse"
+    },
+    "BooleanCondition": {
+      "description": "A condition that can evaluate to true or false.\nBooleanConditions are used by conditional formatting,\ndata validation, and the criteria in filters.",
+      "type": "object",
+      "properties": {
+        "values": {
+          "description": "The values of the condition. The number of supported values depends\non the condition type.  Some support zero values,\nothers one or two values,\nand ConditionType.ONE_OF_LIST supports an arbitrary number of values.",
+          "type": "array",
+          "items": {
+            "$ref": "ConditionValue"
+          }
+        },
+        "type": {
+          "description": "The type of condition.",
+          "enum": [
+            "CONDITION_TYPE_UNSPECIFIED",
+            "NUMBER_GREATER",
+            "NUMBER_GREATER_THAN_EQ",
+            "NUMBER_LESS",
+            "NUMBER_LESS_THAN_EQ",
+            "NUMBER_EQ",
+            "NUMBER_NOT_EQ",
+            "NUMBER_BETWEEN",
+            "NUMBER_NOT_BETWEEN",
+            "TEXT_CONTAINS",
+            "TEXT_NOT_CONTAINS",
+            "TEXT_STARTS_WITH",
+            "TEXT_ENDS_WITH",
+            "TEXT_EQ",
+            "TEXT_IS_EMAIL",
+            "TEXT_IS_URL",
+            "DATE_EQ",
+            "DATE_BEFORE",
+            "DATE_AFTER",
+            "DATE_ON_OR_BEFORE",
+            "DATE_ON_OR_AFTER",
+            "DATE_BETWEEN",
+            "DATE_NOT_BETWEEN",
+            "DATE_IS_VALID",
+            "ONE_OF_RANGE",
+            "ONE_OF_LIST",
+            "BLANK",
+            "NOT_BLANK",
+            "CUSTOM_FORMULA"
+          ],
+          "enumDescriptions": [
+            "The default value, do not use.",
+            "The cell's value must be greater than the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
+            "The cell's value must be greater than or equal to the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
+            "The cell's value must be less than the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
+            "The cell's value must be less than or equal to the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
+            "The cell's value must be equal to the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
+            "The cell's value must be not equal to the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
+            "The cell's value must be between the two condition values.\nSupported by data validation, conditional formatting and filters.\nRequires exactly two ConditionValues.",
+            "The cell's value must not be between the two condition values.\nSupported by data validation, conditional formatting and filters.\nRequires exactly two ConditionValues.",
+            "The cell's value must contain the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
+            "The cell's value must not contain the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
+            "The cell's value must start with the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
+            "The cell's value must end with the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
+            "The cell's value must be exactly the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
+            "The cell's value must be a valid email address.\nSupported by data validation.\nRequires no ConditionValues.",
+            "The cell's value must be a valid URL.\nSupported by data validation.\nRequires no ConditionValues.",
+            "The cell's value must be the same date as the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
+            "The cell's value must be before the date of the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue\nthat may be a relative date.",
+            "The cell's value must be after the date of the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue\nthat may be a relative date.",
+            "The cell's value must be on or before the date of the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue\nthat may be a relative date.",
+            "The cell's value must be on or after the date of the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue\nthat may be a relative date.",
+            "The cell's value must be between the dates of the two condition values.\nSupported by data validation.\nRequires exactly two ConditionValues.",
+            "The cell's value must be outside the dates of the two condition values.\nSupported by data validation.\nRequires exactly two ConditionValues.",
+            "The cell's value must be a date.\nSupported by data validation.\nRequires no ConditionValues.",
+            "The cell's value must be listed in the grid in condition value's range.\nSupported by data validation.\nRequires a single ConditionValue,\nand the value must be a valid range in A1 notation.",
+            "The cell's value must in the list of condition values.\nSupported by data validation.\nSupports any number of condition values,\none per item in the list.\nFormulas are not supported in the values.",
+            "The cell's value must be empty.\nSupported by data validation, conditional formatting and filters.\nRequires no ConditionValues.",
+            "The cell's value must not be empty.\nSupported by data validation, conditional formatting and filters.\nRequires no ConditionValues.",
+            "The condition's formula must evaluate to true.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue."
+          ],
+          "type": "string"
+        }
+      },
+      "id": "BooleanCondition"
+    },
+    "DeleteProtectedRangeRequest": {
+      "description": "Deletes the protected range with the given id.",
+      "type": "object",
+      "properties": {
+        "protectedRangeId": {
+          "description": "The ID of the protected range to delete.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "DeleteProtectedRangeRequest"
+    },
+    "BasicChartDomain": {
+      "description": "The domain of a chart.\nFor example, if charting stock prices over time, this would be the date.",
+      "type": "object",
+      "properties": {
+        "domain": {
+          "description": "The data of the domain. For example, if charting stock prices over time,\nthis be the data representing the dates.",
+          "$ref": "ChartData"
+        }
+      },
+      "id": "BasicChartDomain"
+    },
+    "DimensionRange": {
+      "description": "A range along a single dimension on a sheet.\nAll indexes are zero-based.\nIndexes are half open: the start index is inclusive\nand the end index is exclusive.\nMissing indexes indicate the range is unbounded on that side.",
+      "type": "object",
+      "properties": {
+        "sheetId": {
+          "description": "The sheet this span is on.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "endIndex": {
+          "description": "The end (exclusive) of the span, or not set if unbounded.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "startIndex": {
+          "description": "The start (inclusive) of the span, or not set if unbounded.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "dimension": {
+          "description": "The dimension of the span.",
+          "enum": [
+            "DIMENSION_UNSPECIFIED",
+            "ROWS",
+            "COLUMNS"
+          ],
+          "enumDescriptions": [
+            "The default value, do not use.",
+            "Operates on the rows of a sheet.",
+            "Operates on the columns of a sheet."
+          ],
+          "type": "string"
+        }
+      },
+      "id": "DimensionRange"
+    },
+    "Response": {
+      "description": "A single response from an update.",
+      "type": "object",
+      "properties": {
+        "updateEmbeddedObjectPosition": {
+          "description": "A reply from updating an embedded object's position.",
+          "$ref": "UpdateEmbeddedObjectPositionResponse"
+        },
+        "addFilterView": {
+          "description": "A reply from adding a filter view.",
+          "$ref": "AddFilterViewResponse"
+        },
+        "addSheet": {
+          "description": "A reply from adding a sheet.",
+          "$ref": "AddSheetResponse"
+        },
+        "findReplace": {
+          "description": "A reply from doing a find/replace.",
+          "$ref": "FindReplaceResponse"
+        },
+        "addProtectedRange": {
+          "description": "A reply from adding a protected range.",
+          "$ref": "AddProtectedRangeResponse"
+        },
+        "updateConditionalFormatRule": {
+          "description": "A reply from updating a conditional format rule.",
+          "$ref": "UpdateConditionalFormatRuleResponse"
+        },
+        "addChart": {
+          "description": "A reply from adding a chart.",
+          "$ref": "AddChartResponse"
+        },
+        "deleteConditionalFormatRule": {
+          "description": "A reply from deleting a conditional format rule.",
+          "$ref": "DeleteConditionalFormatRuleResponse"
+        },
+        "duplicateSheet": {
+          "description": "A reply from duplicating a sheet.",
+          "$ref": "DuplicateSheetResponse"
+        },
+        "duplicateFilterView": {
+          "description": "A reply from duplicating a filter view.",
+          "$ref": "DuplicateFilterViewResponse"
+        },
+        "addNamedRange": {
+          "description": "A reply from adding a named range.",
+          "$ref": "AddNamedRangeResponse"
+        }
+      },
+      "id": "Response"
+    },
+    "AddConditionalFormatRuleRequest": {
+      "description": "Adds a new conditional format rule at the given index.\nAll subsequent rules' indexes are incremented.",
+      "type": "object",
+      "properties": {
+        "rule": {
+          "description": "The rule to add.",
+          "$ref": "ConditionalFormatRule"
+        },
+        "index": {
+          "description": "The zero-based index where the rule should be inserted.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "AddConditionalFormatRuleRequest"
+    },
+    "FilterView": {
+      "description": "A filter view.",
+      "type": "object",
+      "properties": {
+        "title": {
+          "description": "The name of the filter view.",
+          "type": "string"
+        },
+        "namedRangeId": {
+          "description": "The named range this filter view is backed by, if any.\n\nWhen writing, only one of range or namedRangeId\nmay be set.",
+          "type": "string"
+        },
+        "sortSpecs": {
+          "description": "The sort order per column. Later specifications are used when values\nare equal in the earlier specifications.",
+          "type": "array",
+          "items": {
+            "$ref": "SortSpec"
+          }
+        },
+        "range": {
+          "description": "The range this filter view covers.\n\nWhen writing, only one of range or namedRangeId\nmay be set.",
+          "$ref": "GridRange"
+        },
+        "criteria": {
+          "description": "The criteria for showing/hiding values per column.\nThe map's key is the column index, and the value is the criteria for\nthat column.",
+          "additionalProperties": {
+            "$ref": "FilterCriteria"
+          },
+          "type": "object"
+        },
+        "filterViewId": {
+          "description": "The ID of the filter view.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "FilterView"
+    },
+    "SortRangeRequest": {
+      "description": "Sorts data in rows based on a sort order per column.",
+      "type": "object",
+      "properties": {
+        "range": {
+          "description": "The range to sort.",
+          "$ref": "GridRange"
+        },
+        "sortSpecs": {
+          "description": "The sort order per column. Later specifications are used when values\nare equal in the earlier specifications.",
+          "type": "array",
+          "items": {
+            "$ref": "SortSpec"
+          }
+        }
+      },
+      "id": "SortRangeRequest"
+    },
+    "TextFormatRun": {
+      "description": "A run of a text format. The format of this run continues until explicitly\noverridden in the next run.\nWhen updating, all fields must be set.",
+      "type": "object",
+      "properties": {
+        "startIndex": {
+          "description": "The character index where this run starts.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "format": {
+          "description": "The format of this run.  Absent values inherit the cell's format.",
+          "$ref": "TextFormat"
+        }
+      },
+      "id": "TextFormatRun"
+    },
+    "UpdateFilterViewRequest": {
+      "description": "Updates properties of the filter view.",
+      "type": "object",
+      "properties": {
+        "filter": {
+          "description": "The new properties of the filter view.",
+          "$ref": "FilterView"
+        },
+        "fields": {
+          "description": "The fields that should be updated.  At least one field must be specified.\nThe root `filter` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.",
+          "type": "string",
+          "format": "google-fieldmask"
+        }
+      },
+      "id": "UpdateFilterViewRequest"
+    },
+    "UpdateConditionalFormatRuleResponse": {
+      "description": "The result of updating a conditional format rule.",
+      "type": "object",
+      "properties": {
+        "oldIndex": {
+          "description": "The old index of the rule. Not set if a rule was replaced\n(because it is the same as newIndex).",
+          "type": "integer",
+          "format": "int32"
+        },
+        "newRule": {
+          "description": "The new rule that replaced the old rule (if replacing),\nor the rule that was moved (if moved)",
+          "$ref": "ConditionalFormatRule"
+        },
+        "oldRule": {
+          "description": "The old (deleted) rule. Not set if a rule was moved\n(because it is the same as newRule).",
+          "$ref": "ConditionalFormatRule"
+        },
+        "newIndex": {
+          "description": "The index of the new rule.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "UpdateConditionalFormatRuleResponse"
+    },
+    "FilterCriteria": {
+      "description": "Criteria for showing/hiding rows in a filter, filter view.",
+      "type": "object",
+      "properties": {
+        "condition": {
+          "description": "A condition that must be true for values to be shown.\n(This does not override hiddenValues -- if a value is listed there,\n it will still be hidden.)",
+          "$ref": "BooleanCondition"
+        },
+        "hiddenValues": {
+          "description": "Values that should be hidden.",
+          "type": "array",
+          "items": {
+            "type": "string"
+          }
+        }
+      },
+      "id": "FilterCriteria"
+    },
+    "DeleteDimensionRequest": {
+      "description": "Deletes the dimensions from the sheet.",
+      "type": "object",
+      "properties": {
+        "range": {
+          "description": "The dimensions to delete from the sheet.",
+          "$ref": "DimensionRange"
+        }
+      },
+      "id": "DeleteDimensionRequest"
+    },
+    "PivotTable": {
+      "description": "A pivot table.",
+      "type": "object",
+      "properties": {
+        "valueLayout": {
+          "description": "Whether values should be listed horizontally (as columns)\nor vertically (as rows).",
+          "enum": [
+            "HORIZONTAL",
+            "VERTICAL"
+          ],
+          "enumDescriptions": [
+            "Values are laid out horizontally (as columns).",
+            "Values are laid out vertically (as rows)."
+          ],
+          "type": "string"
+        },
+        "columns": {
+          "description": "Each column grouping in the pivot table.",
+          "type": "array",
+          "items": {
+            "$ref": "PivotGroup"
+          }
+        },
+        "source": {
+          "description": "The range the pivot table is reading data from.",
+          "$ref": "GridRange"
+        },
+        "rows": {
+          "description": "Each row grouping in the pivot table.",
+          "type": "array",
+          "items": {
+            "$ref": "PivotGroup"
+          }
+        },
+        "values": {
+          "description": "A list of values to include in the pivot table.",
+          "type": "array",
+          "items": {
+            "$ref": "PivotValue"
+          }
+        },
+        "criteria": {
+          "description": "An optional mapping of filters per source column offset.\n\nThe filters will be applied before aggregating data into the pivot table.\nThe map's key is the column offset of the source range that you want to\nfilter, and the value is the criteria for that column.\n\nFor example, if the source was `C10:E15', a key of `0` will have the filter\nfor column `C`, whereas the key `1` is for column `D`.",
+          "additionalProperties": {
+            "$ref": "PivotFilterCriteria"
+          },
+          "type": "object"
+        }
+      },
+      "id": "PivotTable"
+    },
+    "DataValidationRule": {
+      "description": "A data validation rule.",
+      "type": "object",
+      "properties": {
+        "condition": {
+          "description": "The condition that data in the cell must match.",
+          "$ref": "BooleanCondition"
+        },
+        "inputMessage": {
+          "description": "A message to show the user when adding data to the cell.",
+          "type": "string"
+        },
+        "showCustomUi": {
+          "description": "True if the UI should be customized based on the kind of condition.\nIf true, \"List\" conditions will show a dropdown.",
+          "type": "boolean"
+        },
+        "strict": {
+          "description": "True if invalid data should be rejected.",
+          "type": "boolean"
+        }
+      },
+      "id": "DataValidationRule"
+    },
+    "UpdateSpreadsheetPropertiesRequest": {
+      "description": "Updates properties of a spreadsheet.\nIt is an error to specify read only fields in the field mask.",
+      "type": "object",
+      "properties": {
+        "fields": {
+          "description": "The fields that should be updated.  At least one field must be specified.\nThe root 'properties' is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.",
+          "type": "string",
+          "format": "google-fieldmask"
+        },
+        "properties": {
+          "description": "The properties to update.",
+          "$ref": "SpreadsheetProperties"
+        }
+      },
+      "id": "UpdateSpreadsheetPropertiesRequest"
+    },
+    "ChartSourceRange": {
+      "description": "Source ranges for a chart.",
+      "type": "object",
+      "properties": {
+        "sources": {
+          "description": "The ranges of data for a series or domain.\nExactly one dimension must have a length of 1,\nand all sources in the list must have the same dimension\nwith length 1.\nThe domain (if it exists) & all series must have the same number\nof source ranges. If using more than one source range, then the source\nrange at a given offset must be contiguous across the domain and series.\n\nFor example, these are valid configurations:\n\n    domain sources: A1:A5\n    series1 sources: B1:B5\n    series2 sources: D6:D10\n\n    domain sources: A1:A5, C10:C12\n    series1 sources: B1:B5, D10:D12\n    series2 sources: C1:C5, E10:E12",
+          "type": "array",
+          "items": {
+            "$ref": "GridRange"
+          }
+        }
+      },
+      "id": "ChartSourceRange"
+    },
+    "BatchUpdateValuesRequest": {
+      "description": "The request for updating more than one range of values in a spreadsheet.",
+      "type": "object",
+      "properties": {
+        "valueInputOption": {
+          "description": "How the input data should be interpreted.",
+          "enum": [
+            "INPUT_VALUE_OPTION_UNSPECIFIED",
+            "RAW",
+            "USER_ENTERED"
+          ],
+          "enumDescriptions": [
+            "Default input value. This value must not be used.",
+            "The values the user is entered will not be parsed and will be stored\nas-is.",
+            "The values will be parsed as if the user typed them into the UI.\nNumbers will stay as numbers, but strings may be converted to numbers,\ndates, etc.. following the same rules that are applied when entering\ntext into a cell via the Google Sheets UI."
+          ],
+          "type": "string"
+        },
+        "data": {
+          "description": "The new values to apply to the spreadsheet.",
+          "type": "array",
+          "items": {
+            "$ref": "ValueRange"
+          }
+        }
+      },
+      "id": "BatchUpdateValuesRequest"
+    },
+    "ClearBasicFilterRequest": {
+      "description": "Clears the basic filter, if any exists on the sheet.",
+      "type": "object",
+      "properties": {
+        "sheetId": {
+          "description": "The sheet ID on which the basic filter should be cleared.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "ClearBasicFilterRequest"
+    },
+    "ConditionalFormatRule": {
+      "description": "A rule describing a conditional format.",
+      "type": "object",
+      "properties": {
+        "gradientRule": {
+          "description": "The formatting will vary based on the gradients in the rule.",
+          "$ref": "GradientRule"
+        },
+        "booleanRule": {
+          "description": "The formatting is either \"on\" or \"off\" according to the rule.",
+          "$ref": "BooleanRule"
+        },
+        "ranges": {
+          "description": "The ranges that will be formatted if the condition is true.\nAll the ranges must be on the same grid.",
+          "type": "array",
+          "items": {
+            "$ref": "GridRange"
+          }
+        }
+      },
+      "id": "ConditionalFormatRule"
+    },
+    "UpdateBordersRequest": {
+      "description": "Updates the borders of a range.\nIf a field is not set in the request, that means the border remains as-is.\nFor example, with two subsequent UpdateBordersRequest:\n\n 1. range: A1:A5 `{ top: RED, bottom: WHITE }`\n 2. range: A1:A5 `{ left: BLUE }`\n\nThat would result in A1:A5 having a borders of\n`{ top: RED, bottom: WHITE, left: BLUE }`.\nIf you want to clear a border, explicitly set the style to\nNONE.",
+      "type": "object",
+      "properties": {
+        "right": {
+          "description": "The border to put at the right of the range.",
+          "$ref": "Border"
+        },
+        "innerVertical": {
+          "description": "The vertical border to put within the range.",
+          "$ref": "Border"
+        },
+        "top": {
+          "description": "The border to put at the top of the range.",
+          "$ref": "Border"
+        },
+        "innerHorizontal": {
+          "description": "The horizontal border to put within the range.",
+          "$ref": "Border"
+        },
+        "range": {
+          "description": "The range whose borders should be updated.",
+          "$ref": "GridRange"
+        },
+        "bottom": {
+          "description": "The border to put at the bottom of the range.",
+          "$ref": "Border"
+        },
+        "left": {
+          "description": "The border to put at the left of the range.",
+          "$ref": "Border"
+        }
+      },
+      "id": "UpdateBordersRequest"
+    },
+    "PivotFilterCriteria": {
+      "description": "Criteria for showing/hiding rows in a pivot table.",
+      "type": "object",
+      "properties": {
+        "visibleValues": {
+          "description": "Values that should be included.  Values not listed here are excluded.",
+          "type": "array",
+          "items": {
+            "type": "string"
+          }
+        }
+      },
+      "id": "PivotFilterCriteria"
+    },
+    "Borders": {
+      "description": "The borders of the cell.",
+      "type": "object",
+      "properties": {
+        "left": {
+          "description": "The left border of the cell.",
+          "$ref": "Border"
+        },
+        "right": {
+          "description": "The right border of the cell.",
+          "$ref": "Border"
+        },
+        "top": {
+          "description": "The top border of the cell.",
+          "$ref": "Border"
+        },
+        "bottom": {
+          "description": "The bottom border of the cell.",
+          "$ref": "Border"
+        }
+      },
+      "id": "Borders"
+    },
+    "EmbeddedChart": {
+      "description": "A chart embedded in a sheet.",
+      "type": "object",
+      "properties": {
+        "chartId": {
+          "description": "The ID of the chart.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "position": {
+          "description": "The position of the chart.",
+          "$ref": "EmbeddedObjectPosition"
+        },
+        "spec": {
+          "description": "The specification of the chart.",
+          "$ref": "ChartSpec"
+        }
+      },
+      "id": "EmbeddedChart"
+    },
+    "Color": {
+      "description": "Represents a color in the RGBA color space. This representation is designed\nfor simplicity of conversion to/from color representations in various\nlanguages over compactness; for example, the fields of this representation\ncan be trivially provided to the constructor of \"java.awt.Color\" in Java; it\ncan also be trivially provided to UIColor's \"+colorWithRed:green:blue:alpha\"\nmethod in iOS; and, with just a little work, it can be easily formatted into\na CSS \"rgba()\" string in JavaScript, as well. Here are some examples:\n\nExample (Java):\n\n     import com.google.type.Color;\n\n     // ...\n     public static java.awt.Color fromProto(Color protocolor) {\n       float alpha = protocolor.hasAlpha()\n           ? protocolor.getAlpha().getValue()\n           : 1.0;\n\n       return new java.awt.Color(\n           protocolor.getRed(),\n           protocolor.getGreen(),\n           protocolor.getBlue(),\n           alpha);\n     }\n\n     public static Color toProto(java.awt.Color color) {\n       float red = (float) color.getRed();\n       float green = (float) color.getGreen();\n       float blue = (float) color.getBlue();\n       float denominator = 255.0;\n       Color.Builder resultBuilder =\n           Color\n               .newBuilder()\n               .setRed(red / denominator)\n               .setGreen(green / denominator)\n               .setBlue(blue / denominator);\n       int alpha = color.getAlpha();\n       if (alpha != 255) {\n         result.setAlpha(\n             FloatValue\n                 .newBuilder()\n                 .setValue(((float) alpha) / denominator)\n                 .build());\n       }\n       return resultBuilder.build();\n     }\n     // ...\n\nExample (iOS / Obj-C):\n\n     // ...\n     static UIColor* fromProto(Color* protocolor) {\n        float red = [protocolor red];\n        float green = [protocolor green];\n        float blue = [protocolor blue];\n        FloatValue* alpha_wrapper = [protocolor alpha];\n        float alpha = 1.0;\n        if (alpha_wrapper != nil) {\n          alpha = [alpha_wrapper value];\n        }\n        return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];\n     }\n\n     static Color* toProto(UIColor* color) {\n         CGFloat red, green, blue, alpha;\n         if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {\n           return nil;\n         }\n         Color* result = [Color alloc] init];\n         [result setRed:red];\n         [result setGreen:green];\n         [result setBlue:blue];\n         if (alpha \u003c= 0.9999) {\n           [result setAlpha:floatWrapperWithValue(alpha)];\n         }\n         [result autorelease];\n         return result;\n    }\n    // ...\n\n Example (JavaScript):\n\n    // ...\n\n    var protoToCssColor = function(rgb_color) {\n       var redFrac = rgb_color.red || 0.0;\n       var greenFrac = rgb_color.green || 0.0;\n       var blueFrac = rgb_color.blue || 0.0;\n       var red = Math.floor(redFrac * 255);\n       var green = Math.floor(greenFrac * 255);\n       var blue = Math.floor(blueFrac * 255);\n\n       if (!('alpha' in rgb_color)) {\n          return rgbToCssColor_(red, green, blue);\n       }\n\n       var alphaFrac = rgb_color.alpha.value || 0.0;\n       var rgbParams = [red, green, blue].join(',');\n       return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');\n    };\n\n    var rgbToCssColor_ = function(red, green, blue) {\n      var rgbNumber = new Number((red \u003c\u003c 16) | (green \u003c\u003c 8) | blue);\n      var hexString = rgbNumber.toString(16);\n      var missingZeros = 6 - hexString.length;\n      var resultBuilder = ['#'];\n      for (var i = 0; i \u003c missingZeros; i++) {\n         resultBuilder.push('0');\n      }\n      resultBuilder.push(hexString);\n      return resultBuilder.join('');\n    };\n\n    // ...",
+      "type": "object",
+      "properties": {
+        "green": {
+          "description": "The amount of green in the color as a value in the interval [0, 1].",
+          "type": "number",
+          "format": "float"
+        },
+        "blue": {
+          "description": "The amount of blue in the color as a value in the interval [0, 1].",
+          "type": "number",
+          "format": "float"
+        },
+        "red": {
+          "description": "The amount of red in the color as a value in the interval [0, 1].",
+          "type": "number",
+          "format": "float"
+        },
+        "alpha": {
+          "description": "The fraction of this color that should be applied to the pixel. That is,\nthe final pixel color is defined by the equation:\n\n  pixel color = alpha * (this color) + (1.0 - alpha) * (background color)\n\nThis means that a value of 1.0 corresponds to a solid color, whereas\na value of 0.0 corresponds to a completely transparent color. This\nuses a wrapper message rather than a simple float scalar so that it is\npossible to distinguish between a default value and the value being unset.\nIf omitted, this color object is to be rendered as a solid color\n(as if the alpha value had been explicitly given with a value of 1.0).",
+          "type": "number",
+          "format": "float"
+        }
+      },
+      "id": "Color"
+    },
+    "AddSheetRequest": {
+      "description": "Adds a new sheet.\nWhen a sheet is added at a given index,\nall subsequent sheets' indexes are incremented.\nTo add an object sheet, use AddChartRequest instead.",
+      "type": "object",
+      "properties": {
+        "properties": {
+          "description": "The properties the new sheet should have.\nAll properties are optional.\nIf a sheetId\nis specified, the sheet will use that ID.\n(It is an error to specify the ID of a sheet that already exists.)",
+          "$ref": "SheetProperties"
+        }
+      },
+      "id": "AddSheetRequest"
+    },
+    "AddProtectedRangeRequest": {
+      "description": "Adds a new protected range.",
+      "type": "object",
+      "properties": {
+        "protectedRange": {
+          "description": "The protected range to be added.",
+          "$ref": "ProtectedRange"
+        }
+      },
+      "id": "AddProtectedRangeRequest"
+    },
+    "ValueRange": {
+      "description": "Data within a range of the spreadsheet.",
+      "type": "object",
+      "properties": {
+        "values": {
+          "description": "The data that was read or to be written.  This is an array of arrays,\nthe outer array representing all the data and each inner array\nrepresenting a major dimension. Each item in the inner array\ncorresponds with one cell.\n\nFor output, empty trailing rows and columns will not be included.\n\nFor input, supported value types are: bool, string, and double.\nNull and empty values will be skipped.\nTo set a cell to an empty value, set the string value to an empty string.",
+          "type": "array",
+          "items": {
+            "type": "array",
+            "items": {
+              "type": "any"
+            }
+          }
+        },
+        "range": {
+          "description": "The range the values cover, in A1 notation.\nFor output, this range indicates the entire requested range,\neven though the values will exclude trailing rows and columns.",
+          "type": "string"
+        },
+        "majorDimension": {
+          "description": "The major dimension of the values.\n\nFor output, if the spreadsheet data is: A1=1,B1=2,A2=3,B2=4,\nthen requesting range=A1:B2,majorDimension=ROWS will return [[1,2],[3,4]],\nwhereas requesting range=A1:B2,majorDimension=COLUMNS will return\n[[1,3],[2,4]].\n\nFor input, with range=A1:B2,majorDimension=ROWS then [[1,2],[3,4]]\nwill set A1=1,B1=2,A2=3,B2=4. With range=A1:B2,majorDimension=COLUMNS\nthen [[1,2],[3,4]] will set A1=1,B1=3,A2=2,B2=4.\n\nWhen writing, if this field is not set, it defaults to ROWS.",
+          "enum": [
+            "DIMENSION_UNSPECIFIED",
+            "ROWS",
+            "COLUMNS"
+          ],
+          "enumDescriptions": [
+            "The default value, do not use.",
+            "Operates on the rows of a sheet.",
+            "Operates on the columns of a sheet."
+          ],
+          "type": "string"
+        }
+      },
+      "id": "ValueRange"
+    },
+    "FindReplaceResponse": {
+      "description": "The result of the find/replace.",
+      "type": "object",
+      "properties": {
+        "valuesChanged": {
+          "description": "The number of non-formula cells changed.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "rowsChanged": {
+          "description": "The number of rows changed.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "occurrencesChanged": {
+          "description": "The number of occurrences (possibly multiple within a cell) changed.\nFor example, if replacing \"`e`\" with \"`o`\" in \"`Google Sheets`\", this would\nbe \"`3`\" because \"`Google Sheets`\" -\u003e \"`Googlo Shoots`\".",
+          "type": "integer",
+          "format": "int32"
+        },
+        "formulasChanged": {
+          "description": "The number of formula cells changed.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "sheetsChanged": {
+          "description": "The number of sheets changed.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "FindReplaceResponse"
+    },
+    "CellFormat": {
+      "description": "The format of a cell.",
+      "type": "object",
+      "properties": {
+        "horizontalAlignment": {
+          "description": "The horizontal alignment of the value in cell.",
+          "enum": [
+            "HORIZONTAL_ALIGN_UNSPECIFIED",
+            "LEFT",
+            "CENTER",
+            "RIGHT"
+          ],
+          "enumDescriptions": [
+            "The horizontal alignment is not specified. Do not use this.",
+            "The text is explicitly aligned to the left of the cell.",
+            "The text is explicitly aligned to the center of the cell.",
+            "The text is explicitly aligned to the right of the cell."
+          ],
+          "type": "string"
+        },
+        "hyperlinkDisplayType": {
+          "description": "How a hyperlink, if it exists, should be displayed in the cell.",
+          "enum": [
+            "HYPERLINK_DISPLAY_TYPE_UNSPECIFIED",
+            "LINKED",
+            "PLAIN_TEXT"
+          ],
+          "enumDescriptions": [
+            "The default value: the hyperlink is clickable. Do not use this.",
+            "A hyperlink should be explicitly rendered.",
+            "A hyperlink should not be rendered."
+          ],
+          "type": "string"
+        },
+        "borders": {
+          "description": "The borders of the cell.",
+          "$ref": "Borders"
+        },
+        "textDirection": {
+          "description": "The direction of the text in the cell.",
+          "enum": [
+            "TEXT_DIRECTION_UNSPECIFIED",
+            "LEFT_TO_RIGHT",
+            "RIGHT_TO_LEFT"
+          ],
+          "enumDescriptions": [
+            "The text direction is not specified. Do not use this.",
+            "The text direction of left-to-right was set by the user.",
+            "The text direction of right-to-left was set by the user."
+          ],
+          "type": "string"
+        },
+        "textFormat": {
+          "description": "The format of the text in the cell (unless overridden by a format run).",
+          "$ref": "TextFormat"
+        },
+        "padding": {
+          "description": "The padding of the cell.",
+          "$ref": "Padding"
+        },
+        "numberFormat": {
+          "description": "A format describing how number values should be represented to the user.",
+          "$ref": "NumberFormat"
+        },
+        "wrapStrategy": {
+          "description": "The wrap strategy for the value in the cell.",
+          "enum": [
+            "WRAP_STRATEGY_UNSPECIFIED",
+            "OVERFLOW_CELL",
+            "LEGACY_WRAP",
+            "CLIP",
+            "WRAP"
+          ],
+          "enumDescriptions": [
+            "The default value, do not use.",
+            "Lines that are longer than the cell width will be written in the next\ncell over, so long as that cell is empty. If the next cell over is\nnon-empty, this behaves the same as CLIP. The text will never wrap\nto the next line unless the user manually inserts a new line.\nExample:\n\n    | First sentence. |\n    | Manual newline that is very long. \u003c- Text continues into next cell\n    | Next newline.   |",
+            "This wrap strategy represents the old Google Sheets wrap strategy where\nwords that are longer than a line are clipped rather than broken. This\nstrategy is not supported on all platforms and is being phased out.\nExample:\n\n    | Cell has a |\n    | loooooooooo|ong \u003c- Word is clipped.\n    | word.      |",
+            "Lines that are longer than the cell width will be clipped.\nThe text will never wrap to the next line unless the user manually\ninserts a new line.\nExample:\n\n    | First sentence. |\n    | Manual newline t| \u003c- Text is clipped\n    | Next newline.   |",
+            "Words that are longer than a line are wrapped at the character level\nrather than clipped.\nExample:\n\n    | Cell has a |\n    | loooooooooo| \u003c- Word is broken.\n    | ong word.  |"
+          ],
+          "type": "string"
+        },
+        "backgroundColor": {
+          "description": "The background color of the cell.",
+          "$ref": "Color"
+        },
+        "verticalAlignment": {
+          "description": "The vertical alignment of the value in cell.",
+          "enum": [
+            "VERTICAL_ALIGN_UNSPECIFIED",
+            "TOP",
+            "MIDDLE",
+            "BOTTOM"
+          ],
+          "enumDescriptions": [
+            "The vertical alignment is not specified.  Do not use this.",
+            "The text is explicitly aligned to the top of the cell.",
+            "The text is explicitly aligned to the middle of the cell.",
+            "The text is explicitly aligned to the bottom of the cell."
+          ],
+          "type": "string"
+        }
+      },
+      "id": "CellFormat"
+    },
+    "MoveDimensionRequest": {
+      "description": "Moves one or more rows or columns.",
+      "type": "object",
+      "properties": {
+        "source": {
+          "description": "The source dimensions to move.",
+          "$ref": "DimensionRange"
+        },
+        "destinationIndex": {
+          "description": "The zero-based start index of where to move the source data to,\nbased on the coordinates *before* the source data is removed\nfrom the grid.  Existing data will be shifted down or right\n(depending on the dimension) to make room for the moved dimensions.\nThe source dimensions are removed from the grid, so the\nthe data may end up in a different index than specified.\n\nFor example, given `A1..A5` of `0, 1, 2, 3, 4` and wanting to move\n\"`1`\" and \"`2`\" to between \"`3`\" and \"`4`\", the source would be\n`ROWS [1..3)`,and the destination index would be \"`4`\"\n(the zero-based index of row 5).\nThe end result would be `A1..A5` of `0, 3, 1, 2, 4`.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "MoveDimensionRequest"
+    },
+    "BasicChartAxis": {
+      "description": "An axis of the chart.\nA chart may not have more than one axis per\naxis position.",
+      "type": "object",
+      "properties": {
+        "position": {
+          "description": "The position of this axis.",
+          "enum": [
+            "BASIC_CHART_AXIS_POSITION_UNSPECIFIED",
+            "BOTTOM_AXIS",
+            "LEFT_AXIS",
+            "RIGHT_AXIS"
+          ],
+          "enumDescriptions": [
+            "Default value, do not use.",
+            "The axis rendered at the bottom of a chart.\nFor most charts, this is the standard major axis.\nFor bar charts, this is a minor axis.",
+            "The axis rendered at the left of a chart.\nFor most charts, this is a minor axis.\nFor bar charts, this is the standard major axis.",
+            "The axis rendered at the right of a chart.\nFor most charts, this is a minor axis.\nFor bar charts, this is an unusual major axis."
+          ],
+          "type": "string"
+        },
+        "title": {
+          "description": "The title of this axis. If set, this overrides any title inferred\nfrom headers of the data.",
+          "type": "string"
+        },
+        "format": {
+          "description": "The format of the title.\nOnly valid if the axis is not associated with the domain.",
+          "$ref": "TextFormat"
+        }
+      },
+      "id": "BasicChartAxis"
+    },
+    "PivotGroupSortValueBucket": {
+      "description": "Information about which values in a pivot group should be used for sorting.",
+      "type": "object",
+      "properties": {
+        "buckets": {
+          "description": "Determines the bucket from which values are chosen to sort.\n\nFor example, in a pivot table with one row group & two column groups,\nthe row group can list up to two values. The first value corresponds\nto a value within the first column group, and the second value\ncorresponds to a value in the second column group.  If no values\nare listed, this would indicate that the row should be sorted according\nto the \"Grand Total\" over the column groups. If a single value is listed,\nthis would correspond to using the \"Total\" of that bucket.",
+          "type": "array",
+          "items": {
+            "$ref": "ExtendedValue"
+          }
+        },
+        "valuesIndex": {
+          "description": "The offset in the [PivotTable.values] list which the values in this\ngrouping should be sorted by.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "PivotGroupSortValueBucket"
+    },
+    "DimensionProperties": {
+      "description": "Properties about a dimension.",
+      "type": "object",
+      "properties": {
+        "hiddenByUser": {
+          "description": "True if this dimension is explicitly hidden.",
+          "type": "boolean"
+        },
+        "pixelSize": {
+          "description": "The height (if a row) or width (if a column) of the dimension in pixels.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "hiddenByFilter": {
+          "description": "True if this dimension is being filtered.\nThis field is read-only.",
+          "type": "boolean"
+        }
+      },
+      "id": "DimensionProperties"
+    },
+    "EmbeddedObjectPosition": {
+      "description": "The position of an embedded object such as a chart.",
+      "type": "object",
+      "properties": {
+        "sheetId": {
+          "description": "The sheet this is on. Set only if the embedded object\nis on its own sheet. Must be non-negative.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "overlayPosition": {
+          "description": "The position the object is overlaid on top of a grid.",
+          "$ref": "OverlayPosition"
+        },
+        "newSheet": {
+          "description": "If true, the embedded object will be put on a new sheet whose ID\nis chosen for you. Used only when writing.",
+          "type": "boolean"
+        }
+      },
+      "id": "EmbeddedObjectPosition"
+    },
+    "InterpolationPoint": {
+      "description": "A single interpolation point a gradient conditional format.\nThese pin the gradient color scale according to the color,\ntype and value chosen.",
+      "type": "object",
+      "properties": {
+        "value": {
+          "description": "The value this interpolation point uses.  May be a formula.\nUnused if type is MIN or\nMAX.",
+          "type": "string"
+        },
+        "color": {
+          "description": "The color this interpolation point should use.",
+          "$ref": "Color"
+        },
+        "type": {
+          "description": "How the value should be interpreted.",
+          "enum": [
+            "INTERPOLATION_POINT_TYPE_UNSPECIFIED",
+            "MIN",
+            "MAX",
+            "NUMBER",
+            "PERCENT",
+            "PERCENTILE"
+          ],
+          "enumDescriptions": [
+            "The default value, do not use.",
+            "The interpolation point will use the minimum value in the\ncells over the range of the conditional format.",
+            "The interpolation point will use the maximum value in the\ncells over the range of the conditional format.",
+            "The interpolation point will use exactly the value in\nInterpolationPoint.value.",
+            "The interpolation point will be the given percentage over\nall the cells in the range of the conditional format.\nThis is equivalent to NUMBER if the value was:\n`=(MAX(FLATTEN(range)) * (value / 100))\n  + (MIN(FLATTEN(range)) * (1 - (value / 100)))`\n(where errors in the range are ignored when flattening).",
+            "The interpolation point will be the given percentile\nover all the cells in the range of the conditional format.\nThis is equivalent to NUMBER if the value was:\n`=PERCENTILE(FLATTEN(range), value / 100)`\n(where errors in the range are ignored when flattening)."
+          ],
+          "type": "string"
+        }
+      },
+      "id": "InterpolationPoint"
+    },
+    "ErrorValue": {
+      "description": "An error in a cell.",
+      "type": "object",
+      "properties": {
+        "type": {
+          "description": "The type of error.",
+          "enum": [
+            "ERROR_TYPE_UNSPECIFIED",
+            "ERROR",
+            "NULL_VALUE",
+            "DIVIDE_BY_ZERO",
+            "VALUE",
+            "REF",
+            "NAME",
+            "NUM",
+            "N_A",
+            "LOADING"
+          ],
+          "enumDescriptions": [
+            "The default error type, do not use this.",
+            "Corresponds to the `#ERROR!` error.",
+            "Corresponds to the `#NULL!` error.",
+            "Corresponds to the `#DIV/0` error.",
+            "Corresponds to the `#VALUE!` error.",
+            "Corresponds to the `#REF!` error.",
+            "Corresponds to the `#NAME?` error.",
+            "Corresponds to the `#NUM`! error.",
+            "Corresponds to the `#N/A` error.",
+            "Corresponds to the `Loading...` state."
+          ],
+          "type": "string"
+        },
+        "message": {
+          "description": "A message with more information about the error\n(in the spreadsheet's locale).",
+          "type": "string"
+        }
+      },
+      "id": "ErrorValue"
+    },
+    "DuplicateFilterViewRequest": {
+      "description": "Duplicates a particular filter view.",
+      "type": "object",
+      "properties": {
+        "filterId": {
+          "description": "The ID of the filter being duplicated.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "DuplicateFilterViewRequest"
+    },
+    "BatchUpdateSpreadsheetRequest": {
+      "description": "The request for updating any aspect of a spreadsheet.",
+      "type": "object",
+      "properties": {
+        "requests": {
+          "description": "A list of updates to apply to the spreadsheet.",
+          "type": "array",
+          "items": {
+            "$ref": "Request"
+          }
+        }
+      },
+      "id": "BatchUpdateSpreadsheetRequest"
+    },
+    "SheetProperties": {
+      "description": "Properties of a sheet.",
+      "type": "object",
+      "properties": {
+        "title": {
+          "description": "The name of the sheet.",
+          "type": "string"
+        },
+        "index": {
+          "description": "The index of the sheet within the spreadsheet.\nWhen adding or updating sheet properties, if this field\nis excluded then the sheet will be added or moved to the end\nof the sheet list.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "hidden": {
+          "description": "True if the sheet is hidden in the UI, false if it's visible.",
+          "type": "boolean"
+        },
+        "gridProperties": {
+          "description": "Additional properties of the sheet if this sheet is a grid.\n(If the sheet is an object sheet, containing a chart or image, then\nthis field will be absent.)\nWhen writing it is an error to set any grid properties on non-grid sheets.",
+          "$ref": "GridProperties"
+        },
+        "sheetId": {
+          "description": "The ID of the sheet. Must be non-negative.\nThis field cannot be changed once set.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "rightToLeft": {
+          "description": "True if the sheet is an RTL sheet instead of an LTR sheet.",
+          "type": "boolean"
+        },
+        "tabColor": {
+          "description": "The color of the tab in the UI.",
+          "$ref": "Color"
+        },
+        "sheetType": {
+          "description": "The type of sheet. Defaults to GRID.\nThis field cannot be changed once set.",
+          "enum": [
+            "SHEET_TYPE_UNSPECIFIED",
+            "GRID",
+            "OBJECT"
+          ],
+          "enumDescriptions": [
+            "Default value, do not use.",
+            "The sheet is a grid.",
+            "The sheet has no grid and instead has an object like a chart or image."
+          ],
+          "type": "string"
+        }
+      },
+      "id": "SheetProperties"
+    },
+    "ProtectedRange": {
+      "description": "A protected range.",
+      "type": "object",
+      "properties": {
+        "unprotectedRanges": {
+          "description": "The list of unprotected ranges within a protected sheet.\nUnprotected ranges are only supported on protected sheets.",
+          "type": "array",
+          "items": {
+            "$ref": "GridRange"
+          }
+        },
+        "description": {
+          "description": "The description of this protected range.",
+          "type": "string"
+        },
+        "namedRangeId": {
+          "description": "The named range this protected range is backed by, if any.\n\nWhen writing, only one of range or namedRangeId\nmay be set.",
+          "type": "string"
+        },
+        "requestingUserCanEdit": {
+          "description": "True if the user who requested this protected range can edit the\nprotected area.\nThis field is read-only.",
+          "type": "boolean"
+        },
+        "editors": {
+          "description": "The users and groups with edit access to the protected range.\nThis field is only visible to users with edit access to the protected\nrange and the document.\nEditors are not supported with warningOnly protection.",
+          "$ref": "Editors"
+        },
+        "protectedRangeId": {
+          "description": "The ID of the protected range.\nThis field is read-only.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "warningOnly": {
+          "description": "True if this this protected range will show a warning when editing.\nWarning-based protection means that every user can edit data in the\nprotected range, except editing will prompt a warning asking the user\nto confirm the edit.\n\nWhen warning: if this field is true, then editors is ignored.\nAdditionally, if this field is changed from true to false and the\n`editors` field is not set (nor included in the field mask), then\nthe editors will be set to all the editors in the document.",
+          "type": "boolean"
+        },
+        "range": {
+          "description": "The range that is being protected.\nThe range may be fully unbounded, in which case this is considered\na protected sheet.\n\nWhen writing, only one of range or namedRangeId\nmay be set.",
+          "$ref": "GridRange"
+        }
+      },
+      "id": "ProtectedRange"
+    },
+    "DeleteConditionalFormatRuleRequest": {
+      "description": "Deletes a conditional format rule at the given index.\nAll subsequent rules' indexes are decremented.",
+      "type": "object",
+      "properties": {
+        "sheetId": {
+          "description": "The sheet the rule is being deleted from.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "index": {
+          "description": "The zero-based index of the rule to be deleted.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "DeleteConditionalFormatRuleRequest"
+    },
+    "ChartSpec": {
+      "description": "The specifications of a chart.",
+      "type": "object",
+      "properties": {
+        "hiddenDimensionStrategy": {
+          "description": "Determines how the charts will use hidden rows or columns.\nThis value is only meaningful if the\nChartData.sourceRange\nis used for a domain or series.",
+          "enum": [
+            "CHART_HIDDEN_DIMENSION_STRATEGY_UNSPECIFIED",
+            "SKIP_HIDDEN_ROWS_AND_COLUMNS",
+            "SKIP_HIDDEN_ROWS",
+            "SKIP_HIDDEN_COLUMNS",
+            "SHOW_ALL"
+          ],
+          "enumDescriptions": [
+            "Default value, do not use.",
+            "Charts will skip hidden rows and columns.",
+            "Charts will skip hidden rows only.",
+            "Charts will skip hidden columns only.",
+            "Charts will not skip any hidden rows or columns."
+          ],
+          "type": "string"
+        },
+        "basicChart": {
+          "description": "A basic chart specification, can be one of many kinds of charts.\nSee BasicChartType for the list of all charts this supports.",
+          "$ref": "BasicChartSpec"
+        },
+        "title": {
+          "description": "The title of the chart.",
+          "type": "string"
+        },
+        "pieChart": {
+          "description": "A pie chart specification.",
+          "$ref": "PieChartSpec"
+        }
+      },
+      "id": "ChartSpec"
+    },
+    "SourceAndDestination": {
+      "description": "A combination of a source range and how to extend that source.",
+      "type": "object",
+      "properties": {
+        "source": {
+          "description": "The location of the data to use as the source of the autofill.",
+          "$ref": "GridRange"
+        },
+        "fillLength": {
+          "description": "The number of rows or columns that data should be filled into.\nPositive numbers expand beyond the last row or last column\nof the source.  Negative numbers expand before the first row\nor first column of the source.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "dimension": {
+          "description": "The dimension that data should be filled into.",
+          "enum": [
+            "DIMENSION_UNSPECIFIED",
+            "ROWS",
+            "COLUMNS"
+          ],
+          "enumDescriptions": [
+            "The default value, do not use.",
+            "Operates on the rows of a sheet.",
+            "Operates on the columns of a sheet."
+          ],
+          "type": "string"
+        }
+      },
+      "id": "SourceAndDestination"
+    },
+    "ConditionValue": {
+      "description": "The value of the condition.",
+      "type": "object",
+      "properties": {
+        "relativeDate": {
+          "description": "A relative date (based on the current date).\nValid only if the type is\nDATE_BEFORE,\nDATE_AFTER,\nDATE_ON_OR_BEFORE or\nDATE_ON_OR_AFTER.\n\nRelative dates are not supported in data validation.\nThey are supported only in conditional formatting and\nconditional filters.",
+          "enum": [
+            "RELATIVE_DATE_UNSPECIFIED",
+            "PAST_YEAR",
+            "PAST_MONTH",
+            "PAST_WEEK",
+            "YESTERDAY",
+            "TODAY",
+            "TOMORROW"
+          ],
+          "enumDescriptions": [
+            "Default value, do not use.",
+            "The value is the year before today.",
+            "The value is the month before today.",
+            "The value is the week before today.",
+            "The value is yesterday.",
+            "The value is today.",
+            "The value is tomorrow."
+          ],
+          "type": "string"
+        },
+        "userEnteredValue": {
+          "description": "A value the condition is based on.\nThe value will be parsed as if the user typed into a cell.\nFormulas are supported (and must begin with an `=`).",
+          "type": "string"
+        }
+      },
+      "id": "ConditionValue"
+    },
+    "PasteDataRequest": {
+      "description": "Inserts data into the spreadsheet starting at the specified coordinate.",
+      "type": "object",
+      "properties": {
+        "data": {
+          "description": "The data to insert.",
+          "type": "string"
+        },
+        "coordinate": {
+          "description": "The coordinate at which the data should start being inserted.",
+          "$ref": "GridCoordinate"
+        },
+        "delimiter": {
+          "description": "The delimiter in the data.",
+          "type": "string"
+        },
+        "type": {
+          "description": "How the data should be pasted.",
+          "enum": [
+            "PASTE_NORMAL",
+            "PASTE_VALUES",
+            "PASTE_FORMAT",
+            "PASTE_NO_BORDERS",
+            "PASTE_FORMULA",
+            "PASTE_DATA_VALIDATION",
+            "PASTE_CONDITIONAL_FORMATTING"
+          ],
+          "enumDescriptions": [
+            "Paste values, formulas, formats, and merges.",
+            "Paste the values ONLY without formats, formulas, or merges.",
+            "Paste the format and data validation only.",
+            "Like PASTE_NORMAL but without borders.",
+            "Paste the formulas only.",
+            "Paste the data validation only.",
+            "Paste the color rules only."
+          ],
+          "type": "string"
+        },
+        "html": {
+          "description": "True if the data is HTML.",
+          "type": "boolean"
+        }
+      },
+      "id": "PasteDataRequest"
+    },
+    "FindReplaceRequest": {
+      "description": "Finds and replaces data in cells over a range, sheet, or all sheets.",
+      "type": "object",
+      "properties": {
+        "find": {
+          "description": "The value to search.",
+          "type": "string"
+        },
+        "replacement": {
+          "description": "The value to use as the replacement.",
+          "type": "string"
+        },
+        "searchByRegex": {
+          "description": "True if the find value is a regex.\nThe regular expression and replacement should follow Java regex rules\nat https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html.\nThe replacement string is allowed to refer to capturing groups.\nFor example, if one cell has the contents \"`Google Sheets`\" and another\nhas \"`Google Docs`\", then searching for `\"o.* (.*)\"` with a replacement of\n`\"$1 Rocks`\"` would change the contents of the cells to\n\"`GSheets Rocks`\" and \"`GDocs Rocks`\" respectively.",
+          "type": "boolean"
+        },
+        "sheetId": {
+          "description": "The sheet to find/replace over.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "allSheets": {
+          "description": "True to find/replace over all sheets.",
+          "type": "boolean"
+        },
+        "matchCase": {
+          "description": "True if the search is case sensitive.",
+          "type": "boolean"
+        },
+        "includeFormulas": {
+          "description": "True if the search should include cells with formulas.\nFalse to skip cells with formulas.",
+          "type": "boolean"
+        },
+        "range": {
+          "description": "The range to find/replace over.",
+          "$ref": "GridRange"
+        },
+        "matchEntireCell": {
+          "description": "True if the find value should match the entire cell.",
+          "type": "boolean"
+        }
+      },
+      "id": "FindReplaceRequest"
+    },
+    "SortSpec": {
+      "description": "A sort order associated with a specific column or row.",
+      "type": "object",
+      "properties": {
+        "sortOrder": {
+          "description": "The order data should be sorted.",
+          "enum": [
+            "SORT_ORDER_UNSPECIFIED",
+            "ASCENDING",
+            "DESCENDING"
+          ],
+          "enumDescriptions": [
+            "Default value, do not use this.",
+            "Sort ascending.",
+            "Sort descending."
+          ],
+          "type": "string"
+        },
+        "dimensionIndex": {
+          "description": "The dimension the sort should be applied to.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "SortSpec"
+    },
+    "CopySheetToAnotherSpreadsheetRequest": {
+      "description": "The request to copy a sheet across spreadsheets.",
+      "type": "object",
+      "properties": {
+        "destinationSpreadsheetId": {
+          "description": "The ID of the spreadsheet to copy the sheet to.",
+          "type": "string"
+        }
+      },
+      "id": "CopySheetToAnotherSpreadsheetRequest"
+    },
+    "NumberFormat": {
+      "description": "The number format of a cell.\nWhen updating, all fields must be set.",
+      "type": "object",
+      "properties": {
+        "pattern": {
+          "description": "Pattern string used for formatting.",
+          "type": "string"
+        },
+        "type": {
+          "description": "The type of the number format.",
+          "enum": [
+            "NUMBER_FORMAT_TYPE_UNSPECIFIED",
+            "TEXT",
+            "NUMBER",
+            "PERCENT",
+            "CURRENCY",
+            "DATE",
+            "TIME",
+            "DATE_TIME",
+            "SCIENTIFIC"
+          ],
+          "enumDescriptions": [
+            "The number format is not specified\nand is based on the contents of the cell.\nDo not explicitly use this.",
+            "Text formatting, e.g `1000.12`",
+            "Number formatting, e.g, `1,000.12`",
+            "Percent formatting, e.g `10.12%`",
+            "Currency formatting, e.g `$1,000.12`",
+            "Date formatting, e.g `9/26/2008`",
+            "Time formatting, e.g `3:59:00 PM`",
+            "Date+Time formatting, e.g `9/26/08 15:59:00`",
+            "Scientific number formatting, e.g `1.01E+03`"
+          ],
+          "type": "string"
+        }
+      },
+      "id": "NumberFormat"
+    },
+    "UpdateDimensionPropertiesRequest": {
+      "description": "Updates properties of dimensions within the specified range.\nIt is an error to specify read only fields in the field mask.",
+      "type": "object",
+      "properties": {
+        "fields": {
+          "description": "The fields that should be updated.  At least one field must be specified.\nThe root `properties` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.",
+          "type": "string",
+          "format": "google-fieldmask"
+        },
+        "range": {
+          "description": "The rows or columns to update.",
+          "$ref": "DimensionRange"
+        },
+        "properties": {
+          "description": "Properties to update.",
+          "$ref": "DimensionProperties"
+        }
+      },
+      "id": "UpdateDimensionPropertiesRequest"
+    },
+    "Editors": {
+      "description": "The editors of a protected range.",
+      "type": "object",
+      "properties": {
+        "users": {
+          "description": "The email addresses of users with edit access to the protected range.",
+          "type": "array",
+          "items": {
+            "type": "string"
+          }
+        },
+        "groups": {
+          "description": "The email addresses of groups with edit access to the protected range.",
+          "type": "array",
+          "items": {
+            "type": "string"
+          }
+        },
+        "domainUsersCanEdit": {
+          "description": "True if anyone in the document's domain has edit access to the protected\nrange.  Domain protection is only supported on documents within a domain.",
+          "type": "boolean"
+        }
+      },
+      "id": "Editors"
+    },
+    "Spreadsheet": {
+      "description": "Resource that represents a spreadsheet.",
+      "type": "object",
+      "properties": {
+        "spreadsheetId": {
+          "description": "The ID of the spreadsheet.\nThis field is read-only.",
+          "type": "string"
+        },
+        "properties": {
+          "description": "Overall properties of a spreadsheet.",
+          "$ref": "SpreadsheetProperties"
+        },
+        "sheets": {
+          "description": "The sheets that are part of a spreadsheet.",
+          "type": "array",
+          "items": {
+            "$ref": "Sheet"
+          }
+        },
+        "namedRanges": {
+          "description": "The named ranges defined in a spreadsheet.",
+          "type": "array",
+          "items": {
+            "$ref": "NamedRange"
+          }
+        }
+      },
+      "id": "Spreadsheet"
+    },
+    "GridData": {
+      "description": "Data in the grid, as well as metadata about the dimensions.",
+      "type": "object",
+      "properties": {
+        "columnMetadata": {
+          "description": "Metadata about the requested columns in the grid, starting with the column\nin startColumn.",
+          "type": "array",
+          "items": {
+            "$ref": "DimensionProperties"
+          }
+        },
+        "rowData": {
+          "description": "The data in the grid, one entry per row,\nstarting with the row in startRow.\nThe values in RowData will correspond to columns starting\nat startColumn.",
+          "type": "array",
+          "items": {
+            "$ref": "RowData"
+          }
+        },
+        "startRow": {
+          "description": "The first row this GridData refers to, zero-based.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "rowMetadata": {
+          "description": "Metadata about the requested rows in the grid, starting with the row\nin startRow.",
+          "type": "array",
+          "items": {
+            "$ref": "DimensionProperties"
+          }
+        },
+        "startColumn": {
+          "description": "The first column this GridData refers to, zero-based.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "GridData"
+    },
+    "PivotValue": {
+      "description": "The definition of how a value in a pivot table should be calculated.",
+      "type": "object",
+      "properties": {
+        "formula": {
+          "description": "A custom formula to calculate the value.  The formula must start\nwith an `=` character.",
+          "type": "string"
+        },
+        "sourceColumnOffset": {
+          "description": "The column offset of the source range that this value reads from.\n\nFor example, if the source was `C10:E15', a `sourceColumnOffset` of `0`\nmeans this value refers to column `C`, whereas the offset `1` would\nrefer to column `D`.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "summarizeFunction": {
+          "description": "A function to summarize the value.\nIf formula is set, the only supported values are\nSUM and\nCUSTOM.\nIf sourceColumnOffset is set, then `CUSTOM`\nis not supported.",
+          "enum": [
+            "PIVOT_STANDARD_VALUE_FUNCTION_UNSPECIFIED",
+            "SUM",
+            "COUNTA",
+            "COUNT",
+            "COUNTUNIQUE",
+            "AVERAGE",
+            "MAX",
+            "MIN",
+            "MEDIAN",
+            "PRODUCT",
+            "STDEV",
+            "STDEVP",
+            "VAR",
+            "VARP",
+            "CUSTOM"
+          ],
+          "enumDescriptions": [
+            "The default, do not use.",
+            "Corresponds to the `SUM` function.",
+            "Corresponds to the `COUNTA` function.",
+            "Corresponds to the `COUNT` function.",
+            "Corresponds to the `COUNTUNIQUE` function.",
+            "Corresponds to the `AVERAGE` function.",
+            "Corresponds to the `MAX` function.",
+            "Corresponds to the `MIN` function.",
+            "Corresponds to the `MEDIAN` function.",
+            "Corresponds to the `PRODUCT` function.",
+            "Corresponds to the `STDEV` function.",
+            "Corresponds to the `STDEVP` function.",
+            "Corresponds to the `VAR` function.",
+            "Corresponds to the `VARP` function.",
+            "Indicates the formula should be used as-is.\nOnly valid if [PivotValue.formula] was set."
+          ],
+          "type": "string"
+        },
+        "name": {
+          "description": "A name to use for the value. This is only used if formula was set.\nOtherwise, the column name is used.",
+          "type": "string"
+        }
+      },
+      "id": "PivotValue"
+    },
+    "BasicFilter": {
+      "description": "The default filter associated with a sheet.",
+      "type": "object",
+      "properties": {
+        "criteria": {
+          "description": "The criteria for showing/hiding values per column.\nThe map's key is the column index, and the value is the criteria for\nthat column.",
+          "additionalProperties": {
+            "$ref": "FilterCriteria"
+          },
+          "type": "object"
+        },
+        "range": {
+          "description": "The range the filter covers.",
+          "$ref": "GridRange"
+        },
+        "sortSpecs": {
+          "description": "The sort order per column. Later specifications are used when values\nare equal in the earlier specifications.",
+          "type": "array",
+          "items": {
+            "$ref": "SortSpec"
+          }
+        }
+      },
+      "id": "BasicFilter"
+    },
+    "DuplicateSheetRequest": {
+      "description": "Duplicates the contents of a sheet.",
+      "type": "object",
+      "properties": {
+        "sourceSheetId": {
+          "description": "The sheet to duplicate.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "newSheetId": {
+          "description": "If set, the ID of the new sheet. If not set, an ID is chosen.\nIf set, the ID must not conflict with any existing sheet ID.\nIf set, it must be non-negative.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "insertSheetIndex": {
+          "description": "The zero-based index where the new sheet should be inserted.\nThe index of all sheets after this are incremented.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "newSheetName": {
+          "description": "The name of the new sheet.  If empty, a new name is chosen for you.",
+          "type": "string"
+        }
+      },
+      "id": "DuplicateSheetRequest"
+    },
+    "AddFilterViewResponse": {
+      "description": "The result of adding a filter view.",
+      "type": "object",
+      "properties": {
+        "filter": {
+          "description": "The newly added filter view.",
+          "$ref": "FilterView"
+        }
+      },
+      "id": "AddFilterViewResponse"
+    },
+    "DuplicateSheetResponse": {
+      "description": "The result of duplicating a sheet.",
+      "type": "object",
+      "properties": {
+        "properties": {
+          "description": "The properties of the duplicate sheet.",
+          "$ref": "SheetProperties"
+        }
+      },
+      "id": "DuplicateSheetResponse"
+    },
+    "Border": {
+      "description": "A border along a cell.",
+      "type": "object",
+      "properties": {
+        "style": {
+          "description": "The style of the border.",
+          "enum": [
+            "STYLE_UNSPECIFIED",
+            "DOTTED",
+            "DASHED",
+            "SOLID",
+            "NONE",
+            "DOUBLE"
+          ],
+          "enumDescriptions": [
+            "The style is not specified. Do not use this.",
+            "The border is dotted.",
+            "The border is dashed.",
+            "The border is a solid line.",
+            "No border.\nUsed only when updating a border in order erase it.",
+            "The border is double (two solid lines)."
+          ],
+          "type": "string"
+        },
+        "width": {
+          "description": "The width of the border, in pixels.\nBorder widths must be between 0 and 3 pixels.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "color": {
+          "description": "The color of the border.",
+          "$ref": "Color"
+        }
+      },
+      "id": "Border"
+    },
+    "AddNamedRangeRequest": {
+      "description": "Adds a named range to the spreadsheet.",
+      "type": "object",
+      "properties": {
+        "namedRange": {
+          "description": "The named range to add. If a non-empty\nnamedRangeId is specified, the named range\nwill use that ID. (It is an error to specify the ID of a named\nrange that already exists.)",
+          "$ref": "NamedRange"
+        }
+      },
+      "id": "AddNamedRangeRequest"
+    },
+    "AddChartResponse": {
+      "description": "The result of adding a chart to a spreadsheet.",
+      "type": "object",
+      "properties": {
+        "chart": {
+          "description": "The newly added chart.",
+          "$ref": "EmbeddedChart"
+        }
+      },
+      "id": "AddChartResponse"
+    },
+    "AppendCellsRequest": {
+      "description": "Adds new cells to the last row with data in a sheet,\ninserting new rows into the sheet if necessary.",
+      "type": "object",
+      "properties": {
+        "sheetId": {
+          "description": "The sheet ID to append the data to.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "rows": {
+          "description": "The data to append.",
+          "type": "array",
+          "items": {
+            "$ref": "RowData"
+          }
+        },
+        "fields": {
+          "description": "The fields of CellData that should be updated.\nAt least one field must be specified.\nThe root is the CellData; 'row.values.' should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.",
+          "type": "string",
+          "format": "google-fieldmask"
+        }
+      },
+      "id": "AppendCellsRequest"
+    },
+    "RowData": {
+      "description": "Data about each cell in a row.",
+      "type": "object",
+      "properties": {
+        "values": {
+          "description": "The values in the row, one per column.",
+          "type": "array",
+          "items": {
+            "$ref": "CellData"
+          }
+        }
+      },
+      "id": "RowData"
+    },
+    "BasicChartSeries": {
+      "description": "A single series of data in a chart.\nFor example, if charting stock prices over time, multiple series may exist,\none for the \"Open Price\", \"High Price\", \"Low Price\" and \"Close Price\".",
+      "type": "object",
+      "properties": {
+        "series": {
+          "description": "The data being visualized in this chart series.",
+          "$ref": "ChartData"
+        },
+        "targetAxis": {
+          "description": "The minor axis that will specify the range of values for this series.\nFor example, if charting stocks over time, the \"Volume\" series\nmay want to be pinned to the right with the prices pinned to the left,\nbecause the scale of trading volume is different than the scale of\nprices.\nIt is an error to specify an axis that isn't a valid minor axis\nfor the chart's type.",
+          "enum": [
+            "BASIC_CHART_AXIS_POSITION_UNSPECIFIED",
+            "BOTTOM_AXIS",
+            "LEFT_AXIS",
+            "RIGHT_AXIS"
+          ],
+          "enumDescriptions": [
+            "Default value, do not use.",
+            "The axis rendered at the bottom of a chart.\nFor most charts, this is the standard major axis.\nFor bar charts, this is a minor axis.",
+            "The axis rendered at the left of a chart.\nFor most charts, this is a minor axis.\nFor bar charts, this is the standard major axis.",
+            "The axis rendered at the right of a chart.\nFor most charts, this is a minor axis.\nFor bar charts, this is an unusual major axis."
+          ],
+          "type": "string"
+        },
+        "type": {
+          "description": "The type of this series. Valid only if the\nchartType is\nCOMBO.\nDifferent types will change the way the series is visualized.\nOnly LINE, AREA,\nand COLUMN are supported.",
+          "enum": [
+            "BASIC_CHART_TYPE_UNSPECIFIED",
+            "BAR",
+            "LINE",
+            "AREA",
+            "COLUMN",
+            "SCATTER",
+            "COMBO"
+          ],
+          "enumDescriptions": [
+            "Default value, do not use.",
+            "A \u003ca href=\"/chart/interactive/docs/gallery/barchart\"\u003ebar chart\u003c/a\u003e.",
+            "A \u003ca href=\"/chart/interactive/docs/gallery/linechart\"\u003eline chart\u003c/a\u003e.",
+            "An \u003ca href=\"/chart/interactive/docs/gallery/areachart\"\u003earea chart\u003c/a\u003e.",
+            "A \u003ca href=\"/chart/interactive/docs/gallery/columnchart\"\u003ecolumn chart\u003c/a\u003e.",
+            "A \u003ca href=\"/chart/interactive/docs/gallery/scatterchart\"\u003escatter chart\u003c/a\u003e.",
+            "A \u003ca href=\"/chart/interactive/docs/gallery/combochart\"\u003ecombo chart\u003c/a\u003e."
+          ],
+          "type": "string"
+        }
+      },
+      "id": "BasicChartSeries"
+    },
+    "RepeatCellRequest": {
+      "description": "Updates all cells in the range to the values in the given Cell object.\nOnly the fields listed in the fields field are updated; others are\nunchanged.\n\nIf writing a cell with a formula, the formula's ranges will automatically\nincrement for each field in the range.\nFor example, if writing a cell with formula `=A1` into range B2:C4,\nB2 would be `=A1`, B3 would be `=A2`, B4 would be `=A3`,\nC2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`.\n\nTo keep the formula's ranges static, use the `$` indicator.\nFor example, using the formula was `=$A$1`, neither\nthe row nor column would increment.",
+      "type": "object",
+      "properties": {
+        "cell": {
+          "description": "The data to write.",
+          "$ref": "CellData"
+        },
+        "fields": {
+          "description": "The fields that should be updated.  At least one field must be specified.\nThe root `cell` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.",
+          "type": "string",
+          "format": "google-fieldmask"
+        },
+        "range": {
+          "description": "The range to repeat the cell in.",
+          "$ref": "GridRange"
+        }
+      },
+      "id": "RepeatCellRequest"
+    },
+    "BasicChartSpec": {
+      "description": "The specification for a basic chart.  See BasicChartType for the list\nof charts this supports.",
+      "type": "object",
+      "properties": {
+        "chartType": {
+          "description": "The type of the chart.",
+          "enum": [
+            "BASIC_CHART_TYPE_UNSPECIFIED",
+            "BAR",
+            "LINE",
+            "AREA",
+            "COLUMN",
+            "SCATTER",
+            "COMBO"
+          ],
+          "enumDescriptions": [
+            "Default value, do not use.",
+            "A \u003ca href=\"/chart/interactive/docs/gallery/barchart\"\u003ebar chart\u003c/a\u003e.",
+            "A \u003ca href=\"/chart/interactive/docs/gallery/linechart\"\u003eline chart\u003c/a\u003e.",
+            "An \u003ca href=\"/chart/interactive/docs/gallery/areachart\"\u003earea chart\u003c/a\u003e.",
+            "A \u003ca href=\"/chart/interactive/docs/gallery/columnchart\"\u003ecolumn chart\u003c/a\u003e.",
+            "A \u003ca href=\"/chart/interactive/docs/gallery/scatterchart\"\u003escatter chart\u003c/a\u003e.",
+            "A \u003ca href=\"/chart/interactive/docs/gallery/combochart\"\u003ecombo chart\u003c/a\u003e."
+          ],
+          "type": "string"
+        },
+        "domains": {
+          "description": "The domain of data this is charting.\nOnly a single domain is currently supported.",
+          "type": "array",
+          "items": {
+            "$ref": "BasicChartDomain"
+          }
+        },
+        "headerCount": {
+          "description": "The number of rows or columns in the data that are \"headers\".\nIf not set, Google Sheets will guess how many rows are headers based\non the data.\n\n(Note that BasicChartAxis.title may override the axis title\n inferred from the header values.)",
+          "type": "integer",
+          "format": "int32"
+        },
+        "series": {
+          "description": "The data this chart is visualizing.",
+          "type": "array",
+          "items": {
+            "$ref": "BasicChartSeries"
+          }
+        },
+        "legendPosition": {
+          "description": "The position of the chart legend.",
+          "enum": [
+            "BASIC_CHART_LEGEND_POSITION_UNSPECIFIED",
+            "BOTTOM_LEGEND",
+            "LEFT_LEGEND",
+            "RIGHT_LEGEND",
+            "TOP_LEGEND",
+            "NO_LEGEND"
+          ],
+          "enumDescriptions": [
+            "Default value, do not use.",
+            "The legend is rendered on the bottom of the chart.",
+            "The legend is rendered on the left of the chart.",
+            "The legend is rendered on the right of the chart.",
+            "The legend is rendered on the top of the chart.",
+            "No legend is rendered."
+          ],
+          "type": "string"
+        },
+        "axis": {
+          "description": "The axis on the chart.",
+          "type": "array",
+          "items": {
+            "$ref": "BasicChartAxis"
+          }
+        }
+      },
+      "id": "BasicChartSpec"
+    },
+    "NamedRange": {
+      "description": "A named range.",
+      "type": "object",
+      "properties": {
+        "namedRangeId": {
+          "description": "The ID of the named range.",
+          "type": "string"
+        },
+        "range": {
+          "description": "The range this represents.",
+          "$ref": "GridRange"
+        },
+        "name": {
+          "description": "The name of the named range.",
+          "type": "string"
+        }
+      },
+      "id": "NamedRange"
+    },
+    "SetBasicFilterRequest": {
+      "description": "Sets the basic filter associated with a sheet.",
+      "type": "object",
+      "properties": {
+        "filter": {
+          "description": "The filter to set.",
+          "$ref": "BasicFilter"
+        }
+      },
+      "id": "SetBasicFilterRequest"
+    },
+    "UpdateEmbeddedObjectPositionRequest": {
+      "description": "Update an embedded object's position (such as a moving or resizing a\nchart or image).",
+      "type": "object",
+      "properties": {
+        "newPosition": {
+          "description": "An explicit position to move the embedded object to.\nIf newPosition.sheetId is set,\na new sheet with that ID will be created.\nIf newPosition.newSheet is set to true,\na new sheet will be created with an ID that will be chosen for you.",
+          "$ref": "EmbeddedObjectPosition"
+        },
+        "objectId": {
+          "description": "The id of the object to moved.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "fields": {
+          "description": "The fields of OverlayPosition that should be updated when\nsetting a new position. Used only if\nnewPosition.overlayPosition\nis set, in which case at least one field must\nbe specified.  The root `newPosition.overlayPosition` is implied and\nshould not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.",
+          "type": "string",
+          "format": "google-fieldmask"
+        }
+      },
+      "id": "UpdateEmbeddedObjectPositionRequest"
+    },
+    "AutoResizeDimensionsRequest": {
+      "description": "Automatically resizes one or more dimensions based on the contents\nof the cells in that dimension.",
+      "type": "object",
+      "properties": {
+        "dimensions": {
+          "description": "The dimensions to automatically resize.\nOnly COLUMNS are supported.",
+          "$ref": "DimensionRange"
+        }
+      },
+      "id": "AutoResizeDimensionsRequest"
+    },
+    "DuplicateFilterViewResponse": {
+      "description": "The result of a filter view being duplicated.",
+      "type": "object",
+      "properties": {
+        "filter": {
+          "description": "The newly created filter.",
+          "$ref": "FilterView"
+        }
+      },
+      "id": "DuplicateFilterViewResponse"
+    },
+    "PivotGroup": {
+      "description": "A single grouping (either row or column) in a pivot table.",
+      "type": "object",
+      "properties": {
+        "sortOrder": {
+          "description": "The order the values in this group should be sorted.",
+          "enum": [
+            "SORT_ORDER_UNSPECIFIED",
+            "ASCENDING",
+            "DESCENDING"
+          ],
+          "enumDescriptions": [
+            "Default value, do not use this.",
+            "Sort ascending.",
+            "Sort descending."
+          ],
+          "type": "string"
+        },
+        "sourceColumnOffset": {
+          "description": "The column offset of the source range that this grouping is based on.\n\nFor example, if the source was `C10:E15', a `sourceColumnOffset` of `0`\nmeans this group refers to column `C`, whereas the offset `1` would refer\nto column `D`.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "showTotals": {
+          "description": "True if the pivot table should include the totals for this grouping.",
+          "type": "boolean"
+        },
+        "valueBucket": {
+          "description": "The bucket of the opposite pivot group to sort by.\nIf not specified, sorting is alphabetical by this group's values.",
+          "$ref": "PivotGroupSortValueBucket"
+        },
+        "valueMetadata": {
+          "description": "Metadata about values in the grouping.",
+          "type": "array",
+          "items": {
+            "$ref": "PivotGroupValueMetadata"
+          }
+        }
+      },
+      "id": "PivotGroup"
+    },
+    "GridRange": {
+      "description": "A range on a sheet.\nAll indexes are zero-based.\nIndexes are half open, e.g the start index is inclusive\nand the end index is exclusive -- [start_index, end_index).\nMissing indexes indicate the range is unbounded on that side.\n\nFor example, if \"Sheet1\" is grid ID 0, then:\n\n  Sheet1!A1:A1 == sheet_id: 0,\n                  start_row_index: 0, end_row_index: 1,\n                  start_column_index: 0, end_column_index: 1\n\n  Sheet1!A3:B4 == sheet_id: 0,\n                  start_row_index: 2, end_row_index: 4,\n                  start_column_index: 0, end_column_index: 2\n\n  Sheet1!A:B == sheet_id: 0,\n                start_column_index: 0, end_column_index: 2\n\n  Sheet1!A5:B == sheet_id: 0,\n                 start_row_index: 4,\n                 start_column_index: 0, end_column_index: 2\n\n  Sheet1 == sheet_id:0\n\nThe start index must always be less than or equal to the end index.\nIf the start index equals the end index, then the range is empty.\nEmpty ranges are typically not meaningful and are usually rendered in the\nUI as `#REF!`.",
+      "type": "object",
+      "properties": {
+        "sheetId": {
+          "description": "The sheet this range is on.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "startColumnIndex": {
+          "description": "The start column (inclusive) of the range, or not set if unbounded.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "startRowIndex": {
+          "description": "The start row (inclusive) of the range, or not set if unbounded.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "endRowIndex": {
+          "description": "The end row (exclusive) of the range, or not set if unbounded.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "endColumnIndex": {
+          "description": "The end column (exclusive) of the range, or not set if unbounded.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "GridRange"
+    },
+    "DeleteSheetRequest": {
+      "description": "Deletes the requested sheet.",
+      "type": "object",
+      "properties": {
+        "sheetId": {
+          "description": "The ID of the sheet to delete.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "DeleteSheetRequest"
+    },
+    "ChartData": {
+      "description": "The data included in a domain or series.",
+      "type": "object",
+      "properties": {
+        "sourceRange": {
+          "description": "The source ranges of the data.",
+          "$ref": "ChartSourceRange"
+        }
+      },
+      "id": "ChartData"
+    },
+    "Sheet": {
+      "description": "A sheet in a spreadsheet.",
+      "type": "object",
+      "properties": {
+        "properties": {
+          "description": "The properties of the sheet.",
+          "$ref": "SheetProperties"
+        },
+        "charts": {
+          "description": "The specifications of every chart on this sheet.",
+          "type": "array",
+          "items": {
+            "$ref": "EmbeddedChart"
+          }
+        },
+        "filterViews": {
+          "description": "The filter views in this sheet.",
+          "type": "array",
+          "items": {
+            "$ref": "FilterView"
+          }
+        },
+        "conditionalFormats": {
+          "description": "The conditional format rules in this sheet.",
+          "type": "array",
+          "items": {
+            "$ref": "ConditionalFormatRule"
+          }
+        },
+        "protectedRanges": {
+          "description": "The protected ranges in this sheet.",
+          "type": "array",
+          "items": {
+            "$ref": "ProtectedRange"
+          }
+        },
+        "basicFilter": {
+          "description": "The filter on this sheet, if any.",
+          "$ref": "BasicFilter"
+        },
+        "merges": {
+          "description": "The ranges that are merged together.",
+          "type": "array",
+          "items": {
+            "$ref": "GridRange"
+          }
+        },
+        "data": {
+          "description": "Data in the grid, if this is a grid sheet.\nThe number of GridData objects returned is dependent on the number of\nranges requested on this sheet. For example, if this is representing\n`Sheet1`, and the spreadsheet was requested with ranges\n`Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will have a\nstartRow/startColumn of `0`,\nwhile the second one will have `startRow 14` (zero-based row 15),\nand `startColumn 3` (zero-based column D).",
+          "type": "array",
+          "items": {
+            "$ref": "GridData"
+          }
+        }
+      },
+      "id": "Sheet"
+    },
+    "CopyPasteRequest": {
+      "description": "Copies data from the source to the destination.",
+      "type": "object",
+      "properties": {
+        "pasteType": {
+          "description": "What kind of data to paste.",
+          "enum": [
+            "PASTE_NORMAL",
+            "PASTE_VALUES",
+            "PASTE_FORMAT",
+            "PASTE_NO_BORDERS",
+            "PASTE_FORMULA",
+            "PASTE_DATA_VALIDATION",
+            "PASTE_CONDITIONAL_FORMATTING"
+          ],
+          "enumDescriptions": [
+            "Paste values, formulas, formats, and merges.",
+            "Paste the values ONLY without formats, formulas, or merges.",
+            "Paste the format and data validation only.",
+            "Like PASTE_NORMAL but without borders.",
+            "Paste the formulas only.",
+            "Paste the data validation only.",
+            "Paste the color rules only."
+          ],
+          "type": "string"
+        },
+        "pasteOrientation": {
+          "description": "How that data should be oriented when pasting.",
+          "enum": [
+            "NORMAL",
+            "TRANSPOSE"
+          ],
+          "enumDescriptions": [
+            "Paste normally.",
+            "Paste transposed, where all rows become columns and vice versa."
+          ],
+          "type": "string"
+        },
+        "source": {
+          "description": "The source range to copy.",
+          "$ref": "GridRange"
+        },
+        "destination": {
+          "description": "The location to paste to. If the range covers a span that's\na multiple of the source's height or width, then the\ndata will be repeated to fill in the destination range.\nIf the range is smaller than the source range, the entire\nsource data will still be copied (beyond the end of the destination range).",
+          "$ref": "GridRange"
+        }
+      },
+      "id": "CopyPasteRequest"
+    },
+    "UpdateCellsRequest": {
+      "description": "Updates all cells in a range with new data.",
+      "type": "object",
+      "properties": {
+        "rows": {
+          "description": "The data to write.",
+          "type": "array",
+          "items": {
+            "$ref": "RowData"
+          }
+        },
+        "fields": {
+          "description": "The fields of CellData that should be updated.\nAt least one field must be specified.\nThe root is the CellData; 'row.values.' should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.",
+          "type": "string",
+          "format": "google-fieldmask"
+        },
+        "start": {
+          "description": "The coordinate to start writing data at.\nAny number of rows and columns (including a different number of\ncolumns per row) may be written.",
+          "$ref": "GridCoordinate"
+        },
+        "range": {
+          "description": "The range to write data to.\n\nIf the data in rows does not cover the entire requested range,\nthe fields matching those set in fields will be cleared.",
+          "$ref": "GridRange"
+        }
+      },
+      "id": "UpdateCellsRequest"
+    },
+    "ExtendedValue": {
+      "description": "The kinds of value that a cell in a spreadsheet can have.",
+      "type": "object",
+      "properties": {
+        "formulaValue": {
+          "description": "Represents a formula.",
+          "type": "string"
+        },
+        "errorValue": {
+          "description": "Represents an error.\nThis field is read-only.",
+          "$ref": "ErrorValue"
+        },
+        "boolValue": {
+          "description": "Represents a boolean value.",
+          "type": "boolean"
+        },
+        "numberValue": {
+          "description": "Represents a double value.\nNote: Dates, Times and DateTimes are represented as doubles in\n\"serial number\" format.",
+          "type": "number",
+          "format": "double"
+        },
+        "stringValue": {
+          "description": "Represents a string value.\nLeading single quotes are not included. For example, if the user typed\n`'123` into the UI, this would be represented as a `stringValue` of\n`\"123\"`.",
+          "type": "string"
+        }
+      },
+      "id": "ExtendedValue"
+    },
+    "BatchUpdateSpreadsheetResponse": {
+      "description": "The reply for batch updating a spreadsheet.",
+      "type": "object",
+      "properties": {
+        "spreadsheetId": {
+          "description": "The spreadsheet the updates were applied to.",
+          "type": "string"
+        },
+        "replies": {
+          "description": "The reply of the updates.  This maps 1:1 with the updates, although\nreplies to some requests may be empty.",
+          "type": "array",
+          "items": {
+            "$ref": "Response"
+          }
+        }
+      },
+      "id": "BatchUpdateSpreadsheetResponse"
+    },
+    "GradientRule": {
+      "description": "A rule that applies a gradient color scale format, based on\nthe interpolation points listed. The format of a cell will vary\nbased on its contents as compared to the values of the interpolation\npoints.",
+      "type": "object",
+      "properties": {
+        "maxpoint": {
+          "description": "The final interpolation point.",
+          "$ref": "InterpolationPoint"
+        },
+        "midpoint": {
+          "description": "An optional midway interpolation point.",
+          "$ref": "InterpolationPoint"
+        },
+        "minpoint": {
+          "description": "The starting interpolation point.",
+          "$ref": "InterpolationPoint"
+        }
+      },
+      "id": "GradientRule"
+    },
+    "CutPasteRequest": {
+      "description": "Moves data from the source to the destination.",
+      "type": "object",
+      "properties": {
+        "pasteType": {
+          "description": "What kind of data to paste.  All the source data will be cut, regardless\nof what is pasted.",
+          "enum": [
+            "PASTE_NORMAL",
+            "PASTE_VALUES",
+            "PASTE_FORMAT",
+            "PASTE_NO_BORDERS",
+            "PASTE_FORMULA",
+            "PASTE_DATA_VALIDATION",
+            "PASTE_CONDITIONAL_FORMATTING"
+          ],
+          "enumDescriptions": [
+            "Paste values, formulas, formats, and merges.",
+            "Paste the values ONLY without formats, formulas, or merges.",
+            "Paste the format and data validation only.",
+            "Like PASTE_NORMAL but without borders.",
+            "Paste the formulas only.",
+            "Paste the data validation only.",
+            "Paste the color rules only."
+          ],
+          "type": "string"
+        },
+        "source": {
+          "description": "The source data to cut.",
+          "$ref": "GridRange"
+        },
+        "destination": {
+          "description": "The top-left coordinate where the data should be pasted.",
+          "$ref": "GridCoordinate"
+        }
+      },
+      "id": "CutPasteRequest"
+    },
+    "OverlayPosition": {
+      "description": "The location an object is overlaid on top of a grid.",
+      "type": "object",
+      "properties": {
+        "widthPixels": {
+          "description": "The width of the object, in pixels. Defaults to 600.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "anchorCell": {
+          "description": "The cell the object is anchored to.",
+          "$ref": "GridCoordinate"
+        },
+        "offsetXPixels": {
+          "description": "The horizontal offset, in pixels, that the object is offset\nfrom the anchor cell.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "heightPixels": {
+          "description": "The height of the object, in pixels. Defaults to 371.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "offsetYPixels": {
+          "description": "The vertical offset, in pixels, that the object is offset\nfrom the anchor cell.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "OverlayPosition"
+    },
+    "AutoFillRequest": {
+      "description": "Fills in more data based on existing data.",
+      "type": "object",
+      "properties": {
+        "useAlternateSeries": {
+          "description": "True if we should generate data with the \"alternate\" series.\nThis differs based on the type and amount of source data.",
+          "type": "boolean"
+        },
+        "range": {
+          "description": "The range to autofill. This will examine the range and detect\nthe location that has data and automatically fill that data\nin to the rest of the range.",
+          "$ref": "GridRange"
+        },
+        "sourceAndDestination": {
+          "description": "The source and destination areas to autofill.\nThis explicitly lists the source of the autofill and where to\nextend that data.",
+          "$ref": "SourceAndDestination"
+        }
+      },
+      "id": "AutoFillRequest"
+    },
+    "PieChartSpec": {
+      "description": "A \u003ca href=\"/chart/interactive/docs/gallery/piechart\"\u003epie chart\u003c/a\u003e.",
+      "type": "object",
+      "properties": {
+        "legendPosition": {
+          "description": "Where the legend of the pie chart should be drawn.",
+          "enum": [
+            "PIE_CHART_LEGEND_POSITION_UNSPECIFIED",
+            "BOTTOM_LEGEND",
+            "LEFT_LEGEND",
+            "RIGHT_LEGEND",
+            "TOP_LEGEND",
+            "NO_LEGEND",
+            "LABELED_LEGEND"
+          ],
+          "enumDescriptions": [
+            "Default value, do not use.",
+            "The legend is rendered on the bottom of the chart.",
+            "The legend is rendered on the left of the chart.",
+            "The legend is rendered on the right of the chart.",
+            "The legend is rendered on the top of the chart.",
+            "No legend is rendered.",
+            "Each pie slice has a label attached to it."
+          ],
+          "type": "string"
+        },
+        "series": {
+          "description": "The data that covers the one and only series of the pie chart.",
+          "$ref": "ChartData"
+        },
+        "pieHole": {
+          "description": "The size of the hole in the pie chart.",
+          "type": "number",
+          "format": "double"
+        },
+        "threeDimensional": {
+          "description": "True if the pie is three dimensional.",
+          "type": "boolean"
+        },
+        "domain": {
+          "description": "The data that covers the domain of the pie chart.",
+          "$ref": "ChartData"
+        }
+      },
+      "id": "PieChartSpec"
+    },
+    "UpdateSheetPropertiesRequest": {
+      "description": "Updates properties of the sheet with the specified\nsheetId.\nIt is an error to specify read only fields in the field mask.",
+      "type": "object",
+      "properties": {
+        "fields": {
+          "description": "The fields that should be updated.  At least one field must be specified.\nThe root `properties` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.",
+          "type": "string",
+          "format": "google-fieldmask"
+        },
+        "properties": {
+          "description": "The properties to update.",
+          "$ref": "SheetProperties"
+        }
+      },
+      "id": "UpdateSheetPropertiesRequest"
+    },
+    "BooleanRule": {
+      "description": "A rule that may or may not match, depending on the condition.",
+      "type": "object",
+      "properties": {
+        "condition": {
+          "description": "The condition of the rule. If the condition evaluates to true,\nthe format will be applied.",
+          "$ref": "BooleanCondition"
+        },
+        "format": {
+          "description": "The format to apply.\nConditional formatting can only apply a subset of formatting:\nbold, italic,\nstrikethrough,\nforeground color &\nbackground color.",
+          "$ref": "CellFormat"
+        }
+      },
+      "id": "BooleanRule"
+    },
+    "AppendDimensionRequest": {
+      "description": "Appends rows or columns to the end of a sheet.",
+      "type": "object",
+      "properties": {
+        "sheetId": {
+          "description": "The sheet to append rows or columns to.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "length": {
+          "description": "The number of rows or columns to append.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "dimension": {
+          "description": "Whether rows or columns should be appended.",
+          "enum": [
+            "DIMENSION_UNSPECIFIED",
+            "ROWS",
+            "COLUMNS"
+          ],
+          "enumDescriptions": [
+            "The default value, do not use.",
+            "Operates on the rows of a sheet.",
+            "Operates on the columns of a sheet."
+          ],
+          "type": "string"
+        }
+      },
+      "id": "AppendDimensionRequest"
+    },
+    "AddFilterViewRequest": {
+      "description": "Adds a filter view.",
+      "type": "object",
+      "properties": {
+        "filter": {
+          "description": "The filter to add.",
+          "$ref": "FilterView"
+        }
+      },
+      "id": "AddFilterViewRequest"
+    },
+    "GridProperties": {
+      "description": "Properties of a grid.",
+      "type": "object",
+      "properties": {
+        "rowCount": {
+          "description": "The number of rows in the grid.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "columnCount": {
+          "description": "The number of columns in the grid.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "frozenRowCount": {
+          "description": "The number of rows that are frozen in the grid.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "frozenColumnCount": {
+          "description": "The number of columns that are frozen in the grid.",
+          "type": "integer",
+          "format": "int32"
+        },
+        "hideGridlines": {
+          "description": "True if the grid isn't showing gridlines in the UI.",
+          "type": "boolean"
+        }
+      },
+      "id": "GridProperties"
+    },
+    "DeleteNamedRangeRequest": {
+      "description": "Removes the named range with the given ID from the spreadsheet.",
+      "type": "object",
+      "properties": {
+        "namedRangeId": {
+          "description": "The ID of the named range to delete.",
+          "type": "string"
+        }
+      },
+      "id": "DeleteNamedRangeRequest"
+    },
+    "AddChartRequest": {
+      "description": "Adds a chart to a sheet in the spreadsheet.",
+      "type": "object",
+      "properties": {
+        "chart": {
+          "description": "The chart that should be added to the spreadsheet, including the position\nwhere it should be placed.",
+          "$ref": "EmbeddedChart"
+        }
+      },
+      "id": "AddChartRequest"
+    },
+    "SetDataValidationRequest": {
+      "description": "Sets a data validation rule to every cell in the range.\nTo clear validation in a range, call this with no rule specified.",
+      "type": "object",
+      "properties": {
+        "rule": {
+          "description": "The data validation rule to set on each cell in the range,\nor empty to clear the data validation in the range.",
+          "$ref": "DataValidationRule"
+        },
+        "range": {
+          "description": "The range the data validation rule should apply to.",
+          "$ref": "GridRange"
+        }
+      },
+      "id": "SetDataValidationRequest"
+    },
+    "Request": {
+      "description": "A single kind of update to apply to a spreadsheet.",
+      "type": "object",
+      "properties": {
+        "updateEmbeddedObjectPosition": {
+          "description": "Updates an embedded object's (e.g. chart, image) position.",
+          "$ref": "UpdateEmbeddedObjectPositionRequest"
+        },
+        "deleteNamedRange": {
+          "description": "Deletes a named range.",
+          "$ref": "DeleteNamedRangeRequest"
+        },
+        "updateNamedRange": {
+          "description": "Updates a named range.",
+          "$ref": "UpdateNamedRangeRequest"
+        },
+        "addFilterView": {
+          "description": "Adds a filter view.",
+          "$ref": "AddFilterViewRequest"
+        },
+        "updateSpreadsheetProperties": {
+          "description": "Updates the spreadsheet's properties.",
+          "$ref": "UpdateSpreadsheetPropertiesRequest"
+        },
+        "appendDimension": {
+          "description": "Appends dimensions to the end of a sheet.",
+          "$ref": "AppendDimensionRequest"
+        },
+        "unmergeCells": {
+          "description": "Unmerges merged cells.",
+          "$ref": "UnmergeCellsRequest"
+        },
+        "updateProtectedRange": {
+          "description": "Updates a protected range.",
+          "$ref": "UpdateProtectedRangeRequest"
+        },
+        "deleteFilterView": {
+          "description": "Deletes a filter view from a sheet.",
+          "$ref": "DeleteFilterViewRequest"
+        },
+        "clearBasicFilter": {
+          "description": "Clears the basic filter on a sheet.",
+          "$ref": "ClearBasicFilterRequest"
+        },
+        "sortRange": {
+          "description": "Sorts data in a range.",
+          "$ref": "SortRangeRequest"
+        },
+        "repeatCell": {
+          "description": "Repeats a single cell across a range.",
+          "$ref": "RepeatCellRequest"
+        },
+        "setDataValidation": {
+          "description": "Sets data validation for one or more cells.",
+          "$ref": "SetDataValidationRequest"
+        },
+        "updateCells": {
+          "description": "Updates many cells at once.",
+          "$ref": "UpdateCellsRequest"
+        },
+        "addSheet": {
+          "description": "Adds a sheet.",
+          "$ref": "AddSheetRequest"
+        },
+        "updateFilterView": {
+          "description": "Updates the properties of a filter view.",
+          "$ref": "UpdateFilterViewRequest"
+        },
+        "updateSheetProperties": {
+          "description": "Updates a sheet's properties.",
+          "$ref": "UpdateSheetPropertiesRequest"
+        },
+        "updateDimensionProperties": {
+          "description": "Updates dimensions' properties.",
+          "$ref": "UpdateDimensionPropertiesRequest"
+        },
+        "deleteSheet": {
+          "description": "Deletes a sheet.",
+          "$ref": "DeleteSheetRequest"
+        },
+        "findReplace": {
+          "description": "Finds and replace occurrences of some text with other text.",
+          "$ref": "FindReplaceRequest"
+        },
+        "addProtectedRange": {
+          "description": "Adds a protected range.",
+          "$ref": "AddProtectedRangeRequest"
+        },
+        "deleteProtectedRange": {
+          "description": "Deletes a protected range.",
+          "$ref": "DeleteProtectedRangeRequest"
+        },
+        "updateConditionalFormatRule": {
+          "description": "Updates an existing conditional format rule.",
+          "$ref": "UpdateConditionalFormatRuleRequest"
+        },
+        "setBasicFilter": {
+          "description": "Sets the basic filter on a sheet.",
+          "$ref": "SetBasicFilterRequest"
+        },
+        "mergeCells": {
+          "description": "Merges cells together.",
+          "$ref": "MergeCellsRequest"
+        },
+        "addChart": {
+          "description": "Adds a chart.",
+          "$ref": "AddChartRequest"
+        },
+        "deleteConditionalFormatRule": {
+          "description": "Deletes an existing conditional format rule.",
+          "$ref": "DeleteConditionalFormatRuleRequest"
+        },
+        "updateChartSpec": {
+          "description": "Updates a chart's specifications.",
+          "$ref": "UpdateChartSpecRequest"
+        },
+        "deleteDimension": {
+          "description": "Deletes rows or columns in a sheet.",
+          "$ref": "DeleteDimensionRequest"
+        },
+        "deleteEmbeddedObject": {
+          "description": "Deletes an embedded object (e.g, chart, image) in a sheet.",
+          "$ref": "DeleteEmbeddedObjectRequest"
+        },
+        "pasteData": {
+          "description": "Pastes data (HTML or delimited) into a sheet.",
+          "$ref": "PasteDataRequest"
+        },
+        "addConditionalFormatRule": {
+          "description": "Adds a new conditional format rule.",
+          "$ref": "AddConditionalFormatRuleRequest"
+        },
+        "updateBorders": {
+          "description": "Updates the borders in a range of cells.",
+          "$ref": "UpdateBordersRequest"
+        },
+        "autoResizeDimensions": {
+          "description": "Automatically resizes one or more dimensions based on the contents\nof the cells in that dimension.",
+          "$ref": "AutoResizeDimensionsRequest"
+        },
+        "duplicateSheet": {
+          "description": "Duplicates a sheet.",
+          "$ref": "DuplicateSheetRequest"
+        },
+        "duplicateFilterView": {
+          "description": "Duplicates a filter view.",
+          "$ref": "DuplicateFilterViewRequest"
+        },
+        "cutPaste": {
+          "description": "Cuts data from one area and pastes it to another.",
+          "$ref": "CutPasteRequest"
+        },
+        "appendCells": {
+          "description": "Appends cells to the last row with data in a sheet.",
+          "$ref": "AppendCellsRequest"
+        },
+        "addNamedRange": {
+          "description": "Adds a named range.",
+          "$ref": "AddNamedRangeRequest"
+        },
+        "autoFill": {
+          "description": "Automatically fills in more data based on existing data.",
+          "$ref": "AutoFillRequest"
+        },
+        "moveDimension": {
+          "description": "Moves rows or columns to another location in a sheet.",
+          "$ref": "MoveDimensionRequest"
+        },
+        "textToColumns": {
+          "description": "Converts a column of text into many columns of text.",
+          "$ref": "TextToColumnsRequest"
+        },
+        "insertDimension": {
+          "description": "Inserts new rows or columns in a sheet.",
+          "$ref": "InsertDimensionRequest"
+        },
+        "copyPaste": {
+          "description": "Copies data from one area and pastes it to another.",
+          "$ref": "CopyPasteRequest"
+        }
+      },
+      "id": "Request"
+    },
+    "BatchGetValuesResponse": {
+      "description": "The response when retrieving more than one range of values in a spreadsheet.",
+      "type": "object",
+      "properties": {
+        "valueRanges": {
+          "description": "The requested values. The order of the ValueRanges is the same as the\norder of the requested ranges.",
+          "type": "array",
+          "items": {
+            "$ref": "ValueRange"
+          }
+        },
+        "spreadsheetId": {
+          "description": "The id of the spreadsheet to retrieve data from.",
+          "type": "string"
+        }
+      },
+      "id": "BatchGetValuesResponse"
+    },
+    "InsertDimensionRequest": {
+      "description": "Inserts rows or columns in a sheet at a particular index.",
+      "type": "object",
+      "properties": {
+        "inheritFromBefore": {
+          "description": "Whether dimension properties should be extended from the dimensions\nbefore or after the newly inserted dimensions.\nTrue to inherit from the dimensions before (in which case the start\nindex must be greater than 0), and false to inherit from the dimensions\nafter.\n\nFor example, if row index 0 has red background and row index 1\nhas a green background, then inserting 2 rows at index 1 can inherit\neither the green or red background.  If `inheritFromBefore` is true,\nthe two new rows will be red (because the row before the insertion point\nwas red), whereas if `inheritFromBefore` is false, the two new rows will\nbe green (because the rows after the insertion point were green).",
+          "type": "boolean"
+        },
+        "range": {
+          "description": "The dimensions to insert.  Both the start and end indexes must be bounded.",
+          "$ref": "DimensionRange"
+        }
+      },
+      "id": "InsertDimensionRequest"
+    },
+    "DeleteEmbeddedObjectRequest": {
+      "description": "Deletes the embedded object with the given ID.",
+      "type": "object",
+      "properties": {
+        "objectId": {
+          "description": "The ID of the embedded object to delete.",
+          "type": "integer",
+          "format": "int32"
+        }
+      },
+      "id": "DeleteEmbeddedObjectRequest"
+    },
+    "DeleteConditionalFormatRuleResponse": {
+      "description": "The result of deleting a conditional format rule.",
+      "type": "object",
+      "properties": {
+        "rule": {
+          "description": "The rule that was deleted.",
+          "$ref": "ConditionalFormatRule"
+        }
+      },
+      "id": "DeleteConditionalFormatRuleResponse"
+    }
+  },
+  "revision": "20160511",
+  "basePath": "",
+  "icons": {
+    "x32": "http://www.google.com/images/icons/product/search-32.gif",
+    "x16": "http://www.google.com/images/icons/product/search-16.gif"
+  },
+  "version_module": "True",
+  "canonicalName": "Sheets",
+  "discoveryVersion": "v1",
+  "baseUrl": "https://sheets.googleapis.com/",
+  "name": "sheets",
+  "parameters": {
+    "access_token": {
+      "description": "OAuth access token.",
+      "type": "string",
+      "location": "query"
+    },
+    "prettyPrint": {
+      "description": "Returns response with indentations and line breaks.",
+      "default": "true",
+      "type": "boolean",
+      "location": "query"
+    },
+    "key": {
+      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
+      "type": "string",
+      "location": "query"
+    },
+    "quotaUser": {
+      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
+      "type": "string",
+      "location": "query"
+    },
+    "pp": {
+      "description": "Pretty-print response.",
+      "default": "true",
+      "type": "boolean",
+      "location": "query"
+    },
+    "fields": {
+      "description": "Selector specifying which fields to include in a partial response.",
+      "type": "string",
+      "location": "query"
+    },
+    "alt": {
+      "description": "Data format for response.",
+      "location": "query",
+      "enum": [
+        "json",
+        "media",
+        "proto"
+      ],
+      "default": "json",
+      "enumDescriptions": [
+        "Responses with Content-Type of application/json",
+        "Media download with context-dependent Content-Type",
+        "Responses with Content-Type of application/x-protobuf"
+      ],
+      "type": "string"
+    },
+    "$.xgafv": {
+      "description": "V1 error format.",
+      "enum": [
+        "1",
+        "2"
+      ],
+      "enumDescriptions": [
+        "v1 error format",
+        "v2 error format"
+      ],
+      "type": "string",
+      "location": "query"
+    },
+    "callback": {
+      "description": "JSONP",
+      "type": "string",
+      "location": "query"
+    },
+    "oauth_token": {
+      "description": "OAuth 2.0 token for the current user.",
+      "type": "string",
+      "location": "query"
+    },
+    "uploadType": {
+      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+      "type": "string",
+      "location": "query"
+    },
+    "bearer_token": {
+      "description": "OAuth bearer token.",
+      "type": "string",
+      "location": "query"
+    },
+    "upload_protocol": {
+      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+      "type": "string",
+      "location": "query"
+    }
+  },
+  "documentationLink": "https://developers.google.com/sheets/",
+  "ownerDomain": "google.com",
+  "batchPath": "batch",
+  "servicePath": "",
+  "ownerName": "Google",
+  "version": "v4",
+  "rootUrl": "https://sheets.googleapis.com/",
+  "kind": "discovery#restDescription"
+}
diff --git a/sheets/v4/sheets-gen.go b/sheets/v4/sheets-gen.go
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/sheets/v4/sheets-gen.go
@@ -0,0 +1,6002 @@
+// Package sheets provides access to the Google Sheets API.
+//
+// See https://developers.google.com/sheets/
+//
+// Usage example:
+//
+//   import "google.golang.org/api/sheets/v4"
+//   ...
+//   sheetsService, err := sheets.New(oauthHttpClient)
+package sheets // import "google.golang.org/api/sheets/v4"
+
+import (
+	"bytes"
+	"encoding/json"
+	"errors"
+	"fmt"
+	context "golang.org/x/net/context"
+	ctxhttp "golang.org/x/net/context/ctxhttp"
+	gensupport "google.golang.org/api/gensupport"
+	googleapi "google.golang.org/api/googleapi"
+	"io"
+	"net/http"
+	"net/url"
+	"strconv"
+	"strings"
+)
+
+// Always reference these packages, just in case the auto-generated code
+// below doesn't.
+var _ = bytes.NewBuffer
+var _ = strconv.Itoa
+var _ = fmt.Sprintf
+var _ = json.NewDecoder
+var _ = io.Copy
+var _ = url.Parse
+var _ = gensupport.MarshalJSON
+var _ = googleapi.Version
+var _ = errors.New
+var _ = strings.Replace
+var _ = context.Canceled
+var _ = ctxhttp.Do
+
+const apiId = "sheets:v4"
+const apiName = "sheets"
+const apiVersion = "v4"
+const basePath = "https://sheets.googleapis.com/"
+
+// OAuth2 scopes used by this API.
+const (
+	// View and manage the files in your Google Drive
+	DriveScope = "https://www.googleapis.com/auth/drive"
+
+	// View the files in your Google Drive
+	DriveReadonlyScope = "https://www.googleapis.com/auth/drive.readonly"
+
+	// View and manage your spreadsheets in Google Drive
+	SpreadsheetsScope = "https://www.googleapis.com/auth/spreadsheets"
+
+	// View your Google Spreadsheets
+	SpreadsheetsReadonlyScope = "https://www.googleapis.com/auth/spreadsheets.readonly"
+)
+
+func New(client *http.Client) (*Service, error) {
+	if client == nil {
+		return nil, errors.New("client is nil")
+	}
+	s := &Service{client: client, BasePath: basePath}
+	s.Spreadsheets = NewSpreadsheetsService(s)
+	return s, nil
+}
+
+type Service struct {
+	client    *http.Client
+	BasePath  string // API endpoint base URL
+	UserAgent string // optional additional User-Agent fragment
+
+	Spreadsheets *SpreadsheetsService
+}
+
+func (s *Service) userAgent() string {
+	if s.UserAgent == "" {
+		return googleapi.UserAgent
+	}
+	return googleapi.UserAgent + " " + s.UserAgent
+}
+
+func NewSpreadsheetsService(s *Service) *SpreadsheetsService {
+	rs := &SpreadsheetsService{s: s}
+	rs.Sheets = NewSpreadsheetsSheetsService(s)
+	rs.Values = NewSpreadsheetsValuesService(s)
+	return rs
+}
+
+type SpreadsheetsService struct {
+	s *Service
+
+	Sheets *SpreadsheetsSheetsService
+
+	Values *SpreadsheetsValuesService
+}
+
+func NewSpreadsheetsSheetsService(s *Service) *SpreadsheetsSheetsService {
+	rs := &SpreadsheetsSheetsService{s: s}
+	return rs
+}
+
+type SpreadsheetsSheetsService struct {
+	s *Service
+}
+
+func NewSpreadsheetsValuesService(s *Service) *SpreadsheetsValuesService {
+	rs := &SpreadsheetsValuesService{s: s}
+	return rs
+}
+
+type SpreadsheetsValuesService struct {
+	s *Service
+}
+
+// AddChartRequest: Adds a chart to a sheet in the spreadsheet.
+type AddChartRequest struct {
+	// Chart: The chart that should be added to the spreadsheet, including
+	// the position
+	// where it should be placed.
+	Chart *EmbeddedChart `json:"chart,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Chart") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *AddChartRequest) MarshalJSON() ([]byte, error) {
+	type noMethod AddChartRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// AddChartResponse: The result of adding a chart to a spreadsheet.
+type AddChartResponse struct {
+	// Chart: The newly added chart.
+	Chart *EmbeddedChart `json:"chart,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Chart") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *AddChartResponse) MarshalJSON() ([]byte, error) {
+	type noMethod AddChartResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// AddConditionalFormatRuleRequest: Adds a new conditional format rule
+// at the given index.
+// All subsequent rules' indexes are incremented.
+type AddConditionalFormatRuleRequest struct {
+	// Index: The zero-based index where the rule should be inserted.
+	Index int64 `json:"index,omitempty"`
+
+	// Rule: The rule to add.
+	Rule *ConditionalFormatRule `json:"rule,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Index") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *AddConditionalFormatRuleRequest) MarshalJSON() ([]byte, error) {
+	type noMethod AddConditionalFormatRuleRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// AddFilterViewRequest: Adds a filter view.
+type AddFilterViewRequest struct {
+	// Filter: The filter to add.
+	Filter *FilterView `json:"filter,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Filter") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *AddFilterViewRequest) MarshalJSON() ([]byte, error) {
+	type noMethod AddFilterViewRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// AddFilterViewResponse: The result of adding a filter view.
+type AddFilterViewResponse struct {
+	// Filter: The newly added filter view.
+	Filter *FilterView `json:"filter,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Filter") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *AddFilterViewResponse) MarshalJSON() ([]byte, error) {
+	type noMethod AddFilterViewResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// AddNamedRangeRequest: Adds a named range to the spreadsheet.
+type AddNamedRangeRequest struct {
+	// NamedRange: The named range to add. If a non-empty
+	// namedRangeId is specified, the named range
+	// will use that ID. (It is an error to specify the ID of a named
+	// range that already exists.)
+	NamedRange *NamedRange `json:"namedRange,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "NamedRange") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *AddNamedRangeRequest) MarshalJSON() ([]byte, error) {
+	type noMethod AddNamedRangeRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// AddNamedRangeResponse: The result of adding a named range.
+type AddNamedRangeResponse struct {
+	// NamedRange: The named range to add.
+	NamedRange *NamedRange `json:"namedRange,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "NamedRange") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *AddNamedRangeResponse) MarshalJSON() ([]byte, error) {
+	type noMethod AddNamedRangeResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// AddProtectedRangeRequest: Adds a new protected range.
+type AddProtectedRangeRequest struct {
+	// ProtectedRange: The protected range to be added.
+	ProtectedRange *ProtectedRange `json:"protectedRange,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "ProtectedRange") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *AddProtectedRangeRequest) MarshalJSON() ([]byte, error) {
+	type noMethod AddProtectedRangeRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// AddProtectedRangeResponse: The result of adding a new protected
+// range.
+type AddProtectedRangeResponse struct {
+	// ProtectedRange: The newly added protected range.
+	ProtectedRange *ProtectedRange `json:"protectedRange,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "ProtectedRange") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *AddProtectedRangeResponse) MarshalJSON() ([]byte, error) {
+	type noMethod AddProtectedRangeResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// AddSheetRequest: Adds a new sheet.
+// When a sheet is added at a given index,
+// all subsequent sheets' indexes are incremented.
+// To add an object sheet, use AddChartRequest instead.
+type AddSheetRequest struct {
+	// Properties: The properties the new sheet should have.
+	// All properties are optional.
+	// If a sheetId
+	// is specified, the sheet will use that ID.
+	// (It is an error to specify the ID of a sheet that already exists.)
+	Properties *SheetProperties `json:"properties,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Properties") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *AddSheetRequest) MarshalJSON() ([]byte, error) {
+	type noMethod AddSheetRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// AddSheetResponse: The result of adding a sheet.
+type AddSheetResponse struct {
+	// Properties: The properties of the newly added sheet.
+	Properties *SheetProperties `json:"properties,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Properties") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *AddSheetResponse) MarshalJSON() ([]byte, error) {
+	type noMethod AddSheetResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// AppendCellsRequest: Adds new cells to the last row with data in a
+// sheet,
+// inserting new rows into the sheet if necessary.
+type AppendCellsRequest struct {
+	// Fields: The fields of CellData that should be updated.
+	// At least one field must be specified.
+	// The root is the CellData; 'row.values.' should not be specified.
+	// A single "*" can be used as short-hand for listing every field.
+	Fields string `json:"fields,omitempty"`
+
+	// Rows: The data to append.
+	Rows []*RowData `json:"rows,omitempty"`
+
+	// SheetId: The sheet ID to append the data to.
+	SheetId int64 `json:"sheetId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Fields") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *AppendCellsRequest) MarshalJSON() ([]byte, error) {
+	type noMethod AppendCellsRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// AppendDimensionRequest: Appends rows or columns to the end of a
+// sheet.
+type AppendDimensionRequest struct {
+	// Dimension: Whether rows or columns should be appended.
+	//
+	// Possible values:
+	//   "DIMENSION_UNSPECIFIED" - The default value, do not use.
+	//   "ROWS" - Operates on the rows of a sheet.
+	//   "COLUMNS" - Operates on the columns of a sheet.
+	Dimension string `json:"dimension,omitempty"`
+
+	// Length: The number of rows or columns to append.
+	Length int64 `json:"length,omitempty"`
+
+	// SheetId: The sheet to append rows or columns to.
+	SheetId int64 `json:"sheetId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Dimension") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *AppendDimensionRequest) MarshalJSON() ([]byte, error) {
+	type noMethod AppendDimensionRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// AutoFillRequest: Fills in more data based on existing data.
+type AutoFillRequest struct {
+	// Range: The range to autofill. This will examine the range and
+	// detect
+	// the location that has data and automatically fill that data
+	// in to the rest of the range.
+	Range *GridRange `json:"range,omitempty"`
+
+	// SourceAndDestination: The source and destination areas to
+	// autofill.
+	// This explicitly lists the source of the autofill and where to
+	// extend that data.
+	SourceAndDestination *SourceAndDestination `json:"sourceAndDestination,omitempty"`
+
+	// UseAlternateSeries: True if we should generate data with the
+	// "alternate" series.
+	// This differs based on the type and amount of source data.
+	UseAlternateSeries bool `json:"useAlternateSeries,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Range") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *AutoFillRequest) MarshalJSON() ([]byte, error) {
+	type noMethod AutoFillRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// AutoResizeDimensionsRequest: Automatically resizes one or more
+// dimensions based on the contents
+// of the cells in that dimension.
+type AutoResizeDimensionsRequest struct {
+	// Dimensions: The dimensions to automatically resize.
+	// Only COLUMNS are supported.
+	Dimensions *DimensionRange `json:"dimensions,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Dimensions") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *AutoResizeDimensionsRequest) MarshalJSON() ([]byte, error) {
+	type noMethod AutoResizeDimensionsRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// BasicChartAxis: An axis of the chart.
+// A chart may not have more than one axis per
+// axis position.
+type BasicChartAxis struct {
+	// Format: The format of the title.
+	// Only valid if the axis is not associated with the domain.
+	Format *TextFormat `json:"format,omitempty"`
+
+	// Position: The position of this axis.
+	//
+	// Possible values:
+	//   "BASIC_CHART_AXIS_POSITION_UNSPECIFIED" - Default value, do not
+	// use.
+	//   "BOTTOM_AXIS" - The axis rendered at the bottom of a chart.
+	// For most charts, this is the standard major axis.
+	// For bar charts, this is a minor axis.
+	//   "LEFT_AXIS" - The axis rendered at the left of a chart.
+	// For most charts, this is a minor axis.
+	// For bar charts, this is the standard major axis.
+	//   "RIGHT_AXIS" - The axis rendered at the right of a chart.
+	// For most charts, this is a minor axis.
+	// For bar charts, this is an unusual major axis.
+	Position string `json:"position,omitempty"`
+
+	// Title: The title of this axis. If set, this overrides any title
+	// inferred
+	// from headers of the data.
+	Title string `json:"title,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Format") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *BasicChartAxis) MarshalJSON() ([]byte, error) {
+	type noMethod BasicChartAxis
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// BasicChartDomain: The domain of a chart.
+// For example, if charting stock prices over time, this would be the
+// date.
+type BasicChartDomain struct {
+	// Domain: The data of the domain. For example, if charting stock prices
+	// over time,
+	// this be the data representing the dates.
+	Domain *ChartData `json:"domain,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Domain") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *BasicChartDomain) MarshalJSON() ([]byte, error) {
+	type noMethod BasicChartDomain
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// BasicChartSeries: A single series of data in a chart.
+// For example, if charting stock prices over time, multiple series may
+// exist,
+// one for the "Open Price", "High Price", "Low Price" and "Close
+// Price".
+type BasicChartSeries struct {
+	// Series: The data being visualized in this chart series.
+	Series *ChartData `json:"series,omitempty"`
+
+	// TargetAxis: The minor axis that will specify the range of values for
+	// this series.
+	// For example, if charting stocks over time, the "Volume" series
+	// may want to be pinned to the right with the prices pinned to the
+	// left,
+	// because the scale of trading volume is different than the scale
+	// of
+	// prices.
+	// It is an error to specify an axis that isn't a valid minor axis
+	// for the chart's type.
+	//
+	// Possible values:
+	//   "BASIC_CHART_AXIS_POSITION_UNSPECIFIED" - Default value, do not
+	// use.
+	//   "BOTTOM_AXIS" - The axis rendered at the bottom of a chart.
+	// For most charts, this is the standard major axis.
+	// For bar charts, this is a minor axis.
+	//   "LEFT_AXIS" - The axis rendered at the left of a chart.
+	// For most charts, this is a minor axis.
+	// For bar charts, this is the standard major axis.
+	//   "RIGHT_AXIS" - The axis rendered at the right of a chart.
+	// For most charts, this is a minor axis.
+	// For bar charts, this is an unusual major axis.
+	TargetAxis string `json:"targetAxis,omitempty"`
+
+	// Type: The type of this series. Valid only if the
+	// chartType is
+	// COMBO.
+	// Different types will change the way the series is visualized.
+	// Only LINE, AREA,
+	// and COLUMN are supported.
+	//
+	// Possible values:
+	//   "BASIC_CHART_TYPE_UNSPECIFIED" - Default value, do not use.
+	//   "BAR" - A <a href="/chart/interactive/docs/gallery/barchart">bar
+	// chart</a>.
+	//   "LINE" - A <a href="/chart/interactive/docs/gallery/linechart">line
+	// chart</a>.
+	//   "AREA" - An <a
+	// href="/chart/interactive/docs/gallery/areachart">area chart</a>.
+	//   "COLUMN" - A <a
+	// href="/chart/interactive/docs/gallery/columnchart">column chart</a>.
+	//   "SCATTER" - A <a
+	// href="/chart/interactive/docs/gallery/scatterchart">scatter
+	// chart</a>.
+	//   "COMBO" - A <a
+	// href="/chart/interactive/docs/gallery/combochart">combo chart</a>.
+	Type string `json:"type,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Series") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *BasicChartSeries) MarshalJSON() ([]byte, error) {
+	type noMethod BasicChartSeries
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// BasicChartSpec: The specification for a basic chart.  See
+// BasicChartType for the list
+// of charts this supports.
+type BasicChartSpec struct {
+	// Axis: The axis on the chart.
+	Axis []*BasicChartAxis `json:"axis,omitempty"`
+
+	// ChartType: The type of the chart.
+	//
+	// Possible values:
+	//   "BASIC_CHART_TYPE_UNSPECIFIED" - Default value, do not use.
+	//   "BAR" - A <a href="/chart/interactive/docs/gallery/barchart">bar
+	// chart</a>.
+	//   "LINE" - A <a href="/chart/interactive/docs/gallery/linechart">line
+	// chart</a>.
+	//   "AREA" - An <a
+	// href="/chart/interactive/docs/gallery/areachart">area chart</a>.
+	//   "COLUMN" - A <a
+	// href="/chart/interactive/docs/gallery/columnchart">column chart</a>.
+	//   "SCATTER" - A <a
+	// href="/chart/interactive/docs/gallery/scatterchart">scatter
+	// chart</a>.
+	//   "COMBO" - A <a
+	// href="/chart/interactive/docs/gallery/combochart">combo chart</a>.
+	ChartType string `json:"chartType,omitempty"`
+
+	// Domains: The domain of data this is charting.
+	// Only a single domain is currently supported.
+	Domains []*BasicChartDomain `json:"domains,omitempty"`
+
+	// HeaderCount: The number of rows or columns in the data that are
+	// "headers".
+	// If not set, Google Sheets will guess how many rows are headers
+	// based
+	// on the data.
+	//
+	// (Note that BasicChartAxis.title may override the axis title
+	//  inferred from the header values.)
+	HeaderCount int64 `json:"headerCount,omitempty"`
+
+	// LegendPosition: The position of the chart legend.
+	//
+	// Possible values:
+	//   "BASIC_CHART_LEGEND_POSITION_UNSPECIFIED" - Default value, do not
+	// use.
+	//   "BOTTOM_LEGEND" - The legend is rendered on the bottom of the
+	// chart.
+	//   "LEFT_LEGEND" - The legend is rendered on the left of the chart.
+	//   "RIGHT_LEGEND" - The legend is rendered on the right of the chart.
+	//   "TOP_LEGEND" - The legend is rendered on the top of the chart.
+	//   "NO_LEGEND" - No legend is rendered.
+	LegendPosition string `json:"legendPosition,omitempty"`
+
+	// Series: The data this chart is visualizing.
+	Series []*BasicChartSeries `json:"series,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Axis") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *BasicChartSpec) MarshalJSON() ([]byte, error) {
+	type noMethod BasicChartSpec
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// BasicFilter: The default filter associated with a sheet.
+type BasicFilter struct {
+	// Criteria: The criteria for showing/hiding values per column.
+	// The map's key is the column index, and the value is the criteria
+	// for
+	// that column.
+	Criteria map[string]FilterCriteria `json:"criteria,omitempty"`
+
+	// Range: The range the filter covers.
+	Range *GridRange `json:"range,omitempty"`
+
+	// SortSpecs: The sort order per column. Later specifications are used
+	// when values
+	// are equal in the earlier specifications.
+	SortSpecs []*SortSpec `json:"sortSpecs,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Criteria") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *BasicFilter) MarshalJSON() ([]byte, error) {
+	type noMethod BasicFilter
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// BatchGetValuesResponse: The response when retrieving more than one
+// range of values in a spreadsheet.
+type BatchGetValuesResponse struct {
+	// SpreadsheetId: The id of the spreadsheet to retrieve data from.
+	SpreadsheetId string `json:"spreadsheetId,omitempty"`
+
+	// ValueRanges: The requested values. The order of the ValueRanges is
+	// the same as the
+	// order of the requested ranges.
+	ValueRanges []*ValueRange `json:"valueRanges,omitempty"`
+
+	// ServerResponse contains the HTTP response code and headers from the
+	// server.
+	googleapi.ServerResponse `json:"-"`
+
+	// ForceSendFields is a list of field names (e.g. "SpreadsheetId") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *BatchGetValuesResponse) MarshalJSON() ([]byte, error) {
+	type noMethod BatchGetValuesResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// BatchUpdateSpreadsheetRequest: The request for updating any aspect of
+// a spreadsheet.
+type BatchUpdateSpreadsheetRequest struct {
+	// Requests: A list of updates to apply to the spreadsheet.
+	Requests []*Request `json:"requests,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Requests") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *BatchUpdateSpreadsheetRequest) MarshalJSON() ([]byte, error) {
+	type noMethod BatchUpdateSpreadsheetRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// BatchUpdateSpreadsheetResponse: The reply for batch updating a
+// spreadsheet.
+type BatchUpdateSpreadsheetResponse struct {
+	// Replies: The reply of the updates.  This maps 1:1 with the updates,
+	// although
+	// replies to some requests may be empty.
+	Replies []*Response `json:"replies,omitempty"`
+
+	// SpreadsheetId: The spreadsheet the updates were applied to.
+	SpreadsheetId string `json:"spreadsheetId,omitempty"`
+
+	// ServerResponse contains the HTTP response code and headers from the
+	// server.
+	googleapi.ServerResponse `json:"-"`
+
+	// ForceSendFields is a list of field names (e.g. "Replies") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *BatchUpdateSpreadsheetResponse) MarshalJSON() ([]byte, error) {
+	type noMethod BatchUpdateSpreadsheetResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// BatchUpdateValuesRequest: The request for updating more than one
+// range of values in a spreadsheet.
+type BatchUpdateValuesRequest struct {
+	// Data: The new values to apply to the spreadsheet.
+	Data []*ValueRange `json:"data,omitempty"`
+
+	// ValueInputOption: How the input data should be interpreted.
+	//
+	// Possible values:
+	//   "INPUT_VALUE_OPTION_UNSPECIFIED" - Default input value. This value
+	// must not be used.
+	//   "RAW" - The values the user is entered will not be parsed and will
+	// be stored
+	// as-is.
+	//   "USER_ENTERED" - The values will be parsed as if the user typed
+	// them into the UI.
+	// Numbers will stay as numbers, but strings may be converted to
+	// numbers,
+	// dates, etc.. following the same rules that are applied when
+	// entering
+	// text into a cell via the Google Sheets UI.
+	ValueInputOption string `json:"valueInputOption,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Data") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *BatchUpdateValuesRequest) MarshalJSON() ([]byte, error) {
+	type noMethod BatchUpdateValuesRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// BatchUpdateValuesResponse: The response when updating a range of
+// values in a spreadsheet.
+type BatchUpdateValuesResponse struct {
+	// Responses: One UpdateValuesResponse per requested range, in the same
+	// order as
+	// the requests appeared.
+	Responses []*UpdateValuesResponse `json:"responses,omitempty"`
+
+	// SpreadsheetId: The spreadsheet the updates were applied to.
+	SpreadsheetId string `json:"spreadsheetId,omitempty"`
+
+	// TotalUpdatedCells: The total number of cells updated.
+	TotalUpdatedCells int64 `json:"totalUpdatedCells,omitempty"`
+
+	// TotalUpdatedColumns: The total number of columns where at least one
+	// cell in the column was
+	// updated.
+	TotalUpdatedColumns int64 `json:"totalUpdatedColumns,omitempty"`
+
+	// TotalUpdatedRows: The total number of rows where at least one cell in
+	// the row was updated.
+	TotalUpdatedRows int64 `json:"totalUpdatedRows,omitempty"`
+
+	// TotalUpdatedSheets: The total number of sheets where at least one
+	// cell in the sheet was
+	// updated.
+	TotalUpdatedSheets int64 `json:"totalUpdatedSheets,omitempty"`
+
+	// ServerResponse contains the HTTP response code and headers from the
+	// server.
+	googleapi.ServerResponse `json:"-"`
+
+	// ForceSendFields is a list of field names (e.g. "Responses") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *BatchUpdateValuesResponse) MarshalJSON() ([]byte, error) {
+	type noMethod BatchUpdateValuesResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// BooleanCondition: A condition that can evaluate to true or
+// false.
+// BooleanConditions are used by conditional formatting,
+// data validation, and the criteria in filters.
+type BooleanCondition struct {
+	// Type: The type of condition.
+	//
+	// Possible values:
+	//   "CONDITION_TYPE_UNSPECIFIED" - The default value, do not use.
+	//   "NUMBER_GREATER" - The cell's value must be greater than the
+	// condition's value.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue.
+	//   "NUMBER_GREATER_THAN_EQ" - The cell's value must be greater than or
+	// equal to the condition's value.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue.
+	//   "NUMBER_LESS" - The cell's value must be less than the condition's
+	// value.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue.
+	//   "NUMBER_LESS_THAN_EQ" - The cell's value must be less than or equal
+	// to the condition's value.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue.
+	//   "NUMBER_EQ" - The cell's value must be equal to the condition's
+	// value.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue.
+	//   "NUMBER_NOT_EQ" - The cell's value must be not equal to the
+	// condition's value.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue.
+	//   "NUMBER_BETWEEN" - The cell's value must be between the two
+	// condition values.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires exactly two ConditionValues.
+	//   "NUMBER_NOT_BETWEEN" - The cell's value must not be between the two
+	// condition values.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires exactly two ConditionValues.
+	//   "TEXT_CONTAINS" - The cell's value must contain the condition's
+	// value.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue.
+	//   "TEXT_NOT_CONTAINS" - The cell's value must not contain the
+	// condition's value.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue.
+	//   "TEXT_STARTS_WITH" - The cell's value must start with the
+	// condition's value.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue.
+	//   "TEXT_ENDS_WITH" - The cell's value must end with the condition's
+	// value.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue.
+	//   "TEXT_EQ" - The cell's value must be exactly the condition's
+	// value.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue.
+	//   "TEXT_IS_EMAIL" - The cell's value must be a valid email
+	// address.
+	// Supported by data validation.
+	// Requires no ConditionValues.
+	//   "TEXT_IS_URL" - The cell's value must be a valid URL.
+	// Supported by data validation.
+	// Requires no ConditionValues.
+	//   "DATE_EQ" - The cell's value must be the same date as the
+	// condition's value.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue.
+	//   "DATE_BEFORE" - The cell's value must be before the date of the
+	// condition's value.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue
+	// that may be a relative date.
+	//   "DATE_AFTER" - The cell's value must be after the date of the
+	// condition's value.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue
+	// that may be a relative date.
+	//   "DATE_ON_OR_BEFORE" - The cell's value must be on or before the
+	// date of the condition's value.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue
+	// that may be a relative date.
+	//   "DATE_ON_OR_AFTER" - The cell's value must be on or after the date
+	// of the condition's value.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue
+	// that may be a relative date.
+	//   "DATE_BETWEEN" - The cell's value must be between the dates of the
+	// two condition values.
+	// Supported by data validation.
+	// Requires exactly two ConditionValues.
+	//   "DATE_NOT_BETWEEN" - The cell's value must be outside the dates of
+	// the two condition values.
+	// Supported by data validation.
+	// Requires exactly two ConditionValues.
+	//   "DATE_IS_VALID" - The cell's value must be a date.
+	// Supported by data validation.
+	// Requires no ConditionValues.
+	//   "ONE_OF_RANGE" - The cell's value must be listed in the grid in
+	// condition value's range.
+	// Supported by data validation.
+	// Requires a single ConditionValue,
+	// and the value must be a valid range in A1 notation.
+	//   "ONE_OF_LIST" - The cell's value must in the list of condition
+	// values.
+	// Supported by data validation.
+	// Supports any number of condition values,
+	// one per item in the list.
+	// Formulas are not supported in the values.
+	//   "BLANK" - The cell's value must be empty.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires no ConditionValues.
+	//   "NOT_BLANK" - The cell's value must not be empty.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires no ConditionValues.
+	//   "CUSTOM_FORMULA" - The condition's formula must evaluate to
+	// true.
+	// Supported by data validation, conditional formatting and
+	// filters.
+	// Requires a single ConditionValue.
+	Type string `json:"type,omitempty"`
+
+	// Values: The values of the condition. The number of supported values
+	// depends
+	// on the condition type.  Some support zero values,
+	// others one or two values,
+	// and ConditionType.ONE_OF_LIST supports an arbitrary number of values.
+	Values []*ConditionValue `json:"values,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Type") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *BooleanCondition) MarshalJSON() ([]byte, error) {
+	type noMethod BooleanCondition
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// BooleanRule: A rule that may or may not match, depending on the
+// condition.
+type BooleanRule struct {
+	// Condition: The condition of the rule. If the condition evaluates to
+	// true,
+	// the format will be applied.
+	Condition *BooleanCondition `json:"condition,omitempty"`
+
+	// Format: The format to apply.
+	// Conditional formatting can only apply a subset of formatting:
+	// bold, italic,
+	// strikethrough,
+	// foreground color &
+	// background color.
+	Format *CellFormat `json:"format,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Condition") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *BooleanRule) MarshalJSON() ([]byte, error) {
+	type noMethod BooleanRule
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// Border: A border along a cell.
+type Border struct {
+	// Color: The color of the border.
+	Color *Color `json:"color,omitempty"`
+
+	// Style: The style of the border.
+	//
+	// Possible values:
+	//   "STYLE_UNSPECIFIED" - The style is not specified. Do not use this.
+	//   "DOTTED" - The border is dotted.
+	//   "DASHED" - The border is dashed.
+	//   "SOLID" - The border is a solid line.
+	//   "NONE" - No border.
+	// Used only when updating a border in order erase it.
+	//   "DOUBLE" - The border is double (two solid lines).
+	Style string `json:"style,omitempty"`
+
+	// Width: The width of the border, in pixels.
+	// Border widths must be between 0 and 3 pixels.
+	Width int64 `json:"width,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Color") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *Border) MarshalJSON() ([]byte, error) {
+	type noMethod Border
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// Borders: The borders of the cell.
+type Borders struct {
+	// Bottom: The bottom border of the cell.
+	Bottom *Border `json:"bottom,omitempty"`
+
+	// Left: The left border of the cell.
+	Left *Border `json:"left,omitempty"`
+
+	// Right: The right border of the cell.
+	Right *Border `json:"right,omitempty"`
+
+	// Top: The top border of the cell.
+	Top *Border `json:"top,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Bottom") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *Borders) MarshalJSON() ([]byte, error) {
+	type noMethod Borders
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// CellData: Data about a specific cell.
+type CellData struct {
+	// DataValidation: A data validation rule on the cell, if any.
+	//
+	// When writing, the new data validation rule will overwrite any prior
+	// rule.
+	DataValidation *DataValidationRule `json:"dataValidation,omitempty"`
+
+	// EffectiveFormat: The effective format being used by the cell.
+	// This includes the results of applying any conditional formatting
+	// and,
+	// if the cell contains a formula, the computed number format.
+	// If the effective format is the default format, effective format
+	// will
+	// not be written.
+	// This field is read-only.
+	EffectiveFormat *CellFormat `json:"effectiveFormat,omitempty"`
+
+	// EffectiveValue: The effective value of the cell. For cells with
+	// formulas, this will be
+	// the calculated value.  For cells with literals, this will be
+	// the same as the user_entered_value.
+	// This field is read-only.
+	EffectiveValue *ExtendedValue `json:"effectiveValue,omitempty"`
+
+	// FormattedValue: The formatted value of the cell.
+	// This is the value as it's shown to the user.
+	// This field is read-only.
+	FormattedValue string `json:"formattedValue,omitempty"`
+
+	// Hyperlink: A hyperlink this cell points to, if any.
+	// This field is read-only.  (To set it, use a `=HYPERLINK` formula.)
+	Hyperlink string `json:"hyperlink,omitempty"`
+
+	// Note: Any note on the cell.
+	Note string `json:"note,omitempty"`
+
+	// PivotTable: A pivot table anchored at this cell. The size of pivot
+	// table itself
+	// is computed dynamically based on its data, grouping, filters,
+	// values,
+	// etc... Only the top-left cell of the pivot table contains the pivot
+	// table
+	// definition. The other cells will contain the calculated values of
+	// the
+	// results of the pivot in their effectiveValue fields.
+	PivotTable *PivotTable `json:"pivotTable,omitempty"`
+
+	// TextFormatRuns: Runs of rich text applied to subsections of the
+	// cell.
+	// Runs start at specific indexes in the text and continue until the
+	// next
+	// run. Properties of a run will continue unless explicitly changed
+	// in a subsequent run (and properties of the first run will
+	// continue
+	// the properties of the cell unless explicitly changed).
+	//
+	// When writing, the new runs will overwrite any prior runs.
+	TextFormatRuns []*TextFormatRun `json:"textFormatRuns,omitempty"`
+
+	// UserEnteredFormat: The format the user entered for the cell.
+	//
+	// When writing, the new format will be merged with the existing format.
+	UserEnteredFormat *CellFormat `json:"userEnteredFormat,omitempty"`
+
+	// UserEnteredValue: The value the user entered in the cell. e.g,
+	// `1234`, `'Hello'`, or `=NOW()`
+	// Note: Dates, Times and DateTimes are represented as doubles in
+	// serial number format.
+	UserEnteredValue *ExtendedValue `json:"userEnteredValue,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "DataValidation") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *CellData) MarshalJSON() ([]byte, error) {
+	type noMethod CellData
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// CellFormat: The format of a cell.
+type CellFormat struct {
+	// BackgroundColor: The background color of the cell.
+	BackgroundColor *Color `json:"backgroundColor,omitempty"`
+
+	// Borders: The borders of the cell.
+	Borders *Borders `json:"borders,omitempty"`
+
+	// HorizontalAlignment: The horizontal alignment of the value in cell.
+	//
+	// Possible values:
+	//   "HORIZONTAL_ALIGN_UNSPECIFIED" - The horizontal alignment is not
+	// specified. Do not use this.
+	//   "LEFT" - The text is explicitly aligned to the left of the cell.
+	//   "CENTER" - The text is explicitly aligned to the center of the
+	// cell.
+	//   "RIGHT" - The text is explicitly aligned to the right of the cell.
+	HorizontalAlignment string `json:"horizontalAlignment,omitempty"`
+
+	// HyperlinkDisplayType: How a hyperlink, if it exists, should be
+	// displayed in the cell.
+	//
+	// Possible values:
+	//   "HYPERLINK_DISPLAY_TYPE_UNSPECIFIED" - The default value: the
+	// hyperlink is clickable. Do not use this.
+	//   "LINKED" - A hyperlink should be explicitly rendered.
+	//   "PLAIN_TEXT" - A hyperlink should not be rendered.
+	HyperlinkDisplayType string `json:"hyperlinkDisplayType,omitempty"`
+
+	// NumberFormat: A format describing how number values should be
+	// represented to the user.
+	NumberFormat *NumberFormat `json:"numberFormat,omitempty"`
+
+	// Padding: The padding of the cell.
+	Padding *Padding `json:"padding,omitempty"`
+
+	// TextDirection: The direction of the text in the cell.
+	//
+	// Possible values:
+	//   "TEXT_DIRECTION_UNSPECIFIED" - The text direction is not specified.
+	// Do not use this.
+	//   "LEFT_TO_RIGHT" - The text direction of left-to-right was set by
+	// the user.
+	//   "RIGHT_TO_LEFT" - The text direction of right-to-left was set by
+	// the user.
+	TextDirection string `json:"textDirection,omitempty"`
+
+	// TextFormat: The format of the text in the cell (unless overridden by
+	// a format run).
+	TextFormat *TextFormat `json:"textFormat,omitempty"`
+
+	// VerticalAlignment: The vertical alignment of the value in cell.
+	//
+	// Possible values:
+	//   "VERTICAL_ALIGN_UNSPECIFIED" - The vertical alignment is not
+	// specified.  Do not use this.
+	//   "TOP" - The text is explicitly aligned to the top of the cell.
+	//   "MIDDLE" - The text is explicitly aligned to the middle of the
+	// cell.
+	//   "BOTTOM" - The text is explicitly aligned to the bottom of the
+	// cell.
+	VerticalAlignment string `json:"verticalAlignment,omitempty"`
+
+	// WrapStrategy: The wrap strategy for the value in the cell.
+	//
+	// Possible values:
+	//   "WRAP_STRATEGY_UNSPECIFIED" - The default value, do not use.
+	//   "OVERFLOW_CELL" - Lines that are longer than the cell width will be
+	// written in the next
+	// cell over, so long as that cell is empty. If the next cell over
+	// is
+	// non-empty, this behaves the same as CLIP. The text will never wrap
+	// to the next line unless the user manually inserts a new
+	// line.
+	// Example:
+	//
+	//     | First sentence. |
+	//     | Manual newline that is very long. <- Text continues into next
+	// cell
+	//     | Next newline.   |
+	//   "LEGACY_WRAP" - This wrap strategy represents the old Google Sheets
+	// wrap strategy where
+	// words that are longer than a line are clipped rather than broken.
+	// This
+	// strategy is not supported on all platforms and is being phased
+	// out.
+	// Example:
+	//
+	//     | Cell has a |
+	//     | loooooooooo|ong <- Word is clipped.
+	//     | word.      |
+	//   "CLIP" - Lines that are longer than the cell width will be
+	// clipped.
+	// The text will never wrap to the next line unless the user
+	// manually
+	// inserts a new line.
+	// Example:
+	//
+	//     | First sentence. |
+	//     | Manual newline t| <- Text is clipped
+	//     | Next newline.   |
+	//   "WRAP" - Words that are longer than a line are wrapped at the
+	// character level
+	// rather than clipped.
+	// Example:
+	//
+	//     | Cell has a |
+	//     | loooooooooo| <- Word is broken.
+	//     | ong word.  |
+	WrapStrategy string `json:"wrapStrategy,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "BackgroundColor") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *CellFormat) MarshalJSON() ([]byte, error) {
+	type noMethod CellFormat
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// ChartData: The data included in a domain or series.
+type ChartData struct {
+	// SourceRange: The source ranges of the data.
+	SourceRange *ChartSourceRange `json:"sourceRange,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "SourceRange") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *ChartData) MarshalJSON() ([]byte, error) {
+	type noMethod ChartData
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// ChartSourceRange: Source ranges for a chart.
+type ChartSourceRange struct {
+	// Sources: The ranges of data for a series or domain.
+	// Exactly one dimension must have a length of 1,
+	// and all sources in the list must have the same dimension
+	// with length 1.
+	// The domain (if it exists) & all series must have the same number
+	// of source ranges. If using more than one source range, then the
+	// source
+	// range at a given offset must be contiguous across the domain and
+	// series.
+	//
+	// For example, these are valid configurations:
+	//
+	//     domain sources: A1:A5
+	//     series1 sources: B1:B5
+	//     series2 sources: D6:D10
+	//
+	//     domain sources: A1:A5, C10:C12
+	//     series1 sources: B1:B5, D10:D12
+	//     series2 sources: C1:C5, E10:E12
+	Sources []*GridRange `json:"sources,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Sources") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *ChartSourceRange) MarshalJSON() ([]byte, error) {
+	type noMethod ChartSourceRange
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// ChartSpec: The specifications of a chart.
+type ChartSpec struct {
+	// BasicChart: A basic chart specification, can be one of many kinds of
+	// charts.
+	// See BasicChartType for the list of all charts this supports.
+	BasicChart *BasicChartSpec `json:"basicChart,omitempty"`
+
+	// HiddenDimensionStrategy: Determines how the charts will use hidden
+	// rows or columns.
+	// This value is only meaningful if the
+	// ChartData.sourceRange
+	// is used for a domain or series.
+	//
+	// Possible values:
+	//   "CHART_HIDDEN_DIMENSION_STRATEGY_UNSPECIFIED" - Default value, do
+	// not use.
+	//   "SKIP_HIDDEN_ROWS_AND_COLUMNS" - Charts will skip hidden rows and
+	// columns.
+	//   "SKIP_HIDDEN_ROWS" - Charts will skip hidden rows only.
+	//   "SKIP_HIDDEN_COLUMNS" - Charts will skip hidden columns only.
+	//   "SHOW_ALL" - Charts will not skip any hidden rows or columns.
+	HiddenDimensionStrategy string `json:"hiddenDimensionStrategy,omitempty"`
+
+	// PieChart: A pie chart specification.
+	PieChart *PieChartSpec `json:"pieChart,omitempty"`
+
+	// Title: The title of the chart.
+	Title string `json:"title,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "BasicChart") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *ChartSpec) MarshalJSON() ([]byte, error) {
+	type noMethod ChartSpec
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// ClearBasicFilterRequest: Clears the basic filter, if any exists on
+// the sheet.
+type ClearBasicFilterRequest struct {
+	// SheetId: The sheet ID on which the basic filter should be cleared.
+	SheetId int64 `json:"sheetId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "SheetId") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *ClearBasicFilterRequest) MarshalJSON() ([]byte, error) {
+	type noMethod ClearBasicFilterRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// Color: Represents a color in the RGBA color space. This
+// representation is designed
+// for simplicity of conversion to/from color representations in
+// various
+// languages over compactness; for example, the fields of this
+// representation
+// can be trivially provided to the constructor of "java.awt.Color" in
+// Java; it
+// can also be trivially provided to UIColor's
+// "+colorWithRed:green:blue:alpha"
+// method in iOS; and, with just a little work, it can be easily
+// formatted into
+// a CSS "rgba()" string in JavaScript, as well. Here are some
+// examples:
+//
+// Example (Java):
+//
+//      import com.google.type.Color;
+//
+//      // ...
+//      public static java.awt.Color fromProto(Color protocolor) {
+//        float alpha = protocolor.hasAlpha()
+//            ? protocolor.getAlpha().getValue()
+//            : 1.0;
+//
+//        return new java.awt.Color(
+//            protocolor.getRed(),
+//            protocolor.getGreen(),
+//            protocolor.getBlue(),
+//            alpha);
+//      }
+//
+//      public static Color toProto(java.awt.Color color) {
+//        float red = (float) color.getRed();
+//        float green = (float) color.getGreen();
+//        float blue = (float) color.getBlue();
+//        float denominator = 255.0;
+//        Color.Builder resultBuilder =
+//            Color
+//                .newBuilder()
+//                .setRed(red / denominator)
+//                .setGreen(green / denominator)
+//                .setBlue(blue / denominator);
+//        int alpha = color.getAlpha();
+//        if (alpha != 255) {
+//          result.setAlpha(
+//              FloatValue
+//                  .newBuilder()
+//                  .setValue(((float) alpha) / denominator)
+//                  .build());
+//        }
+//        return resultBuilder.build();
+//      }
+//      // ...
+//
+// Example (iOS / Obj-C):
+//
+//      // ...
+//      static UIColor* fromProto(Color* protocolor) {
+//         float red = [protocolor red];
+//         float green = [protocolor green];
+//         float blue = [protocolor blue];
+//         FloatValue* alpha_wrapper = [protocolor alpha];
+//         float alpha = 1.0;
+//         if (alpha_wrapper != nil) {
+//           alpha = [alpha_wrapper value];
+//         }
+//         return [UIColor colorWithRed:red green:green blue:blue
+// alpha:alpha];
+//      }
+//
+//      static Color* toProto(UIColor* color) {
+//          CGFloat red, green, blue, alpha;
+//          if (![color getRed:&red green:&green blue:&blue
+// alpha:&alpha]) {
+//            return nil;
+//          }
+//          Color* result = [Color alloc] init];
+//          [result setRed:red];
+//          [result setGreen:green];
+//          [result setBlue:blue];
+//          if (alpha <= 0.9999) {
+//            [result setAlpha:floatWrapperWithValue(alpha)];
+//          }
+//          [result autorelease];
+//          return result;
+//     }
+//     // ...
+//
+//  Example (JavaScript):
+//
+//     // ...
+//
+//     var protoToCssColor = function(rgb_color) {
+//        var redFrac = rgb_color.red || 0.0;
+//        var greenFrac = rgb_color.green || 0.0;
+//        var blueFrac = rgb_color.blue || 0.0;
+//        var red = Math.floor(redFrac * 255);
+//        var green = Math.floor(greenFrac * 255);
+//        var blue = Math.floor(blueFrac * 255);
+//
+//        if (!('alpha' in rgb_color)) {
+//           return rgbToCssColor_(red, green, blue);
+//        }
+//
+//        var alphaFrac = rgb_color.alpha.value || 0.0;
+//        var rgbParams = [red, green, blue].join(',');
+//        return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
+//     };
+//
+//     var rgbToCssColor_ = function(red, green, blue) {
+//       var rgbNumber = new Number((red << 16) | (green << 8) | blue);
+//       var hexString = rgbNumber.toString(16);
+//       var missingZeros = 6 - hexString.length;
+//       var resultBuilder = ['#'];
+//       for (var i = 0; i < missingZeros; i++) {
+//          resultBuilder.push('0');
+//       }
+//       resultBuilder.push(hexString);
+//       return resultBuilder.join('');
+//     };
+//
+//     // ...
+type Color struct {
+	// Alpha: The fraction of this color that should be applied to the
+	// pixel. That is,
+	// the final pixel color is defined by the equation:
+	//
+	//   pixel color = alpha * (this color) + (1.0 - alpha) * (background
+	// color)
+	//
+	// This means that a value of 1.0 corresponds to a solid color,
+	// whereas
+	// a value of 0.0 corresponds to a completely transparent color.
+	// This
+	// uses a wrapper message rather than a simple float scalar so that it
+	// is
+	// possible to distinguish between a default value and the value being
+	// unset.
+	// If omitted, this color object is to be rendered as a solid color
+	// (as if the alpha value had been explicitly given with a value of
+	// 1.0).
+	Alpha float64 `json:"alpha,omitempty"`
+
+	// Blue: The amount of blue in the color as a value in the interval [0,
+	// 1].
+	Blue float64 `json:"blue,omitempty"`
+
+	// Green: The amount of green in the color as a value in the interval
+	// [0, 1].
+	Green float64 `json:"green,omitempty"`
+
+	// Red: The amount of red in the color as a value in the interval [0,
+	// 1].
+	Red float64 `json:"red,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Alpha") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *Color) MarshalJSON() ([]byte, error) {
+	type noMethod Color
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// ConditionValue: The value of the condition.
+type ConditionValue struct {
+	// RelativeDate: A relative date (based on the current date).
+	// Valid only if the type is
+	// DATE_BEFORE,
+	// DATE_AFTER,
+	// DATE_ON_OR_BEFORE or
+	// DATE_ON_OR_AFTER.
+	//
+	// Relative dates are not supported in data validation.
+	// They are supported only in conditional formatting and
+	// conditional filters.
+	//
+	// Possible values:
+	//   "RELATIVE_DATE_UNSPECIFIED" - Default value, do not use.
+	//   "PAST_YEAR" - The value is the year before today.
+	//   "PAST_MONTH" - The value is the month before today.
+	//   "PAST_WEEK" - The value is the week before today.
+	//   "YESTERDAY" - The value is yesterday.
+	//   "TODAY" - The value is today.
+	//   "TOMORROW" - The value is tomorrow.
+	RelativeDate string `json:"relativeDate,omitempty"`
+
+	// UserEnteredValue: A value the condition is based on.
+	// The value will be parsed as if the user typed into a cell.
+	// Formulas are supported (and must begin with an `=`).
+	UserEnteredValue string `json:"userEnteredValue,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "RelativeDate") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *ConditionValue) MarshalJSON() ([]byte, error) {
+	type noMethod ConditionValue
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// ConditionalFormatRule: A rule describing a conditional format.
+type ConditionalFormatRule struct {
+	// BooleanRule: The formatting is either "on" or "off" according to the
+	// rule.
+	BooleanRule *BooleanRule `json:"booleanRule,omitempty"`
+
+	// GradientRule: The formatting will vary based on the gradients in the
+	// rule.
+	GradientRule *GradientRule `json:"gradientRule,omitempty"`
+
+	// Ranges: The ranges that will be formatted if the condition is
+	// true.
+	// All the ranges must be on the same grid.
+	Ranges []*GridRange `json:"ranges,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "BooleanRule") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *ConditionalFormatRule) MarshalJSON() ([]byte, error) {
+	type noMethod ConditionalFormatRule
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// CopyPasteRequest: Copies data from the source to the destination.
+type CopyPasteRequest struct {
+	// Destination: The location to paste to. If the range covers a span
+	// that's
+	// a multiple of the source's height or width, then the
+	// data will be repeated to fill in the destination range.
+	// If the range is smaller than the source range, the entire
+	// source data will still be copied (beyond the end of the destination
+	// range).
+	Destination *GridRange `json:"destination,omitempty"`
+
+	// PasteOrientation: How that data should be oriented when pasting.
+	//
+	// Possible values:
+	//   "NORMAL" - Paste normally.
+	//   "TRANSPOSE" - Paste transposed, where all rows become columns and
+	// vice versa.
+	PasteOrientation string `json:"pasteOrientation,omitempty"`
+
+	// PasteType: What kind of data to paste.
+	//
+	// Possible values:
+	//   "PASTE_NORMAL" - Paste values, formulas, formats, and merges.
+	//   "PASTE_VALUES" - Paste the values ONLY without formats, formulas,
+	// or merges.
+	//   "PASTE_FORMAT" - Paste the format and data validation only.
+	//   "PASTE_NO_BORDERS" - Like PASTE_NORMAL but without borders.
+	//   "PASTE_FORMULA" - Paste the formulas only.
+	//   "PASTE_DATA_VALIDATION" - Paste the data validation only.
+	//   "PASTE_CONDITIONAL_FORMATTING" - Paste the color rules only.
+	PasteType string `json:"pasteType,omitempty"`
+
+	// Source: The source range to copy.
+	Source *GridRange `json:"source,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Destination") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *CopyPasteRequest) MarshalJSON() ([]byte, error) {
+	type noMethod CopyPasteRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// CopySheetToAnotherSpreadsheetRequest: The request to copy a sheet
+// across spreadsheets.
+type CopySheetToAnotherSpreadsheetRequest struct {
+	// DestinationSpreadsheetId: The ID of the spreadsheet to copy the sheet
+	// to.
+	DestinationSpreadsheetId string `json:"destinationSpreadsheetId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g.
+	// "DestinationSpreadsheetId") to unconditionally include in API
+	// requests. By default, fields with empty values are omitted from API
+	// requests. However, any non-pointer, non-interface field appearing in
+	// ForceSendFields will be sent to the server regardless of whether the
+	// field is empty or not. This may be used to include empty fields in
+	// Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *CopySheetToAnotherSpreadsheetRequest) MarshalJSON() ([]byte, error) {
+	type noMethod CopySheetToAnotherSpreadsheetRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// CutPasteRequest: Moves data from the source to the destination.
+type CutPasteRequest struct {
+	// Destination: The top-left coordinate where the data should be pasted.
+	Destination *GridCoordinate `json:"destination,omitempty"`
+
+	// PasteType: What kind of data to paste.  All the source data will be
+	// cut, regardless
+	// of what is pasted.
+	//
+	// Possible values:
+	//   "PASTE_NORMAL" - Paste values, formulas, formats, and merges.
+	//   "PASTE_VALUES" - Paste the values ONLY without formats, formulas,
+	// or merges.
+	//   "PASTE_FORMAT" - Paste the format and data validation only.
+	//   "PASTE_NO_BORDERS" - Like PASTE_NORMAL but without borders.
+	//   "PASTE_FORMULA" - Paste the formulas only.
+	//   "PASTE_DATA_VALIDATION" - Paste the data validation only.
+	//   "PASTE_CONDITIONAL_FORMATTING" - Paste the color rules only.
+	PasteType string `json:"pasteType,omitempty"`
+
+	// Source: The source data to cut.
+	Source *GridRange `json:"source,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Destination") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *CutPasteRequest) MarshalJSON() ([]byte, error) {
+	type noMethod CutPasteRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// DataValidationRule: A data validation rule.
+type DataValidationRule struct {
+	// Condition: The condition that data in the cell must match.
+	Condition *BooleanCondition `json:"condition,omitempty"`
+
+	// InputMessage: A message to show the user when adding data to the
+	// cell.
+	InputMessage string `json:"inputMessage,omitempty"`
+
+	// ShowCustomUi: True if the UI should be customized based on the kind
+	// of condition.
+	// If true, "List" conditions will show a dropdown.
+	ShowCustomUi bool `json:"showCustomUi,omitempty"`
+
+	// Strict: True if invalid data should be rejected.
+	Strict bool `json:"strict,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Condition") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *DataValidationRule) MarshalJSON() ([]byte, error) {
+	type noMethod DataValidationRule
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// DeleteConditionalFormatRuleRequest: Deletes a conditional format rule
+// at the given index.
+// All subsequent rules' indexes are decremented.
+type DeleteConditionalFormatRuleRequest struct {
+	// Index: The zero-based index of the rule to be deleted.
+	Index int64 `json:"index,omitempty"`
+
+	// SheetId: The sheet the rule is being deleted from.
+	SheetId int64 `json:"sheetId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Index") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *DeleteConditionalFormatRuleRequest) MarshalJSON() ([]byte, error) {
+	type noMethod DeleteConditionalFormatRuleRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// DeleteConditionalFormatRuleResponse: The result of deleting a
+// conditional format rule.
+type DeleteConditionalFormatRuleResponse struct {
+	// Rule: The rule that was deleted.
+	Rule *ConditionalFormatRule `json:"rule,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Rule") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *DeleteConditionalFormatRuleResponse) MarshalJSON() ([]byte, error) {
+	type noMethod DeleteConditionalFormatRuleResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// DeleteDimensionRequest: Deletes the dimensions from the sheet.
+type DeleteDimensionRequest struct {
+	// Range: The dimensions to delete from the sheet.
+	Range *DimensionRange `json:"range,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Range") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *DeleteDimensionRequest) MarshalJSON() ([]byte, error) {
+	type noMethod DeleteDimensionRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// DeleteEmbeddedObjectRequest: Deletes the embedded object with the
+// given ID.
+type DeleteEmbeddedObjectRequest struct {
+	// ObjectId: The ID of the embedded object to delete.
+	ObjectId int64 `json:"objectId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "ObjectId") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *DeleteEmbeddedObjectRequest) MarshalJSON() ([]byte, error) {
+	type noMethod DeleteEmbeddedObjectRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// DeleteFilterViewRequest: Deletes a particular filter view.
+type DeleteFilterViewRequest struct {
+	// FilterId: The ID of the filter to delete.
+	FilterId int64 `json:"filterId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "FilterId") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *DeleteFilterViewRequest) MarshalJSON() ([]byte, error) {
+	type noMethod DeleteFilterViewRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// DeleteNamedRangeRequest: Removes the named range with the given ID
+// from the spreadsheet.
+type DeleteNamedRangeRequest struct {
+	// NamedRangeId: The ID of the named range to delete.
+	NamedRangeId string `json:"namedRangeId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "NamedRangeId") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *DeleteNamedRangeRequest) MarshalJSON() ([]byte, error) {
+	type noMethod DeleteNamedRangeRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// DeleteProtectedRangeRequest: Deletes the protected range with the
+// given id.
+type DeleteProtectedRangeRequest struct {
+	// ProtectedRangeId: The ID of the protected range to delete.
+	ProtectedRangeId int64 `json:"protectedRangeId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "ProtectedRangeId") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *DeleteProtectedRangeRequest) MarshalJSON() ([]byte, error) {
+	type noMethod DeleteProtectedRangeRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// DeleteSheetRequest: Deletes the requested sheet.
+type DeleteSheetRequest struct {
+	// SheetId: The ID of the sheet to delete.
+	SheetId int64 `json:"sheetId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "SheetId") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *DeleteSheetRequest) MarshalJSON() ([]byte, error) {
+	type noMethod DeleteSheetRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// DimensionProperties: Properties about a dimension.
+type DimensionProperties struct {
+	// HiddenByFilter: True if this dimension is being filtered.
+	// This field is read-only.
+	HiddenByFilter bool `json:"hiddenByFilter,omitempty"`
+
+	// HiddenByUser: True if this dimension is explicitly hidden.
+	HiddenByUser bool `json:"hiddenByUser,omitempty"`
+
+	// PixelSize: The height (if a row) or width (if a column) of the
+	// dimension in pixels.
+	PixelSize int64 `json:"pixelSize,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "HiddenByFilter") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *DimensionProperties) MarshalJSON() ([]byte, error) {
+	type noMethod DimensionProperties
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// DimensionRange: A range along a single dimension on a sheet.
+// All indexes are zero-based.
+// Indexes are half open: the start index is inclusive
+// and the end index is exclusive.
+// Missing indexes indicate the range is unbounded on that side.
+type DimensionRange struct {
+	// Dimension: The dimension of the span.
+	//
+	// Possible values:
+	//   "DIMENSION_UNSPECIFIED" - The default value, do not use.
+	//   "ROWS" - Operates on the rows of a sheet.
+	//   "COLUMNS" - Operates on the columns of a sheet.
+	Dimension string `json:"dimension,omitempty"`
+
+	// EndIndex: The end (exclusive) of the span, or not set if unbounded.
+	EndIndex int64 `json:"endIndex,omitempty"`
+
+	// SheetId: The sheet this span is on.
+	SheetId int64 `json:"sheetId,omitempty"`
+
+	// StartIndex: The start (inclusive) of the span, or not set if
+	// unbounded.
+	StartIndex int64 `json:"startIndex,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Dimension") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *DimensionRange) MarshalJSON() ([]byte, error) {
+	type noMethod DimensionRange
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// DuplicateFilterViewRequest: Duplicates a particular filter view.
+type DuplicateFilterViewRequest struct {
+	// FilterId: The ID of the filter being duplicated.
+	FilterId int64 `json:"filterId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "FilterId") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *DuplicateFilterViewRequest) MarshalJSON() ([]byte, error) {
+	type noMethod DuplicateFilterViewRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// DuplicateFilterViewResponse: The result of a filter view being
+// duplicated.
+type DuplicateFilterViewResponse struct {
+	// Filter: The newly created filter.
+	Filter *FilterView `json:"filter,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Filter") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *DuplicateFilterViewResponse) MarshalJSON() ([]byte, error) {
+	type noMethod DuplicateFilterViewResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// DuplicateSheetRequest: Duplicates the contents of a sheet.
+type DuplicateSheetRequest struct {
+	// InsertSheetIndex: The zero-based index where the new sheet should be
+	// inserted.
+	// The index of all sheets after this are incremented.
+	InsertSheetIndex int64 `json:"insertSheetIndex,omitempty"`
+
+	// NewSheetId: If set, the ID of the new sheet. If not set, an ID is
+	// chosen.
+	// If set, the ID must not conflict with any existing sheet ID.
+	// If set, it must be non-negative.
+	NewSheetId int64 `json:"newSheetId,omitempty"`
+
+	// NewSheetName: The name of the new sheet.  If empty, a new name is
+	// chosen for you.
+	NewSheetName string `json:"newSheetName,omitempty"`
+
+	// SourceSheetId: The sheet to duplicate.
+	SourceSheetId int64 `json:"sourceSheetId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "InsertSheetIndex") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *DuplicateSheetRequest) MarshalJSON() ([]byte, error) {
+	type noMethod DuplicateSheetRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// DuplicateSheetResponse: The result of duplicating a sheet.
+type DuplicateSheetResponse struct {
+	// Properties: The properties of the duplicate sheet.
+	Properties *SheetProperties `json:"properties,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Properties") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *DuplicateSheetResponse) MarshalJSON() ([]byte, error) {
+	type noMethod DuplicateSheetResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// Editors: The editors of a protected range.
+type Editors struct {
+	// DomainUsersCanEdit: True if anyone in the document's domain has edit
+	// access to the protected
+	// range.  Domain protection is only supported on documents within a
+	// domain.
+	DomainUsersCanEdit bool `json:"domainUsersCanEdit,omitempty"`
+
+	// Groups: The email addresses of groups with edit access to the
+	// protected range.
+	Groups []string `json:"groups,omitempty"`
+
+	// Users: The email addresses of users with edit access to the protected
+	// range.
+	Users []string `json:"users,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "DomainUsersCanEdit")
+	// to unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *Editors) MarshalJSON() ([]byte, error) {
+	type noMethod Editors
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// EmbeddedChart: A chart embedded in a sheet.
+type EmbeddedChart struct {
+	// ChartId: The ID of the chart.
+	ChartId int64 `json:"chartId,omitempty"`
+
+	// Position: The position of the chart.
+	Position *EmbeddedObjectPosition `json:"position,omitempty"`
+
+	// Spec: The specification of the chart.
+	Spec *ChartSpec `json:"spec,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "ChartId") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *EmbeddedChart) MarshalJSON() ([]byte, error) {
+	type noMethod EmbeddedChart
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// EmbeddedObjectPosition: The position of an embedded object such as a
+// chart.
+type EmbeddedObjectPosition struct {
+	// NewSheet: If true, the embedded object will be put on a new sheet
+	// whose ID
+	// is chosen for you. Used only when writing.
+	NewSheet bool `json:"newSheet,omitempty"`
+
+	// OverlayPosition: The position the object is overlaid on top of a
+	// grid.
+	OverlayPosition *OverlayPosition `json:"overlayPosition,omitempty"`
+
+	// SheetId: The sheet this is on. Set only if the embedded object
+	// is on its own sheet. Must be non-negative.
+	SheetId int64 `json:"sheetId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "NewSheet") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *EmbeddedObjectPosition) MarshalJSON() ([]byte, error) {
+	type noMethod EmbeddedObjectPosition
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// ErrorValue: An error in a cell.
+type ErrorValue struct {
+	// Message: A message with more information about the error
+	// (in the spreadsheet's locale).
+	Message string `json:"message,omitempty"`
+
+	// Type: The type of error.
+	//
+	// Possible values:
+	//   "ERROR_TYPE_UNSPECIFIED" - The default error type, do not use this.
+	//   "ERROR" - Corresponds to the `#ERROR!` error.
+	//   "NULL_VALUE" - Corresponds to the `#NULL!` error.
+	//   "DIVIDE_BY_ZERO" - Corresponds to the `#DIV/0` error.
+	//   "VALUE" - Corresponds to the `#VALUE!` error.
+	//   "REF" - Corresponds to the `#REF!` error.
+	//   "NAME" - Corresponds to the `#NAME?` error.
+	//   "NUM" - Corresponds to the `#NUM`! error.
+	//   "N_A" - Corresponds to the `#N/A` error.
+	//   "LOADING" - Corresponds to the `Loading...` state.
+	Type string `json:"type,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Message") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *ErrorValue) MarshalJSON() ([]byte, error) {
+	type noMethod ErrorValue
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// ExtendedValue: The kinds of value that a cell in a spreadsheet can
+// have.
+type ExtendedValue struct {
+	// BoolValue: Represents a boolean value.
+	BoolValue bool `json:"boolValue,omitempty"`
+
+	// ErrorValue: Represents an error.
+	// This field is read-only.
+	ErrorValue *ErrorValue `json:"errorValue,omitempty"`
+
+	// FormulaValue: Represents a formula.
+	FormulaValue string `json:"formulaValue,omitempty"`
+
+	// NumberValue: Represents a double value.
+	// Note: Dates, Times and DateTimes are represented as doubles
+	// in
+	// "serial number" format.
+	NumberValue float64 `json:"numberValue,omitempty"`
+
+	// StringValue: Represents a string value.
+	// Leading single quotes are not included. For example, if the user
+	// typed
+	// `'123` into the UI, this would be represented as a `stringValue`
+	// of
+	// "123".
+	StringValue string `json:"stringValue,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "BoolValue") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *ExtendedValue) MarshalJSON() ([]byte, error) {
+	type noMethod ExtendedValue
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// FilterCriteria: Criteria for showing/hiding rows in a filter, filter
+// view.
+type FilterCriteria struct {
+	// Condition: A condition that must be true for values to be
+	// shown.
+	// (This does not override hiddenValues -- if a value is listed there,
+	//  it will still be hidden.)
+	Condition *BooleanCondition `json:"condition,omitempty"`
+
+	// HiddenValues: Values that should be hidden.
+	HiddenValues []string `json:"hiddenValues,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Condition") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *FilterCriteria) MarshalJSON() ([]byte, error) {
+	type noMethod FilterCriteria
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// FilterView: A filter view.
+type FilterView struct {
+	// Criteria: The criteria for showing/hiding values per column.
+	// The map's key is the column index, and the value is the criteria
+	// for
+	// that column.
+	Criteria map[string]FilterCriteria `json:"criteria,omitempty"`
+
+	// FilterViewId: The ID of the filter view.
+	FilterViewId int64 `json:"filterViewId,omitempty"`
+
+	// NamedRangeId: The named range this filter view is backed by, if
+	// any.
+	//
+	// When writing, only one of range or namedRangeId
+	// may be set.
+	NamedRangeId string `json:"namedRangeId,omitempty"`
+
+	// Range: The range this filter view covers.
+	//
+	// When writing, only one of range or namedRangeId
+	// may be set.
+	Range *GridRange `json:"range,omitempty"`
+
+	// SortSpecs: The sort order per column. Later specifications are used
+	// when values
+	// are equal in the earlier specifications.
+	SortSpecs []*SortSpec `json:"sortSpecs,omitempty"`
+
+	// Title: The name of the filter view.
+	Title string `json:"title,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Criteria") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *FilterView) MarshalJSON() ([]byte, error) {
+	type noMethod FilterView
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// FindReplaceRequest: Finds and replaces data in cells over a range,
+// sheet, or all sheets.
+type FindReplaceRequest struct {
+	// AllSheets: True to find/replace over all sheets.
+	AllSheets bool `json:"allSheets,omitempty"`
+
+	// Find: The value to search.
+	Find string `json:"find,omitempty"`
+
+	// IncludeFormulas: True if the search should include cells with
+	// formulas.
+	// False to skip cells with formulas.
+	IncludeFormulas bool `json:"includeFormulas,omitempty"`
+
+	// MatchCase: True if the search is case sensitive.
+	MatchCase bool `json:"matchCase,omitempty"`
+
+	// MatchEntireCell: True if the find value should match the entire cell.
+	MatchEntireCell bool `json:"matchEntireCell,omitempty"`
+
+	// Range: The range to find/replace over.
+	Range *GridRange `json:"range,omitempty"`
+
+	// Replacement: The value to use as the replacement.
+	Replacement string `json:"replacement,omitempty"`
+
+	// SearchByRegex: True if the find value is a regex.
+	// The regular expression and replacement should follow Java regex
+	// rules
+	// at
+	// https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html.
+	// The replacement string is allowed to refer to capturing groups.
+	// For example, if one cell has the contents "Google Sheets" and
+	// another
+	// has "Google Docs", then searching for "o.* (.*)" with a
+	// replacement of
+	// "$1 Rocks"` would change the contents of the cells to
+	// "GSheets Rocks" and "GDocs Rocks" respectively.
+	SearchByRegex bool `json:"searchByRegex,omitempty"`
+
+	// SheetId: The sheet to find/replace over.
+	SheetId int64 `json:"sheetId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "AllSheets") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *FindReplaceRequest) MarshalJSON() ([]byte, error) {
+	type noMethod FindReplaceRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// FindReplaceResponse: The result of the find/replace.
+type FindReplaceResponse struct {
+	// FormulasChanged: The number of formula cells changed.
+	FormulasChanged int64 `json:"formulasChanged,omitempty"`
+
+	// OccurrencesChanged: The number of occurrences (possibly multiple
+	// within a cell) changed.
+	// For example, if replacing "e" with "o" in "Google Sheets", this
+	// would
+	// be "3" because "Google Sheets" -> "Googlo Shoots".
+	OccurrencesChanged int64 `json:"occurrencesChanged,omitempty"`
+
+	// RowsChanged: The number of rows changed.
+	RowsChanged int64 `json:"rowsChanged,omitempty"`
+
+	// SheetsChanged: The number of sheets changed.
+	SheetsChanged int64 `json:"sheetsChanged,omitempty"`
+
+	// ValuesChanged: The number of non-formula cells changed.
+	ValuesChanged int64 `json:"valuesChanged,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "FormulasChanged") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *FindReplaceResponse) MarshalJSON() ([]byte, error) {
+	type noMethod FindReplaceResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// GradientRule: A rule that applies a gradient color scale format,
+// based on
+// the interpolation points listed. The format of a cell will vary
+// based on its contents as compared to the values of the
+// interpolation
+// points.
+type GradientRule struct {
+	// Maxpoint: The final interpolation point.
+	Maxpoint *InterpolationPoint `json:"maxpoint,omitempty"`
+
+	// Midpoint: An optional midway interpolation point.
+	Midpoint *InterpolationPoint `json:"midpoint,omitempty"`
+
+	// Minpoint: The starting interpolation point.
+	Minpoint *InterpolationPoint `json:"minpoint,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Maxpoint") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *GradientRule) MarshalJSON() ([]byte, error) {
+	type noMethod GradientRule
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// GridCoordinate: A coordinate in a sheet.
+// All indexes are zero-based.
+type GridCoordinate struct {
+	// ColumnIndex: The column index of the coordinate.
+	ColumnIndex int64 `json:"columnIndex,omitempty"`
+
+	// RowIndex: The row index of the coordinate.
+	RowIndex int64 `json:"rowIndex,omitempty"`
+
+	// SheetId: The sheet this coordinate is on.
+	SheetId int64 `json:"sheetId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "ColumnIndex") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *GridCoordinate) MarshalJSON() ([]byte, error) {
+	type noMethod GridCoordinate
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// GridData: Data in the grid, as well as metadata about the dimensions.
+type GridData struct {
+	// ColumnMetadata: Metadata about the requested columns in the grid,
+	// starting with the column
+	// in startColumn.
+	ColumnMetadata []*DimensionProperties `json:"columnMetadata,omitempty"`
+
+	// RowData: The data in the grid, one entry per row,
+	// starting with the row in startRow.
+	// The values in RowData will correspond to columns starting
+	// at startColumn.
+	RowData []*RowData `json:"rowData,omitempty"`
+
+	// RowMetadata: Metadata about the requested rows in the grid, starting
+	// with the row
+	// in startRow.
+	RowMetadata []*DimensionProperties `json:"rowMetadata,omitempty"`
+
+	// StartColumn: The first column this GridData refers to, zero-based.
+	StartColumn int64 `json:"startColumn,omitempty"`
+
+	// StartRow: The first row this GridData refers to, zero-based.
+	StartRow int64 `json:"startRow,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "ColumnMetadata") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *GridData) MarshalJSON() ([]byte, error) {
+	type noMethod GridData
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// GridProperties: Properties of a grid.
+type GridProperties struct {
+	// ColumnCount: The number of columns in the grid.
+	ColumnCount int64 `json:"columnCount,omitempty"`
+
+	// FrozenColumnCount: The number of columns that are frozen in the grid.
+	FrozenColumnCount int64 `json:"frozenColumnCount,omitempty"`
+
+	// FrozenRowCount: The number of rows that are frozen in the grid.
+	FrozenRowCount int64 `json:"frozenRowCount,omitempty"`
+
+	// HideGridlines: True if the grid isn't showing gridlines in the UI.
+	HideGridlines bool `json:"hideGridlines,omitempty"`
+
+	// RowCount: The number of rows in the grid.
+	RowCount int64 `json:"rowCount,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "ColumnCount") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *GridProperties) MarshalJSON() ([]byte, error) {
+	type noMethod GridProperties
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// GridRange: A range on a sheet.
+// All indexes are zero-based.
+// Indexes are half open, e.g the start index is inclusive
+// and the end index is exclusive -- [start_index, end_index).
+// Missing indexes indicate the range is unbounded on that side.
+//
+// For example, if "Sheet1" is grid ID 0, then:
+//
+//   Sheet1!A1:A1 == sheet_id: 0,
+//                   start_row_index: 0, end_row_index: 1,
+//                   start_column_index: 0, end_column_index: 1
+//
+//   Sheet1!A3:B4 == sheet_id: 0,
+//                   start_row_index: 2, end_row_index: 4,
+//                   start_column_index: 0, end_column_index: 2
+//
+//   Sheet1!A:B == sheet_id: 0,
+//                 start_column_index: 0, end_column_index: 2
+//
+//   Sheet1!A5:B == sheet_id: 0,
+//                  start_row_index: 4,
+//                  start_column_index: 0, end_column_index: 2
+//
+//   Sheet1 == sheet_id:0
+//
+// The start index must always be less than or equal to the end
+// index.
+// If the start index equals the end index, then the range is
+// empty.
+// Empty ranges are typically not meaningful and are usually rendered in
+// the
+// UI as `#REF!`.
+type GridRange struct {
+	// EndColumnIndex: The end column (exclusive) of the range, or not set
+	// if unbounded.
+	EndColumnIndex int64 `json:"endColumnIndex,omitempty"`
+
+	// EndRowIndex: The end row (exclusive) of the range, or not set if
+	// unbounded.
+	EndRowIndex int64 `json:"endRowIndex,omitempty"`
+
+	// SheetId: The sheet this range is on.
+	SheetId int64 `json:"sheetId,omitempty"`
+
+	// StartColumnIndex: The start column (inclusive) of the range, or not
+	// set if unbounded.
+	StartColumnIndex int64 `json:"startColumnIndex,omitempty"`
+
+	// StartRowIndex: The start row (inclusive) of the range, or not set if
+	// unbounded.
+	StartRowIndex int64 `json:"startRowIndex,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "EndColumnIndex") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *GridRange) MarshalJSON() ([]byte, error) {
+	type noMethod GridRange
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// InsertDimensionRequest: Inserts rows or columns in a sheet at a
+// particular index.
+type InsertDimensionRequest struct {
+	// InheritFromBefore: Whether dimension properties should be extended
+	// from the dimensions
+	// before or after the newly inserted dimensions.
+	// True to inherit from the dimensions before (in which case the
+	// start
+	// index must be greater than 0), and false to inherit from the
+	// dimensions
+	// after.
+	//
+	// For example, if row index 0 has red background and row index 1
+	// has a green background, then inserting 2 rows at index 1 can
+	// inherit
+	// either the green or red background.  If `inheritFromBefore` is
+	// true,
+	// the two new rows will be red (because the row before the insertion
+	// point
+	// was red), whereas if `inheritFromBefore` is false, the two new rows
+	// will
+	// be green (because the rows after the insertion point were green).
+	InheritFromBefore bool `json:"inheritFromBefore,omitempty"`
+
+	// Range: The dimensions to insert.  Both the start and end indexes must
+	// be bounded.
+	Range *DimensionRange `json:"range,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "InheritFromBefore")
+	// to unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *InsertDimensionRequest) MarshalJSON() ([]byte, error) {
+	type noMethod InsertDimensionRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// InterpolationPoint: A single interpolation point a gradient
+// conditional format.
+// These pin the gradient color scale according to the color,
+// type and value chosen.
+type InterpolationPoint struct {
+	// Color: The color this interpolation point should use.
+	Color *Color `json:"color,omitempty"`
+
+	// Type: How the value should be interpreted.
+	//
+	// Possible values:
+	//   "INTERPOLATION_POINT_TYPE_UNSPECIFIED" - The default value, do not
+	// use.
+	//   "MIN" - The interpolation point will use the minimum value in
+	// the
+	// cells over the range of the conditional format.
+	//   "MAX" - The interpolation point will use the maximum value in
+	// the
+	// cells over the range of the conditional format.
+	//   "NUMBER" - The interpolation point will use exactly the value
+	// in
+	// InterpolationPoint.value.
+	//   "PERCENT" - The interpolation point will be the given percentage
+	// over
+	// all the cells in the range of the conditional format.
+	// This is equivalent to NUMBER if the value was:
+	// `=(MAX(FLATTEN(range)) * (value / 100))
+	//   + (MIN(FLATTEN(range)) * (1 - (value / 100)))`
+	// (where errors in the range are ignored when flattening).
+	//   "PERCENTILE" - The interpolation point will be the given
+	// percentile
+	// over all the cells in the range of the conditional format.
+	// This is equivalent to NUMBER if the value
+	// was:
+	// `=PERCENTILE(FLATTEN(range), value / 100)`
+	// (where errors in the range are ignored when flattening).
+	Type string `json:"type,omitempty"`
+
+	// Value: The value this interpolation point uses.  May be a
+	// formula.
+	// Unused if type is MIN or
+	// MAX.
+	Value string `json:"value,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Color") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *InterpolationPoint) MarshalJSON() ([]byte, error) {
+	type noMethod InterpolationPoint
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// MergeCellsRequest: Merges all cells in the range.
+type MergeCellsRequest struct {
+	// MergeType: How the cells should be merged.
+	//
+	// Possible values:
+	//   "MERGE_ALL" - Create a single merge from the range
+	//   "MERGE_COLUMNS" - Create a merge for each column in the range
+	//   "MERGE_ROWS" - Create a merge for each row in the range
+	MergeType string `json:"mergeType,omitempty"`
+
+	// Range: The range of cells to merge.
+	Range *GridRange `json:"range,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "MergeType") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *MergeCellsRequest) MarshalJSON() ([]byte, error) {
+	type noMethod MergeCellsRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// MoveDimensionRequest: Moves one or more rows or columns.
+type MoveDimensionRequest struct {
+	// DestinationIndex: The zero-based start index of where to move the
+	// source data to,
+	// based on the coordinates *before* the source data is removed
+	// from the grid.  Existing data will be shifted down or
+	// right
+	// (depending on the dimension) to make room for the moved
+	// dimensions.
+	// The source dimensions are removed from the grid, so the
+	// the data may end up in a different index than specified.
+	//
+	// For example, given `A1..A5` of `0, 1, 2, 3, 4` and wanting to
+	// move
+	// "1" and "2" to between "3" and "4", the source would be
+	// `ROWS [1..3)`,and the destination index would be "4"
+	// (the zero-based index of row 5).
+	// The end result would be `A1..A5` of `0, 3, 1, 2, 4`.
+	DestinationIndex int64 `json:"destinationIndex,omitempty"`
+
+	// Source: The source dimensions to move.
+	Source *DimensionRange `json:"source,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "DestinationIndex") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *MoveDimensionRequest) MarshalJSON() ([]byte, error) {
+	type noMethod MoveDimensionRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// NamedRange: A named range.
+type NamedRange struct {
+	// Name: The name of the named range.
+	Name string `json:"name,omitempty"`
+
+	// NamedRangeId: The ID of the named range.
+	NamedRangeId string `json:"namedRangeId,omitempty"`
+
+	// Range: The range this represents.
+	Range *GridRange `json:"range,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Name") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *NamedRange) MarshalJSON() ([]byte, error) {
+	type noMethod NamedRange
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// NumberFormat: The number format of a cell.
+// When updating, all fields must be set.
+type NumberFormat struct {
+	// Pattern: Pattern string used for formatting.
+	Pattern string `json:"pattern,omitempty"`
+
+	// Type: The type of the number format.
+	//
+	// Possible values:
+	//   "NUMBER_FORMAT_TYPE_UNSPECIFIED" - The number format is not
+	// specified
+	// and is based on the contents of the cell.
+	// Do not explicitly use this.
+	//   "TEXT" - Text formatting, e.g `1000.12`
+	//   "NUMBER" - Number formatting, e.g, `1,000.12`
+	//   "PERCENT" - Percent formatting, e.g `10.12%`
+	//   "CURRENCY" - Currency formatting, e.g `$1,000.12`
+	//   "DATE" - Date formatting, e.g `9/26/2008`
+	//   "TIME" - Time formatting, e.g `3:59:00 PM`
+	//   "DATE_TIME" - Date+Time formatting, e.g `9/26/08 15:59:00`
+	//   "SCIENTIFIC" - Scientific number formatting, e.g `1.01E+03`
+	Type string `json:"type,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Pattern") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *NumberFormat) MarshalJSON() ([]byte, error) {
+	type noMethod NumberFormat
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// OverlayPosition: The location an object is overlaid on top of a grid.
+type OverlayPosition struct {
+	// AnchorCell: The cell the object is anchored to.
+	AnchorCell *GridCoordinate `json:"anchorCell,omitempty"`
+
+	// HeightPixels: The height of the object, in pixels. Defaults to 371.
+	HeightPixels int64 `json:"heightPixels,omitempty"`
+
+	// OffsetXPixels: The horizontal offset, in pixels, that the object is
+	// offset
+	// from the anchor cell.
+	OffsetXPixels int64 `json:"offsetXPixels,omitempty"`
+
+	// OffsetYPixels: The vertical offset, in pixels, that the object is
+	// offset
+	// from the anchor cell.
+	OffsetYPixels int64 `json:"offsetYPixels,omitempty"`
+
+	// WidthPixels: The width of the object, in pixels. Defaults to 600.
+	WidthPixels int64 `json:"widthPixels,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "AnchorCell") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *OverlayPosition) MarshalJSON() ([]byte, error) {
+	type noMethod OverlayPosition
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// Padding: The amount of padding around the cell, in pixels.
+// When updating padding, every field must be specified.
+type Padding struct {
+	// Bottom: The bottom padding of the cell.
+	Bottom int64 `json:"bottom,omitempty"`
+
+	// Left: The left padding of the cell.
+	Left int64 `json:"left,omitempty"`
+
+	// Right: The right padding of the cell.
+	Right int64 `json:"right,omitempty"`
+
+	// Top: The top padding of the cell.
+	Top int64 `json:"top,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Bottom") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *Padding) MarshalJSON() ([]byte, error) {
+	type noMethod Padding
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// PasteDataRequest: Inserts data into the spreadsheet starting at the
+// specified coordinate.
+type PasteDataRequest struct {
+	// Coordinate: The coordinate at which the data should start being
+	// inserted.
+	Coordinate *GridCoordinate `json:"coordinate,omitempty"`
+
+	// Data: The data to insert.
+	Data string `json:"data,omitempty"`
+
+	// Delimiter: The delimiter in the data.
+	Delimiter string `json:"delimiter,omitempty"`
+
+	// Html: True if the data is HTML.
+	Html bool `json:"html,omitempty"`
+
+	// Type: How the data should be pasted.
+	//
+	// Possible values:
+	//   "PASTE_NORMAL" - Paste values, formulas, formats, and merges.
+	//   "PASTE_VALUES" - Paste the values ONLY without formats, formulas,
+	// or merges.
+	//   "PASTE_FORMAT" - Paste the format and data validation only.
+	//   "PASTE_NO_BORDERS" - Like PASTE_NORMAL but without borders.
+	//   "PASTE_FORMULA" - Paste the formulas only.
+	//   "PASTE_DATA_VALIDATION" - Paste the data validation only.
+	//   "PASTE_CONDITIONAL_FORMATTING" - Paste the color rules only.
+	Type string `json:"type,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Coordinate") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *PasteDataRequest) MarshalJSON() ([]byte, error) {
+	type noMethod PasteDataRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// PieChartSpec: A <a
+// href="/chart/interactive/docs/gallery/piechart">pie chart</a>.
+type PieChartSpec struct {
+	// Domain: The data that covers the domain of the pie chart.
+	Domain *ChartData `json:"domain,omitempty"`
+
+	// LegendPosition: Where the legend of the pie chart should be drawn.
+	//
+	// Possible values:
+	//   "PIE_CHART_LEGEND_POSITION_UNSPECIFIED" - Default value, do not
+	// use.
+	//   "BOTTOM_LEGEND" - The legend is rendered on the bottom of the
+	// chart.
+	//   "LEFT_LEGEND" - The legend is rendered on the left of the chart.
+	//   "RIGHT_LEGEND" - The legend is rendered on the right of the chart.
+	//   "TOP_LEGEND" - The legend is rendered on the top of the chart.
+	//   "NO_LEGEND" - No legend is rendered.
+	//   "LABELED_LEGEND" - Each pie slice has a label attached to it.
+	LegendPosition string `json:"legendPosition,omitempty"`
+
+	// PieHole: The size of the hole in the pie chart.
+	PieHole float64 `json:"pieHole,omitempty"`
+
+	// Series: The data that covers the one and only series of the pie
+	// chart.
+	Series *ChartData `json:"series,omitempty"`
+
+	// ThreeDimensional: True if the pie is three dimensional.
+	ThreeDimensional bool `json:"threeDimensional,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Domain") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *PieChartSpec) MarshalJSON() ([]byte, error) {
+	type noMethod PieChartSpec
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// PivotFilterCriteria: Criteria for showing/hiding rows in a pivot
+// table.
+type PivotFilterCriteria struct {
+	// VisibleValues: Values that should be included.  Values not listed
+	// here are excluded.
+	VisibleValues []string `json:"visibleValues,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "VisibleValues") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *PivotFilterCriteria) MarshalJSON() ([]byte, error) {
+	type noMethod PivotFilterCriteria
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// PivotGroup: A single grouping (either row or column) in a pivot
+// table.
+type PivotGroup struct {
+	// ShowTotals: True if the pivot table should include the totals for
+	// this grouping.
+	ShowTotals bool `json:"showTotals,omitempty"`
+
+	// SortOrder: The order the values in this group should be sorted.
+	//
+	// Possible values:
+	//   "SORT_ORDER_UNSPECIFIED" - Default value, do not use this.
+	//   "ASCENDING" - Sort ascending.
+	//   "DESCENDING" - Sort descending.
+	SortOrder string `json:"sortOrder,omitempty"`
+
+	// SourceColumnOffset: The column offset of the source range that this
+	// grouping is based on.
+	//
+	// For example, if the source was `C10:E15', a `sourceColumnOffset` of
+	// `0`
+	// means this group refers to column `C`, whereas the offset `1` would
+	// refer
+	// to column `D`.
+	SourceColumnOffset int64 `json:"sourceColumnOffset,omitempty"`
+
+	// ValueBucket: The bucket of the opposite pivot group to sort by.
+	// If not specified, sorting is alphabetical by this group's values.
+	ValueBucket *PivotGroupSortValueBucket `json:"valueBucket,omitempty"`
+
+	// ValueMetadata: Metadata about values in the grouping.
+	ValueMetadata []*PivotGroupValueMetadata `json:"valueMetadata,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "ShowTotals") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *PivotGroup) MarshalJSON() ([]byte, error) {
+	type noMethod PivotGroup
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// PivotGroupSortValueBucket: Information about which values in a pivot
+// group should be used for sorting.
+type PivotGroupSortValueBucket struct {
+	// Buckets: Determines the bucket from which values are chosen to
+	// sort.
+	//
+	// For example, in a pivot table with one row group & two column
+	// groups,
+	// the row group can list up to two values. The first value
+	// corresponds
+	// to a value within the first column group, and the second
+	// value
+	// corresponds to a value in the second column group.  If no values
+	// are listed, this would indicate that the row should be sorted
+	// according
+	// to the "Grand Total" over the column groups. If a single value is
+	// listed,
+	// this would correspond to using the "Total" of that bucket.
+	Buckets []*ExtendedValue `json:"buckets,omitempty"`
+
+	// ValuesIndex: The offset in the [PivotTable.values] list which the
+	// values in this
+	// grouping should be sorted by.
+	ValuesIndex int64 `json:"valuesIndex,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Buckets") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *PivotGroupSortValueBucket) MarshalJSON() ([]byte, error) {
+	type noMethod PivotGroupSortValueBucket
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// PivotGroupValueMetadata: Metadata about a value in a pivot grouping.
+type PivotGroupValueMetadata struct {
+	// Collapsed: True if the data corresponding to the value is collapsed.
+	Collapsed bool `json:"collapsed,omitempty"`
+
+	// Value: The calculated value the metadata corresponds to.
+	// (Note that formulaValue is not valid,
+	//  because the values will be calculated.)
+	Value *ExtendedValue `json:"value,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Collapsed") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *PivotGroupValueMetadata) MarshalJSON() ([]byte, error) {
+	type noMethod PivotGroupValueMetadata
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// PivotTable: A pivot table.
+type PivotTable struct {
+	// Columns: Each column grouping in the pivot table.
+	Columns []*PivotGroup `json:"columns,omitempty"`
+
+	// Criteria: An optional mapping of filters per source column
+	// offset.
+	//
+	// The filters will be applied before aggregating data into the pivot
+	// table.
+	// The map's key is the column offset of the source range that you want
+	// to
+	// filter, and the value is the criteria for that column.
+	//
+	// For example, if the source was `C10:E15', a key of `0` will have the
+	// filter
+	// for column `C`, whereas the key `1` is for column `D`.
+	Criteria map[string]PivotFilterCriteria `json:"criteria,omitempty"`
+
+	// Rows: Each row grouping in the pivot table.
+	Rows []*PivotGroup `json:"rows,omitempty"`
+
+	// Source: The range the pivot table is reading data from.
+	Source *GridRange `json:"source,omitempty"`
+
+	// ValueLayout: Whether values should be listed horizontally (as
+	// columns)
+	// or vertically (as rows).
+	//
+	// Possible values:
+	//   "HORIZONTAL" - Values are laid out horizontally (as columns).
+	//   "VERTICAL" - Values are laid out vertically (as rows).
+	ValueLayout string `json:"valueLayout,omitempty"`
+
+	// Values: A list of values to include in the pivot table.
+	Values []*PivotValue `json:"values,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Columns") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *PivotTable) MarshalJSON() ([]byte, error) {
+	type noMethod PivotTable
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// PivotValue: The definition of how a value in a pivot table should be
+// calculated.
+type PivotValue struct {
+	// Formula: A custom formula to calculate the value.  The formula must
+	// start
+	// with an `=` character.
+	Formula string `json:"formula,omitempty"`
+
+	// Name: A name to use for the value. This is only used if formula was
+	// set.
+	// Otherwise, the column name is used.
+	Name string `json:"name,omitempty"`
+
+	// SourceColumnOffset: The column offset of the source range that this
+	// value reads from.
+	//
+	// For example, if the source was `C10:E15', a `sourceColumnOffset` of
+	// `0`
+	// means this value refers to column `C`, whereas the offset `1`
+	// would
+	// refer to column `D`.
+	SourceColumnOffset int64 `json:"sourceColumnOffset,omitempty"`
+
+	// SummarizeFunction: A function to summarize the value.
+	// If formula is set, the only supported values are
+	// SUM and
+	// CUSTOM.
+	// If sourceColumnOffset is set, then `CUSTOM`
+	// is not supported.
+	//
+	// Possible values:
+	//   "PIVOT_STANDARD_VALUE_FUNCTION_UNSPECIFIED" - The default, do not
+	// use.
+	//   "SUM" - Corresponds to the `SUM` function.
+	//   "COUNTA" - Corresponds to the `COUNTA` function.
+	//   "COUNT" - Corresponds to the `COUNT` function.
+	//   "COUNTUNIQUE" - Corresponds to the `COUNTUNIQUE` function.
+	//   "AVERAGE" - Corresponds to the `AVERAGE` function.
+	//   "MAX" - Corresponds to the `MAX` function.
+	//   "MIN" - Corresponds to the `MIN` function.
+	//   "MEDIAN" - Corresponds to the `MEDIAN` function.
+	//   "PRODUCT" - Corresponds to the `PRODUCT` function.
+	//   "STDEV" - Corresponds to the `STDEV` function.
+	//   "STDEVP" - Corresponds to the `STDEVP` function.
+	//   "VAR" - Corresponds to the `VAR` function.
+	//   "VARP" - Corresponds to the `VARP` function.
+	//   "CUSTOM" - Indicates the formula should be used as-is.
+	// Only valid if [PivotValue.formula] was set.
+	SummarizeFunction string `json:"summarizeFunction,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Formula") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *PivotValue) MarshalJSON() ([]byte, error) {
+	type noMethod PivotValue
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// ProtectedRange: A protected range.
+type ProtectedRange struct {
+	// Description: The description of this protected range.
+	Description string `json:"description,omitempty"`
+
+	// Editors: The users and groups with edit access to the protected
+	// range.
+	// This field is only visible to users with edit access to the
+	// protected
+	// range and the document.
+	// Editors are not supported with warningOnly protection.
+	Editors *Editors `json:"editors,omitempty"`
+
+	// NamedRangeId: The named range this protected range is backed by, if
+	// any.
+	//
+	// When writing, only one of range or namedRangeId
+	// may be set.
+	NamedRangeId string `json:"namedRangeId,omitempty"`
+
+	// ProtectedRangeId: The ID of the protected range.
+	// This field is read-only.
+	ProtectedRangeId int64 `json:"protectedRangeId,omitempty"`
+
+	// Range: The range that is being protected.
+	// The range may be fully unbounded, in which case this is considered
+	// a protected sheet.
+	//
+	// When writing, only one of range or namedRangeId
+	// may be set.
+	Range *GridRange `json:"range,omitempty"`
+
+	// RequestingUserCanEdit: True if the user who requested this protected
+	// range can edit the
+	// protected area.
+	// This field is read-only.
+	RequestingUserCanEdit bool `json:"requestingUserCanEdit,omitempty"`
+
+	// UnprotectedRanges: The list of unprotected ranges within a protected
+	// sheet.
+	// Unprotected ranges are only supported on protected sheets.
+	UnprotectedRanges []*GridRange `json:"unprotectedRanges,omitempty"`
+
+	// WarningOnly: True if this this protected range will show a warning
+	// when editing.
+	// Warning-based protection means that every user can edit data in
+	// the
+	// protected range, except editing will prompt a warning asking the
+	// user
+	// to confirm the edit.
+	//
+	// When warning: if this field is true, then editors is
+	// ignored.
+	// Additionally, if this field is changed from true to false and
+	// the
+	// `editors` field is not set (nor included in the field mask), then
+	// the editors will be set to all the editors in the document.
+	WarningOnly bool `json:"warningOnly,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Description") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *ProtectedRange) MarshalJSON() ([]byte, error) {
+	type noMethod ProtectedRange
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// RepeatCellRequest: Updates all cells in the range to the values in
+// the given Cell object.
+// Only the fields listed in the fields field are updated; others
+// are
+// unchanged.
+//
+// If writing a cell with a formula, the formula's ranges will
+// automatically
+// increment for each field in the range.
+// For example, if writing a cell with formula `=A1` into range
+// B2:C4,
+// B2 would be `=A1`, B3 would be `=A2`, B4 would be `=A3`,
+// C2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`.
+//
+// To keep the formula's ranges static, use the `$` indicator.
+// For example, using the formula was `=$A$1`, neither
+// the row nor column would increment.
+type RepeatCellRequest struct {
+	// Cell: The data to write.
+	Cell *CellData `json:"cell,omitempty"`
+
+	// Fields: The fields that should be updated.  At least one field must
+	// be specified.
+	// The root `cell` is implied and should not be specified.
+	// A single "*" can be used as short-hand for listing every field.
+	Fields string `json:"fields,omitempty"`
+
+	// Range: The range to repeat the cell in.
+	Range *GridRange `json:"range,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Cell") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *RepeatCellRequest) MarshalJSON() ([]byte, error) {
+	type noMethod RepeatCellRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// Request: A single kind of update to apply to a spreadsheet.
+type Request struct {
+	// AddChart: Adds a chart.
+	AddChart *AddChartRequest `json:"addChart,omitempty"`
+
+	// AddConditionalFormatRule: Adds a new conditional format rule.
+	AddConditionalFormatRule *AddConditionalFormatRuleRequest `json:"addConditionalFormatRule,omitempty"`
+
+	// AddFilterView: Adds a filter view.
+	AddFilterView *AddFilterViewRequest `json:"addFilterView,omitempty"`
+
+	// AddNamedRange: Adds a named range.
+	AddNamedRange *AddNamedRangeRequest `json:"addNamedRange,omitempty"`
+
+	// AddProtectedRange: Adds a protected range.
+	AddProtectedRange *AddProtectedRangeRequest `json:"addProtectedRange,omitempty"`
+
+	// AddSheet: Adds a sheet.
+	AddSheet *AddSheetRequest `json:"addSheet,omitempty"`
+
+	// AppendCells: Appends cells to the last row with data in a sheet.
+	AppendCells *AppendCellsRequest `json:"appendCells,omitempty"`
+
+	// AppendDimension: Appends dimensions to the end of a sheet.
+	AppendDimension *AppendDimensionRequest `json:"appendDimension,omitempty"`
+
+	// AutoFill: Automatically fills in more data based on existing data.
+	AutoFill *AutoFillRequest `json:"autoFill,omitempty"`
+
+	// AutoResizeDimensions: Automatically resizes one or more dimensions
+	// based on the contents
+	// of the cells in that dimension.
+	AutoResizeDimensions *AutoResizeDimensionsRequest `json:"autoResizeDimensions,omitempty"`
+
+	// ClearBasicFilter: Clears the basic filter on a sheet.
+	ClearBasicFilter *ClearBasicFilterRequest `json:"clearBasicFilter,omitempty"`
+
+	// CopyPaste: Copies data from one area and pastes it to another.
+	CopyPaste *CopyPasteRequest `json:"copyPaste,omitempty"`
+
+	// CutPaste: Cuts data from one area and pastes it to another.
+	CutPaste *CutPasteRequest `json:"cutPaste,omitempty"`
+
+	// DeleteConditionalFormatRule: Deletes an existing conditional format
+	// rule.
+	DeleteConditionalFormatRule *DeleteConditionalFormatRuleRequest `json:"deleteConditionalFormatRule,omitempty"`
+
+	// DeleteDimension: Deletes rows or columns in a sheet.
+	DeleteDimension *DeleteDimensionRequest `json:"deleteDimension,omitempty"`
+
+	// DeleteEmbeddedObject: Deletes an embedded object (e.g, chart, image)
+	// in a sheet.
+	DeleteEmbeddedObject *DeleteEmbeddedObjectRequest `json:"deleteEmbeddedObject,omitempty"`
+
+	// DeleteFilterView: Deletes a filter view from a sheet.
+	DeleteFilterView *DeleteFilterViewRequest `json:"deleteFilterView,omitempty"`
+
+	// DeleteNamedRange: Deletes a named range.
+	DeleteNamedRange *DeleteNamedRangeRequest `json:"deleteNamedRange,omitempty"`
+
+	// DeleteProtectedRange: Deletes a protected range.
+	DeleteProtectedRange *DeleteProtectedRangeRequest `json:"deleteProtectedRange,omitempty"`
+
+	// DeleteSheet: Deletes a sheet.
+	DeleteSheet *DeleteSheetRequest `json:"deleteSheet,omitempty"`
+
+	// DuplicateFilterView: Duplicates a filter view.
+	DuplicateFilterView *DuplicateFilterViewRequest `json:"duplicateFilterView,omitempty"`
+
+	// DuplicateSheet: Duplicates a sheet.
+	DuplicateSheet *DuplicateSheetRequest `json:"duplicateSheet,omitempty"`
+
+	// FindReplace: Finds and replace occurrences of some text with other
+	// text.
+	FindReplace *FindReplaceRequest `json:"findReplace,omitempty"`
+
+	// InsertDimension: Inserts new rows or columns in a sheet.
+	InsertDimension *InsertDimensionRequest `json:"insertDimension,omitempty"`
+
+	// MergeCells: Merges cells together.
+	MergeCells *MergeCellsRequest `json:"mergeCells,omitempty"`
+
+	// MoveDimension: Moves rows or columns to another location in a sheet.
+	MoveDimension *MoveDimensionRequest `json:"moveDimension,omitempty"`
+
+	// PasteData: Pastes data (HTML or delimited) into a sheet.
+	PasteData *PasteDataRequest `json:"pasteData,omitempty"`
+
+	// RepeatCell: Repeats a single cell across a range.
+	RepeatCell *RepeatCellRequest `json:"repeatCell,omitempty"`
+
+	// SetBasicFilter: Sets the basic filter on a sheet.
+	SetBasicFilter *SetBasicFilterRequest `json:"setBasicFilter,omitempty"`
+
+	// SetDataValidation: Sets data validation for one or more cells.
+	SetDataValidation *SetDataValidationRequest `json:"setDataValidation,omitempty"`
+
+	// SortRange: Sorts data in a range.
+	SortRange *SortRangeRequest `json:"sortRange,omitempty"`
+
+	// TextToColumns: Converts a column of text into many columns of text.
+	TextToColumns *TextToColumnsRequest `json:"textToColumns,omitempty"`
+
+	// UnmergeCells: Unmerges merged cells.
+	UnmergeCells *UnmergeCellsRequest `json:"unmergeCells,omitempty"`
+
+	// UpdateBorders: Updates the borders in a range of cells.
+	UpdateBorders *UpdateBordersRequest `json:"updateBorders,omitempty"`
+
+	// UpdateCells: Updates many cells at once.
+	UpdateCells *UpdateCellsRequest `json:"updateCells,omitempty"`
+
+	// UpdateChartSpec: Updates a chart's specifications.
+	UpdateChartSpec *UpdateChartSpecRequest `json:"updateChartSpec,omitempty"`
+
+	// UpdateConditionalFormatRule: Updates an existing conditional format
+	// rule.
+	UpdateConditionalFormatRule *UpdateConditionalFormatRuleRequest `json:"updateConditionalFormatRule,omitempty"`
+
+	// UpdateDimensionProperties: Updates dimensions' properties.
+	UpdateDimensionProperties *UpdateDimensionPropertiesRequest `json:"updateDimensionProperties,omitempty"`
+
+	// UpdateEmbeddedObjectPosition: Updates an embedded object's (e.g.
+	// chart, image) position.
+	UpdateEmbeddedObjectPosition *UpdateEmbeddedObjectPositionRequest `json:"updateEmbeddedObjectPosition,omitempty"`
+
+	// UpdateFilterView: Updates the properties of a filter view.
+	UpdateFilterView *UpdateFilterViewRequest `json:"updateFilterView,omitempty"`
+
+	// UpdateNamedRange: Updates a named range.
+	UpdateNamedRange *UpdateNamedRangeRequest `json:"updateNamedRange,omitempty"`
+
+	// UpdateProtectedRange: Updates a protected range.
+	UpdateProtectedRange *UpdateProtectedRangeRequest `json:"updateProtectedRange,omitempty"`
+
+	// UpdateSheetProperties: Updates a sheet's properties.
+	UpdateSheetProperties *UpdateSheetPropertiesRequest `json:"updateSheetProperties,omitempty"`
+
+	// UpdateSpreadsheetProperties: Updates the spreadsheet's properties.
+	UpdateSpreadsheetProperties *UpdateSpreadsheetPropertiesRequest `json:"updateSpreadsheetProperties,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "AddChart") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *Request) MarshalJSON() ([]byte, error) {
+	type noMethod Request
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// Response: A single response from an update.
+type Response struct {
+	// AddChart: A reply from adding a chart.
+	AddChart *AddChartResponse `json:"addChart,omitempty"`
+
+	// AddFilterView: A reply from adding a filter view.
+	AddFilterView *AddFilterViewResponse `json:"addFilterView,omitempty"`
+
+	// AddNamedRange: A reply from adding a named range.
+	AddNamedRange *AddNamedRangeResponse `json:"addNamedRange,omitempty"`
+
+	// AddProtectedRange: A reply from adding a protected range.
+	AddProtectedRange *AddProtectedRangeResponse `json:"addProtectedRange,omitempty"`
+
+	// AddSheet: A reply from adding a sheet.
+	AddSheet *AddSheetResponse `json:"addSheet,omitempty"`
+
+	// DeleteConditionalFormatRule: A reply from deleting a conditional
+	// format rule.
+	DeleteConditionalFormatRule *DeleteConditionalFormatRuleResponse `json:"deleteConditionalFormatRule,omitempty"`
+
+	// DuplicateFilterView: A reply from duplicating a filter view.
+	DuplicateFilterView *DuplicateFilterViewResponse `json:"duplicateFilterView,omitempty"`
+
+	// DuplicateSheet: A reply from duplicating a sheet.
+	DuplicateSheet *DuplicateSheetResponse `json:"duplicateSheet,omitempty"`
+
+	// FindReplace: A reply from doing a find/replace.
+	FindReplace *FindReplaceResponse `json:"findReplace,omitempty"`
+
+	// UpdateConditionalFormatRule: A reply from updating a conditional
+	// format rule.
+	UpdateConditionalFormatRule *UpdateConditionalFormatRuleResponse `json:"updateConditionalFormatRule,omitempty"`
+
+	// UpdateEmbeddedObjectPosition: A reply from updating an embedded
+	// object's position.
+	UpdateEmbeddedObjectPosition *UpdateEmbeddedObjectPositionResponse `json:"updateEmbeddedObjectPosition,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "AddChart") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *Response) MarshalJSON() ([]byte, error) {
+	type noMethod Response
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// RowData: Data about each cell in a row.
+type RowData struct {
+	// Values: The values in the row, one per column.
+	Values []*CellData `json:"values,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Values") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *RowData) MarshalJSON() ([]byte, error) {
+	type noMethod RowData
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// SetBasicFilterRequest: Sets the basic filter associated with a sheet.
+type SetBasicFilterRequest struct {
+	// Filter: The filter to set.
+	Filter *BasicFilter `json:"filter,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Filter") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *SetBasicFilterRequest) MarshalJSON() ([]byte, error) {
+	type noMethod SetBasicFilterRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// SetDataValidationRequest: Sets a data validation rule to every cell
+// in the range.
+// To clear validation in a range, call this with no rule specified.
+type SetDataValidationRequest struct {
+	// Range: The range the data validation rule should apply to.
+	Range *GridRange `json:"range,omitempty"`
+
+	// Rule: The data validation rule to set on each cell in the range,
+	// or empty to clear the data validation in the range.
+	Rule *DataValidationRule `json:"rule,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Range") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *SetDataValidationRequest) MarshalJSON() ([]byte, error) {
+	type noMethod SetDataValidationRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// Sheet: A sheet in a spreadsheet.
+type Sheet struct {
+	// BasicFilter: The filter on this sheet, if any.
+	BasicFilter *BasicFilter `json:"basicFilter,omitempty"`
+
+	// Charts: The specifications of every chart on this sheet.
+	Charts []*EmbeddedChart `json:"charts,omitempty"`
+
+	// ConditionalFormats: The conditional format rules in this sheet.
+	ConditionalFormats []*ConditionalFormatRule `json:"conditionalFormats,omitempty"`
+
+	// Data: Data in the grid, if this is a grid sheet.
+	// The number of GridData objects returned is dependent on the number
+	// of
+	// ranges requested on this sheet. For example, if this is
+	// representing
+	// `Sheet1`, and the spreadsheet was requested with
+	// ranges
+	// `Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will
+	// have a
+	// startRow/startColumn of `0`,
+	// while the second one will have `startRow 14` (zero-based row 15),
+	// and `startColumn 3` (zero-based column D).
+	Data []*GridData `json:"data,omitempty"`
+
+	// FilterViews: The filter views in this sheet.
+	FilterViews []*FilterView `json:"filterViews,omitempty"`
+
+	// Merges: The ranges that are merged together.
+	Merges []*GridRange `json:"merges,omitempty"`
+
+	// Properties: The properties of the sheet.
+	Properties *SheetProperties `json:"properties,omitempty"`
+
+	// ProtectedRanges: The protected ranges in this sheet.
+	ProtectedRanges []*ProtectedRange `json:"protectedRanges,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "BasicFilter") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *Sheet) MarshalJSON() ([]byte, error) {
+	type noMethod Sheet
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// SheetProperties: Properties of a sheet.
+type SheetProperties struct {
+	// GridProperties: Additional properties of the sheet if this sheet is a
+	// grid.
+	// (If the sheet is an object sheet, containing a chart or image,
+	// then
+	// this field will be absent.)
+	// When writing it is an error to set any grid properties on non-grid
+	// sheets.
+	GridProperties *GridProperties `json:"gridProperties,omitempty"`
+
+	// Hidden: True if the sheet is hidden in the UI, false if it's visible.
+	Hidden bool `json:"hidden,omitempty"`
+
+	// Index: The index of the sheet within the spreadsheet.
+	// When adding or updating sheet properties, if this field
+	// is excluded then the sheet will be added or moved to the end
+	// of the sheet list.
+	Index int64 `json:"index,omitempty"`
+
+	// RightToLeft: True if the sheet is an RTL sheet instead of an LTR
+	// sheet.
+	RightToLeft bool `json:"rightToLeft,omitempty"`
+
+	// SheetId: The ID of the sheet. Must be non-negative.
+	// This field cannot be changed once set.
+	SheetId int64 `json:"sheetId,omitempty"`
+
+	// SheetType: The type of sheet. Defaults to GRID.
+	// This field cannot be changed once set.
+	//
+	// Possible values:
+	//   "SHEET_TYPE_UNSPECIFIED" - Default value, do not use.
+	//   "GRID" - The sheet is a grid.
+	//   "OBJECT" - The sheet has no grid and instead has an object like a
+	// chart or image.
+	SheetType string `json:"sheetType,omitempty"`
+
+	// TabColor: The color of the tab in the UI.
+	TabColor *Color `json:"tabColor,omitempty"`
+
+	// Title: The name of the sheet.
+	Title string `json:"title,omitempty"`
+
+	// ServerResponse contains the HTTP response code and headers from the
+	// server.
+	googleapi.ServerResponse `json:"-"`
+
+	// ForceSendFields is a list of field names (e.g. "GridProperties") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *SheetProperties) MarshalJSON() ([]byte, error) {
+	type noMethod SheetProperties
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// SortRangeRequest: Sorts data in rows based on a sort order per
+// column.
+type SortRangeRequest struct {
+	// Range: The range to sort.
+	Range *GridRange `json:"range,omitempty"`
+
+	// SortSpecs: The sort order per column. Later specifications are used
+	// when values
+	// are equal in the earlier specifications.
+	SortSpecs []*SortSpec `json:"sortSpecs,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Range") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *SortRangeRequest) MarshalJSON() ([]byte, error) {
+	type noMethod SortRangeRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// SortSpec: A sort order associated with a specific column or row.
+type SortSpec struct {
+	// DimensionIndex: The dimension the sort should be applied to.
+	DimensionIndex int64 `json:"dimensionIndex,omitempty"`
+
+	// SortOrder: The order data should be sorted.
+	//
+	// Possible values:
+	//   "SORT_ORDER_UNSPECIFIED" - Default value, do not use this.
+	//   "ASCENDING" - Sort ascending.
+	//   "DESCENDING" - Sort descending.
+	SortOrder string `json:"sortOrder,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "DimensionIndex") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *SortSpec) MarshalJSON() ([]byte, error) {
+	type noMethod SortSpec
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// SourceAndDestination: A combination of a source range and how to
+// extend that source.
+type SourceAndDestination struct {
+	// Dimension: The dimension that data should be filled into.
+	//
+	// Possible values:
+	//   "DIMENSION_UNSPECIFIED" - The default value, do not use.
+	//   "ROWS" - Operates on the rows of a sheet.
+	//   "COLUMNS" - Operates on the columns of a sheet.
+	Dimension string `json:"dimension,omitempty"`
+
+	// FillLength: The number of rows or columns that data should be filled
+	// into.
+	// Positive numbers expand beyond the last row or last column
+	// of the source.  Negative numbers expand before the first row
+	// or first column of the source.
+	FillLength int64 `json:"fillLength,omitempty"`
+
+	// Source: The location of the data to use as the source of the
+	// autofill.
+	Source *GridRange `json:"source,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Dimension") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *SourceAndDestination) MarshalJSON() ([]byte, error) {
+	type noMethod SourceAndDestination
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// Spreadsheet: Resource that represents a spreadsheet.
+type Spreadsheet struct {
+	// NamedRanges: The named ranges defined in a spreadsheet.
+	NamedRanges []*NamedRange `json:"namedRanges,omitempty"`
+
+	// Properties: Overall properties of a spreadsheet.
+	Properties *SpreadsheetProperties `json:"properties,omitempty"`
+
+	// Sheets: The sheets that are part of a spreadsheet.
+	Sheets []*Sheet `json:"sheets,omitempty"`
+
+	// SpreadsheetId: The ID of the spreadsheet.
+	// This field is read-only.
+	SpreadsheetId string `json:"spreadsheetId,omitempty"`
+
+	// ServerResponse contains the HTTP response code and headers from the
+	// server.
+	googleapi.ServerResponse `json:"-"`
+
+	// ForceSendFields is a list of field names (e.g. "NamedRanges") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *Spreadsheet) MarshalJSON() ([]byte, error) {
+	type noMethod Spreadsheet
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// SpreadsheetProperties: Properties of a spreadsheet.
+type SpreadsheetProperties struct {
+	// AutoRecalc: The amount of time to wait before volatile functions are
+	// recalculated.
+	//
+	// Possible values:
+	//   "RECALCULATION_INTERVAL_UNSPECIFIED" - Default value. This value
+	// must not be used.
+	//   "ON_CHANGE" - Volatile functions are updated on every change.
+	//   "MINUTE" - Volatile functions are updated on every change and every
+	// minute.
+	//   "HOUR" - Volatile functions are updated on every change and hourly.
+	AutoRecalc string `json:"autoRecalc,omitempty"`
+
+	// DefaultFormat: The default format of all cells in the
+	// spreadsheet.
+	// CellData.effectiveFormat will not be set if the cell's format is
+	// equal
+	// to this default format.
+	// This field is read-only.
+	DefaultFormat *CellFormat `json:"defaultFormat,omitempty"`
+
+	// Locale: The locale of the spreadsheet in one of the following
+	// formats:
+	// * an ISO 639-1 language code such as `en`
+	// * an ISO 639-2 language code such as `fil`, if no 639-1 code exists
+	// * a combination of the ISO language code and country code, such as
+	// `en_US`
+	// Note: when updating this field, not all locales/languages are
+	// supported.
+	Locale string `json:"locale,omitempty"`
+
+	// TimeZone: The time zone of the spreadsheet, in CLDR format such
+	// as
+	// `America/New_York`. If the time zone isn't recognized, this may
+	// be a custom time zone such as `GMT-07:00`.
+	TimeZone string `json:"timeZone,omitempty"`
+
+	// Title: The title of the spreadsheet.
+	Title string `json:"title,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "AutoRecalc") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *SpreadsheetProperties) MarshalJSON() ([]byte, error) {
+	type noMethod SpreadsheetProperties
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// TextFormat: The format of a run of text in a cell.
+// Absent values indicate that the field isn't specified.
+type TextFormat struct {
+	// Bold: True if the text is bold.
+	Bold bool `json:"bold,omitempty"`
+
+	// FontFamily: The font family.
+	FontFamily string `json:"fontFamily,omitempty"`
+
+	// FontSize: The size of the font.
+	FontSize int64 `json:"fontSize,omitempty"`
+
+	// ForegroundColor: The foreground color of the text.
+	ForegroundColor *Color `json:"foregroundColor,omitempty"`
+
+	// Italic: True if the text is italicized.
+	Italic bool `json:"italic,omitempty"`
+
+	// Strikethrough: True if the text has a strikethrough.
+	Strikethrough bool `json:"strikethrough,omitempty"`
+
+	// Underline: True if the text is underlined.
+	Underline bool `json:"underline,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Bold") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *TextFormat) MarshalJSON() ([]byte, error) {
+	type noMethod TextFormat
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// TextFormatRun: A run of a text format. The format of this run
+// continues until explicitly
+// overridden in the next run.
+// When updating, all fields must be set.
+type TextFormatRun struct {
+	// Format: The format of this run.  Absent values inherit the cell's
+	// format.
+	Format *TextFormat `json:"format,omitempty"`
+
+	// StartIndex: The character index where this run starts.
+	StartIndex int64 `json:"startIndex,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Format") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *TextFormatRun) MarshalJSON() ([]byte, error) {
+	type noMethod TextFormatRun
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// TextToColumnsRequest: Splits a column of text into multiple
+// columns,
+// based on a delimiter in each cell.
+type TextToColumnsRequest struct {
+	// Delimiter: The delimiter to use. Used only if delimiterType
+	// is
+	// CUSTOM.
+	Delimiter string `json:"delimiter,omitempty"`
+
+	// DelimiterType: The delimiter type to use.
+	//
+	// Possible values:
+	//   "DELIMITER_TYPE_UNSPECIFIED" - Default value. This value must not
+	// be used.
+	//   "COMMA" - ","
+	//   "SEMICOLON" - ";"
+	//   "PERIOD" - "."
+	//   "SPACE" - " "
+	//   "CUSTOM" - A custom value as defined in delimiter.
+	DelimiterType string `json:"delimiterType,omitempty"`
+
+	// Source: The source data range.  This must span exactly one column.
+	Source *GridRange `json:"source,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Delimiter") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *TextToColumnsRequest) MarshalJSON() ([]byte, error) {
+	type noMethod TextToColumnsRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// UnmergeCellsRequest: Unmerges cells in the given range.
+type UnmergeCellsRequest struct {
+	// Range: The range within which all cells should be unmerged.
+	// If the range spans multiple merges, all will be unmerged.
+	// The range must not partially span any merge.
+	Range *GridRange `json:"range,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Range") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *UnmergeCellsRequest) MarshalJSON() ([]byte, error) {
+	type noMethod UnmergeCellsRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// UpdateBordersRequest: Updates the borders of a range.
+// If a field is not set in the request, that means the border remains
+// as-is.
+// For example, with two subsequent UpdateBordersRequest:
+//
+//  1. range: A1:A5 `{ top: RED, bottom: WHITE }`
+//  2. range: A1:A5 `{ left: BLUE }`
+//
+// That would result in A1:A5 having a borders of
+// `{ top: RED, bottom: WHITE, left: BLUE }`.
+// If you want to clear a border, explicitly set the style to
+// NONE.
+type UpdateBordersRequest struct {
+	// Bottom: The border to put at the bottom of the range.
+	Bottom *Border `json:"bottom,omitempty"`
+
+	// InnerHorizontal: The horizontal border to put within the range.
+	InnerHorizontal *Border `json:"innerHorizontal,omitempty"`
+
+	// InnerVertical: The vertical border to put within the range.
+	InnerVertical *Border `json:"innerVertical,omitempty"`
+
+	// Left: The border to put at the left of the range.
+	Left *Border `json:"left,omitempty"`
+
+	// Range: The range whose borders should be updated.
+	Range *GridRange `json:"range,omitempty"`
+
+	// Right: The border to put at the right of the range.
+	Right *Border `json:"right,omitempty"`
+
+	// Top: The border to put at the top of the range.
+	Top *Border `json:"top,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Bottom") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *UpdateBordersRequest) MarshalJSON() ([]byte, error) {
+	type noMethod UpdateBordersRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// UpdateCellsRequest: Updates all cells in a range with new data.
+type UpdateCellsRequest struct {
+	// Fields: The fields of CellData that should be updated.
+	// At least one field must be specified.
+	// The root is the CellData; 'row.values.' should not be specified.
+	// A single "*" can be used as short-hand for listing every field.
+	Fields string `json:"fields,omitempty"`
+
+	// Range: The range to write data to.
+	//
+	// If the data in rows does not cover the entire requested range,
+	// the fields matching those set in fields will be cleared.
+	Range *GridRange `json:"range,omitempty"`
+
+	// Rows: The data to write.
+	Rows []*RowData `json:"rows,omitempty"`
+
+	// Start: The coordinate to start writing data at.
+	// Any number of rows and columns (including a different number
+	// of
+	// columns per row) may be written.
+	Start *GridCoordinate `json:"start,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Fields") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *UpdateCellsRequest) MarshalJSON() ([]byte, error) {
+	type noMethod UpdateCellsRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// UpdateChartSpecRequest: Updates a chart's specifications.
+// (This does not move or resize a chart. To move or resize a chart,
+// use
+//  UpdateEmbeddedObjectPositionRequest.)
+type UpdateChartSpecRequest struct {
+	// ChartId: The ID of the chart to update.
+	ChartId int64 `json:"chartId,omitempty"`
+
+	// Spec: The specification to apply to the chart.
+	Spec *ChartSpec `json:"spec,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "ChartId") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *UpdateChartSpecRequest) MarshalJSON() ([]byte, error) {
+	type noMethod UpdateChartSpecRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// UpdateConditionalFormatRuleRequest: Updates a conditional format rule
+// at the given index,
+// or moves a conditional format rule to another index.
+type UpdateConditionalFormatRuleRequest struct {
+	// Index: The zero-based index of the rule that should be replaced or
+	// moved.
+	Index int64 `json:"index,omitempty"`
+
+	// NewIndex: The zero-based new index the rule should end up at.
+	NewIndex int64 `json:"newIndex,omitempty"`
+
+	// Rule: The rule that should replace the rule at the given index.
+	Rule *ConditionalFormatRule `json:"rule,omitempty"`
+
+	// SheetId: The sheet of the rule to move.  Required if newIndex is
+	// set,
+	// unused otherwise.
+	SheetId int64 `json:"sheetId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Index") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *UpdateConditionalFormatRuleRequest) MarshalJSON() ([]byte, error) {
+	type noMethod UpdateConditionalFormatRuleRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// UpdateConditionalFormatRuleResponse: The result of updating a
+// conditional format rule.
+type UpdateConditionalFormatRuleResponse struct {
+	// NewIndex: The index of the new rule.
+	NewIndex int64 `json:"newIndex,omitempty"`
+
+	// NewRule: The new rule that replaced the old rule (if replacing),
+	// or the rule that was moved (if moved)
+	NewRule *ConditionalFormatRule `json:"newRule,omitempty"`
+
+	// OldIndex: The old index of the rule. Not set if a rule was
+	// replaced
+	// (because it is the same as newIndex).
+	OldIndex int64 `json:"oldIndex,omitempty"`
+
+	// OldRule: The old (deleted) rule. Not set if a rule was moved
+	// (because it is the same as newRule).
+	OldRule *ConditionalFormatRule `json:"oldRule,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "NewIndex") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *UpdateConditionalFormatRuleResponse) MarshalJSON() ([]byte, error) {
+	type noMethod UpdateConditionalFormatRuleResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// UpdateDimensionPropertiesRequest: Updates properties of dimensions
+// within the specified range.
+// It is an error to specify read only fields in the field mask.
+type UpdateDimensionPropertiesRequest struct {
+	// Fields: The fields that should be updated.  At least one field must
+	// be specified.
+	// The root `properties` is implied and should not be specified.
+	// A single "*" can be used as short-hand for listing every field.
+	Fields string `json:"fields,omitempty"`
+
+	// Properties: Properties to update.
+	Properties *DimensionProperties `json:"properties,omitempty"`
+
+	// Range: The rows or columns to update.
+	Range *DimensionRange `json:"range,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Fields") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *UpdateDimensionPropertiesRequest) MarshalJSON() ([]byte, error) {
+	type noMethod UpdateDimensionPropertiesRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// UpdateEmbeddedObjectPositionRequest: Update an embedded object's
+// position (such as a moving or resizing a
+// chart or image).
+type UpdateEmbeddedObjectPositionRequest struct {
+	// Fields: The fields of OverlayPosition that should be updated
+	// when
+	// setting a new position. Used only if
+	// newPosition.overlayPosition
+	// is set, in which case at least one field must
+	// be specified.  The root `newPosition.overlayPosition` is implied
+	// and
+	// should not be specified.
+	// A single "*" can be used as short-hand for listing every field.
+	Fields string `json:"fields,omitempty"`
+
+	// NewPosition: An explicit position to move the embedded object to.
+	// If newPosition.sheetId is set,
+	// a new sheet with that ID will be created.
+	// If newPosition.newSheet is set to true,
+	// a new sheet will be created with an ID that will be chosen for you.
+	NewPosition *EmbeddedObjectPosition `json:"newPosition,omitempty"`
+
+	// ObjectId: The id of the object to moved.
+	ObjectId int64 `json:"objectId,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Fields") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *UpdateEmbeddedObjectPositionRequest) MarshalJSON() ([]byte, error) {
+	type noMethod UpdateEmbeddedObjectPositionRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// UpdateEmbeddedObjectPositionResponse: The result of updating an
+// embedded object's position.
+type UpdateEmbeddedObjectPositionResponse struct {
+	// Position: The new position of the embedded object.
+	Position *EmbeddedObjectPosition `json:"position,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Position") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *UpdateEmbeddedObjectPositionResponse) MarshalJSON() ([]byte, error) {
+	type noMethod UpdateEmbeddedObjectPositionResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// UpdateFilterViewRequest: Updates properties of the filter view.
+type UpdateFilterViewRequest struct {
+	// Fields: The fields that should be updated.  At least one field must
+	// be specified.
+	// The root `filter` is implied and should not be specified.
+	// A single "*" can be used as short-hand for listing every field.
+	Fields string `json:"fields,omitempty"`
+
+	// Filter: The new properties of the filter view.
+	Filter *FilterView `json:"filter,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Fields") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *UpdateFilterViewRequest) MarshalJSON() ([]byte, error) {
+	type noMethod UpdateFilterViewRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// UpdateNamedRangeRequest: Updates properties of the named range with
+// the specified
+// namedRangeId.
+// It is an error to specify read only fields in the field mask.
+type UpdateNamedRangeRequest struct {
+	// Fields: The fields that should be updated.  At least one field must
+	// be specified.
+	// The root `namedRange` is implied and should not be specified.
+	// A single "*" can be used as short-hand for listing every field.
+	Fields string `json:"fields,omitempty"`
+
+	// NamedRange: The named range to update with the new properties.
+	NamedRange *NamedRange `json:"namedRange,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Fields") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *UpdateNamedRangeRequest) MarshalJSON() ([]byte, error) {
+	type noMethod UpdateNamedRangeRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// UpdateProtectedRangeRequest: Updates an existing protected range with
+// the specified
+// protectedRangeId.
+type UpdateProtectedRangeRequest struct {
+	// Fields: The fields that should be updated.  At least one field must
+	// be specified.
+	// The root `protectedRange` is implied and should not be specified.
+	// A single "*" can be used as short-hand for listing every field.
+	Fields string `json:"fields,omitempty"`
+
+	// ProtectedRange: The protected range to update with the new
+	// properties. If a nonzero
+	// protectedRangeId is
+	// specified, the protected range will use that ID. (It is an error
+	// to
+	// specify the ID of a protected range that already exists.)
+	ProtectedRange *ProtectedRange `json:"protectedRange,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Fields") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *UpdateProtectedRangeRequest) MarshalJSON() ([]byte, error) {
+	type noMethod UpdateProtectedRangeRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// UpdateSheetPropertiesRequest: Updates properties of the sheet with
+// the specified
+// sheetId.
+// It is an error to specify read only fields in the field mask.
+type UpdateSheetPropertiesRequest struct {
+	// Fields: The fields that should be updated.  At least one field must
+	// be specified.
+	// The root `properties` is implied and should not be specified.
+	// A single "*" can be used as short-hand for listing every field.
+	Fields string `json:"fields,omitempty"`
+
+	// Properties: The properties to update.
+	Properties *SheetProperties `json:"properties,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Fields") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *UpdateSheetPropertiesRequest) MarshalJSON() ([]byte, error) {
+	type noMethod UpdateSheetPropertiesRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// UpdateSpreadsheetPropertiesRequest: Updates properties of a
+// spreadsheet.
+// It is an error to specify read only fields in the field mask.
+type UpdateSpreadsheetPropertiesRequest struct {
+	// Fields: The fields that should be updated.  At least one field must
+	// be specified.
+	// The root 'properties' is implied and should not be specified.
+	// A single "*" can be used as short-hand for listing every field.
+	Fields string `json:"fields,omitempty"`
+
+	// Properties: The properties to update.
+	Properties *SpreadsheetProperties `json:"properties,omitempty"`
+
+	// ForceSendFields is a list of field names (e.g. "Fields") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *UpdateSpreadsheetPropertiesRequest) MarshalJSON() ([]byte, error) {
+	type noMethod UpdateSpreadsheetPropertiesRequest
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// UpdateValuesResponse: The response when updating a range of values in
+// a spreadsheet.
+type UpdateValuesResponse struct {
+	// SpreadsheetId: The spreadsheet the updates were applied to.
+	SpreadsheetId string `json:"spreadsheetId,omitempty"`
+
+	// UpdatedCells: The number of cells updated.
+	UpdatedCells int64 `json:"updatedCells,omitempty"`
+
+	// UpdatedColumns: The number of columns where at least one cell in the
+	// column was updated.
+	UpdatedColumns int64 `json:"updatedColumns,omitempty"`
+
+	// UpdatedRange: The range (in A1 notation) that updates were applied
+	// to.
+	UpdatedRange string `json:"updatedRange,omitempty"`
+
+	// UpdatedRows: The number of rows where at least one cell in the row
+	// was updated.
+	UpdatedRows int64 `json:"updatedRows,omitempty"`
+
+	// ServerResponse contains the HTTP response code and headers from the
+	// server.
+	googleapi.ServerResponse `json:"-"`
+
+	// ForceSendFields is a list of field names (e.g. "SpreadsheetId") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *UpdateValuesResponse) MarshalJSON() ([]byte, error) {
+	type noMethod UpdateValuesResponse
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// ValueRange: Data within a range of the spreadsheet.
+type ValueRange struct {
+	// MajorDimension: The major dimension of the values.
+	//
+	// For output, if the spreadsheet data is: A1=1,B1=2,A2=3,B2=4,
+	// then requesting range=A1:B2,majorDimension=ROWS will return
+	// [[1,2],[3,4]],
+	// whereas requesting range=A1:B2,majorDimension=COLUMNS will
+	// return
+	// [[1,3],[2,4]].
+	//
+	// For input, with range=A1:B2,majorDimension=ROWS then
+	// [[1,2],[3,4]]
+	// will set A1=1,B1=2,A2=3,B2=4. With
+	// range=A1:B2,majorDimension=COLUMNS
+	// then [[1,2],[3,4]] will set A1=1,B1=3,A2=2,B2=4.
+	//
+	// When writing, if this field is not set, it defaults to ROWS.
+	//
+	// Possible values:
+	//   "DIMENSION_UNSPECIFIED" - The default value, do not use.
+	//   "ROWS" - Operates on the rows of a sheet.
+	//   "COLUMNS" - Operates on the columns of a sheet.
+	MajorDimension string `json:"majorDimension,omitempty"`
+
+	// Range: The range the values cover, in A1 notation.
+	// For output, this range indicates the entire requested range,
+	// even though the values will exclude trailing rows and columns.
+	Range string `json:"range,omitempty"`
+
+	// Values: The data that was read or to be written.  This is an array of
+	// arrays,
+	// the outer array representing all the data and each inner
+	// array
+	// representing a major dimension. Each item in the inner
+	// array
+	// corresponds with one cell.
+	//
+	// For output, empty trailing rows and columns will not be
+	// included.
+	//
+	// For input, supported value types are: bool, string, and double.
+	// Null and empty values will be skipped.
+	// To set a cell to an empty value, set the string value to an empty
+	// string.
+	Values [][]interface{} `json:"values,omitempty"`
+
+	// ServerResponse contains the HTTP response code and headers from the
+	// server.
+	googleapi.ServerResponse `json:"-"`
+
+	// ForceSendFields is a list of field names (e.g. "MajorDimension") to
+	// unconditionally include in API requests. By default, fields with
+	// empty values are omitted from API requests. However, any non-pointer,
+	// non-interface field appearing in ForceSendFields will be sent to the
+	// server regardless of whether the field is empty or not. This may be
+	// used to include empty fields in Patch requests.
+	ForceSendFields []string `json:"-"`
+}
+
+func (s *ValueRange) MarshalJSON() ([]byte, error) {
+	type noMethod ValueRange
+	raw := noMethod(*s)
+	return gensupport.MarshalJSON(raw, s.ForceSendFields)
+}
+
+// method id "sheets.spreadsheets.batchUpdate":
+
+type SpreadsheetsBatchUpdateCall struct {
+	s                             *Service
+	spreadsheetId                 string
+	batchupdatespreadsheetrequest *BatchUpdateSpreadsheetRequest
+	urlParams_                    gensupport.URLParams
+	ctx_                          context.Context
+}
+
+// BatchUpdate: Applies one or more updates to the spreadsheet.
+//
+// Each request is validated before
+// being applied. If any request is not valid then the entire request
+// will
+// fail and nothing will be applied.
+//
+// Some requests have replies to
+// give you some information about how
+// they applied. The replies will mirror the requests.  For example,
+// if you applied 4 updates and the 3rd one had a reply, then
+// the
+// response will have 2 empty replies, the actual reply, and another
+// empty
+// reply, in that order.
+//
+// Due to the collaborative nature of spreadsheets, it is not guaranteed
+// that
+// the spreadsheet will reflect exactly your changes after this
+// completes,
+// however it is guaranteed that all the updates in the request will
+// be
+// applied atomically. Your changes may be altered with respect
+// to
+// collaborator changes. If there are no collaborators, the
+// spreadsheet
+// should reflect your changes.
+func (r *SpreadsheetsService) BatchUpdate(spreadsheetId string, batchupdatespreadsheetrequest *BatchUpdateSpreadsheetRequest) *SpreadsheetsBatchUpdateCall {
+	c := &SpreadsheetsBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.spreadsheetId = spreadsheetId
+	c.batchupdatespreadsheetrequest = batchupdatespreadsheetrequest
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *SpreadsheetsBatchUpdateCall) Fields(s ...googleapi.Field) *SpreadsheetsBatchUpdateCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *SpreadsheetsBatchUpdateCall) Context(ctx context.Context) *SpreadsheetsBatchUpdateCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *SpreadsheetsBatchUpdateCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	body, err := googleapi.WithoutDataWrapper.JSONReader(c.batchupdatespreadsheetrequest)
+	if err != nil {
+		return nil, err
+	}
+	ctype := "application/json"
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v4/spreadsheets/{spreadsheetId}:batchUpdate")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("POST", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"spreadsheetId": c.spreadsheetId,
+	})
+	req.Header.Set("Content-Type", ctype)
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "sheets.spreadsheets.batchUpdate" call.
+// Exactly one of *BatchUpdateSpreadsheetResponse or error will be
+// non-nil. Any non-2xx status code is an error. Response headers are in
+// either *BatchUpdateSpreadsheetResponse.ServerResponse.Header or (if a
+// response was returned at all) in error.(*googleapi.Error).Header. Use
+// googleapi.IsNotModified to check whether the returned error was
+// because http.StatusNotModified was returned.
+func (c *SpreadsheetsBatchUpdateCall) Do(opts ...googleapi.CallOption) (*BatchUpdateSpreadsheetResponse, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &BatchUpdateSpreadsheetResponse{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Applies one or more updates to the spreadsheet.\n\nEach request is validated before\nbeing applied. If any request is not valid then the entire request will\nfail and nothing will be applied.\n\nSome requests have replies to\ngive you some information about how\nthey applied. The replies will mirror the requests.  For example,\nif you applied 4 updates and the 3rd one had a reply, then the\nresponse will have 2 empty replies, the actual reply, and another empty\nreply, in that order.\n\nDue to the collaborative nature of spreadsheets, it is not guaranteed that\nthe spreadsheet will reflect exactly your changes after this completes,\nhowever it is guaranteed that all the updates in the request will be\napplied atomically. Your changes may be altered with respect to\ncollaborator changes. If there are no collaborators, the spreadsheet\nshould reflect your changes.",
+	//   "flatPath": "v4/spreadsheets/{spreadsheetId}:batchUpdate",
+	//   "httpMethod": "POST",
+	//   "id": "sheets.spreadsheets.batchUpdate",
+	//   "parameterOrder": [
+	//     "spreadsheetId"
+	//   ],
+	//   "parameters": {
+	//     "spreadsheetId": {
+	//       "description": "The spreadsheet to apply the updates to.",
+	//       "location": "path",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v4/spreadsheets/{spreadsheetId}:batchUpdate",
+	//   "request": {
+	//     "$ref": "BatchUpdateSpreadsheetRequest"
+	//   },
+	//   "response": {
+	//     "$ref": "BatchUpdateSpreadsheetResponse"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/drive",
+	//     "https://www.googleapis.com/auth/spreadsheets"
+	//   ]
+	// }
+
+}
+
+// method id "sheets.spreadsheets.create":
+
+type SpreadsheetsCreateCall struct {
+	s           *Service
+	spreadsheet *Spreadsheet
+	urlParams_  gensupport.URLParams
+	ctx_        context.Context
+}
+
+// Create: Creates a spreadsheet, returning the newly created
+// spreadsheet.
+func (r *SpreadsheetsService) Create(spreadsheet *Spreadsheet) *SpreadsheetsCreateCall {
+	c := &SpreadsheetsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.spreadsheet = spreadsheet
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *SpreadsheetsCreateCall) Fields(s ...googleapi.Field) *SpreadsheetsCreateCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *SpreadsheetsCreateCall) Context(ctx context.Context) *SpreadsheetsCreateCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *SpreadsheetsCreateCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	body, err := googleapi.WithoutDataWrapper.JSONReader(c.spreadsheet)
+	if err != nil {
+		return nil, err
+	}
+	ctype := "application/json"
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v4/spreadsheets")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("POST", urls, body)
+	googleapi.SetOpaque(req.URL)
+	req.Header.Set("Content-Type", ctype)
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "sheets.spreadsheets.create" call.
+// Exactly one of *Spreadsheet or error will be non-nil. Any non-2xx
+// status code is an error. Response headers are in either
+// *Spreadsheet.ServerResponse.Header or (if a response was returned at
+// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified
+// to check whether the returned error was because
+// http.StatusNotModified was returned.
+func (c *SpreadsheetsCreateCall) Do(opts ...googleapi.CallOption) (*Spreadsheet, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &Spreadsheet{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Creates a spreadsheet, returning the newly created spreadsheet.",
+	//   "flatPath": "v4/spreadsheets",
+	//   "httpMethod": "POST",
+	//   "id": "sheets.spreadsheets.create",
+	//   "parameterOrder": [],
+	//   "parameters": {},
+	//   "path": "v4/spreadsheets",
+	//   "request": {
+	//     "$ref": "Spreadsheet"
+	//   },
+	//   "response": {
+	//     "$ref": "Spreadsheet"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/drive",
+	//     "https://www.googleapis.com/auth/spreadsheets"
+	//   ]
+	// }
+
+}
+
+// method id "sheets.spreadsheets.get":
+
+type SpreadsheetsGetCall struct {
+	s             *Service
+	spreadsheetId string
+	urlParams_    gensupport.URLParams
+	ifNoneMatch_  string
+	ctx_          context.Context
+}
+
+// Get: Returns the spreadsheet at the given id.
+// The caller must specify the spreadsheet ID.
+//
+// By default, data within grids will not be returned.
+// You can include grid data one of two ways: specify a field mask
+// listing
+// your desired fields (using the `fields` URL parameter in HTTP,
+// or `FieldMaskContext.response_mask` in the request extensions in an
+// RPC),
+// or by setting the
+// includeGridData URL parameter
+// to true.  If a field mask is set, the `includeGridData` parameter
+// is
+// ignored.
+//
+// For large spreadsheets, it is recommended to retrieve only the
+// specific
+// fields of the spreadsheet that you want.
+//
+// To retrieve only subsets of the spreadsheet, use the
+// ranges URL parameter.
+// Multiple ranges can be specified.  Limiting the range will
+// return only the portions of the spreadsheet that intersect the
+// requested
+// ranges. Ranges are specified using A1 notation.
+func (r *SpreadsheetsService) Get(spreadsheetId string) *SpreadsheetsGetCall {
+	c := &SpreadsheetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.spreadsheetId = spreadsheetId
+	return c
+}
+
+// IncludeGridData sets the optional parameter "includeGridData": True
+// if grid data should be returned.
+// This parameter is ignored if a field mask was set in the request.
+func (c *SpreadsheetsGetCall) IncludeGridData(includeGridData bool) *SpreadsheetsGetCall {
+	c.urlParams_.Set("includeGridData", fmt.Sprint(includeGridData))
+	return c
+}
+
+// Ranges sets the optional parameter "ranges": The ranges to retrieve
+// from the spreadsheet.
+func (c *SpreadsheetsGetCall) Ranges(ranges ...string) *SpreadsheetsGetCall {
+	c.urlParams_.SetMulti("ranges", append([]string{}, ranges...))
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *SpreadsheetsGetCall) Fields(s ...googleapi.Field) *SpreadsheetsGetCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// IfNoneMatch sets the optional parameter which makes the operation
+// fail if the object's ETag matches the given value. This is useful for
+// getting updates only after the object has changed since the last
+// request. Use googleapi.IsNotModified to check whether the response
+// error from Do is the result of In-None-Match.
+func (c *SpreadsheetsGetCall) IfNoneMatch(entityTag string) *SpreadsheetsGetCall {
+	c.ifNoneMatch_ = entityTag
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *SpreadsheetsGetCall) Context(ctx context.Context) *SpreadsheetsGetCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *SpreadsheetsGetCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v4/spreadsheets/{spreadsheetId}")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("GET", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"spreadsheetId": c.spreadsheetId,
+	})
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ifNoneMatch_ != "" {
+		req.Header.Set("If-None-Match", c.ifNoneMatch_)
+	}
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "sheets.spreadsheets.get" call.
+// Exactly one of *Spreadsheet or error will be non-nil. Any non-2xx
+// status code is an error. Response headers are in either
+// *Spreadsheet.ServerResponse.Header or (if a response was returned at
+// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified
+// to check whether the returned error was because
+// http.StatusNotModified was returned.
+func (c *SpreadsheetsGetCall) Do(opts ...googleapi.CallOption) (*Spreadsheet, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &Spreadsheet{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Returns the spreadsheet at the given id.\nThe caller must specify the spreadsheet ID.\n\nBy default, data within grids will not be returned.\nYou can include grid data one of two ways: specify a field mask listing\nyour desired fields (using the `fields` URL parameter in HTTP,\nor `FieldMaskContext.response_mask` in the request extensions in an RPC),\nor by setting the\nincludeGridData URL parameter\nto true.  If a field mask is set, the `includeGridData` parameter is\nignored.\n\nFor large spreadsheets, it is recommended to retrieve only the specific\nfields of the spreadsheet that you want.\n\nTo retrieve only subsets of the spreadsheet, use the\nranges URL parameter.\nMultiple ranges can be specified.  Limiting the range will\nreturn only the portions of the spreadsheet that intersect the requested\nranges. Ranges are specified using A1 notation.",
+	//   "flatPath": "v4/spreadsheets/{spreadsheetId}",
+	//   "httpMethod": "GET",
+	//   "id": "sheets.spreadsheets.get",
+	//   "parameterOrder": [
+	//     "spreadsheetId"
+	//   ],
+	//   "parameters": {
+	//     "includeGridData": {
+	//       "description": "True if grid data should be returned.\nThis parameter is ignored if a field mask was set in the request.",
+	//       "location": "query",
+	//       "type": "boolean"
+	//     },
+	//     "ranges": {
+	//       "description": "The ranges to retrieve from the spreadsheet.",
+	//       "location": "query",
+	//       "repeated": true,
+	//       "type": "string"
+	//     },
+	//     "spreadsheetId": {
+	//       "description": "The spreadsheet to request.",
+	//       "location": "path",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v4/spreadsheets/{spreadsheetId}",
+	//   "response": {
+	//     "$ref": "Spreadsheet"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/drive",
+	//     "https://www.googleapis.com/auth/drive.readonly",
+	//     "https://www.googleapis.com/auth/spreadsheets",
+	//     "https://www.googleapis.com/auth/spreadsheets.readonly"
+	//   ]
+	// }
+
+}
+
+// method id "sheets.spreadsheets.sheets.copyTo":
+
+type SpreadsheetsSheetsCopyToCall struct {
+	s                                    *Service
+	spreadsheetId                        string
+	sheetId                              int64
+	copysheettoanotherspreadsheetrequest *CopySheetToAnotherSpreadsheetRequest
+	urlParams_                           gensupport.URLParams
+	ctx_                                 context.Context
+}
+
+// CopyTo: Copies a single sheet from a spreadsheet to another
+// spreadsheet.
+// Returns the properties of the newly created sheet.
+func (r *SpreadsheetsSheetsService) CopyTo(spreadsheetId string, sheetId int64, copysheettoanotherspreadsheetrequest *CopySheetToAnotherSpreadsheetRequest) *SpreadsheetsSheetsCopyToCall {
+	c := &SpreadsheetsSheetsCopyToCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.spreadsheetId = spreadsheetId
+	c.sheetId = sheetId
+	c.copysheettoanotherspreadsheetrequest = copysheettoanotherspreadsheetrequest
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *SpreadsheetsSheetsCopyToCall) Fields(s ...googleapi.Field) *SpreadsheetsSheetsCopyToCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *SpreadsheetsSheetsCopyToCall) Context(ctx context.Context) *SpreadsheetsSheetsCopyToCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *SpreadsheetsSheetsCopyToCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	body, err := googleapi.WithoutDataWrapper.JSONReader(c.copysheettoanotherspreadsheetrequest)
+	if err != nil {
+		return nil, err
+	}
+	ctype := "application/json"
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("POST", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"spreadsheetId": c.spreadsheetId,
+		"sheetId":       strconv.FormatInt(c.sheetId, 10),
+	})
+	req.Header.Set("Content-Type", ctype)
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "sheets.spreadsheets.sheets.copyTo" call.
+// Exactly one of *SheetProperties or error will be non-nil. Any non-2xx
+// status code is an error. Response headers are in either
+// *SheetProperties.ServerResponse.Header or (if a response was returned
+// at all) in error.(*googleapi.Error).Header. Use
+// googleapi.IsNotModified to check whether the returned error was
+// because http.StatusNotModified was returned.
+func (c *SpreadsheetsSheetsCopyToCall) Do(opts ...googleapi.CallOption) (*SheetProperties, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &SheetProperties{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Copies a single sheet from a spreadsheet to another spreadsheet.\nReturns the properties of the newly created sheet.",
+	//   "flatPath": "v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo",
+	//   "httpMethod": "POST",
+	//   "id": "sheets.spreadsheets.sheets.copyTo",
+	//   "parameterOrder": [
+	//     "spreadsheetId",
+	//     "sheetId"
+	//   ],
+	//   "parameters": {
+	//     "sheetId": {
+	//       "description": "The ID of the sheet to copy.",
+	//       "format": "int32",
+	//       "location": "path",
+	//       "required": true,
+	//       "type": "integer"
+	//     },
+	//     "spreadsheetId": {
+	//       "description": "The id of the spreadsheet containing the sheet to copy.",
+	//       "location": "path",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo",
+	//   "request": {
+	//     "$ref": "CopySheetToAnotherSpreadsheetRequest"
+	//   },
+	//   "response": {
+	//     "$ref": "SheetProperties"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/drive",
+	//     "https://www.googleapis.com/auth/spreadsheets"
+	//   ]
+	// }
+
+}
+
+// method id "sheets.spreadsheets.values.batchGet":
+
+type SpreadsheetsValuesBatchGetCall struct {
+	s             *Service
+	spreadsheetId string
+	urlParams_    gensupport.URLParams
+	ifNoneMatch_  string
+	ctx_          context.Context
+}
+
+// BatchGet: Returns one or more ranges of values from a
+// spreadsheet.
+// The caller must specify the spreadsheet ID and one or more ranges.
+func (r *SpreadsheetsValuesService) BatchGet(spreadsheetId string) *SpreadsheetsValuesBatchGetCall {
+	c := &SpreadsheetsValuesBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.spreadsheetId = spreadsheetId
+	return c
+}
+
+// DateTimeRenderOption sets the optional parameter
+// "dateTimeRenderOption": How dates, times, and durations should be
+// represented in the output.
+// This is ignored if ValueRenderOption option is
+// FORMATTED_VALUE.
+//
+// Possible values:
+//   "SERIAL_NUMBER"
+//   "FORMATTED_STRING"
+func (c *SpreadsheetsValuesBatchGetCall) DateTimeRenderOption(dateTimeRenderOption string) *SpreadsheetsValuesBatchGetCall {
+	c.urlParams_.Set("dateTimeRenderOption", dateTimeRenderOption)
+	return c
+}
+
+// MajorDimension sets the optional parameter "majorDimension": The
+// major dimension that results should use.
+//
+// For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
+// then requesting `range=A1:B2,majorDimension=ROWS` will
+// return
+// `[[1,2],[3,4]]`,
+// whereas requesting `range=A1:B2,majorDimension=COLUMNS` will
+// return
+// `[[1,3],[2,4]]`.
+//
+// Possible values:
+//   "DIMENSION_UNSPECIFIED"
+//   "ROWS"
+//   "COLUMNS"
+func (c *SpreadsheetsValuesBatchGetCall) MajorDimension(majorDimension string) *SpreadsheetsValuesBatchGetCall {
+	c.urlParams_.Set("majorDimension", majorDimension)
+	return c
+}
+
+// Ranges sets the optional parameter "ranges": The A1 notation of the
+// values to retrieve.
+func (c *SpreadsheetsValuesBatchGetCall) Ranges(ranges ...string) *SpreadsheetsValuesBatchGetCall {
+	c.urlParams_.SetMulti("ranges", append([]string{}, ranges...))
+	return c
+}
+
+// ValueRenderOption sets the optional parameter "valueRenderOption":
+// How values should be represented in the output.
+//
+// Possible values:
+//   "FORMATTED_VALUE"
+//   "UNFORMATTED_VALUE"
+//   "FORMULA"
+func (c *SpreadsheetsValuesBatchGetCall) ValueRenderOption(valueRenderOption string) *SpreadsheetsValuesBatchGetCall {
+	c.urlParams_.Set("valueRenderOption", valueRenderOption)
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *SpreadsheetsValuesBatchGetCall) Fields(s ...googleapi.Field) *SpreadsheetsValuesBatchGetCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// IfNoneMatch sets the optional parameter which makes the operation
+// fail if the object's ETag matches the given value. This is useful for
+// getting updates only after the object has changed since the last
+// request. Use googleapi.IsNotModified to check whether the response
+// error from Do is the result of In-None-Match.
+func (c *SpreadsheetsValuesBatchGetCall) IfNoneMatch(entityTag string) *SpreadsheetsValuesBatchGetCall {
+	c.ifNoneMatch_ = entityTag
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *SpreadsheetsValuesBatchGetCall) Context(ctx context.Context) *SpreadsheetsValuesBatchGetCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *SpreadsheetsValuesBatchGetCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v4/spreadsheets/{spreadsheetId}/values:batchGet")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("GET", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"spreadsheetId": c.spreadsheetId,
+	})
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ifNoneMatch_ != "" {
+		req.Header.Set("If-None-Match", c.ifNoneMatch_)
+	}
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "sheets.spreadsheets.values.batchGet" call.
+// Exactly one of *BatchGetValuesResponse or error will be non-nil. Any
+// non-2xx status code is an error. Response headers are in either
+// *BatchGetValuesResponse.ServerResponse.Header or (if a response was
+// returned at all) in error.(*googleapi.Error).Header. Use
+// googleapi.IsNotModified to check whether the returned error was
+// because http.StatusNotModified was returned.
+func (c *SpreadsheetsValuesBatchGetCall) Do(opts ...googleapi.CallOption) (*BatchGetValuesResponse, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &BatchGetValuesResponse{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Returns one or more ranges of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and one or more ranges.",
+	//   "flatPath": "v4/spreadsheets/{spreadsheetId}/values:batchGet",
+	//   "httpMethod": "GET",
+	//   "id": "sheets.spreadsheets.values.batchGet",
+	//   "parameterOrder": [
+	//     "spreadsheetId"
+	//   ],
+	//   "parameters": {
+	//     "dateTimeRenderOption": {
+	//       "description": "How dates, times, and durations should be represented in the output.\nThis is ignored if ValueRenderOption option is\nFORMATTED_VALUE.",
+	//       "enum": [
+	//         "SERIAL_NUMBER",
+	//         "FORMATTED_STRING"
+	//       ],
+	//       "location": "query",
+	//       "type": "string"
+	//     },
+	//     "majorDimension": {
+	//       "description": "The major dimension that results should use.\n\nFor example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.",
+	//       "enum": [
+	//         "DIMENSION_UNSPECIFIED",
+	//         "ROWS",
+	//         "COLUMNS"
+	//       ],
+	//       "location": "query",
+	//       "type": "string"
+	//     },
+	//     "ranges": {
+	//       "description": "The A1 notation of the values to retrieve.",
+	//       "location": "query",
+	//       "repeated": true,
+	//       "type": "string"
+	//     },
+	//     "spreadsheetId": {
+	//       "description": "The id of the spreadsheet to retrieve data from.",
+	//       "location": "path",
+	//       "required": true,
+	//       "type": "string"
+	//     },
+	//     "valueRenderOption": {
+	//       "description": "How values should be represented in the output.",
+	//       "enum": [
+	//         "FORMATTED_VALUE",
+	//         "UNFORMATTED_VALUE",
+	//         "FORMULA"
+	//       ],
+	//       "location": "query",
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v4/spreadsheets/{spreadsheetId}/values:batchGet",
+	//   "response": {
+	//     "$ref": "BatchGetValuesResponse"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/drive",
+	//     "https://www.googleapis.com/auth/drive.readonly",
+	//     "https://www.googleapis.com/auth/spreadsheets",
+	//     "https://www.googleapis.com/auth/spreadsheets.readonly"
+	//   ]
+	// }
+
+}
+
+// method id "sheets.spreadsheets.values.batchUpdate":
+
+type SpreadsheetsValuesBatchUpdateCall struct {
+	s                        *Service
+	spreadsheetId            string
+	batchupdatevaluesrequest *BatchUpdateValuesRequest
+	urlParams_               gensupport.URLParams
+	ctx_                     context.Context
+}
+
+// BatchUpdate: Sets values in a range of a spreadsheet.
+// The caller must specify the spreadsheet ID,
+// a valueInputOption, and one or more
+// ValueRanges.
+func (r *SpreadsheetsValuesService) BatchUpdate(spreadsheetId string, batchupdatevaluesrequest *BatchUpdateValuesRequest) *SpreadsheetsValuesBatchUpdateCall {
+	c := &SpreadsheetsValuesBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.spreadsheetId = spreadsheetId
+	c.batchupdatevaluesrequest = batchupdatevaluesrequest
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *SpreadsheetsValuesBatchUpdateCall) Fields(s ...googleapi.Field) *SpreadsheetsValuesBatchUpdateCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *SpreadsheetsValuesBatchUpdateCall) Context(ctx context.Context) *SpreadsheetsValuesBatchUpdateCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *SpreadsheetsValuesBatchUpdateCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	body, err := googleapi.WithoutDataWrapper.JSONReader(c.batchupdatevaluesrequest)
+	if err != nil {
+		return nil, err
+	}
+	ctype := "application/json"
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v4/spreadsheets/{spreadsheetId}/values:batchUpdate")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("POST", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"spreadsheetId": c.spreadsheetId,
+	})
+	req.Header.Set("Content-Type", ctype)
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "sheets.spreadsheets.values.batchUpdate" call.
+// Exactly one of *BatchUpdateValuesResponse or error will be non-nil.
+// Any non-2xx status code is an error. Response headers are in either
+// *BatchUpdateValuesResponse.ServerResponse.Header or (if a response
+// was returned at all) in error.(*googleapi.Error).Header. Use
+// googleapi.IsNotModified to check whether the returned error was
+// because http.StatusNotModified was returned.
+func (c *SpreadsheetsValuesBatchUpdateCall) Do(opts ...googleapi.CallOption) (*BatchUpdateValuesResponse, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &BatchUpdateValuesResponse{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Sets values in a range of a spreadsheet.\nThe caller must specify the spreadsheet ID,\na valueInputOption, and one or more\nValueRanges.",
+	//   "flatPath": "v4/spreadsheets/{spreadsheetId}/values:batchUpdate",
+	//   "httpMethod": "POST",
+	//   "id": "sheets.spreadsheets.values.batchUpdate",
+	//   "parameterOrder": [
+	//     "spreadsheetId"
+	//   ],
+	//   "parameters": {
+	//     "spreadsheetId": {
+	//       "description": "The id of the spreadsheet to update.",
+	//       "location": "path",
+	//       "required": true,
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v4/spreadsheets/{spreadsheetId}/values:batchUpdate",
+	//   "request": {
+	//     "$ref": "BatchUpdateValuesRequest"
+	//   },
+	//   "response": {
+	//     "$ref": "BatchUpdateValuesResponse"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/drive",
+	//     "https://www.googleapis.com/auth/spreadsheets"
+	//   ]
+	// }
+
+}
+
+// method id "sheets.spreadsheets.values.get":
+
+type SpreadsheetsValuesGetCall struct {
+	s             *Service
+	spreadsheetId string
+	range_        string
+	urlParams_    gensupport.URLParams
+	ifNoneMatch_  string
+	ctx_          context.Context
+}
+
+// Get: Returns a range of values from a spreadsheet.
+// The caller must specify the spreadsheet ID and a range.
+func (r *SpreadsheetsValuesService) Get(spreadsheetId string, range_ string) *SpreadsheetsValuesGetCall {
+	c := &SpreadsheetsValuesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.spreadsheetId = spreadsheetId
+	c.range_ = range_
+	return c
+}
+
+// DateTimeRenderOption sets the optional parameter
+// "dateTimeRenderOption": How dates, times, and durations should be
+// represented in the output.
+// This is ignored if the ValueRenderOption option is
+// FORMATTED_VALUE.
+//
+// Possible values:
+//   "SERIAL_NUMBER"
+//   "FORMATTED_STRING"
+func (c *SpreadsheetsValuesGetCall) DateTimeRenderOption(dateTimeRenderOption string) *SpreadsheetsValuesGetCall {
+	c.urlParams_.Set("dateTimeRenderOption", dateTimeRenderOption)
+	return c
+}
+
+// MajorDimension sets the optional parameter "majorDimension": The
+// major dimension that results should use.
+//
+// For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
+// then requesting `range=A1:B2,majorDimension=ROWS` will
+// return
+// `[[1,2],[3,4]]`,
+// whereas requesting `range=A1:B2,majorDimension=COLUMNS` will
+// return
+// `[[1,3],[2,4]]`.
+//
+// Possible values:
+//   "DIMENSION_UNSPECIFIED"
+//   "ROWS"
+//   "COLUMNS"
+func (c *SpreadsheetsValuesGetCall) MajorDimension(majorDimension string) *SpreadsheetsValuesGetCall {
+	c.urlParams_.Set("majorDimension", majorDimension)
+	return c
+}
+
+// ValueRenderOption sets the optional parameter "valueRenderOption":
+// How values should be represented in the output.
+//
+// Possible values:
+//   "FORMATTED_VALUE"
+//   "UNFORMATTED_VALUE"
+//   "FORMULA"
+func (c *SpreadsheetsValuesGetCall) ValueRenderOption(valueRenderOption string) *SpreadsheetsValuesGetCall {
+	c.urlParams_.Set("valueRenderOption", valueRenderOption)
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *SpreadsheetsValuesGetCall) Fields(s ...googleapi.Field) *SpreadsheetsValuesGetCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// IfNoneMatch sets the optional parameter which makes the operation
+// fail if the object's ETag matches the given value. This is useful for
+// getting updates only after the object has changed since the last
+// request. Use googleapi.IsNotModified to check whether the response
+// error from Do is the result of In-None-Match.
+func (c *SpreadsheetsValuesGetCall) IfNoneMatch(entityTag string) *SpreadsheetsValuesGetCall {
+	c.ifNoneMatch_ = entityTag
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *SpreadsheetsValuesGetCall) Context(ctx context.Context) *SpreadsheetsValuesGetCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *SpreadsheetsValuesGetCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v4/spreadsheets/{spreadsheetId}/values/{range}")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("GET", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"spreadsheetId": c.spreadsheetId,
+		"range":         c.range_,
+	})
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ifNoneMatch_ != "" {
+		req.Header.Set("If-None-Match", c.ifNoneMatch_)
+	}
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "sheets.spreadsheets.values.get" call.
+// Exactly one of *ValueRange or error will be non-nil. Any non-2xx
+// status code is an error. Response headers are in either
+// *ValueRange.ServerResponse.Header or (if a response was returned at
+// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified
+// to check whether the returned error was because
+// http.StatusNotModified was returned.
+func (c *SpreadsheetsValuesGetCall) Do(opts ...googleapi.CallOption) (*ValueRange, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &ValueRange{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Returns a range of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and a range.",
+	//   "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}",
+	//   "httpMethod": "GET",
+	//   "id": "sheets.spreadsheets.values.get",
+	//   "parameterOrder": [
+	//     "spreadsheetId",
+	//     "range"
+	//   ],
+	//   "parameters": {
+	//     "dateTimeRenderOption": {
+	//       "description": "How dates, times, and durations should be represented in the output.\nThis is ignored if the ValueRenderOption option is\nFORMATTED_VALUE.",
+	//       "enum": [
+	//         "SERIAL_NUMBER",
+	//         "FORMATTED_STRING"
+	//       ],
+	//       "location": "query",
+	//       "type": "string"
+	//     },
+	//     "majorDimension": {
+	//       "description": "The major dimension that results should use.\n\nFor example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.",
+	//       "enum": [
+	//         "DIMENSION_UNSPECIFIED",
+	//         "ROWS",
+	//         "COLUMNS"
+	//       ],
+	//       "location": "query",
+	//       "type": "string"
+	//     },
+	//     "range": {
+	//       "description": "The A1 notation of the values to retrieve.",
+	//       "location": "path",
+	//       "required": true,
+	//       "type": "string"
+	//     },
+	//     "spreadsheetId": {
+	//       "description": "The id of the spreadsheet to retrieve data from.",
+	//       "location": "path",
+	//       "required": true,
+	//       "type": "string"
+	//     },
+	//     "valueRenderOption": {
+	//       "description": "How values should be represented in the output.",
+	//       "enum": [
+	//         "FORMATTED_VALUE",
+	//         "UNFORMATTED_VALUE",
+	//         "FORMULA"
+	//       ],
+	//       "location": "query",
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v4/spreadsheets/{spreadsheetId}/values/{range}",
+	//   "response": {
+	//     "$ref": "ValueRange"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/drive",
+	//     "https://www.googleapis.com/auth/drive.readonly",
+	//     "https://www.googleapis.com/auth/spreadsheets",
+	//     "https://www.googleapis.com/auth/spreadsheets.readonly"
+	//   ]
+	// }
+
+}
+
+// method id "sheets.spreadsheets.values.update":
+
+type SpreadsheetsValuesUpdateCall struct {
+	s             *Service
+	spreadsheetId string
+	range_        string
+	valuerange    *ValueRange
+	urlParams_    gensupport.URLParams
+	ctx_          context.Context
+}
+
+// Update: Sets values in a range of a spreadsheet.
+// The caller must specify the spreadsheet ID, range, and
+// a valueInputOption.
+func (r *SpreadsheetsValuesService) Update(spreadsheetId string, range_ string, valuerange *ValueRange) *SpreadsheetsValuesUpdateCall {
+	c := &SpreadsheetsValuesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
+	c.spreadsheetId = spreadsheetId
+	c.range_ = range_
+	c.valuerange = valuerange
+	return c
+}
+
+// ValueInputOption sets the optional parameter "valueInputOption": How
+// the input data should be interpreted.
+//
+// Possible values:
+//   "INPUT_VALUE_OPTION_UNSPECIFIED"
+//   "RAW"
+//   "USER_ENTERED"
+func (c *SpreadsheetsValuesUpdateCall) ValueInputOption(valueInputOption string) *SpreadsheetsValuesUpdateCall {
+	c.urlParams_.Set("valueInputOption", valueInputOption)
+	return c
+}
+
+// Fields allows partial responses to be retrieved. See
+// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
+// for more information.
+func (c *SpreadsheetsValuesUpdateCall) Fields(s ...googleapi.Field) *SpreadsheetsValuesUpdateCall {
+	c.urlParams_.Set("fields", googleapi.CombineFields(s))
+	return c
+}
+
+// Context sets the context to be used in this call's Do method. Any
+// pending HTTP request will be aborted if the provided context is
+// canceled.
+func (c *SpreadsheetsValuesUpdateCall) Context(ctx context.Context) *SpreadsheetsValuesUpdateCall {
+	c.ctx_ = ctx
+	return c
+}
+
+func (c *SpreadsheetsValuesUpdateCall) doRequest(alt string) (*http.Response, error) {
+	var body io.Reader = nil
+	body, err := googleapi.WithoutDataWrapper.JSONReader(c.valuerange)
+	if err != nil {
+		return nil, err
+	}
+	ctype := "application/json"
+	c.urlParams_.Set("alt", alt)
+	urls := googleapi.ResolveRelative(c.s.BasePath, "v4/spreadsheets/{spreadsheetId}/values/{range}")
+	urls += "?" + c.urlParams_.Encode()
+	req, _ := http.NewRequest("PUT", urls, body)
+	googleapi.Expand(req.URL, map[string]string{
+		"spreadsheetId": c.spreadsheetId,
+		"range":         c.range_,
+	})
+	req.Header.Set("Content-Type", ctype)
+	req.Header.Set("User-Agent", c.s.userAgent())
+	if c.ctx_ != nil {
+		return ctxhttp.Do(c.ctx_, c.s.client, req)
+	}
+	return c.s.client.Do(req)
+}
+
+// Do executes the "sheets.spreadsheets.values.update" call.
+// Exactly one of *UpdateValuesResponse or error will be non-nil. Any
+// non-2xx status code is an error. Response headers are in either
+// *UpdateValuesResponse.ServerResponse.Header or (if a response was
+// returned at all) in error.(*googleapi.Error).Header. Use
+// googleapi.IsNotModified to check whether the returned error was
+// because http.StatusNotModified was returned.
+func (c *SpreadsheetsValuesUpdateCall) Do(opts ...googleapi.CallOption) (*UpdateValuesResponse, error) {
+	gensupport.SetOptions(c.urlParams_, opts...)
+	res, err := c.doRequest("json")
+	if res != nil && res.StatusCode == http.StatusNotModified {
+		if res.Body != nil {
+			res.Body.Close()
+		}
+		return nil, &googleapi.Error{
+			Code:   res.StatusCode,
+			Header: res.Header,
+		}
+	}
+	if err != nil {
+		return nil, err
+	}
+	defer googleapi.CloseBody(res)
+	if err := googleapi.CheckResponse(res); err != nil {
+		return nil, err
+	}
+	ret := &UpdateValuesResponse{
+		ServerResponse: googleapi.ServerResponse{
+			Header:         res.Header,
+			HTTPStatusCode: res.StatusCode,
+		},
+	}
+	if err := json.NewDecoder(res.Body).Decode(&ret); err != nil {
+		return nil, err
+	}
+	return ret, nil
+	// {
+	//   "description": "Sets values in a range of a spreadsheet.\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption.",
+	//   "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}",
+	//   "httpMethod": "PUT",
+	//   "id": "sheets.spreadsheets.values.update",
+	//   "parameterOrder": [
+	//     "spreadsheetId",
+	//     "range"
+	//   ],
+	//   "parameters": {
+	//     "range": {
+	//       "description": "The A1 notation of the values to update.",
+	//       "location": "path",
+	//       "required": true,
+	//       "type": "string"
+	//     },
+	//     "spreadsheetId": {
+	//       "description": "The id of the spreadsheet to update.",
+	//       "location": "path",
+	//       "required": true,
+	//       "type": "string"
+	//     },
+	//     "valueInputOption": {
+	//       "description": "How the input data should be interpreted.",
+	//       "enum": [
+	//         "INPUT_VALUE_OPTION_UNSPECIFIED",
+	//         "RAW",
+	//         "USER_ENTERED"
+	//       ],
+	//       "location": "query",
+	//       "type": "string"
+	//     }
+	//   },
+	//   "path": "v4/spreadsheets/{spreadsheetId}/values/{range}",
+	//   "request": {
+	//     "$ref": "ValueRange"
+	//   },
+	//   "response": {
+	//     "$ref": "UpdateValuesResponse"
+	//   },
+	//   "scopes": [
+	//     "https://www.googleapis.com/auth/drive",
+	//     "https://www.googleapis.com/auth/spreadsheets"
+	//   ]
+	// }
+
+}
diff --git a/storage/v1/storage-api.json b/storage/v1/storage-api.json
index d2bf758..bcde291 100644
--- a/storage/v1/storage-api.json
+++ b/storage/v1/storage-api.json
@@ -1,11 +1,11 @@
 {
  "kind": "discovery#restDescription",
- "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/Wi5axMdjgKCnqJxaxfzKML8o57Y\"",
+ "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/HunW8kZz70Rw8UgbEglfvbYNW8k\"",
  "discoveryVersion": "v1",
  "id": "storage:v1",
  "name": "storage",
  "version": "v1",
- "revision": "20160414",
+ "revision": "20160504",
  "title": "Cloud Storage JSON API",
  "description": "Stores and retrieves potentially large, immutable data objects.",
  "ownerDomain": "google.com",
@@ -574,7 +574,7 @@
     },
     "contentType": {
      "type": "string",
-     "description": "Content-Type of the object data."
+     "description": "Content-Type of the object data. If contentType is not specified, object downloads will be served as application/octet-stream."
     },
     "crc32c": {
      "type": "string",
diff --git a/storage/v1/storage-gen.go b/storage/v1/storage-gen.go
index 37e05c9..05cc882 100644
--- a/storage/v1/storage-gen.go
+++ b/storage/v1/storage-gen.go
@@ -794,7 +794,9 @@
 	// ContentLanguage: Content-Language of the object data.
 	ContentLanguage string `json:"contentLanguage,omitempty"`
 
-	// ContentType: Content-Type of the object data.
+	// ContentType: Content-Type of the object data. If contentType is not
+	// specified, object downloads will be served as
+	// application/octet-stream.
 	ContentType string `json:"contentType,omitempty"`
 
 	// Crc32c: CRC32c checksum, as described in RFC 4960, Appendix B;
diff --git a/toolresults/v1beta3/toolresults-api.json b/toolresults/v1beta3/toolresults-api.json
index 79c8c92..f9f7ca0 100644
--- a/toolresults/v1beta3/toolresults-api.json
+++ b/toolresults/v1beta3/toolresults-api.json
@@ -1,12 +1,12 @@
 {
  "kind": "discovery#restDescription",
- "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/izCeVFnZPoAVuVudjDgjkHK5qIU\"",
+ "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/gwRM3YEY2OCjgtNonDUE4icH-U8\"",
  "discoveryVersion": "v1",
  "id": "toolresults:v1beta3",
  "name": "toolresults",
  "canonicalName": "Tool Results",
  "version": "v1beta3",
- "revision": "20160428",
+ "revision": "20160515",
  "title": "Cloud Tool Results API",
  "description": "Reads and publishes results from Cloud Test Lab.",
  "ownerDomain": "google.com",
@@ -172,6 +172,10 @@
     "timedOut": {
      "type": "boolean",
      "description": "If the test overran some time limit, and that is why it failed."
+    },
+    "unableToCrawl": {
+     "type": "boolean",
+     "description": "If the robo was unable to crawl the app; perhaps because the app did not start."
     }
    }
   },
diff --git a/toolresults/v1beta3/toolresults-gen.go b/toolresults/v1beta3/toolresults-gen.go
index 988ce7a..03665fa 100644
--- a/toolresults/v1beta3/toolresults-gen.go
+++ b/toolresults/v1beta3/toolresults-gen.go
@@ -386,6 +386,10 @@
 	// failed.
 	TimedOut bool `json:"timedOut,omitempty"`
 
+	// UnableToCrawl: If the robo was unable to crawl the app; perhaps
+	// because the app did not start.
+	UnableToCrawl bool `json:"unableToCrawl,omitempty"`
+
 	// ForceSendFields is a list of field names (e.g. "Crashed") to
 	// unconditionally include in API requests. By default, fields with
 	// empty values are omitted from API requests. However, any non-pointer,
diff --git a/vision/v1/vision-api.json b/vision/v1/vision-api.json
index b5a5a89..078b065 100644
--- a/vision/v1/vision-api.json
+++ b/vision/v1/vision-api.json
@@ -25,13 +25,13 @@
           "request": {
             "$ref": "BatchAnnotateImagesRequest"
           },
-          "httpMethod": "POST",
           "flatPath": "v1/images:annotate",
+          "httpMethod": "POST",
           "parameters": {},
+          "path": "v1/images:annotate",
           "scopes": [
             "https://www.googleapis.com/auth/cloud-platform"
-          ],
-          "path": "v1/images:annotate"
+          ]
         }
       }
     }
@@ -39,17 +39,18 @@
   "schemas": {
     "ImageSource": {
       "description": "External image source (Google Cloud Storage image location).",
+      "type": "object",
       "properties": {
         "gcsImageUri": {
           "description": "Google Cloud Storage image URI. It must be in the following form:\n`gs://bucket_name/object_name`. For more\ndetails, please see: https://cloud.google.com/storage/docs/reference-uris.\nNOTE: Cloud Storage object versioning is not supported!",
           "type": "string"
         }
       },
-      "type": "object",
       "id": "ImageSource"
     },
     "AnnotateImageRequest": {
       "description": "Request for performing Google Cloud Vision API tasks over a user-provided\nimage, with user-requested features.",
+      "type": "object",
       "properties": {
         "image": {
           "description": "The image to be processed.",
@@ -67,11 +68,11 @@
           }
         }
       },
-      "type": "object",
       "id": "AnnotateImageRequest"
     },
     "AnnotateImageResponse": {
       "description": "Response to an image annotation request.",
+      "type": "object",
       "properties": {
         "labelAnnotations": {
           "description": "If present, label detection completed successfully.",
@@ -121,11 +122,11 @@
           "$ref": "Status"
         }
       },
-      "type": "object",
       "id": "AnnotateImageResponse"
     },
     "LatLongRect": {
       "description": "Rectangle determined by min and max LatLng pairs.",
+      "type": "object",
       "properties": {
         "maxLatLng": {
           "description": "Max lat/long pair.",
@@ -136,11 +137,11 @@
           "$ref": "LatLng"
         }
       },
-      "type": "object",
       "id": "LatLongRect"
     },
     "Status": {
       "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed.  The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n    it may embed the `Status` in the normal response to indicate the partial\n    errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n    have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n    `Status` message should be used directly inside batch response, one for\n    each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n    results in its response, the status of those operations should be\n    represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n    be used directly after any stripping needed for security/privacy reasons.",
+      "type": "object",
       "properties": {
         "code": {
           "description": "The status code, which should be an enum value of google.rpc.Code.",
@@ -163,11 +164,11 @@
           "type": "string"
         }
       },
-      "type": "object",
       "id": "Status"
     },
     "FaceAnnotation": {
       "description": "A face annotation object contains the results of face detection.",
+      "type": "object",
       "properties": {
         "tiltAngle": {
           "description": "Pitch angle. Indicates the upwards/downwards angle that the face is\npointing\nrelative to the image's horizontal plane. Range [-180,180].",
@@ -175,6 +176,7 @@
           "format": "float"
         },
         "underExposedLikelihood": {
+          "description": "Under-exposed likelihood.",
           "enum": [
             "UNKNOWN",
             "VERY_UNLIKELY",
@@ -183,7 +185,6 @@
             "LIKELY",
             "VERY_LIKELY"
           ],
-          "description": "Under-exposed likelihood.",
           "enumDescriptions": [
             "Unknown likelihood.",
             "The image very unlikely belongs to the vertical specified.",
@@ -204,6 +205,7 @@
           "format": "float"
         },
         "joyLikelihood": {
+          "description": "Joy likelihood.",
           "enum": [
             "UNKNOWN",
             "VERY_UNLIKELY",
@@ -212,7 +214,6 @@
             "LIKELY",
             "VERY_LIKELY"
           ],
-          "description": "Joy likelihood.",
           "enumDescriptions": [
             "Unknown likelihood.",
             "The image very unlikely belongs to the vertical specified.",
@@ -229,6 +230,7 @@
           "format": "float"
         },
         "surpriseLikelihood": {
+          "description": "Surprise likelihood.",
           "enum": [
             "UNKNOWN",
             "VERY_UNLIKELY",
@@ -237,7 +239,6 @@
             "LIKELY",
             "VERY_LIKELY"
           ],
-          "description": "Surprise likelihood.",
           "enumDescriptions": [
             "Unknown likelihood.",
             "The image very unlikely belongs to the vertical specified.",
@@ -249,6 +250,7 @@
           "type": "string"
         },
         "angerLikelihood": {
+          "description": "Anger likelihood.",
           "enum": [
             "UNKNOWN",
             "VERY_UNLIKELY",
@@ -257,7 +259,6 @@
             "LIKELY",
             "VERY_LIKELY"
           ],
-          "description": "Anger likelihood.",
           "enumDescriptions": [
             "Unknown likelihood.",
             "The image very unlikely belongs to the vertical specified.",
@@ -269,6 +270,7 @@
           "type": "string"
         },
         "headwearLikelihood": {
+          "description": "Headwear likelihood.",
           "enum": [
             "UNKNOWN",
             "VERY_UNLIKELY",
@@ -277,7 +279,6 @@
             "LIKELY",
             "VERY_LIKELY"
           ],
-          "description": "Headwear likelihood.",
           "enumDescriptions": [
             "Unknown likelihood.",
             "The image very unlikely belongs to the vertical specified.",
@@ -288,15 +289,15 @@
           ],
           "type": "string"
         },
-        "boundingPoly": {
-          "description": "The bounding polygon around the face. The coordinates of the bounding box\nare in the original image's scale, as returned in ImageParams.\nThe bounding box is computed to \"frame\" the face in accordance with human\nexpectations. It is based on the landmarker results.\nNote that one or more x and/or y coordinates may not be generated in the\nBoundingPoly (the polygon will be unbounded) if only a partial face appears in\nthe image to be annotated.",
-          "$ref": "BoundingPoly"
-        },
         "panAngle": {
           "description": "Yaw angle. Indicates the leftward/rightward angle that the face is\npointing, relative to the vertical plane perpendicular to the image. Range\n[-180,180].",
           "type": "number",
           "format": "float"
         },
+        "boundingPoly": {
+          "description": "The bounding polygon around the face. The coordinates of the bounding box\nare in the original image's scale, as returned in ImageParams.\nThe bounding box is computed to \"frame\" the face in accordance with human\nexpectations. It is based on the landmarker results.\nNote that one or more x and/or y coordinates may not be generated in the\nBoundingPoly (the polygon will be unbounded) if only a partial face appears in\nthe image to be annotated.",
+          "$ref": "BoundingPoly"
+        },
         "landmarks": {
           "description": "Detected face landmarks.",
           "type": "array",
@@ -305,6 +306,7 @@
           }
         },
         "blurredLikelihood": {
+          "description": "Blurred likelihood.",
           "enum": [
             "UNKNOWN",
             "VERY_UNLIKELY",
@@ -313,7 +315,6 @@
             "LIKELY",
             "VERY_LIKELY"
           ],
-          "description": "Blurred likelihood.",
           "enumDescriptions": [
             "Unknown likelihood.",
             "The image very unlikely belongs to the vertical specified.",
@@ -330,6 +331,7 @@
           "format": "float"
         },
         "sorrowLikelihood": {
+          "description": "Sorrow likelihood.",
           "enum": [
             "UNKNOWN",
             "VERY_UNLIKELY",
@@ -338,7 +340,6 @@
             "LIKELY",
             "VERY_LIKELY"
           ],
-          "description": "Sorrow likelihood.",
           "enumDescriptions": [
             "Unknown likelihood.",
             "The image very unlikely belongs to the vertical specified.",
@@ -350,11 +351,11 @@
           "type": "string"
         }
       },
-      "type": "object",
       "id": "FaceAnnotation"
     },
     "Vertex": {
       "description": "A vertex represents a 2D point in the image.\nNOTE: the vertex coordinates are in the same scale as the original image.",
+      "type": "object",
       "properties": {
         "y": {
           "description": "Y coordinate.",
@@ -367,11 +368,11 @@
           "format": "int32"
         }
       },
-      "type": "object",
       "id": "Vertex"
     },
     "ColorInfo": {
       "description": "Color information consists of RGB channels, score and fraction of\nimage the color occupies in the image.",
+      "type": "object",
       "properties": {
         "pixelFraction": {
           "description": "Stores the fraction of pixels the color occupies in the image.\nValue in range [0, 1].",
@@ -388,11 +389,11 @@
           "format": "float"
         }
       },
-      "type": "object",
       "id": "ColorInfo"
     },
     "BoundingPoly": {
       "description": "A bounding polygon for the detected image annotation.",
+      "type": "object",
       "properties": {
         "vertices": {
           "description": "The bounding polygon vertices.",
@@ -402,17 +403,18 @@
           }
         }
       },
-      "type": "object",
       "id": "BoundingPoly"
     },
     "Landmark": {
       "description": "A face-specific landmark (for example, a face feature).\nLandmark positions may fall outside the bounds of the image\nwhen the face is near one or more edges of the image.\nTherefore it is NOT guaranteed that 0 \u003c= x \u003c width or 0 \u003c= y \u003c height.",
+      "type": "object",
       "properties": {
         "position": {
           "description": "Face landmark position.",
           "$ref": "Position"
         },
         "type": {
+          "description": "Face landmark type.",
           "enum": [
             "UNKNOWN_LANDMARK",
             "LEFT_EYE",
@@ -450,7 +452,6 @@
             "CHIN_LEFT_GONION",
             "CHIN_RIGHT_GONION"
           ],
-          "description": "Face landmark type.",
           "enumDescriptions": [
             "Unknown face landmark detected. Should not be filled.",
             "Left eye.",
@@ -491,29 +492,29 @@
           "type": "string"
         }
       },
-      "type": "object",
       "id": "Landmark"
     },
     "ImageContext": {
       "description": "Image context.",
+      "type": "object",
       "properties": {
+        "latLongRect": {
+          "description": "Lat/long rectangle that specifies the location of the image.",
+          "$ref": "LatLongRect"
+        },
         "languageHints": {
           "description": "List of languages to use for TEXT_DETECTION. In most cases, an empty value\nwill yield the best results as it will allow text detection to\nautomatically detect the text language. For languages based on the latin\nalphabet a hint is not needed. In rare cases, when the language of\nthe text in the image is known in advance, setting this hint will help get\nbetter results (although it will hurt a great deal if the hint is wrong).\nText detection will return an error if one or more of the languages\nspecified here are not supported. The exact list of supported languages are\nspecified here:\nhttps://cloud.google.com/translate/v2/using_rest#language-params",
           "type": "array",
           "items": {
             "type": "string"
           }
-        },
-        "latLongRect": {
-          "description": "Lat/long rectangle that specifies the location of the image.",
-          "$ref": "LatLongRect"
         }
       },
-      "type": "object",
       "id": "ImageContext"
     },
     "BatchAnnotateImagesRequest": {
       "description": "Multiple image annotation requests are batched into a single service call.",
+      "type": "object",
       "properties": {
         "requests": {
           "description": "Individual image annotation requests for this batch.",
@@ -523,11 +524,11 @@
           }
         }
       },
-      "type": "object",
       "id": "BatchAnnotateImagesRequest"
     },
     "EntityAnnotation": {
       "description": "Set of detected entity features.",
+      "type": "object",
       "properties": {
         "mid": {
           "description": "Opaque entity ID. Some IDs might be available in Knowledge Graph(KG).\nFor more details on KG please see:\nhttps://developers.google.com/knowledge-graph/",
@@ -575,11 +576,11 @@
           "format": "float"
         }
       },
-      "type": "object",
       "id": "EntityAnnotation"
     },
     "Property": {
       "description": "Arbitrary name/value pair.",
+      "type": "object",
       "properties": {
         "value": {
           "description": "Value of the property.",
@@ -590,11 +591,11 @@
           "type": "string"
         }
       },
-      "type": "object",
       "id": "Property"
     },
     "Color": {
       "description": "Represents a color in the RGBA color space. This representation is designed\nfor simplicity of conversion to/from color representations in various\nlanguages over compactness; for example, the fields of this representation\ncan be trivially provided to the constructor of \"java.awt.Color\" in Java; it\ncan also be trivially provided to UIColor's \"+colorWithRed:green:blue:alpha\"\nmethod in iOS; and, with just a little work, it can be easily formatted into\na CSS \"rgba()\" string in JavaScript, as well. Here are some examples:\n\nExample (Java):\n\n     import com.google.type.Color;\n\n     // ...\n     public static java.awt.Color fromProto(Color protocolor) {\n       float alpha = protocolor.hasAlpha()\n           ? protocolor.getAlpha().getValue()\n           : 1.0;\n\n       return new java.awt.Color(\n           protocolor.getRed(),\n           protocolor.getGreen(),\n           protocolor.getBlue(),\n           alpha);\n     }\n\n     public static Color toProto(java.awt.Color color) {\n       float red = (float) color.getRed();\n       float green = (float) color.getGreen();\n       float blue = (float) color.getBlue();\n       float denominator = 255.0;\n       Color.Builder resultBuilder =\n           Color\n               .newBuilder()\n               .setRed(red / denominator)\n               .setGreen(green / denominator)\n               .setBlue(blue / denominator);\n       int alpha = color.getAlpha();\n       if (alpha != 255) {\n         result.setAlpha(\n             FloatValue\n                 .newBuilder()\n                 .setValue(((float) alpha) / denominator)\n                 .build());\n       }\n       return resultBuilder.build();\n     }\n     // ...\n\nExample (iOS / Obj-C):\n\n     // ...\n     static UIColor* fromProto(Color* protocolor) {\n        float red = [protocolor red];\n        float green = [protocolor green];\n        float blue = [protocolor blue];\n        FloatValue* alpha_wrapper = [protocolor alpha];\n        float alpha = 1.0;\n        if (alpha_wrapper != nil) {\n          alpha = [alpha_wrapper value];\n        }\n        return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];\n     }\n\n     static Color* toProto(UIColor* color) {\n         CGFloat red, green, blue, alpha;\n         if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {\n           return nil;\n         }\n         Color* result = [Color alloc] init];\n         [result setRed:red];\n         [result setGreen:green];\n         [result setBlue:blue];\n         if (alpha \u003c= 0.9999) {\n           [result setAlpha:floatWrapperWithValue(alpha)];\n         }\n         [result autorelease];\n         return result;\n    }\n    // ...\n\n Example (JavaScript):\n\n    // ...\n\n    var protoToCssColor = function(rgb_color) {\n       var redFrac = rgb_color.red || 0.0;\n       var greenFrac = rgb_color.green || 0.0;\n       var blueFrac = rgb_color.blue || 0.0;\n       var red = Math.floor(redFrac * 255);\n       var green = Math.floor(greenFrac * 255);\n       var blue = Math.floor(blueFrac * 255);\n\n       if (!('alpha' in rgb_color)) {\n          return rgbToCssColor_(red, green, blue);\n       }\n\n       var alphaFrac = rgb_color.alpha.value || 0.0;\n       var rgbParams = [red, green, blue].join(',');\n       return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');\n    };\n\n    var rgbToCssColor_ = function(red, green, blue) {\n      var rgbNumber = new Number((red \u003c\u003c 16) | (green \u003c\u003c 8) | blue);\n      var hexString = rgbNumber.toString(16);\n      var missingZeros = 6 - hexString.length;\n      var resultBuilder = ['#'];\n      for (var i = 0; i \u003c missingZeros; i++) {\n         resultBuilder.push('0');\n      }\n      resultBuilder.push(hexString);\n      return resultBuilder.join('');\n    };\n\n    // ...",
+      "type": "object",
       "properties": {
         "green": {
           "description": "The amount of green in the color as a value in the interval [0, 1].",
@@ -617,44 +618,25 @@
           "format": "float"
         }
       },
-      "type": "object",
       "id": "Color"
     },
     "LocationInfo": {
       "description": "Detected entity location information.",
+      "type": "object",
       "properties": {
         "latLng": {
           "description": "Lat - long location coordinates.",
           "$ref": "LatLng"
         }
       },
-      "type": "object",
       "id": "LocationInfo"
     },
     "SafeSearchAnnotation": {
       "description": "Set of features pertaining to the image, computed by various computer vision\nmethods over safe-search verticals (for example, adult, spoof, medical,\nviolence).",
+      "type": "object",
       "properties": {
         "medical": {
-          "enum": [
-            "UNKNOWN",
-            "VERY_UNLIKELY",
-            "UNLIKELY",
-            "POSSIBLE",
-            "LIKELY",
-            "VERY_LIKELY"
-          ],
           "description": "Likelihood this is a medical image.",
-          "enumDescriptions": [
-            "Unknown likelihood.",
-            "The image very unlikely belongs to the vertical specified.",
-            "The image unlikely belongs to the vertical specified.",
-            "The image possibly belongs to the vertical specified.",
-            "The image likely belongs to the vertical specified.",
-            "The image very likely belongs to the vertical specified."
-          ],
-          "type": "string"
-        },
-        "violence": {
           "enum": [
             "UNKNOWN",
             "VERY_UNLIKELY",
@@ -663,7 +645,6 @@
             "LIKELY",
             "VERY_LIKELY"
           ],
-          "description": "Violence likelihood.",
           "enumDescriptions": [
             "Unknown likelihood.",
             "The image very unlikely belongs to the vertical specified.",
@@ -675,6 +656,7 @@
           "type": "string"
         },
         "spoof": {
+          "description": "Spoof likelihood. The likelihood that an obvious modification\nwas made to the image's canonical version to make it appear\nfunny or offensive.",
           "enum": [
             "UNKNOWN",
             "VERY_UNLIKELY",
@@ -683,7 +665,26 @@
             "LIKELY",
             "VERY_LIKELY"
           ],
-          "description": "Spoof likelihood. The likelihood that an obvious modification\nwas made to the image's canonical version to make it appear\nfunny or offensive.",
+          "enumDescriptions": [
+            "Unknown likelihood.",
+            "The image very unlikely belongs to the vertical specified.",
+            "The image unlikely belongs to the vertical specified.",
+            "The image possibly belongs to the vertical specified.",
+            "The image likely belongs to the vertical specified.",
+            "The image very likely belongs to the vertical specified."
+          ],
+          "type": "string"
+        },
+        "violence": {
+          "description": "Violence likelihood.",
+          "enum": [
+            "UNKNOWN",
+            "VERY_UNLIKELY",
+            "UNLIKELY",
+            "POSSIBLE",
+            "LIKELY",
+            "VERY_LIKELY"
+          ],
           "enumDescriptions": [
             "Unknown likelihood.",
             "The image very unlikely belongs to the vertical specified.",
@@ -695,6 +696,7 @@
           "type": "string"
         },
         "adult": {
+          "description": "Represents the adult contents likelihood for the image.",
           "enum": [
             "UNKNOWN",
             "VERY_UNLIKELY",
@@ -703,7 +705,6 @@
             "LIKELY",
             "VERY_LIKELY"
           ],
-          "description": "Represents the adult contents likelihood for the image.",
           "enumDescriptions": [
             "Unknown likelihood.",
             "The image very unlikely belongs to the vertical specified.",
@@ -715,11 +716,11 @@
           "type": "string"
         }
       },
-      "type": "object",
       "id": "SafeSearchAnnotation"
     },
     "Image": {
       "description": "Client image to perform Google Cloud Vision API tasks over.",
+      "type": "object",
       "properties": {
         "source": {
           "description": "Google Cloud Storage image location. If both 'content' and 'source'\nare filled for an image, 'content' takes precedence and it will be\nused for performing the image annotation request.",
@@ -731,11 +732,11 @@
           "format": "byte"
         }
       },
-      "type": "object",
       "id": "Image"
     },
     "DominantColorsAnnotation": {
       "description": "Set of dominant colors and their corresponding scores.",
+      "type": "object",
       "properties": {
         "colors": {
           "description": "RGB color values, with their score and pixel fraction.",
@@ -745,18 +746,14 @@
           }
         }
       },
-      "type": "object",
       "id": "DominantColorsAnnotation"
     },
     "Feature": {
       "description": "The \u003cem\u003eFeature\u003c/em\u003e indicates what type of image detection task to perform.\nUsers describe the type of Google Cloud Vision API tasks to perform over\nimages by using \u003cem\u003eFeature\u003c/em\u003es. Features encode the Cloud Vision API\nvertical to operate on and the number of top-scoring results to return.",
+      "type": "object",
       "properties": {
-        "maxResults": {
-          "description": "Maximum number of results of this type.",
-          "type": "integer",
-          "format": "int32"
-        },
         "type": {
+          "description": "The feature type.",
           "enum": [
             "TYPE_UNSPECIFIED",
             "FACE_DETECTION",
@@ -767,7 +764,6 @@
             "SAFE_SEARCH_DETECTION",
             "IMAGE_PROPERTIES"
           ],
-          "description": "The feature type.",
           "enumDescriptions": [
             "Unspecified feature type.",
             "Run face detection.",
@@ -779,13 +775,18 @@
             "Compute a set of properties about the image (such as the image's dominant colors)."
           ],
           "type": "string"
+        },
+        "maxResults": {
+          "description": "Maximum number of results of this type.",
+          "type": "integer",
+          "format": "int32"
         }
       },
-      "type": "object",
       "id": "Feature"
     },
     "BatchAnnotateImagesResponse": {
       "description": "Response to a batch image annotation request.",
+      "type": "object",
       "properties": {
         "responses": {
           "description": "Individual responses to image annotation requests within the batch.",
@@ -795,61 +796,60 @@
           }
         }
       },
-      "type": "object",
       "id": "BatchAnnotateImagesResponse"
     },
     "ImageProperties": {
       "description": "Stores image properties (e.g. dominant colors).",
+      "type": "object",
       "properties": {
         "dominantColors": {
           "description": "If present, dominant colors completed successfully.",
           "$ref": "DominantColorsAnnotation"
         }
       },
-      "type": "object",
       "id": "ImageProperties"
     },
+    "LatLng": {
+      "description": "An object representing a latitude/longitude pair. This is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n\u003ca href=\"http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\"\u003eWGS84\nstandard\u003c/a\u003e. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n\n    def NormalizeLongitude(longitude):\n      \"\"\"Wraps decimal degrees longitude to [-180.0, 180.0].\"\"\"\n      q, r = divmod(longitude, 360.0)\n      if r \u003e 180.0 or (r == 180.0 and q \u003c= -1.0):\n        return r - 360.0\n      return r\n\n    def NormalizeLatLng(latitude, longitude):\n      \"\"\"Wraps decimal degrees latitude and longitude to\n      [-90.0, 90.0] and [-180.0, 180.0], respectively.\"\"\"\n      r = latitude % 360.0\n      if r \u003c= 90.0:\n        return r, NormalizeLongitude(longitude)\n      elif r \u003e= 270.0:\n        return r - 360, NormalizeLongitude(longitude)\n      else:\n        return 180 - r, NormalizeLongitude(longitude + 180.0)\n\n    assert 180.0 == NormalizeLongitude(180.0)\n    assert -180.0 == NormalizeLongitude(-180.0)\n    assert -179.0 == NormalizeLongitude(181.0)\n    assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n    assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n    assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)\n    assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\n    assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n    assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)\n    assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)\n    assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n    assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n    assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)",
+      "type": "object",
+      "properties": {
+        "latitude": {
+          "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].",
+          "type": "number",
+          "format": "double"
+        },
+        "longitude": {
+          "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
+          "type": "number",
+          "format": "double"
+        }
+      },
+      "id": "LatLng"
+    },
     "Position": {
       "description": "A 3D position in the image, used primarily for Face detection landmarks.\nA valid Position must have both x and y coordinates.\nThe position coordinates are in the same scale as the original image.",
+      "type": "object",
       "properties": {
         "y": {
           "description": "Y coordinate.",
           "type": "number",
           "format": "float"
         },
-        "z": {
-          "description": "Z coordinate (or depth).",
-          "type": "number",
-          "format": "float"
-        },
         "x": {
           "description": "X coordinate.",
           "type": "number",
           "format": "float"
-        }
-      },
-      "type": "object",
-      "id": "Position"
-    },
-    "LatLng": {
-      "description": "An object representing a latitude/longitude pair. This is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n\u003ca href=\"http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\"\u003eWGS84\nstandard\u003c/a\u003e. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n\n    def NormalizeLongitude(longitude):\n      \"\"\"Wraps decimal degrees longitude to [-180.0, 180.0].\"\"\"\n      q, r = divmod(longitude, 360.0)\n      if r \u003e 180.0 or (r == 180.0 and q \u003c= -1.0):\n        return r - 360.0\n      return r\n\n    def NormalizeLatLng(latitude, longitude):\n      \"\"\"Wraps decimal degrees latitude and longitude to\n      [-180.0, 180.0] and [-90.0, 90.0], respectively.\"\"\"\n      r = latitude % 360.0\n      if r \u003c= 90.0:\n        return r, NormalizeLongitude(longitude)\n      elif r \u003e= 270.0:\n        return r - 360, NormalizeLongitude(longitude)\n      else:\n        return 180 - r, NormalizeLongitude(longitude + 180.0)\n\n    assert 180.0 == NormalizeLongitude(180.0)\n    assert -180.0 == NormalizeLongitude(-180.0)\n    assert -179.0 == NormalizeLongitude(181.0)\n    assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n    assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n    assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)\n    assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\n    assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n    assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)\n    assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)\n    assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n    assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n    assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)",
-      "properties": {
-        "longitude": {
-          "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
-          "type": "number",
-          "format": "double"
         },
-        "latitude": {
-          "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].",
+        "z": {
+          "description": "Z coordinate (or depth).",
           "type": "number",
-          "format": "double"
+          "format": "float"
         }
       },
-      "type": "object",
-      "id": "LatLng"
+      "id": "Position"
     }
   },
-  "revision": "20160420",
+  "revision": "20160513",
   "basePath": "",
   "icons": {
     "x32": "http://www.google.com/images/icons/product/search-32.gif",
@@ -857,38 +857,40 @@
   },
   "version_module": "True",
   "discoveryVersion": "v1",
+  "baseUrl": "https://vision.googleapis.com/",
+  "name": "vision",
   "parameters": {
     "access_token": {
       "description": "OAuth access token.",
-      "location": "query",
-      "type": "string"
+      "type": "string",
+      "location": "query"
     },
     "prettyPrint": {
-      "default": "true",
       "description": "Returns response with indentations and line breaks.",
-      "location": "query",
-      "type": "boolean"
+      "default": "true",
+      "type": "boolean",
+      "location": "query"
     },
     "key": {
       "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
-      "location": "query",
-      "type": "string"
+      "type": "string",
+      "location": "query"
     },
     "quotaUser": {
       "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
-      "location": "query",
-      "type": "string"
+      "type": "string",
+      "location": "query"
     },
     "pp": {
-      "default": "true",
       "description": "Pretty-print response.",
-      "location": "query",
-      "type": "boolean"
+      "default": "true",
+      "type": "boolean",
+      "location": "query"
     },
     "fields": {
       "description": "Selector specifying which fields to include in a partial response.",
-      "location": "query",
-      "type": "string"
+      "type": "string",
+      "location": "query"
     },
     "alt": {
       "description": "Data format for response.",
@@ -907,48 +909,46 @@
       "type": "string"
     },
     "$.xgafv": {
+      "description": "V1 error format.",
       "enum": [
         "1",
         "2"
       ],
-      "description": "V1 error format.",
       "enumDescriptions": [
         "v1 error format",
         "v2 error format"
       ],
-      "location": "query",
-      "type": "string"
+      "type": "string",
+      "location": "query"
     },
     "callback": {
       "description": "JSONP",
-      "location": "query",
-      "type": "string"
-    },
-    "uploadType": {
-      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
-      "location": "query",
-      "type": "string"
+      "type": "string",
+      "location": "query"
     },
     "oauth_token": {
       "description": "OAuth 2.0 token for the current user.",
-      "location": "query",
-      "type": "string"
+      "type": "string",
+      "location": "query"
     },
-    "upload_protocol": {
-      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
-      "location": "query",
-      "type": "string"
+    "uploadType": {
+      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+      "type": "string",
+      "location": "query"
     },
     "bearer_token": {
       "description": "OAuth bearer token.",
-      "location": "query",
-      "type": "string"
+      "type": "string",
+      "location": "query"
+    },
+    "upload_protocol": {
+      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+      "type": "string",
+      "location": "query"
     }
   },
-  "name": "vision",
-  "baseUrl": "https://vision.googleapis.com/",
-  "ownerDomain": "google.com",
   "documentationLink": "https://cloud.google.com/vision/",
+  "ownerDomain": "google.com",
   "batchPath": "batch",
   "servicePath": "",
   "ownerName": "Google",
diff --git a/vision/v1/vision-gen.go b/vision/v1/vision-gen.go
index 90e63a8..9d6343f 100644
--- a/vision/v1/vision-gen.go
+++ b/vision/v1/vision-gen.go
@@ -936,7 +936,7 @@
 //
 //     def NormalizeLatLng(latitude, longitude):
 //       """Wraps decimal degrees latitude and longitude to
-//       [-180.0, 180.0] and [-90.0, 90.0], respectively."""
+//       [-90.0, 90.0] and [-180.0, 180.0], respectively."""
 //       r = latitude % 360.0
 //       if r <= 90.0:
 //         return r, NormalizeLongitude(longitude)
diff --git a/youtubeanalytics/v1/youtubeanalytics-api.json b/youtubeanalytics/v1/youtubeanalytics-api.json
index 4d5baf5..99cd4b7 100644
--- a/youtubeanalytics/v1/youtubeanalytics-api.json
+++ b/youtubeanalytics/v1/youtubeanalytics-api.json
@@ -1,14 +1,14 @@
 {
  "kind": "discovery#restDescription",
- "etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/e0s-XRd_GK8-7V2zCNYp-dj9JOw\"",
+ "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/R6NYt8plHWaGxFlvlp5Qu-Bp7c4\"",
  "discoveryVersion": "v1",
  "id": "youtubeAnalytics:v1",
  "name": "youtubeAnalytics",
  "canonicalName": "YouTube Analytics",
  "version": "v1",
- "revision": "20160301",
+ "revision": "20160513",
  "title": "YouTube Analytics API",
- "description": "Retrieves your YouTube Analytics reports.",
+ "description": "Retrieves your YouTube Analytics data.",
  "ownerDomain": "google.com",
  "ownerName": "Google",
  "icons": {
diff --git a/youtubeanalytics/v1beta1/youtubeanalytics-api.json b/youtubeanalytics/v1beta1/youtubeanalytics-api.json
index 8d63b83..47ceddd 100644
--- a/youtubeanalytics/v1beta1/youtubeanalytics-api.json
+++ b/youtubeanalytics/v1beta1/youtubeanalytics-api.json
@@ -1,14 +1,14 @@
 {
  "kind": "discovery#restDescription",
- "etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/wytolOEnvwHHHxTR-iCKeZttdbw\"",
+ "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/j6TUaGAA0LPiIem7a4tgr6yOPP8\"",
  "discoveryVersion": "v1",
  "id": "youtubeAnalytics:v1beta1",
  "name": "youtubeAnalytics",
  "canonicalName": "YouTube Analytics",
  "version": "v1beta1",
- "revision": "20160301",
+ "revision": "20160513",
  "title": "YouTube Analytics API",
- "description": "Retrieves your YouTube Analytics reports.",
+ "description": "Retrieves your YouTube Analytics data.",
  "ownerDomain": "google.com",
  "ownerName": "Google",
  "icons": {