all: autogenerated update (2018-04-10)
Update:
- androidmanagement/v1
- firestore/v1beta1
- sheets/v4
- storagetransfer/v1
diff --git a/androidmanagement/v1/androidmanagement-api.json b/androidmanagement/v1/androidmanagement-api.json
index e2ad2f1..06c8cc5 100644
--- a/androidmanagement/v1/androidmanagement-api.json
+++ b/androidmanagement/v1/androidmanagement-api.json
@@ -766,7 +766,7 @@
}
}
},
- "revision": "20180326",
+ "revision": "20180402",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AlwaysOnVpnPackage": {
@@ -1399,6 +1399,13 @@
"pubsubTopic": {
"description": "The topic that Cloud Pub/Sub notifications are published to, in the form projects/{project}/topics/{topic}. This field is only required if Pub/Sub notifications are enabled.",
"type": "string"
+ },
+ "termsAndConditions": {
+ "description": "Terms and conditions that must be accepted when provisioning a device for this enterprise. A page of terms is generated for each value in this list.",
+ "items": {
+ "$ref": "TermsAndConditions"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -2718,6 +2725,21 @@
},
"type": "object"
},
+ "TermsAndConditions": {
+ "description": "A terms and conditions page to be accepted during provisioning.",
+ "id": "TermsAndConditions",
+ "properties": {
+ "content": {
+ "$ref": "UserFacingMessage",
+ "description": "A well-formatted HTML string. It will be parsed on the client with android.text.Html#fromHtml."
+ },
+ "header": {
+ "$ref": "UserFacingMessage",
+ "description": "A short header which appears above the HTML content."
+ }
+ },
+ "type": "object"
+ },
"UserFacingMessage": {
"description": "Provides a user-facing message with locale info. The maximum message length is 4096 characters.",
"id": "UserFacingMessage",
diff --git a/androidmanagement/v1/androidmanagement-gen.go b/androidmanagement/v1/androidmanagement-gen.go
index acca49b..de43c4d 100644
--- a/androidmanagement/v1/androidmanagement-gen.go
+++ b/androidmanagement/v1/androidmanagement-gen.go
@@ -968,6 +968,11 @@
// required if Pub/Sub notifications are enabled.
PubsubTopic string `json:"pubsubTopic,omitempty"`
+ // TermsAndConditions: Terms and conditions that must be accepted when
+ // provisioning a device for this enterprise. A page of terms is
+ // generated for each value in this list.
+ TermsAndConditions []*TermsAndConditions `json:"termsAndConditions,omitempty"`
+
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
@@ -2708,6 +2713,39 @@
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
+// TermsAndConditions: A terms and conditions page to be accepted during
+// provisioning.
+type TermsAndConditions struct {
+ // Content: A well-formatted HTML string. It will be parsed on the
+ // client with android.text.Html#fromHtml.
+ Content *UserFacingMessage `json:"content,omitempty"`
+
+ // Header: A short header which appears above the HTML content.
+ Header *UserFacingMessage `json:"header,omitempty"`
+
+ // ForceSendFields is a list of field names (e.g. "Content") 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:"-"`
+
+ // NullFields is a list of field names (e.g. "Content") to include in
+ // API requests with the JSON null value. By default, fields with empty
+ // values are omitted from API requests. However, any field with an
+ // empty value appearing in NullFields will be sent to the server as
+ // null. It is an error if a field in this list has a non-empty value.
+ // This may be used to include null fields in Patch requests.
+ NullFields []string `json:"-"`
+}
+
+func (s *TermsAndConditions) MarshalJSON() ([]byte, error) {
+ type NoMethod TermsAndConditions
+ raw := NoMethod(*s)
+ return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
+}
+
// UserFacingMessage: Provides a user-facing message with locale info.
// The maximum message length is 4096 characters.
type UserFacingMessage struct {
diff --git a/api-list.json b/api-list.json
index 3b4a2cc..131abaa 100644
--- a/api-list.json
+++ b/api-list.json
@@ -1677,7 +1677,7 @@
"id": "iam:v1",
"name": "iam",
"version": "v1",
- "title": "Google Identity and Access Management (IAM) API",
+ "title": "Identity and Access Management (IAM) API",
"description": "Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.",
"discoveryRestUrl": "https://iam.googleapis.com/$discovery/rest?version=v1",
"icons": {
@@ -2455,7 +2455,7 @@
"id": "servicemanagement:v1",
"name": "servicemanagement",
"version": "v1",
- "title": "Google Service Management API",
+ "title": "Service Management API",
"description": "Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers.",
"discoveryRestUrl": "https://servicemanagement.googleapis.com/$discovery/rest?version=v1",
"icons": {
diff --git a/firestore/v1beta1/firestore-api.json b/firestore/v1beta1/firestore-api.json
index 287ac22..43bf1d3 100644
--- a/firestore/v1beta1/firestore-api.json
+++ b/firestore/v1beta1/firestore-api.json
@@ -741,7 +741,7 @@
}
}
},
- "revision": "20180321",
+ "revision": "20180403",
"rootUrl": "https://firestore.googleapis.com/",
"schemas": {
"ArrayValue": {
@@ -1801,7 +1801,7 @@
"properties": {
"arrayValue": {
"$ref": "ArrayValue",
- "description": "An array value.\n\nCannot contain another array value."
+ "description": "An array value.\n\nCannot directly contain another array value, though can contain an\nmap which contains another array."
},
"booleanValue": {
"description": "A boolean value.",
diff --git a/firestore/v1beta1/firestore-gen.go b/firestore/v1beta1/firestore-gen.go
index 096501f..dbe53d8 100644
--- a/firestore/v1beta1/firestore-gen.go
+++ b/firestore/v1beta1/firestore-gen.go
@@ -2307,7 +2307,9 @@
type Value struct {
// ArrayValue: An array value.
//
- // Cannot contain another array value.
+ // Cannot directly contain another array value, though can contain
+ // an
+ // map which contains another array.
ArrayValue *ArrayValue `json:"arrayValue,omitempty"`
// BooleanValue: A boolean value.
diff --git a/sheets/v4/sheets-api.json b/sheets/v4/sheets-api.json
index 3cb49be..3d7f6b5 100644
--- a/sheets/v4/sheets-api.json
+++ b/sheets/v4/sheets-api.json
@@ -819,7 +819,7 @@
}
}
},
- "revision": "20180329",
+ "revision": "20180405",
"rootUrl": "https://sheets.googleapis.com/",
"schemas": {
"AddBandingRequest": {
@@ -1175,6 +1175,10 @@
"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\".",
"id": "BasicChartSeries",
"properties": {
+ "color": {
+ "$ref": "Color",
+ "description": "The color for elements (i.e. bars, lines, points) associated with this\nseries. If empty, a default color will be used."
+ },
"lineStyle": {
"$ref": "LineStyle",
"description": "The line style of this series. Valid only if the\nchartType is AREA,\nLINE, or SCATTER.\nCOMBO charts are also supported if the\nseries chart type is\nAREA or LINE."
diff --git a/sheets/v4/sheets-gen.go b/sheets/v4/sheets-gen.go
index bea8eeb..437406c 100644
--- a/sheets/v4/sheets-gen.go
+++ b/sheets/v4/sheets-gen.go
@@ -941,6 +941,11 @@
// one for the "Open Price", "High Price", "Low Price" and "Close
// Price".
type BasicChartSeries struct {
+ // Color: The color for elements (i.e. bars, lines, points) associated
+ // with this
+ // series. If empty, a default color will be used.
+ Color *Color `json:"color,omitempty"`
+
// LineStyle: The line style of this series. Valid only if the
// chartType is AREA,
// LINE, or SCATTER.
@@ -1004,7 +1009,7 @@
// chart</a>.
Type string `json:"type,omitempty"`
- // ForceSendFields is a list of field names (e.g. "LineStyle") to
+ // 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
@@ -1012,8 +1017,8 @@
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
- // NullFields is a list of field names (e.g. "LineStyle") to include in
- // API requests with the JSON null value. By default, fields with empty
+ // NullFields is a list of field names (e.g. "Color") to include in API
+ // requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
diff --git a/storagetransfer/v1/storagetransfer-api.json b/storagetransfer/v1/storagetransfer-api.json
index 4f6cd27..4a70150 100644
--- a/storagetransfer/v1/storagetransfer-api.json
+++ b/storagetransfer/v1/storagetransfer-api.json
@@ -430,7 +430,7 @@
}
}
},
- "revision": "20180402",
+ "revision": "20180405",
"rootUrl": "https://storagetransfer.googleapis.com/",
"schemas": {
"AwsAccessKey": {
@@ -473,7 +473,7 @@
"type": "integer"
},
"month": {
- "description": "Month of year. Must be from 1 to 12.",
+ "description": "Month of year. Must be from 1 to 12, or 0 if specifying a date without a\nmonth.",
"format": "int32",
"type": "integer"
},
diff --git a/storagetransfer/v1/storagetransfer-gen.go b/storagetransfer/v1/storagetransfer-gen.go
index 260b7bd..2b841eb 100644
--- a/storagetransfer/v1/storagetransfer-gen.go
+++ b/storagetransfer/v1/storagetransfer-gen.go
@@ -206,7 +206,9 @@
// if specifying a year/month where the day is not significant.
Day int64 `json:"day,omitempty"`
- // Month: Month of year. Must be from 1 to 12.
+ // Month: Month of year. Must be from 1 to 12, or 0 if specifying a date
+ // without a
+ // month.
Month int64 `json:"month,omitempty"`
// Year: Year of date. Must be from 1 to 9999, or 0 if specifying a date