mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
1
vendor/google.golang.org/api/AUTHORS
generated
vendored
1
vendor/google.golang.org/api/AUTHORS
generated
vendored
@@ -8,3 +8,4 @@
|
||||
|
||||
# Please keep the list sorted.
|
||||
Google Inc.
|
||||
LightStep Inc.
|
||||
|
||||
1
vendor/google.golang.org/api/CONTRIBUTORS
generated
vendored
1
vendor/google.golang.org/api/CONTRIBUTORS
generated
vendored
@@ -45,6 +45,7 @@ Jason Hall <jasonhall@google.com>
|
||||
Johan Euphrosine <proppy@google.com>
|
||||
Kostik Shtoyk <kostik@google.com>
|
||||
Kunpei Sakai <namusyaka@gmail.com>
|
||||
Matthew Dolan <dolan@lightstep.com>
|
||||
Matthew Whisenhunt <matt.whisenhunt@gmail.com>
|
||||
Michael McGreevy <mcgreevy@golang.org>
|
||||
Nick Craig-Wood <nickcw@gmail.com>
|
||||
|
||||
180
vendor/google.golang.org/api/analytics/v3/analytics-gen.go
generated
vendored
180
vendor/google.golang.org/api/analytics/v3/analytics-gen.go
generated
vendored
@@ -53,8 +53,8 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
gensupport "google.golang.org/api/gensupport"
|
||||
googleapi "google.golang.org/api/googleapi"
|
||||
gensupport "google.golang.org/api/internal/gensupport"
|
||||
option "google.golang.org/api/option"
|
||||
htransport "google.golang.org/api/transport/http"
|
||||
)
|
||||
@@ -6027,7 +6027,7 @@ func (c *DataGaGetCall) Header() http.Header {
|
||||
|
||||
func (c *DataGaGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -6316,7 +6316,7 @@ func (c *DataMcfGetCall) Header() http.Header {
|
||||
|
||||
func (c *DataMcfGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -6557,7 +6557,7 @@ func (c *DataRealtimeGetCall) Header() http.Header {
|
||||
|
||||
func (c *DataRealtimeGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -6745,7 +6745,7 @@ func (c *ManagementAccountSummariesListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementAccountSummariesListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -6880,7 +6880,7 @@ func (c *ManagementAccountUserLinksDeleteCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementAccountUserLinksDeleteCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -6990,7 +6990,7 @@ func (c *ManagementAccountUserLinksInsertCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementAccountUserLinksInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -7152,7 +7152,7 @@ func (c *ManagementAccountUserLinksListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementAccountUserLinksListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -7302,7 +7302,7 @@ func (c *ManagementAccountUserLinksUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementAccountUserLinksUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -7470,7 +7470,7 @@ func (c *ManagementAccountsListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementAccountsListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -7604,7 +7604,7 @@ func (c *ManagementClientIdHashClientIdCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementClientIdHashClientIdCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -7755,7 +7755,7 @@ func (c *ManagementCustomDataSourcesListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementCustomDataSourcesListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -7927,7 +7927,7 @@ func (c *ManagementCustomDimensionsGetCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementCustomDimensionsGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -8079,7 +8079,7 @@ func (c *ManagementCustomDimensionsInsertCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementCustomDimensionsInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -8251,7 +8251,7 @@ func (c *ManagementCustomDimensionsListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementCustomDimensionsListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -8420,7 +8420,7 @@ func (c *ManagementCustomDimensionsPatchCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementCustomDimensionsPatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -8593,7 +8593,7 @@ func (c *ManagementCustomDimensionsUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementCustomDimensionsUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -8766,7 +8766,7 @@ func (c *ManagementCustomMetricsGetCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementCustomMetricsGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -8918,7 +8918,7 @@ func (c *ManagementCustomMetricsInsertCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementCustomMetricsInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -9090,7 +9090,7 @@ func (c *ManagementCustomMetricsListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementCustomMetricsListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -9259,7 +9259,7 @@ func (c *ManagementCustomMetricsPatchCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementCustomMetricsPatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -9432,7 +9432,7 @@ func (c *ManagementCustomMetricsUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementCustomMetricsUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -9596,7 +9596,7 @@ func (c *ManagementExperimentsDeleteCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementExperimentsDeleteCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -9738,7 +9738,7 @@ func (c *ManagementExperimentsGetCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementExperimentsGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -9901,7 +9901,7 @@ func (c *ManagementExperimentsInsertCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementExperimentsInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10084,7 +10084,7 @@ func (c *ManagementExperimentsListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementExperimentsListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10258,7 +10258,7 @@ func (c *ManagementExperimentsPatchCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementExperimentsPatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10427,7 +10427,7 @@ func (c *ManagementExperimentsUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementExperimentsUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10590,7 +10590,7 @@ func (c *ManagementFiltersDeleteCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementFiltersDeleteCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10739,7 +10739,7 @@ func (c *ManagementFiltersGetCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementFiltersGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10881,7 +10881,7 @@ func (c *ManagementFiltersInsertCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementFiltersInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11043,7 +11043,7 @@ func (c *ManagementFiltersListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementFiltersListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11194,7 +11194,7 @@ func (c *ManagementFiltersPatchCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementFiltersPatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11342,7 +11342,7 @@ func (c *ManagementFiltersUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementFiltersUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11503,7 +11503,7 @@ func (c *ManagementGoalsGetCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementGoalsGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11665,7 +11665,7 @@ func (c *ManagementGoalsInsertCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementGoalsInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11847,7 +11847,7 @@ func (c *ManagementGoalsListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementGoalsListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -12018,7 +12018,7 @@ func (c *ManagementGoalsPatchCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementGoalsPatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -12186,7 +12186,7 @@ func (c *ManagementGoalsUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementGoalsUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -12352,7 +12352,7 @@ func (c *ManagementProfileFilterLinksDeleteCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementProfileFilterLinksDeleteCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -12497,7 +12497,7 @@ func (c *ManagementProfileFilterLinksGetCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementProfileFilterLinksGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -12663,7 +12663,7 @@ func (c *ManagementProfileFilterLinksInsertCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementProfileFilterLinksInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -12848,7 +12848,7 @@ func (c *ManagementProfileFilterLinksListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementProfileFilterLinksListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -13019,7 +13019,7 @@ func (c *ManagementProfileFilterLinksPatchCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementProfileFilterLinksPatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -13191,7 +13191,7 @@ func (c *ManagementProfileFilterLinksUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementProfileFilterLinksUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -13361,7 +13361,7 @@ func (c *ManagementProfileUserLinksDeleteCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementProfileUserLinksDeleteCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -13491,7 +13491,7 @@ func (c *ManagementProfileUserLinksInsertCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementProfileUserLinksInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -13673,7 +13673,7 @@ func (c *ManagementProfileUserLinksListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementProfileUserLinksListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -13843,7 +13843,7 @@ func (c *ManagementProfileUserLinksUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementProfileUserLinksUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -14007,7 +14007,7 @@ func (c *ManagementProfilesDeleteCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementProfilesDeleteCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -14138,7 +14138,7 @@ func (c *ManagementProfilesGetCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementProfilesGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -14293,7 +14293,7 @@ func (c *ManagementProfilesInsertCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementProfilesInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -14465,7 +14465,7 @@ func (c *ManagementProfilesListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementProfilesListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -14626,7 +14626,7 @@ func (c *ManagementProfilesPatchCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementProfilesPatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -14784,7 +14784,7 @@ func (c *ManagementProfilesUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementProfilesUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -14940,7 +14940,7 @@ func (c *ManagementRemarketingAudienceDeleteCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementRemarketingAudienceDeleteCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -15071,7 +15071,7 @@ func (c *ManagementRemarketingAudienceGetCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementRemarketingAudienceGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -15223,7 +15223,7 @@ func (c *ManagementRemarketingAudienceInsertCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementRemarketingAudienceInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -15401,7 +15401,7 @@ func (c *ManagementRemarketingAudienceListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementRemarketingAudienceListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -15566,7 +15566,7 @@ func (c *ManagementRemarketingAudiencePatchCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementRemarketingAudiencePatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -15724,7 +15724,7 @@ func (c *ManagementRemarketingAudienceUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementRemarketingAudienceUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -15900,7 +15900,7 @@ func (c *ManagementSegmentsListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementSegmentsListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -16040,7 +16040,7 @@ func (c *ManagementUnsampledReportsDeleteCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementUnsampledReportsDeleteCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -16181,7 +16181,7 @@ func (c *ManagementUnsampledReportsGetCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementUnsampledReportsGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -16344,7 +16344,7 @@ func (c *ManagementUnsampledReportsInsertCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementUnsampledReportsInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -16527,7 +16527,7 @@ func (c *ManagementUnsampledReportsListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementUnsampledReportsListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -16695,7 +16695,7 @@ func (c *ManagementUploadsDeleteUploadDataCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementUploadsDeleteUploadDataCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -16840,7 +16840,7 @@ func (c *ManagementUploadsGetCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementUploadsGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -17031,7 +17031,7 @@ func (c *ManagementUploadsListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementUploadsListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -17241,7 +17241,7 @@ func (c *ManagementUploadsUploadDataCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementUploadsUploadDataCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -17251,7 +17251,7 @@ func (c *ManagementUploadsUploadDataCall) doRequest(alt string) (*http.Response,
|
||||
c.urlParams_.Set("prettyPrint", "false")
|
||||
urls := googleapi.ResolveRelative(c.s.BasePath, "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads")
|
||||
if c.mediaInfo_ != nil {
|
||||
urls = strings.Replace(urls, "https://www.googleapis.com/", "https://www.googleapis.com/upload/", 1)
|
||||
urls = googleapi.ResolveRelative(c.s.BasePath, "/upload/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads")
|
||||
c.urlParams_.Set("uploadType", c.mediaInfo_.UploadType())
|
||||
}
|
||||
if body == nil {
|
||||
@@ -17437,7 +17437,7 @@ func (c *ManagementWebPropertyAdWordsLinksDeleteCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementWebPropertyAdWordsLinksDeleteCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -17569,7 +17569,7 @@ func (c *ManagementWebPropertyAdWordsLinksGetCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementWebPropertyAdWordsLinksGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -17721,7 +17721,7 @@ func (c *ManagementWebPropertyAdWordsLinksInsertCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementWebPropertyAdWordsLinksInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -17893,7 +17893,7 @@ func (c *ManagementWebPropertyAdWordsLinksListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementWebPropertyAdWordsLinksListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -18054,7 +18054,7 @@ func (c *ManagementWebPropertyAdWordsLinksPatchCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementWebPropertyAdWordsLinksPatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -18212,7 +18212,7 @@ func (c *ManagementWebPropertyAdWordsLinksUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementWebPropertyAdWordsLinksUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -18377,7 +18377,7 @@ func (c *ManagementWebpropertiesGetCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementWebpropertiesGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -18523,7 +18523,7 @@ func (c *ManagementWebpropertiesInsertCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementWebpropertiesInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -18685,7 +18685,7 @@ func (c *ManagementWebpropertiesListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementWebpropertiesListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -18836,7 +18836,7 @@ func (c *ManagementWebpropertiesPatchCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementWebpropertiesPatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -18984,7 +18984,7 @@ func (c *ManagementWebpropertiesUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementWebpropertiesUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -19132,7 +19132,7 @@ func (c *ManagementWebpropertyUserLinksDeleteCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementWebpropertyUserLinksDeleteCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -19252,7 +19252,7 @@ func (c *ManagementWebpropertyUserLinksInsertCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementWebpropertyUserLinksInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -19424,7 +19424,7 @@ func (c *ManagementWebpropertyUserLinksListCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementWebpropertyUserLinksListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -19584,7 +19584,7 @@ func (c *ManagementWebpropertyUserLinksUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *ManagementWebpropertyUserLinksUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -19747,7 +19747,7 @@ func (c *MetadataColumnsListCall) Header() http.Header {
|
||||
|
||||
func (c *MetadataColumnsListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -19881,7 +19881,7 @@ func (c *ProvisioningCreateAccountTicketCall) Header() http.Header {
|
||||
|
||||
func (c *ProvisioningCreateAccountTicketCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -20003,7 +20003,7 @@ func (c *ProvisioningCreateAccountTreeCall) Header() http.Header {
|
||||
|
||||
func (c *ProvisioningCreateAccountTreeCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -20125,7 +20125,7 @@ func (c *UserDeletionUserDeletionRequestUpsertCall) Header() http.Header {
|
||||
|
||||
func (c *UserDeletionUserDeletionRequestUpsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
|
||||
4
vendor/google.golang.org/api/analyticsreporting/v4/analyticsreporting-api.json
generated
vendored
4
vendor/google.golang.org/api/analyticsreporting/v4/analyticsreporting-api.json
generated
vendored
@@ -154,7 +154,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20190719",
|
||||
"revision": "20190904",
|
||||
"rootUrl": "https://analyticsreporting.googleapis.com/",
|
||||
"schemas": {
|
||||
"Activity": {
|
||||
@@ -162,7 +162,7 @@
|
||||
"id": "Activity",
|
||||
"properties": {
|
||||
"activityTime": {
|
||||
"description": "Timestamp of the activity.",
|
||||
"description": "Timestamp of the activity. If activities for a visit cross midnight and\noccur in two separate dates, then two sessions (one per date)\nshare the session identifier.\nFor example, say session ID 113472 has activity within 2019-08-20, and\nsession ID 243742 has activity within 2019-08-25 and 2019-08-26. Session ID\n113472 is one session, and session ID 243742 is two sessions.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
16
vendor/google.golang.org/api/analyticsreporting/v4/analyticsreporting-gen.go
generated
vendored
16
vendor/google.golang.org/api/analyticsreporting/v4/analyticsreporting-gen.go
generated
vendored
@@ -53,8 +53,8 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
gensupport "google.golang.org/api/gensupport"
|
||||
googleapi "google.golang.org/api/googleapi"
|
||||
gensupport "google.golang.org/api/internal/gensupport"
|
||||
option "google.golang.org/api/option"
|
||||
htransport "google.golang.org/api/transport/http"
|
||||
)
|
||||
@@ -174,7 +174,15 @@ type UserActivityService struct {
|
||||
// hits.
|
||||
// These hits will be merged into one ECOMMERCE Activity.
|
||||
type Activity struct {
|
||||
// ActivityTime: Timestamp of the activity.
|
||||
// ActivityTime: Timestamp of the activity. If activities for a visit
|
||||
// cross midnight and
|
||||
// occur in two separate dates, then two sessions (one per date)
|
||||
// share the session identifier.
|
||||
// For example, say session ID 113472 has activity within 2019-08-20,
|
||||
// and
|
||||
// session ID 243742 has activity within 2019-08-25 and 2019-08-26.
|
||||
// Session ID
|
||||
// 113472 is one session, and session ID 243742 is two sessions.
|
||||
ActivityTime string `json:"activityTime,omitempty"`
|
||||
|
||||
// ActivityType: Type of this activity.
|
||||
@@ -3004,7 +3012,7 @@ func (c *ReportsBatchGetCall) Header() http.Header {
|
||||
|
||||
func (c *ReportsBatchGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -3130,7 +3138,7 @@ func (c *UserActivitySearchCall) Header() http.Header {
|
||||
|
||||
func (c *UserActivitySearchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
|
||||
10
vendor/google.golang.org/api/calendar/v3/calendar-api.json
generated
vendored
10
vendor/google.golang.org/api/calendar/v3/calendar-api.json
generated
vendored
@@ -26,7 +26,7 @@
|
||||
"description": "Manipulates events and other calendar data.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/google-apps/calendar/firstapp",
|
||||
"etag": "\"9eZ1uxVRThTDhLJCZHhqs3eQWz4/K_k45CtMfV--mlEBFlbW_LzaaUU\"",
|
||||
"etag": "\"LYADMvHWYH2ul9D6m9UT9gT77YM/2FyuV5GKtx7ICYqjtmyzVJzmBrs\"",
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/calendar-16.png",
|
||||
"x32": "http://www.google.com/images/icons/product/calendar-32.png"
|
||||
@@ -1724,7 +1724,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20190609",
|
||||
"revision": "20190929",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"Acl": {
|
||||
@@ -2103,7 +2103,7 @@
|
||||
"id": "ConferenceData",
|
||||
"properties": {
|
||||
"conferenceId": {
|
||||
"description": "The ID of the conference.\nCan be used by developers to keep track of conferences, should not be displayed to users.\nValues for solution types: \n- \"eventHangout\": unset.\n- \"eventNamedHangout\": the name of the Hangout.\n- \"hangoutsMeet\": the 10-letter meeting code, for example \"aaa-bbbb-ccc\". Optional.",
|
||||
"description": "The ID of the conference.\nCan be used by developers to keep track of conferences, should not be displayed to users.\nValues for solution types: \n- \"eventHangout\": unset.\n- \"eventNamedHangout\": the name of the Hangout.\n- \"hangoutsMeet\": the 10-letter meeting code, for example \"aaa-bbbb-ccc\".\n- \"addOn\": defined by 3P conference provider. Optional.",
|
||||
"type": "string"
|
||||
},
|
||||
"conferenceSolution": {
|
||||
@@ -2203,7 +2203,7 @@
|
||||
"id": "ConferenceSolutionKey",
|
||||
"properties": {
|
||||
"type": {
|
||||
"description": "The conference solution type.\nIf a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.\nThe possible values are: \n- \"eventHangout\" for Hangouts for consumers (http://hangouts.google.com)\n- \"eventNamedHangout\" for classic Hangouts for G Suite users (http://hangouts.google.com)\n- \"hangoutsMeet\" for Hangouts Meet (http://meet.google.com)",
|
||||
"description": "The conference solution type.\nIf a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.\nThe possible values are: \n- \"eventHangout\" for Hangouts for consumers (http://hangouts.google.com)\n- \"eventNamedHangout\" for classic Hangouts for G Suite users (http://hangouts.google.com)\n- \"hangoutsMeet\" for Hangouts Meet (http://meet.google.com)\n- \"addOn\" for 3P conference providers",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -2522,7 +2522,7 @@
|
||||
},
|
||||
"privateCopy": {
|
||||
"default": "false",
|
||||
"description": "Whether this is a private event copy where changes are not shared with other copies on other calendars. Optional. Immutable. The default is False.",
|
||||
"description": "If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"recurrence": {
|
||||
|
||||
86
vendor/google.golang.org/api/calendar/v3/calendar-gen.go
generated
vendored
86
vendor/google.golang.org/api/calendar/v3/calendar-gen.go
generated
vendored
@@ -53,8 +53,8 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
gensupport "google.golang.org/api/gensupport"
|
||||
googleapi "google.golang.org/api/googleapi"
|
||||
gensupport "google.golang.org/api/internal/gensupport"
|
||||
option "google.golang.org/api/option"
|
||||
htransport "google.golang.org/api/transport/http"
|
||||
)
|
||||
@@ -838,7 +838,8 @@ type ConferenceData struct {
|
||||
// - "eventHangout": unset.
|
||||
// - "eventNamedHangout": the name of the Hangout.
|
||||
// - "hangoutsMeet": the 10-letter meeting code, for example
|
||||
// "aaa-bbbb-ccc". Optional.
|
||||
// "aaa-bbbb-ccc".
|
||||
// - "addOn": defined by 3P conference provider. Optional.
|
||||
ConferenceId string `json:"conferenceId,omitempty"`
|
||||
|
||||
// ConferenceSolution: The conference solution, such as Hangouts or
|
||||
@@ -1070,6 +1071,7 @@ type ConferenceSolutionKey struct {
|
||||
// - "eventNamedHangout" for classic Hangouts for G Suite users
|
||||
// (http://hangouts.google.com)
|
||||
// - "hangoutsMeet" for Hangouts Meet (http://meet.google.com)
|
||||
// - "addOn" for 3P conference providers
|
||||
Type string `json:"type,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Type") to
|
||||
@@ -1431,9 +1433,9 @@ type Event struct {
|
||||
// instance was moved to a different time. Immutable.
|
||||
OriginalStartTime *EventDateTime `json:"originalStartTime,omitempty"`
|
||||
|
||||
// PrivateCopy: Whether this is a private event copy where changes are
|
||||
// not shared with other copies on other calendars. Optional. Immutable.
|
||||
// The default is False.
|
||||
// PrivateCopy: If set to True, Event propagation is disabled. Note that
|
||||
// it is not the same thing as Private event properties. Optional.
|
||||
// Immutable. The default is False.
|
||||
PrivateCopy bool `json:"privateCopy,omitempty"`
|
||||
|
||||
// Recurrence: List of RRULE, EXRULE, RDATE and EXDATE lines for a
|
||||
@@ -2426,7 +2428,7 @@ func (c *AclDeleteCall) Header() http.Header {
|
||||
|
||||
func (c *AclDeleteCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -2547,7 +2549,7 @@ func (c *AclGetCall) Header() http.Header {
|
||||
|
||||
func (c *AclGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -2697,7 +2699,7 @@ func (c *AclInsertCall) Header() http.Header {
|
||||
|
||||
func (c *AclInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -2889,7 +2891,7 @@ func (c *AclListCall) Header() http.Header {
|
||||
|
||||
func (c *AclListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -3078,7 +3080,7 @@ func (c *AclPatchCall) Header() http.Header {
|
||||
|
||||
func (c *AclPatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -3240,7 +3242,7 @@ func (c *AclUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *AclUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -3431,7 +3433,7 @@ func (c *AclWatchCall) Header() http.Header {
|
||||
|
||||
func (c *AclWatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -3591,7 +3593,7 @@ func (c *CalendarListDeleteCall) Header() http.Header {
|
||||
|
||||
func (c *CalendarListDeleteCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -3702,7 +3704,7 @@ func (c *CalendarListGetCall) Header() http.Header {
|
||||
|
||||
func (c *CalendarListGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -3844,7 +3846,7 @@ func (c *CalendarListInsertCall) Header() http.Header {
|
||||
|
||||
func (c *CalendarListInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -4047,7 +4049,7 @@ func (c *CalendarListListCall) Header() http.Header {
|
||||
|
||||
func (c *CalendarListListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -4246,7 +4248,7 @@ func (c *CalendarListPatchCall) Header() http.Header {
|
||||
|
||||
func (c *CalendarListPatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -4399,7 +4401,7 @@ func (c *CalendarListUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *CalendarListUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -4605,7 +4607,7 @@ func (c *CalendarListWatchCall) Header() http.Header {
|
||||
|
||||
func (c *CalendarListWatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -4777,7 +4779,7 @@ func (c *CalendarsClearCall) Header() http.Header {
|
||||
|
||||
func (c *CalendarsClearCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -4878,7 +4880,7 @@ func (c *CalendarsDeleteCall) Header() http.Header {
|
||||
|
||||
func (c *CalendarsDeleteCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -4989,7 +4991,7 @@ func (c *CalendarsGetCall) Header() http.Header {
|
||||
|
||||
func (c *CalendarsGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -5121,7 +5123,7 @@ func (c *CalendarsInsertCall) Header() http.Header {
|
||||
|
||||
func (c *CalendarsInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -5246,7 +5248,7 @@ func (c *CalendarsPatchCall) Header() http.Header {
|
||||
|
||||
func (c *CalendarsPatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -5384,7 +5386,7 @@ func (c *CalendarsUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *CalendarsUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -5520,7 +5522,7 @@ func (c *ChannelsStopCall) Header() http.Header {
|
||||
|
||||
func (c *ChannelsStopCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -5628,7 +5630,7 @@ func (c *ColorsGetCall) Header() http.Header {
|
||||
|
||||
func (c *ColorsGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -5774,7 +5776,7 @@ func (c *EventsDeleteCall) Header() http.Header {
|
||||
|
||||
func (c *EventsDeleteCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -5944,7 +5946,7 @@ func (c *EventsGetCall) Header() http.Header {
|
||||
|
||||
func (c *EventsGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -6126,7 +6128,7 @@ func (c *EventsImportCall) Header() http.Header {
|
||||
|
||||
func (c *EventsImportCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -6334,7 +6336,7 @@ func (c *EventsInsertCall) Header() http.Header {
|
||||
|
||||
func (c *EventsInsertCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -6601,7 +6603,7 @@ func (c *EventsInstancesCall) Header() http.Header {
|
||||
|
||||
func (c *EventsInstancesCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -7011,7 +7013,7 @@ func (c *EventsListCall) Header() http.Header {
|
||||
|
||||
func (c *EventsListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -7301,7 +7303,7 @@ func (c *EventsMoveCall) Header() http.Header {
|
||||
|
||||
func (c *EventsMoveCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -7537,7 +7539,7 @@ func (c *EventsPatchCall) Header() http.Header {
|
||||
|
||||
func (c *EventsPatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -7754,7 +7756,7 @@ func (c *EventsQuickAddCall) Header() http.Header {
|
||||
|
||||
func (c *EventsQuickAddCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -7982,7 +7984,7 @@ func (c *EventsUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *EventsUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -8358,7 +8360,7 @@ func (c *EventsWatchCall) Header() http.Header {
|
||||
|
||||
func (c *EventsWatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -8602,7 +8604,7 @@ func (c *FreebusyQueryCall) Header() http.Header {
|
||||
|
||||
func (c *FreebusyQueryCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -8736,7 +8738,7 @@ func (c *SettingsGetCall) Header() http.Header {
|
||||
|
||||
func (c *SettingsGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -8907,7 +8909,7 @@ func (c *SettingsListCall) Header() http.Header {
|
||||
|
||||
func (c *SettingsListCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -9096,7 +9098,7 @@ func (c *SettingsWatchCall) Header() http.Header {
|
||||
|
||||
func (c *SettingsWatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
|
||||
21
vendor/google.golang.org/api/googleapi/googleapi.go
generated
vendored
21
vendor/google.golang.org/api/googleapi/googleapi.go
generated
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2011 Google Inc. All rights reserved.
|
||||
// Copyright 2011 Google LLC. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
@@ -16,7 +16,7 @@ import (
|
||||
"net/url"
|
||||
"strings"
|
||||
|
||||
"google.golang.org/api/googleapi/internal/uritemplates"
|
||||
"google.golang.org/api/internal/third_party/uritemplates"
|
||||
)
|
||||
|
||||
// ContentTyper is an interface for Readers which know (or would like
|
||||
@@ -256,14 +256,22 @@ func ProcessMediaOptions(opts []MediaOption) *MediaOptions {
|
||||
// "http://www.golang.org/topics/myproject/mytopic". It strips all parent
|
||||
// references (e.g. ../..) as well as anything after the host
|
||||
// (e.g. /bar/gaz gets stripped out of foo.com/bar/gaz).
|
||||
//
|
||||
// ResolveRelative panics if either basestr or relstr is not able to be parsed.
|
||||
func ResolveRelative(basestr, relstr string) string {
|
||||
u, _ := url.Parse(basestr)
|
||||
u, err := url.Parse(basestr)
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("failed to parse %q", basestr))
|
||||
}
|
||||
afterColonPath := ""
|
||||
if i := strings.IndexRune(relstr, ':'); i > 0 {
|
||||
afterColonPath = relstr[i+1:]
|
||||
relstr = relstr[:i]
|
||||
}
|
||||
rel, _ := url.Parse(relstr)
|
||||
rel, err := url.Parse(relstr)
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("failed to parse %q", relstr))
|
||||
}
|
||||
u = u.ResolveReference(rel)
|
||||
us := u.String()
|
||||
if afterColonPath != "" {
|
||||
@@ -331,7 +339,7 @@ func ConvertVariant(v map[string]interface{}, dst interface{}) bool {
|
||||
}
|
||||
|
||||
// A Field names a field to be retrieved with a partial response.
|
||||
// See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
|
||||
// https://cloud.google.com/storage/docs/json_api/v1/how-tos/performance
|
||||
//
|
||||
// Partial responses can dramatically reduce the amount of data that must be sent to your application.
|
||||
// In order to request partial responses, you can specify the full list of fields
|
||||
@@ -348,9 +356,6 @@ func ConvertVariant(v map[string]interface{}, dst interface{}) bool {
|
||||
//
|
||||
// svc.Events.List().Fields("nextPageToken", "items(id,updated)").Do()
|
||||
//
|
||||
// More information about field formatting can be found here:
|
||||
// https://developers.google.com/+/api/#fields-syntax
|
||||
//
|
||||
// Another way to find field names is through the Google API explorer:
|
||||
// https://developers.google.com/apis-explorer/#p/
|
||||
type Field string
|
||||
|
||||
18
vendor/google.golang.org/api/googleapi/internal/uritemplates/LICENSE
generated
vendored
18
vendor/google.golang.org/api/googleapi/internal/uritemplates/LICENSE
generated
vendored
@@ -1,18 +0,0 @@
|
||||
Copyright (c) 2013 Joshua Tacoma
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
2
vendor/google.golang.org/api/googleapi/transport/apikey.go
generated
vendored
2
vendor/google.golang.org/api/googleapi/transport/apikey.go
generated
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2012 Google Inc. All rights reserved.
|
||||
// Copyright 2012 Google LLC. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
|
||||
2
vendor/google.golang.org/api/googleapi/types.go
generated
vendored
2
vendor/google.golang.org/api/googleapi/types.go
generated
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2013 Google Inc. All rights reserved.
|
||||
// Copyright 2013 Google LLC. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
|
||||
16
vendor/google.golang.org/api/internal/creds.go
generated
vendored
16
vendor/google.golang.org/api/internal/creds.go
generated
vendored
@@ -1,16 +1,6 @@
|
||||
// Copyright 2017 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Copyright 2017 Google LLC.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package internal
|
||||
|
||||
|
||||
@@ -1,16 +1,6 @@
|
||||
// Copyright 2016 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Copyright 2016 Google LLC.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package gensupport
|
||||
|
||||
16
vendor/google.golang.org/api/internal/pool.go
generated
vendored
16
vendor/google.golang.org/api/internal/pool.go
generated
vendored
@@ -1,16 +1,6 @@
|
||||
// Copyright 2016 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Copyright 2016 Google LLC.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package internal
|
||||
|
||||
|
||||
43
vendor/google.golang.org/api/internal/settings.go
generated
vendored
43
vendor/google.golang.org/api/internal/settings.go
generated
vendored
@@ -1,16 +1,6 @@
|
||||
// Copyright 2017 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Copyright 2017 Google LLC.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Package internal supports the options and transport packages.
|
||||
package internal
|
||||
@@ -27,19 +17,20 @@ import (
|
||||
// DialSettings holds information needed to establish a connection with a
|
||||
// Google API service.
|
||||
type DialSettings struct {
|
||||
Endpoint string
|
||||
Scopes []string
|
||||
TokenSource oauth2.TokenSource
|
||||
Credentials *google.Credentials
|
||||
CredentialsFile string // if set, Token Source is ignored.
|
||||
CredentialsJSON []byte
|
||||
UserAgent string
|
||||
APIKey string
|
||||
Audiences []string
|
||||
HTTPClient *http.Client
|
||||
GRPCDialOpts []grpc.DialOption
|
||||
GRPCConn *grpc.ClientConn
|
||||
NoAuth bool
|
||||
Endpoint string
|
||||
Scopes []string
|
||||
TokenSource oauth2.TokenSource
|
||||
Credentials *google.Credentials
|
||||
CredentialsFile string // if set, Token Source is ignored.
|
||||
CredentialsJSON []byte
|
||||
UserAgent string
|
||||
APIKey string
|
||||
Audiences []string
|
||||
HTTPClient *http.Client
|
||||
GRPCDialOpts []grpc.DialOption
|
||||
GRPCConn *grpc.ClientConn
|
||||
NoAuth bool
|
||||
TelemetryDisabled bool
|
||||
|
||||
// Google API system parameters. For more information please read:
|
||||
// https://cloud.google.com/apis/docs/system-parameters
|
||||
|
||||
27
vendor/google.golang.org/api/internal/third_party/uritemplates/LICENSE
generated
vendored
Normal file
27
vendor/google.golang.org/api/internal/third_party/uritemplates/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
Copyright (c) 2013 Joshua Tacoma. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following disclaimer
|
||||
in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
* Neither the name of Google Inc. nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
14
vendor/google.golang.org/api/internal/third_party/uritemplates/METADATA
generated
vendored
Normal file
14
vendor/google.golang.org/api/internal/third_party/uritemplates/METADATA
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
name: "uritemplates"
|
||||
description:
|
||||
"Package uritemplates is a level 4 implementation of RFC 6570 (URI "
|
||||
"Template, http://tools.ietf.org/html/rfc6570)."
|
||||
|
||||
third_party {
|
||||
url {
|
||||
type: GIT
|
||||
value: "https://github.com/jtacoma/uritemplates"
|
||||
}
|
||||
version: "0.1"
|
||||
last_upgrade_date { year: 2014 month: 8 day: 18 }
|
||||
license_type: NOTICE
|
||||
}
|
||||
@@ -191,7 +191,7 @@ func parseTerm(term string) (result templateTerm, err error) {
|
||||
err = errors.New("not a valid name: " + result.name)
|
||||
}
|
||||
if result.explode && result.truncate > 0 {
|
||||
err = errors.New("both explode and prefix modifers on same term")
|
||||
err = errors.New("both explode and prefix modifiers on same term")
|
||||
}
|
||||
return result, err
|
||||
}
|
||||
16
vendor/google.golang.org/api/option/credentials_go19.go
generated
vendored
16
vendor/google.golang.org/api/option/credentials_go19.go
generated
vendored
@@ -1,16 +1,6 @@
|
||||
// Copyright 2018 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Copyright 2018 Google LLC.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build go1.9
|
||||
|
||||
|
||||
16
vendor/google.golang.org/api/option/credentials_notgo19.go
generated
vendored
16
vendor/google.golang.org/api/option/credentials_notgo19.go
generated
vendored
@@ -1,16 +1,6 @@
|
||||
// Copyright 2018 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Copyright 2018 Google LLC.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build !go1.9
|
||||
|
||||
|
||||
29
vendor/google.golang.org/api/option/option.go
generated
vendored
29
vendor/google.golang.org/api/option/option.go
generated
vendored
@@ -1,16 +1,6 @@
|
||||
// Copyright 2017 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Copyright 2017 Google LLC.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Package option contains options for Google API clients.
|
||||
package option
|
||||
@@ -233,3 +223,16 @@ type withRequestReason string
|
||||
func (w withRequestReason) Apply(o *internal.DialSettings) {
|
||||
o.RequestReason = string(w)
|
||||
}
|
||||
|
||||
// WithTelemetryDisabled returns a ClientOption that disables default telemetry (OpenCensus)
|
||||
// settings on gRPC and HTTP clients.
|
||||
// An example reason would be to bind custom telemetry that overrides the defaults.
|
||||
func WithTelemetryDisabled() ClientOption {
|
||||
return withTelemetryDisabledOption{}
|
||||
}
|
||||
|
||||
type withTelemetryDisabledOption struct{}
|
||||
|
||||
func (w withTelemetryDisabledOption) Apply(o *internal.DialSettings) {
|
||||
o.TelemetryDisabled = true
|
||||
}
|
||||
|
||||
295
vendor/google.golang.org/api/sheets/v4/sheets-api.json
generated
vendored
295
vendor/google.golang.org/api/sheets/v4/sheets-api.json
generated
vendored
@@ -809,7 +809,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20190813",
|
||||
"revision": "20191105",
|
||||
"rootUrl": "https://sheets.googleapis.com/",
|
||||
"schemas": {
|
||||
"AddBandingRequest": {
|
||||
@@ -985,6 +985,28 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"AddSlicerRequest": {
|
||||
"description": "Adds a slicer to a sheet in the spreadsheet.",
|
||||
"id": "AddSlicerRequest",
|
||||
"properties": {
|
||||
"slicer": {
|
||||
"$ref": "Slicer",
|
||||
"description": "The slicer that should be added to the spreadsheet, including\nthe position where it should be placed. The slicerId field is optional; if one is not set, an id\nwill be randomly generated. (It is an error to specify the ID\nof a slicer that already exists.)"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"AddSlicerResponse": {
|
||||
"description": "The result of adding a slicer to a spreadsheet.",
|
||||
"id": "AddSlicerResponse",
|
||||
"properties": {
|
||||
"slicer": {
|
||||
"$ref": "Slicer",
|
||||
"description": "The newly added slicer."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"AppendCellsRequest": {
|
||||
"description": "Adds new cells after the last row with data in a sheet,\ninserting new rows into the sheet if necessary.",
|
||||
"id": "AppendCellsRequest",
|
||||
@@ -1136,6 +1158,47 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BaselineValueFormat": {
|
||||
"description": "Formatting options for baseline value.",
|
||||
"id": "BaselineValueFormat",
|
||||
"properties": {
|
||||
"comparisonType": {
|
||||
"description": "The comparison type of key value with baseline value.",
|
||||
"enum": [
|
||||
"COMPARISON_TYPE_UNDEFINED",
|
||||
"ABSOLUTE_DIFFERENCE",
|
||||
"PERCENTAGE_DIFFERENCE"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Default value, do not use.",
|
||||
"Use absolute difference between key and baseline value.",
|
||||
"Use percentage difference between key and baseline value."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"description": "Description which is appended after the baseline value.\nThis field is optional.",
|
||||
"type": "string"
|
||||
},
|
||||
"negativeColor": {
|
||||
"$ref": "Color",
|
||||
"description": "Color to be used, in case baseline value represents a negative change for\nkey value. This field is optional."
|
||||
},
|
||||
"position": {
|
||||
"$ref": "TextPosition",
|
||||
"description": "Specifies the horizontal text positioning of baseline value.\nThis field is optional. If not specified, default positioning is used."
|
||||
},
|
||||
"positiveColor": {
|
||||
"$ref": "Color",
|
||||
"description": "Color to be used, in case baseline value represents a positive change for\nkey value. This field is optional."
|
||||
},
|
||||
"textFormat": {
|
||||
"$ref": "TextFormat",
|
||||
"description": "Text formatting options for baseline value."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BasicChartAxis": {
|
||||
"description": "An axis of the chart.\nA chart may not have more than one axis per\naxis position.",
|
||||
"id": "BasicChartAxis",
|
||||
@@ -2281,6 +2344,21 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ChartCustomNumberFormatOptions": {
|
||||
"description": "Custom number formatting options for chart attributes.",
|
||||
"id": "ChartCustomNumberFormatOptions",
|
||||
"properties": {
|
||||
"prefix": {
|
||||
"description": "Custom prefix to be prepended to the chart attribute.\nThis field is optional.",
|
||||
"type": "string"
|
||||
},
|
||||
"suffix": {
|
||||
"description": "Custom suffix to be appended to the chart attribute.\nThis field is optional.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ChartData": {
|
||||
"description": "The data included in a domain or series.",
|
||||
"id": "ChartData",
|
||||
@@ -2368,6 +2446,10 @@
|
||||
"$ref": "PieChartSpec",
|
||||
"description": "A pie chart specification."
|
||||
},
|
||||
"scorecardChart": {
|
||||
"$ref": "ScorecardChartSpec",
|
||||
"description": "A scorecard chart specification."
|
||||
},
|
||||
"subtitle": {
|
||||
"description": "The subtitle of the chart.",
|
||||
"type": "string"
|
||||
@@ -3411,6 +3493,14 @@
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"visibleBackgroundColor": {
|
||||
"$ref": "Color",
|
||||
"description": "The background fill color to filter by; only cells with this fill color are\nshown. Mutually exclusive with all other filter criteria. Requests to set\nthis field will fail with a 400 error if any other filter criteria field is\nset."
|
||||
},
|
||||
"visibleForegroundColor": {
|
||||
"$ref": "Color",
|
||||
"description": "The text color to filter by; only cells with this text color are shown.\nMutually exclusive with all other filter criteria. Requests to set this\nfield will fail with a 400 error if any other filter criteria field is set."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -3876,6 +3966,21 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"KeyValueFormat": {
|
||||
"description": "Formatting options for key value.",
|
||||
"id": "KeyValueFormat",
|
||||
"properties": {
|
||||
"position": {
|
||||
"$ref": "TextPosition",
|
||||
"description": "Specifies the horizontal text positioning of key value.\nThis field is optional. If not specified, default positioning is used."
|
||||
},
|
||||
"textFormat": {
|
||||
"$ref": "TextFormat",
|
||||
"description": "Text formatting options for key value."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"LineStyle": {
|
||||
"description": "Properties that describe the style of a line.",
|
||||
"id": "LineStyle",
|
||||
@@ -4626,6 +4731,10 @@
|
||||
"$ref": "AddSheetRequest",
|
||||
"description": "Adds a sheet."
|
||||
},
|
||||
"addSlicer": {
|
||||
"$ref": "AddSlicerRequest",
|
||||
"description": "Adds a slicer."
|
||||
},
|
||||
"appendCells": {
|
||||
"$ref": "AppendCellsRequest",
|
||||
"description": "Appends cells after the last row with data in a sheet."
|
||||
@@ -4822,6 +4931,10 @@
|
||||
"$ref": "UpdateSheetPropertiesRequest",
|
||||
"description": "Updates a sheet's properties."
|
||||
},
|
||||
"updateSlicerSpec": {
|
||||
"$ref": "UpdateSlicerSpecRequest",
|
||||
"description": "Updates a slicer's specifications."
|
||||
},
|
||||
"updateSpreadsheetProperties": {
|
||||
"$ref": "UpdateSpreadsheetPropertiesRequest",
|
||||
"description": "Updates the spreadsheet's properties."
|
||||
@@ -4861,6 +4974,10 @@
|
||||
"$ref": "AddSheetResponse",
|
||||
"description": "A reply from adding a sheet."
|
||||
},
|
||||
"addSlicer": {
|
||||
"$ref": "AddSlicerResponse",
|
||||
"description": "A reply from adding a slicer."
|
||||
},
|
||||
"createDeveloperMetadata": {
|
||||
"$ref": "CreateDeveloperMetadataResponse",
|
||||
"description": "A reply from creating a developer metadata entry."
|
||||
@@ -4926,6 +5043,74 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ScorecardChartSpec": {
|
||||
"description": "A scorecard chart. Scorecard charts are used to highlight key performance\nindicators, known as KPIs, on the spreadsheet. A scorecard chart can\nrepresent things like total sales, average cost, or a top selling item. You\ncan specify a single data value, or aggregate over a range of data.\nPercentage or absolute difference from a baseline value can be highlighted,\nlike changes over time.",
|
||||
"id": "ScorecardChartSpec",
|
||||
"properties": {
|
||||
"aggregateType": {
|
||||
"description": "The aggregation type for key and baseline chart data in scorecard chart.\nThis field is optional.",
|
||||
"enum": [
|
||||
"CHART_AGGREGATE_TYPE_UNSPECIFIED",
|
||||
"AVERAGE",
|
||||
"COUNT",
|
||||
"MAX",
|
||||
"MEDIAN",
|
||||
"MIN",
|
||||
"SUM"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Default value, do not use.",
|
||||
"Average aggregate function.",
|
||||
"Count aggregate function.",
|
||||
"Maximum aggregate function.",
|
||||
"Median aggregate function.",
|
||||
"Minimum aggregate function.",
|
||||
"Sum aggregate function."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"baselineValueData": {
|
||||
"$ref": "ChartData",
|
||||
"description": "The data for scorecard baseline value.\nThis field is optional."
|
||||
},
|
||||
"baselineValueFormat": {
|
||||
"$ref": "BaselineValueFormat",
|
||||
"description": "Formatting options for baseline value.\nThis field is needed only if baseline_value_data is specified."
|
||||
},
|
||||
"customFormatOptions": {
|
||||
"$ref": "ChartCustomNumberFormatOptions",
|
||||
"description": "Custom formatting options for numeric key/baseline values in scorecard\nchart. This field is used only when number_format_source is set to\nCUSTOM. This field is optional."
|
||||
},
|
||||
"keyValueData": {
|
||||
"$ref": "ChartData",
|
||||
"description": "The data for scorecard key value."
|
||||
},
|
||||
"keyValueFormat": {
|
||||
"$ref": "KeyValueFormat",
|
||||
"description": "Formatting options for key value."
|
||||
},
|
||||
"numberFormatSource": {
|
||||
"description": "The number format source used in the scorecard chart.\nThis field is optional.",
|
||||
"enum": [
|
||||
"CHART_NUMBER_FORMAT_SOURCE_UNDEFINED",
|
||||
"FROM_DATA",
|
||||
"CUSTOM"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Default value, do not use.",
|
||||
"Inherit number formatting from data.",
|
||||
"Apply custom formatting as specified by ChartCustomNumberFormatOptions."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"scaleFactor": {
|
||||
"description": "Value to scale scorecard key and baseline value. For example, a factor of\n10 can be used to divide all values in the chart by 10.\nThis field is optional.",
|
||||
"format": "double",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"SearchDeveloperMetadataRequest": {
|
||||
"description": "A request to retrieve all developer metadata matching the set of specified\ncriteria.",
|
||||
"id": "SearchDeveloperMetadataRequest",
|
||||
@@ -5061,6 +5246,13 @@
|
||||
"$ref": "DimensionGroup"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"slicers": {
|
||||
"description": "The slicers on this sheet.",
|
||||
"items": {
|
||||
"$ref": "Slicer"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -5116,6 +5308,78 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Slicer": {
|
||||
"description": "A slicer in a sheet.",
|
||||
"id": "Slicer",
|
||||
"properties": {
|
||||
"position": {
|
||||
"$ref": "EmbeddedObjectPosition",
|
||||
"description": "The position of the slicer. Note that slicer can be positioned only on\nexisting sheet. Also, width and height of slicer can be automatically\nadjusted to keep it within permitted limits."
|
||||
},
|
||||
"slicerId": {
|
||||
"description": "The ID of the slicer.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"spec": {
|
||||
"$ref": "SlicerSpec",
|
||||
"description": "The specification of the slicer."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"SlicerSpec": {
|
||||
"description": "The specifications of a slicer.",
|
||||
"id": "SlicerSpec",
|
||||
"properties": {
|
||||
"applyToPivotTables": {
|
||||
"description": "True if the filter should apply to pivot tables.\nIf not set, default to `True`.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"backgroundColor": {
|
||||
"$ref": "Color",
|
||||
"description": "The background color of the slicer."
|
||||
},
|
||||
"columnIndex": {
|
||||
"description": "The column index in the data table on which the filter is applied to.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"dataRange": {
|
||||
"$ref": "GridRange",
|
||||
"description": "The data range of the slicer."
|
||||
},
|
||||
"filterCriteria": {
|
||||
"$ref": "FilterCriteria",
|
||||
"description": "The filtering criteria of the slicer."
|
||||
},
|
||||
"horizontalAlignment": {
|
||||
"description": "The horizontal alignment of title in the slicer.\nIf unspecified, defaults to `LEFT`",
|
||||
"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"
|
||||
},
|
||||
"textFormat": {
|
||||
"$ref": "TextFormat",
|
||||
"description": "The text format of title in the slicer."
|
||||
},
|
||||
"title": {
|
||||
"description": "The title of the slicer.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"SortRangeRequest": {
|
||||
"description": "Sorts data in rows based on a sort order per column.",
|
||||
"id": "SortRangeRequest",
|
||||
@@ -5138,11 +5402,19 @@
|
||||
"description": "A sort order associated with a specific column or row.",
|
||||
"id": "SortSpec",
|
||||
"properties": {
|
||||
"backgroundColor": {
|
||||
"$ref": "Color",
|
||||
"description": "The background fill color to sort by. Mutually exclusive with sorting by\ntext color. Requests to set this field will fail with a 400 error if\nforeground color is also set."
|
||||
},
|
||||
"dimensionIndex": {
|
||||
"description": "The dimension the sort should be applied to.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"foregroundColor": {
|
||||
"$ref": "Color",
|
||||
"description": "The text color to sort by. Mutually exclusive with sorting by background\nfill color. Requests to set this field will fail with a 400 error if\nbackground color is also set."
|
||||
},
|
||||
"sortOrder": {
|
||||
"description": "The order data should be sorted.",
|
||||
"enum": [
|
||||
@@ -5831,6 +6103,27 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UpdateSlicerSpecRequest": {
|
||||
"description": "Updates a slicer’s specifications.\n(This does not move or resize a slicer. To move or resize a slicer use\nUpdateEmbeddedObjectPositionRequest.",
|
||||
"id": "UpdateSlicerSpecRequest",
|
||||
"properties": {
|
||||
"fields": {
|
||||
"description": "The fields that should be updated. At least one field must be specified.\nThe root `SlicerSpec` is implied and should not be specified. A single \"*\"`\ncan be used as short-hand for listing every field.",
|
||||
"format": "google-fieldmask",
|
||||
"type": "string"
|
||||
},
|
||||
"slicerId": {
|
||||
"description": "The id of the slicer to update.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"spec": {
|
||||
"$ref": "SlicerSpec",
|
||||
"description": "The specification to apply to the slicer."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UpdateSpreadsheetPropertiesRequest": {
|
||||
"description": "Updates properties of a spreadsheet.",
|
||||
"id": "UpdateSpreadsheetPropertiesRequest",
|
||||
|
||||
518
vendor/google.golang.org/api/sheets/v4/sheets-gen.go
generated
vendored
518
vendor/google.golang.org/api/sheets/v4/sheets-gen.go
generated
vendored
@@ -53,8 +53,8 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
gensupport "google.golang.org/api/gensupport"
|
||||
googleapi "google.golang.org/api/googleapi"
|
||||
gensupport "google.golang.org/api/internal/gensupport"
|
||||
option "google.golang.org/api/option"
|
||||
htransport "google.golang.org/api/transport/http"
|
||||
)
|
||||
@@ -683,6 +683,67 @@ func (s *AddSheetResponse) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// AddSlicerRequest: Adds a slicer to a sheet in the spreadsheet.
|
||||
type AddSlicerRequest struct {
|
||||
// Slicer: The slicer that should be added to the spreadsheet,
|
||||
// including
|
||||
// the position where it should be placed. The slicerId field is
|
||||
// optional; if one is not set, an id
|
||||
// will be randomly generated. (It is an error to specify the ID
|
||||
// of a slicer that already exists.)
|
||||
Slicer *Slicer `json:"slicer,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Slicer") 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. "Slicer") 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 *AddSlicerRequest) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod AddSlicerRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// AddSlicerResponse: The result of adding a slicer to a spreadsheet.
|
||||
type AddSlicerResponse struct {
|
||||
// Slicer: The newly added slicer.
|
||||
Slicer *Slicer `json:"slicer,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Slicer") 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. "Slicer") 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 *AddSlicerResponse) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod AddSlicerResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// AppendCellsRequest: Adds new cells after the last row with data in a
|
||||
// sheet,
|
||||
// inserting new rows into the sheet if necessary.
|
||||
@@ -993,6 +1054,66 @@ func (s *BandingProperties) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// BaselineValueFormat: Formatting options for baseline value.
|
||||
type BaselineValueFormat struct {
|
||||
// ComparisonType: The comparison type of key value with baseline value.
|
||||
//
|
||||
// Possible values:
|
||||
// "COMPARISON_TYPE_UNDEFINED" - Default value, do not use.
|
||||
// "ABSOLUTE_DIFFERENCE" - Use absolute difference between key and
|
||||
// baseline value.
|
||||
// "PERCENTAGE_DIFFERENCE" - Use percentage difference between key and
|
||||
// baseline value.
|
||||
ComparisonType string `json:"comparisonType,omitempty"`
|
||||
|
||||
// Description: Description which is appended after the baseline
|
||||
// value.
|
||||
// This field is optional.
|
||||
Description string `json:"description,omitempty"`
|
||||
|
||||
// NegativeColor: Color to be used, in case baseline value represents a
|
||||
// negative change for
|
||||
// key value. This field is optional.
|
||||
NegativeColor *Color `json:"negativeColor,omitempty"`
|
||||
|
||||
// Position: Specifies the horizontal text positioning of baseline
|
||||
// value.
|
||||
// This field is optional. If not specified, default positioning is
|
||||
// used.
|
||||
Position *TextPosition `json:"position,omitempty"`
|
||||
|
||||
// PositiveColor: Color to be used, in case baseline value represents a
|
||||
// positive change for
|
||||
// key value. This field is optional.
|
||||
PositiveColor *Color `json:"positiveColor,omitempty"`
|
||||
|
||||
// TextFormat: Text formatting options for baseline value.
|
||||
TextFormat *TextFormat `json:"textFormat,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ComparisonType") 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. "ComparisonType") 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 *BaselineValueFormat) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod BaselineValueFormat
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// BasicChartAxis: An axis of the chart.
|
||||
// A chart may not have more than one axis per
|
||||
// axis position.
|
||||
@@ -2993,6 +3114,40 @@ func (s *ChartAxisViewWindowOptions) UnmarshalJSON(data []byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// ChartCustomNumberFormatOptions: Custom number formatting options for
|
||||
// chart attributes.
|
||||
type ChartCustomNumberFormatOptions struct {
|
||||
// Prefix: Custom prefix to be prepended to the chart attribute.
|
||||
// This field is optional.
|
||||
Prefix string `json:"prefix,omitempty"`
|
||||
|
||||
// Suffix: Custom suffix to be appended to the chart attribute.
|
||||
// This field is optional.
|
||||
Suffix string `json:"suffix,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Prefix") 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. "Prefix") 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 *ChartCustomNumberFormatOptions) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod ChartCustomNumberFormatOptions
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ChartData: The data included in a domain or series.
|
||||
type ChartData struct {
|
||||
// SourceRange: The source ranges of the data.
|
||||
@@ -3126,6 +3281,9 @@ type ChartSpec struct {
|
||||
// PieChart: A pie chart specification.
|
||||
PieChart *PieChartSpec `json:"pieChart,omitempty"`
|
||||
|
||||
// ScorecardChart: A scorecard chart specification.
|
||||
ScorecardChart *ScorecardChartSpec `json:"scorecardChart,omitempty"`
|
||||
|
||||
// Subtitle: The subtitle of the chart.
|
||||
Subtitle string `json:"subtitle,omitempty"`
|
||||
|
||||
@@ -5256,6 +5414,23 @@ type FilterCriteria struct {
|
||||
// HiddenValues: Values that should be hidden.
|
||||
HiddenValues []string `json:"hiddenValues,omitempty"`
|
||||
|
||||
// VisibleBackgroundColor: The background fill color to filter by; only
|
||||
// cells with this fill color are
|
||||
// shown. Mutually exclusive with all other filter criteria. Requests to
|
||||
// set
|
||||
// this field will fail with a 400 error if any other filter criteria
|
||||
// field is
|
||||
// set.
|
||||
VisibleBackgroundColor *Color `json:"visibleBackgroundColor,omitempty"`
|
||||
|
||||
// VisibleForegroundColor: The text color to filter by; only cells with
|
||||
// this text color are shown.
|
||||
// Mutually exclusive with all other filter criteria. Requests to set
|
||||
// this
|
||||
// field will fail with a 400 error if any other filter criteria field
|
||||
// is set.
|
||||
VisibleForegroundColor *Color `json:"visibleForegroundColor,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,
|
||||
@@ -6167,6 +6342,40 @@ func (s *IterativeCalculationSettings) UnmarshalJSON(data []byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// KeyValueFormat: Formatting options for key value.
|
||||
type KeyValueFormat struct {
|
||||
// Position: Specifies the horizontal text positioning of key
|
||||
// value.
|
||||
// This field is optional. If not specified, default positioning is
|
||||
// used.
|
||||
Position *TextPosition `json:"position,omitempty"`
|
||||
|
||||
// TextFormat: Text formatting options for key value.
|
||||
TextFormat *TextFormat `json:"textFormat,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:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Position") 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 *KeyValueFormat) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod KeyValueFormat
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// LineStyle: Properties that describe the style of a line.
|
||||
type LineStyle struct {
|
||||
// Type: The dash type of the line.
|
||||
@@ -7434,6 +7643,9 @@ type Request struct {
|
||||
// AddSheet: Adds a sheet.
|
||||
AddSheet *AddSheetRequest `json:"addSheet,omitempty"`
|
||||
|
||||
// AddSlicer: Adds a slicer.
|
||||
AddSlicer *AddSlicerRequest `json:"addSlicer,omitempty"`
|
||||
|
||||
// AppendCells: Appends cells after the last row with data in a sheet.
|
||||
AppendCells *AppendCellsRequest `json:"appendCells,omitempty"`
|
||||
|
||||
@@ -7593,6 +7805,9 @@ type Request struct {
|
||||
// UpdateSheetProperties: Updates a sheet's properties.
|
||||
UpdateSheetProperties *UpdateSheetPropertiesRequest `json:"updateSheetProperties,omitempty"`
|
||||
|
||||
// UpdateSlicerSpec: Updates a slicer's specifications.
|
||||
UpdateSlicerSpec *UpdateSlicerSpecRequest `json:"updateSlicerSpec,omitempty"`
|
||||
|
||||
// UpdateSpreadsheetProperties: Updates the spreadsheet's properties.
|
||||
UpdateSpreadsheetProperties *UpdateSpreadsheetPropertiesRequest `json:"updateSpreadsheetProperties,omitempty"`
|
||||
|
||||
@@ -7642,6 +7857,9 @@ type Response struct {
|
||||
// AddSheet: A reply from adding a sheet.
|
||||
AddSheet *AddSheetResponse `json:"addSheet,omitempty"`
|
||||
|
||||
// AddSlicer: A reply from adding a slicer.
|
||||
AddSlicer *AddSlicerResponse `json:"addSlicer,omitempty"`
|
||||
|
||||
// CreateDeveloperMetadata: A reply from creating a developer metadata
|
||||
// entry.
|
||||
CreateDeveloperMetadata *CreateDeveloperMetadataResponse `json:"createDeveloperMetadata,omitempty"`
|
||||
@@ -7736,6 +7954,107 @@ func (s *RowData) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ScorecardChartSpec: A scorecard chart. Scorecard charts are used to
|
||||
// highlight key performance
|
||||
// indicators, known as KPIs, on the spreadsheet. A scorecard chart
|
||||
// can
|
||||
// represent things like total sales, average cost, or a top selling
|
||||
// item. You
|
||||
// can specify a single data value, or aggregate over a range of
|
||||
// data.
|
||||
// Percentage or absolute difference from a baseline value can be
|
||||
// highlighted,
|
||||
// like changes over time.
|
||||
type ScorecardChartSpec struct {
|
||||
// AggregateType: The aggregation type for key and baseline chart data
|
||||
// in scorecard chart.
|
||||
// This field is optional.
|
||||
//
|
||||
// Possible values:
|
||||
// "CHART_AGGREGATE_TYPE_UNSPECIFIED" - Default value, do not use.
|
||||
// "AVERAGE" - Average aggregate function.
|
||||
// "COUNT" - Count aggregate function.
|
||||
// "MAX" - Maximum aggregate function.
|
||||
// "MEDIAN" - Median aggregate function.
|
||||
// "MIN" - Minimum aggregate function.
|
||||
// "SUM" - Sum aggregate function.
|
||||
AggregateType string `json:"aggregateType,omitempty"`
|
||||
|
||||
// BaselineValueData: The data for scorecard baseline value.
|
||||
// This field is optional.
|
||||
BaselineValueData *ChartData `json:"baselineValueData,omitempty"`
|
||||
|
||||
// BaselineValueFormat: Formatting options for baseline value.
|
||||
// This field is needed only if baseline_value_data is specified.
|
||||
BaselineValueFormat *BaselineValueFormat `json:"baselineValueFormat,omitempty"`
|
||||
|
||||
// CustomFormatOptions: Custom formatting options for numeric
|
||||
// key/baseline values in scorecard
|
||||
// chart. This field is used only when number_format_source is set
|
||||
// to
|
||||
// CUSTOM. This field is optional.
|
||||
CustomFormatOptions *ChartCustomNumberFormatOptions `json:"customFormatOptions,omitempty"`
|
||||
|
||||
// KeyValueData: The data for scorecard key value.
|
||||
KeyValueData *ChartData `json:"keyValueData,omitempty"`
|
||||
|
||||
// KeyValueFormat: Formatting options for key value.
|
||||
KeyValueFormat *KeyValueFormat `json:"keyValueFormat,omitempty"`
|
||||
|
||||
// NumberFormatSource: The number format source used in the scorecard
|
||||
// chart.
|
||||
// This field is optional.
|
||||
//
|
||||
// Possible values:
|
||||
// "CHART_NUMBER_FORMAT_SOURCE_UNDEFINED" - Default value, do not use.
|
||||
// "FROM_DATA" - Inherit number formatting from data.
|
||||
// "CUSTOM" - Apply custom formatting as specified by
|
||||
// ChartCustomNumberFormatOptions.
|
||||
NumberFormatSource string `json:"numberFormatSource,omitempty"`
|
||||
|
||||
// ScaleFactor: Value to scale scorecard key and baseline value. For
|
||||
// example, a factor of
|
||||
// 10 can be used to divide all values in the chart by 10.
|
||||
// This field is optional.
|
||||
ScaleFactor float64 `json:"scaleFactor,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "AggregateType") 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. "AggregateType") 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 *ScorecardChartSpec) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod ScorecardChartSpec
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *ScorecardChartSpec) UnmarshalJSON(data []byte) error {
|
||||
type NoMethod ScorecardChartSpec
|
||||
var s1 struct {
|
||||
ScaleFactor gensupport.JSONFloat64 `json:"scaleFactor"`
|
||||
*NoMethod
|
||||
}
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
s.ScaleFactor = float64(s1.ScaleFactor)
|
||||
return nil
|
||||
}
|
||||
|
||||
// SearchDeveloperMetadataRequest: A request to retrieve all developer
|
||||
// metadata matching the set of specified
|
||||
// criteria.
|
||||
@@ -7921,6 +8240,9 @@ type Sheet struct {
|
||||
// by group depth.
|
||||
RowGroups []*DimensionGroup `json:"rowGroups,omitempty"`
|
||||
|
||||
// Slicers: The slicers on this sheet.
|
||||
Slicers []*Slicer `json:"slicers,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "BandedRanges") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
@@ -8023,6 +8345,107 @@ func (s *SheetProperties) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Slicer: A slicer in a sheet.
|
||||
type Slicer struct {
|
||||
// Position: The position of the slicer. Note that slicer can be
|
||||
// positioned only on
|
||||
// existing sheet. Also, width and height of slicer can be
|
||||
// automatically
|
||||
// adjusted to keep it within permitted limits.
|
||||
Position *EmbeddedObjectPosition `json:"position,omitempty"`
|
||||
|
||||
// SlicerId: The ID of the slicer.
|
||||
SlicerId int64 `json:"slicerId,omitempty"`
|
||||
|
||||
// Spec: The specification of the slicer.
|
||||
Spec *SlicerSpec `json:"spec,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:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Position") 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 *Slicer) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod Slicer
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// SlicerSpec: The specifications of a slicer.
|
||||
type SlicerSpec struct {
|
||||
// ApplyToPivotTables: True if the filter should apply to pivot
|
||||
// tables.
|
||||
// If not set, default to `True`.
|
||||
ApplyToPivotTables bool `json:"applyToPivotTables,omitempty"`
|
||||
|
||||
// BackgroundColor: The background color of the slicer.
|
||||
BackgroundColor *Color `json:"backgroundColor,omitempty"`
|
||||
|
||||
// ColumnIndex: The column index in the data table on which the filter
|
||||
// is applied to.
|
||||
ColumnIndex int64 `json:"columnIndex,omitempty"`
|
||||
|
||||
// DataRange: The data range of the slicer.
|
||||
DataRange *GridRange `json:"dataRange,omitempty"`
|
||||
|
||||
// FilterCriteria: The filtering criteria of the slicer.
|
||||
FilterCriteria *FilterCriteria `json:"filterCriteria,omitempty"`
|
||||
|
||||
// HorizontalAlignment: The horizontal alignment of title in the
|
||||
// slicer.
|
||||
// If unspecified, defaults to `LEFT`
|
||||
//
|
||||
// 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"`
|
||||
|
||||
// TextFormat: The text format of title in the slicer.
|
||||
TextFormat *TextFormat `json:"textFormat,omitempty"`
|
||||
|
||||
// Title: The title of the slicer.
|
||||
Title string `json:"title,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ApplyToPivotTables")
|
||||
// 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. "ApplyToPivotTables") 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 *SlicerSpec) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod SlicerSpec
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// SortRangeRequest: Sorts data in rows based on a sort order per
|
||||
// column.
|
||||
type SortRangeRequest struct {
|
||||
@@ -8059,9 +8482,23 @@ func (s *SortRangeRequest) MarshalJSON() ([]byte, error) {
|
||||
|
||||
// SortSpec: A sort order associated with a specific column or row.
|
||||
type SortSpec struct {
|
||||
// BackgroundColor: The background fill color to sort by. Mutually
|
||||
// exclusive with sorting by
|
||||
// text color. Requests to set this field will fail with a 400 error
|
||||
// if
|
||||
// foreground color is also set.
|
||||
BackgroundColor *Color `json:"backgroundColor,omitempty"`
|
||||
|
||||
// DimensionIndex: The dimension the sort should be applied to.
|
||||
DimensionIndex int64 `json:"dimensionIndex,omitempty"`
|
||||
|
||||
// ForegroundColor: The text color to sort by. Mutually exclusive with
|
||||
// sorting by background
|
||||
// fill color. Requests to set this field will fail with a 400 error
|
||||
// if
|
||||
// background color is also set.
|
||||
ForegroundColor *Color `json:"foregroundColor,omitempty"`
|
||||
|
||||
// SortOrder: The order data should be sorted.
|
||||
//
|
||||
// Possible values:
|
||||
@@ -8070,7 +8507,7 @@ type SortSpec struct {
|
||||
// "DESCENDING" - Sort descending.
|
||||
SortOrder string `json:"sortOrder,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "DimensionIndex") to
|
||||
// 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
|
||||
@@ -8078,7 +8515,7 @@ type SortSpec struct {
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "DimensionIndex") to
|
||||
// NullFields is a list of field names (e.g. "BackgroundColor") 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
|
||||
@@ -9397,6 +9834,47 @@ func (s *UpdateSheetPropertiesRequest) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// UpdateSlicerSpecRequest: Updates a slicer’s specifications.
|
||||
// (This does not move or resize a slicer. To move or resize a slicer
|
||||
// use
|
||||
// UpdateEmbeddedObjectPositionRequest.
|
||||
type UpdateSlicerSpecRequest struct {
|
||||
// Fields: The fields that should be updated. At least one field must
|
||||
// be specified.
|
||||
// The root `SlicerSpec` is implied and should not be specified. A
|
||||
// single "*"
|
||||
// can be used as short-hand for listing every field.
|
||||
Fields string `json:"fields,omitempty"`
|
||||
|
||||
// SlicerId: The id of the slicer to update.
|
||||
SlicerId int64 `json:"slicerId,omitempty"`
|
||||
|
||||
// Spec: The specification to apply to the slicer.
|
||||
Spec *SlicerSpec `json:"spec,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:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Fields") 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 *UpdateSlicerSpecRequest) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod UpdateSlicerSpecRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// UpdateSpreadsheetPropertiesRequest: Updates properties of a
|
||||
// spreadsheet.
|
||||
type UpdateSpreadsheetPropertiesRequest struct {
|
||||
@@ -9910,7 +10388,7 @@ func (c *SpreadsheetsBatchUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsBatchUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10050,7 +10528,7 @@ func (c *SpreadsheetsCreateCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsCreateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10227,7 +10705,7 @@ func (c *SpreadsheetsGetCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10403,7 +10881,7 @@ func (c *SpreadsheetsGetByDataFilterCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsGetByDataFilterCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10558,7 +11036,7 @@ func (c *SpreadsheetsDeveloperMetadataGetCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsDeveloperMetadataGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10712,7 +11190,7 @@ func (c *SpreadsheetsDeveloperMetadataSearchCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsDeveloperMetadataSearchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10857,7 +11335,7 @@ func (c *SpreadsheetsSheetsCopyToCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsSheetsCopyToCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11093,7 +11571,7 @@ func (c *SpreadsheetsValuesAppendCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesAppendCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11291,7 +11769,7 @@ func (c *SpreadsheetsValuesBatchClearCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesBatchClearCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11439,7 +11917,7 @@ func (c *SpreadsheetsValuesBatchClearByDataFilterCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesBatchClearByDataFilterCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11648,7 +12126,7 @@ func (c *SpreadsheetsValuesBatchGetCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesBatchGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11826,7 +12304,7 @@ func (c *SpreadsheetsValuesBatchGetByDataFilterCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesBatchGetByDataFilterCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11971,7 +12449,7 @@ func (c *SpreadsheetsValuesBatchUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesBatchUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -12116,7 +12594,7 @@ func (c *SpreadsheetsValuesBatchUpdateByDataFilterCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesBatchUpdateByDataFilterCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -12264,7 +12742,7 @@ func (c *SpreadsheetsValuesClearCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesClearCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -12474,7 +12952,7 @@ func (c *SpreadsheetsValuesGetCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -12712,7 +13190,7 @@ func (c *SpreadsheetsValuesUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
|
||||
32
vendor/google.golang.org/api/transport/http/dial.go
generated
vendored
32
vendor/google.golang.org/api/transport/http/dial.go
generated
vendored
@@ -1,16 +1,6 @@
|
||||
// Copyright 2015 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Copyright 2015 Google LLC.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Package http supports network connections to HTTP servers.
|
||||
// This package is not intended for use by end developers. Use the
|
||||
@@ -70,7 +60,7 @@ func newTransport(ctx context.Context, base http.RoundTripper, settings *interna
|
||||
quotaProject: settings.QuotaProject,
|
||||
requestReason: settings.RequestReason,
|
||||
}
|
||||
trans = addOCTransport(trans)
|
||||
trans = addOCTransport(trans, settings)
|
||||
switch {
|
||||
case settings.NoAuth:
|
||||
// Do nothing.
|
||||
@@ -119,16 +109,15 @@ func (t parameterTransport) RoundTrip(req *http.Request) (*http.Response, error)
|
||||
if rt == nil {
|
||||
return nil, errors.New("transport: no Transport specified")
|
||||
}
|
||||
if t.userAgent == "" {
|
||||
return rt.RoundTrip(req)
|
||||
}
|
||||
newReq := *req
|
||||
newReq.Header = make(http.Header)
|
||||
for k, vv := range req.Header {
|
||||
newReq.Header[k] = vv
|
||||
}
|
||||
// TODO(cbro): append to existing User-Agent header?
|
||||
newReq.Header.Set("User-Agent", t.userAgent)
|
||||
if t.userAgent != "" {
|
||||
// TODO(cbro): append to existing User-Agent header?
|
||||
newReq.Header.Set("User-Agent", t.userAgent)
|
||||
}
|
||||
|
||||
// Attach system parameters into the header
|
||||
if t.quotaProject != "" {
|
||||
@@ -153,7 +142,10 @@ func defaultBaseTransport(ctx context.Context) http.RoundTripper {
|
||||
return http.DefaultTransport
|
||||
}
|
||||
|
||||
func addOCTransport(trans http.RoundTripper) http.RoundTripper {
|
||||
func addOCTransport(trans http.RoundTripper, settings *internal.DialSettings) http.RoundTripper {
|
||||
if settings.TelemetryDisabled {
|
||||
return trans
|
||||
}
|
||||
return &ochttp.Transport{
|
||||
Base: trans,
|
||||
Propagation: &propagation.HTTPFormat{},
|
||||
|
||||
16
vendor/google.golang.org/api/transport/http/dial_appengine.go
generated
vendored
16
vendor/google.golang.org/api/transport/http/dial_appengine.go
generated
vendored
@@ -1,16 +1,6 @@
|
||||
// Copyright 2016 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Copyright 2016 Google LLC.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build appengine
|
||||
|
||||
|
||||
16
vendor/google.golang.org/api/transport/http/internal/propagation/http.go
generated
vendored
16
vendor/google.golang.org/api/transport/http/internal/propagation/http.go
generated
vendored
@@ -1,16 +1,6 @@
|
||||
// Copyright 2018 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Copyright 2018 Google LLC.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build go1.8
|
||||
|
||||
|
||||
Reference in New Issue
Block a user