mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
Merge pull request #57520 from nicksardo/update-gce
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Update vendor of google.golang.org/api repo Update vendor of GCE **Release note**: ```release-note NONE ```
This commit is contained in:
commit
2ec792a282
22
Godeps/Godeps.json
generated
22
Godeps/Godeps.json
generated
@ -2870,47 +2870,47 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "google.golang.org/api/cloudmonitoring/v2beta2",
|
"ImportPath": "google.golang.org/api/cloudmonitoring/v2beta2",
|
||||||
"Rev": "654f863362977d69086620b5f72f13e911da2410"
|
"Rev": "c0dae069ee96c9261a04c81efd9e0f1e55f565ac"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "google.golang.org/api/compute/v0.alpha",
|
"ImportPath": "google.golang.org/api/compute/v0.alpha",
|
||||||
"Rev": "654f863362977d69086620b5f72f13e911da2410"
|
"Rev": "c0dae069ee96c9261a04c81efd9e0f1e55f565ac"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "google.golang.org/api/compute/v0.beta",
|
"ImportPath": "google.golang.org/api/compute/v0.beta",
|
||||||
"Rev": "654f863362977d69086620b5f72f13e911da2410"
|
"Rev": "c0dae069ee96c9261a04c81efd9e0f1e55f565ac"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "google.golang.org/api/compute/v1",
|
"ImportPath": "google.golang.org/api/compute/v1",
|
||||||
"Rev": "654f863362977d69086620b5f72f13e911da2410"
|
"Rev": "c0dae069ee96c9261a04c81efd9e0f1e55f565ac"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "google.golang.org/api/container/v1",
|
"ImportPath": "google.golang.org/api/container/v1",
|
||||||
"Rev": "654f863362977d69086620b5f72f13e911da2410"
|
"Rev": "c0dae069ee96c9261a04c81efd9e0f1e55f565ac"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "google.golang.org/api/gensupport",
|
"ImportPath": "google.golang.org/api/gensupport",
|
||||||
"Rev": "654f863362977d69086620b5f72f13e911da2410"
|
"Rev": "c0dae069ee96c9261a04c81efd9e0f1e55f565ac"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "google.golang.org/api/googleapi",
|
"ImportPath": "google.golang.org/api/googleapi",
|
||||||
"Rev": "654f863362977d69086620b5f72f13e911da2410"
|
"Rev": "c0dae069ee96c9261a04c81efd9e0f1e55f565ac"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "google.golang.org/api/googleapi/internal/uritemplates",
|
"ImportPath": "google.golang.org/api/googleapi/internal/uritemplates",
|
||||||
"Rev": "654f863362977d69086620b5f72f13e911da2410"
|
"Rev": "c0dae069ee96c9261a04c81efd9e0f1e55f565ac"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "google.golang.org/api/logging/v2beta1",
|
"ImportPath": "google.golang.org/api/logging/v2beta1",
|
||||||
"Rev": "654f863362977d69086620b5f72f13e911da2410"
|
"Rev": "c0dae069ee96c9261a04c81efd9e0f1e55f565ac"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "google.golang.org/api/monitoring/v3",
|
"ImportPath": "google.golang.org/api/monitoring/v3",
|
||||||
"Rev": "654f863362977d69086620b5f72f13e911da2410"
|
"Rev": "c0dae069ee96c9261a04c81efd9e0f1e55f565ac"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "google.golang.org/api/pubsub/v1",
|
"ImportPath": "google.golang.org/api/pubsub/v1",
|
||||||
"Rev": "654f863362977d69086620b5f72f13e911da2410"
|
"Rev": "c0dae069ee96c9261a04c81efd9e0f1e55f565ac"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "google.golang.org/genproto/googleapis/rpc/status",
|
"ImportPath": "google.golang.org/genproto/googleapis/rpc/status",
|
||||||
|
1
vendor/google.golang.org/api/CONTRIBUTORS
generated
vendored
1
vendor/google.golang.org/api/CONTRIBUTORS
generated
vendored
@ -44,6 +44,7 @@ Ivan Krasin <krasin@golang.org>
|
|||||||
Jason Hall <jasonhall@google.com>
|
Jason Hall <jasonhall@google.com>
|
||||||
Johan Euphrosine <proppy@google.com>
|
Johan Euphrosine <proppy@google.com>
|
||||||
Kostik Shtoyk <kostik@google.com>
|
Kostik Shtoyk <kostik@google.com>
|
||||||
|
Matthew Whisenhunt <matt.whisenhunt@gmail.com>
|
||||||
Michael McGreevy <mcgreevy@golang.org>
|
Michael McGreevy <mcgreevy@golang.org>
|
||||||
Nick Craig-Wood <nickcw@gmail.com>
|
Nick Craig-Wood <nickcw@gmail.com>
|
||||||
Ross Light <light@google.com>
|
Ross Light <light@google.com>
|
||||||
|
2
vendor/google.golang.org/api/cloudmonitoring/v2beta2/cloudmonitoring-api.json
generated
vendored
2
vendor/google.golang.org/api/cloudmonitoring/v2beta2/cloudmonitoring-api.json
generated
vendored
@ -21,7 +21,7 @@
|
|||||||
"basePath": "/cloudmonitoring/v2beta2/projects/",
|
"basePath": "/cloudmonitoring/v2beta2/projects/",
|
||||||
"rootUrl": "https://www.googleapis.com/",
|
"rootUrl": "https://www.googleapis.com/",
|
||||||
"servicePath": "cloudmonitoring/v2beta2/projects/",
|
"servicePath": "cloudmonitoring/v2beta2/projects/",
|
||||||
"batchPath": "batch",
|
"batchPath": "batch/cloudmonitoring/v2beta2",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"alt": {
|
"alt": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
3454
vendor/google.golang.org/api/compute/v0.alpha/compute-api.json
generated
vendored
3454
vendor/google.golang.org/api/compute/v0.alpha/compute-api.json
generated
vendored
File diff suppressed because it is too large
Load Diff
9773
vendor/google.golang.org/api/compute/v0.alpha/compute-gen.go
generated
vendored
9773
vendor/google.golang.org/api/compute/v0.alpha/compute-gen.go
generated
vendored
File diff suppressed because it is too large
Load Diff
3371
vendor/google.golang.org/api/compute/v0.beta/compute-api.json
generated
vendored
3371
vendor/google.golang.org/api/compute/v0.beta/compute-api.json
generated
vendored
File diff suppressed because it is too large
Load Diff
9886
vendor/google.golang.org/api/compute/v0.beta/compute-gen.go
generated
vendored
9886
vendor/google.golang.org/api/compute/v0.beta/compute-gen.go
generated
vendored
File diff suppressed because it is too large
Load Diff
7131
vendor/google.golang.org/api/compute/v1/compute-api.json
generated
vendored
7131
vendor/google.golang.org/api/compute/v1/compute-api.json
generated
vendored
File diff suppressed because it is too large
Load Diff
12954
vendor/google.golang.org/api/compute/v1/compute-gen.go
generated
vendored
12954
vendor/google.golang.org/api/compute/v1/compute-gen.go
generated
vendored
File diff suppressed because it is too large
Load Diff
3321
vendor/google.golang.org/api/container/v1/container-api.json
generated
vendored
3321
vendor/google.golang.org/api/container/v1/container-api.json
generated
vendored
File diff suppressed because it is too large
Load Diff
609
vendor/google.golang.org/api/container/v1/container-gen.go
generated
vendored
609
vendor/google.golang.org/api/container/v1/container-gen.go
generated
vendored
File diff suppressed because it is too large
Load Diff
10
vendor/google.golang.org/api/gensupport/send.go
generated
vendored
10
vendor/google.golang.org/api/gensupport/send.go
generated
vendored
@ -5,6 +5,7 @@
|
|||||||
package gensupport
|
package gensupport
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
@ -59,3 +60,12 @@ func SendRequest(ctx context.Context, client *http.Client, req *http.Request) (*
|
|||||||
}
|
}
|
||||||
return resp, err
|
return resp, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DecodeResponse decodes the body of res into target. If there is no body,
|
||||||
|
// target is unchanged.
|
||||||
|
func DecodeResponse(target interface{}, res *http.Response) error {
|
||||||
|
if res.StatusCode == http.StatusNoContent {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return json.NewDecoder(res.Body).Decode(target)
|
||||||
|
}
|
||||||
|
2405
vendor/google.golang.org/api/logging/v2beta1/logging-api.json
generated
vendored
2405
vendor/google.golang.org/api/logging/v2beta1/logging-api.json
generated
vendored
File diff suppressed because it is too large
Load Diff
197
vendor/google.golang.org/api/logging/v2beta1/logging-gen.go
generated
vendored
197
vendor/google.golang.org/api/logging/v2beta1/logging-gen.go
generated
vendored
@ -248,8 +248,8 @@ type BucketOptions struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *BucketOptions) MarshalJSON() ([]byte, error) {
|
func (s *BucketOptions) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod BucketOptions
|
type NoMethod BucketOptions
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -297,8 +297,8 @@ type Explicit struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *Explicit) MarshalJSON() ([]byte, error) {
|
func (s *Explicit) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod Explicit
|
type NoMethod Explicit
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -337,19 +337,19 @@ type Exponential struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *Exponential) MarshalJSON() ([]byte, error) {
|
func (s *Exponential) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod Exponential
|
type NoMethod Exponential
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Exponential) UnmarshalJSON(data []byte) error {
|
func (s *Exponential) UnmarshalJSON(data []byte) error {
|
||||||
type noMethod Exponential
|
type NoMethod Exponential
|
||||||
var s1 struct {
|
var s1 struct {
|
||||||
GrowthFactor gensupport.JSONFloat64 `json:"growthFactor"`
|
GrowthFactor gensupport.JSONFloat64 `json:"growthFactor"`
|
||||||
Scale gensupport.JSONFloat64 `json:"scale"`
|
Scale gensupport.JSONFloat64 `json:"scale"`
|
||||||
*noMethod
|
*NoMethod
|
||||||
}
|
}
|
||||||
s1.noMethod = (*noMethod)(s)
|
s1.NoMethod = (*NoMethod)(s)
|
||||||
if err := json.Unmarshal(data, &s1); err != nil {
|
if err := json.Unmarshal(data, &s1); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@ -444,8 +444,8 @@ type HttpRequest struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *HttpRequest) MarshalJSON() ([]byte, error) {
|
func (s *HttpRequest) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod HttpRequest
|
type NoMethod HttpRequest
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -483,8 +483,8 @@ type LabelDescriptor struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *LabelDescriptor) MarshalJSON() ([]byte, error) {
|
func (s *LabelDescriptor) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod LabelDescriptor
|
type NoMethod LabelDescriptor
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -523,19 +523,19 @@ type Linear struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *Linear) MarshalJSON() ([]byte, error) {
|
func (s *Linear) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod Linear
|
type NoMethod Linear
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Linear) UnmarshalJSON(data []byte) error {
|
func (s *Linear) UnmarshalJSON(data []byte) error {
|
||||||
type noMethod Linear
|
type NoMethod Linear
|
||||||
var s1 struct {
|
var s1 struct {
|
||||||
Offset gensupport.JSONFloat64 `json:"offset"`
|
Offset gensupport.JSONFloat64 `json:"offset"`
|
||||||
Width gensupport.JSONFloat64 `json:"width"`
|
Width gensupport.JSONFloat64 `json:"width"`
|
||||||
*noMethod
|
*NoMethod
|
||||||
}
|
}
|
||||||
s1.noMethod = (*noMethod)(s)
|
s1.NoMethod = (*NoMethod)(s)
|
||||||
if err := json.Unmarshal(data, &s1); err != nil {
|
if err := json.Unmarshal(data, &s1); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@ -612,8 +612,8 @@ type ListLogEntriesRequest struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *ListLogEntriesRequest) MarshalJSON() ([]byte, error) {
|
func (s *ListLogEntriesRequest) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod ListLogEntriesRequest
|
type NoMethod ListLogEntriesRequest
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -658,8 +658,8 @@ type ListLogEntriesResponse struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *ListLogEntriesResponse) MarshalJSON() ([]byte, error) {
|
func (s *ListLogEntriesResponse) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod ListLogEntriesResponse
|
type NoMethod ListLogEntriesResponse
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -696,8 +696,8 @@ type ListLogMetricsResponse struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *ListLogMetricsResponse) MarshalJSON() ([]byte, error) {
|
func (s *ListLogMetricsResponse) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod ListLogMetricsResponse
|
type NoMethod ListLogMetricsResponse
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -736,8 +736,8 @@ type ListLogsResponse struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *ListLogsResponse) MarshalJSON() ([]byte, error) {
|
func (s *ListLogsResponse) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod ListLogsResponse
|
type NoMethod ListLogsResponse
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -775,8 +775,8 @@ type ListMonitoredResourceDescriptorsResponse struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *ListMonitoredResourceDescriptorsResponse) MarshalJSON() ([]byte, error) {
|
func (s *ListMonitoredResourceDescriptorsResponse) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod ListMonitoredResourceDescriptorsResponse
|
type NoMethod ListMonitoredResourceDescriptorsResponse
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -813,8 +813,8 @@ type ListSinksResponse struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *ListSinksResponse) MarshalJSON() ([]byte, error) {
|
func (s *ListSinksResponse) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod ListSinksResponse
|
type NoMethod ListSinksResponse
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -850,7 +850,10 @@ type LogEntry struct {
|
|||||||
// "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[L
|
// "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[L
|
||||||
// OG_ID]"
|
// OG_ID]"
|
||||||
// "folders/[FOLDER_ID]/logs/[LOG_ID]"
|
// "folders/[FOLDER_ID]/logs/[LOG_ID]"
|
||||||
// [LOG_ID] must be URL-encoded within log_name. Example:
|
// A project number may optionally be used in place of PROJECT_ID. The
|
||||||
|
// project number is translated to its corresponding PROJECT_ID
|
||||||
|
// internally and the log_name field will contain PROJECT_ID in queries
|
||||||
|
// and exports.[LOG_ID] must be URL-encoded within log_name. Example:
|
||||||
// "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Fa
|
// "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Fa
|
||||||
// ctivity". [LOG_ID] must be less than 512 characters long and can only
|
// ctivity". [LOG_ID] must be less than 512 characters long and can only
|
||||||
// include the following characters: upper and lower case alphanumeric
|
// include the following characters: upper and lower case alphanumeric
|
||||||
@ -903,6 +906,12 @@ type LogEntry struct {
|
|||||||
// with the log entry, if any.
|
// with the log entry, if any.
|
||||||
SourceLocation *LogEntrySourceLocation `json:"sourceLocation,omitempty"`
|
SourceLocation *LogEntrySourceLocation `json:"sourceLocation,omitempty"`
|
||||||
|
|
||||||
|
// SpanId: Optional. The span ID within the trace associated with the
|
||||||
|
// log entry. For Stackdriver Trace spans, this is the same format that
|
||||||
|
// the Stackdriver Trace API v2 uses: a 16-character hexadecimal
|
||||||
|
// encoding of an 8-byte array, such as <code>"000000000000004a"</code>.
|
||||||
|
SpanId string `json:"spanId,omitempty"`
|
||||||
|
|
||||||
// TextPayload: The log entry payload, represented as a Unicode string
|
// TextPayload: The log entry payload, represented as a Unicode string
|
||||||
// (UTF-8).
|
// (UTF-8).
|
||||||
TextPayload string `json:"textPayload,omitempty"`
|
TextPayload string `json:"textPayload,omitempty"`
|
||||||
@ -913,7 +922,9 @@ type LogEntry struct {
|
|||||||
// log entry, then Stackdriver Logging assigns it the current
|
// log entry, then Stackdriver Logging assigns it the current
|
||||||
// time.Incoming log entries should have timestamps that are no more
|
// time.Incoming log entries should have timestamps that are no more
|
||||||
// than the logs retention period in the past, and no more than 24 hours
|
// than the logs retention period in the past, and no more than 24 hours
|
||||||
// in the future. See the entries.write API method for more information.
|
// in the future. Log entries outside those time boundaries will not be
|
||||||
|
// available when calling entries.list, but those log entries can still
|
||||||
|
// be exported with LogSinks.
|
||||||
Timestamp string `json:"timestamp,omitempty"`
|
Timestamp string `json:"timestamp,omitempty"`
|
||||||
|
|
||||||
// Trace: Optional. Resource name of the trace associated with the log
|
// Trace: Optional. Resource name of the trace associated with the log
|
||||||
@ -940,8 +951,8 @@ type LogEntry struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *LogEntry) MarshalJSON() ([]byte, error) {
|
func (s *LogEntry) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod LogEntry
|
type NoMethod LogEntry
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -983,8 +994,8 @@ type LogEntryOperation struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *LogEntryOperation) MarshalJSON() ([]byte, error) {
|
func (s *LogEntryOperation) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod LogEntryOperation
|
type NoMethod LogEntryOperation
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1025,8 +1036,8 @@ type LogEntrySourceLocation struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *LogEntrySourceLocation) MarshalJSON() ([]byte, error) {
|
func (s *LogEntrySourceLocation) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod LogEntrySourceLocation
|
type NoMethod LogEntrySourceLocation
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1077,8 +1088,8 @@ type LogLine struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *LogLine) MarshalJSON() ([]byte, error) {
|
func (s *LogLine) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod LogLine
|
type NoMethod LogLine
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1198,8 +1209,8 @@ type LogMetric struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *LogMetric) MarshalJSON() ([]byte, error) {
|
func (s *LogMetric) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod LogMetric
|
type NoMethod LogMetric
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1306,8 +1317,8 @@ type LogSink struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *LogSink) MarshalJSON() ([]byte, error) {
|
func (s *LogSink) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod LogSink
|
type NoMethod LogSink
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1321,7 +1332,9 @@ type MetricDescriptor struct {
|
|||||||
|
|
||||||
// DisplayName: A concise name for the metric, which can be displayed in
|
// DisplayName: A concise name for the metric, which can be displayed in
|
||||||
// user interfaces. Use sentence case without an ending period, for
|
// user interfaces. Use sentence case without an ending period, for
|
||||||
// example "Request count".
|
// example "Request count". This field is optional but it is recommended
|
||||||
|
// to be set for any metrics associated with user-visible concepts, such
|
||||||
|
// as Quota.
|
||||||
DisplayName string `json:"displayName,omitempty"`
|
DisplayName string `json:"displayName,omitempty"`
|
||||||
|
|
||||||
// Labels: The set of labels that can be used to describe a specific
|
// Labels: The set of labels that can be used to describe a specific
|
||||||
@ -1346,16 +1359,7 @@ type MetricDescriptor struct {
|
|||||||
// zero and sets a new start time for the following points.
|
// zero and sets a new start time for the following points.
|
||||||
MetricKind string `json:"metricKind,omitempty"`
|
MetricKind string `json:"metricKind,omitempty"`
|
||||||
|
|
||||||
// Name: The resource name of the metric descriptor. Depending on the
|
// Name: The resource name of the metric descriptor.
|
||||||
// implementation, the name typically includes: (1) the parent resource
|
|
||||||
// name that defines the scope of the metric type or of its data; and
|
|
||||||
// (2) the metric's URL-encoded type, which also appears in the type
|
|
||||||
// field of this descriptor. For example, following is the resource name
|
|
||||||
// of a custom metric within the GCP project
|
|
||||||
// my-project-id:
|
|
||||||
// "projects/my-project-id/metricDescriptors/custom.google
|
|
||||||
// apis.com%2Finvoice%2Fpaid%2Famount"
|
|
||||||
//
|
|
||||||
Name string `json:"name,omitempty"`
|
Name string `json:"name,omitempty"`
|
||||||
|
|
||||||
// Type: The metric type, including its DNS name prefix. The type is not
|
// Type: The metric type, including its DNS name prefix. The type is not
|
||||||
@ -1454,8 +1458,8 @@ type MetricDescriptor struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *MetricDescriptor) MarshalJSON() ([]byte, error) {
|
func (s *MetricDescriptor) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod MetricDescriptor
|
type NoMethod MetricDescriptor
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1502,8 +1506,8 @@ type MonitoredResource struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *MonitoredResource) MarshalJSON() ([]byte, error) {
|
func (s *MonitoredResource) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod MonitoredResource
|
type NoMethod MonitoredResource
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1564,8 +1568,8 @@ type MonitoredResourceDescriptor struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *MonitoredResourceDescriptor) MarshalJSON() ([]byte, error) {
|
func (s *MonitoredResourceDescriptor) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod MonitoredResourceDescriptor
|
type NoMethod MonitoredResourceDescriptor
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1711,18 +1715,18 @@ type RequestLog struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *RequestLog) MarshalJSON() ([]byte, error) {
|
func (s *RequestLog) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod RequestLog
|
type NoMethod RequestLog
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *RequestLog) UnmarshalJSON(data []byte) error {
|
func (s *RequestLog) UnmarshalJSON(data []byte) error {
|
||||||
type noMethod RequestLog
|
type NoMethod RequestLog
|
||||||
var s1 struct {
|
var s1 struct {
|
||||||
Cost gensupport.JSONFloat64 `json:"cost"`
|
Cost gensupport.JSONFloat64 `json:"cost"`
|
||||||
*noMethod
|
*NoMethod
|
||||||
}
|
}
|
||||||
s1.noMethod = (*noMethod)(s)
|
s1.NoMethod = (*NoMethod)(s)
|
||||||
if err := json.Unmarshal(data, &s1); err != nil {
|
if err := json.Unmarshal(data, &s1); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@ -1765,8 +1769,8 @@ type SourceLocation struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *SourceLocation) MarshalJSON() ([]byte, error) {
|
func (s *SourceLocation) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod SourceLocation
|
type NoMethod SourceLocation
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1799,8 +1803,8 @@ type SourceReference struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *SourceReference) MarshalJSON() ([]byte, error) {
|
func (s *SourceReference) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod SourceReference
|
type NoMethod SourceReference
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1818,11 +1822,12 @@ type WriteLogEntriesRequest struct {
|
|||||||
// entries earlier in the list will sort before the entries later in the
|
// entries earlier in the list will sort before the entries later in the
|
||||||
// list. See the entries.list method.Log entries with timestamps that
|
// list. See the entries.list method.Log entries with timestamps that
|
||||||
// are more than the logs retention period in the past or more than 24
|
// are more than the logs retention period in the past or more than 24
|
||||||
// hours in the future might be discarded. Discarding does not return an
|
// hours in the future will not be available when calling entries.list.
|
||||||
// error.To improve throughput and to avoid exceeding the quota limit
|
// However, those log entries can still be exported with LogSinks.To
|
||||||
// for calls to entries.write, you should try to include several log
|
// improve throughput and to avoid exceeding the quota limit for calls
|
||||||
// entries in this list, rather than calling this method for each
|
// to entries.write, you should try to include several log entries in
|
||||||
// individual log entry.
|
// this list, rather than calling this method for each individual log
|
||||||
|
// entry.
|
||||||
Entries []*LogEntry `json:"entries,omitempty"`
|
Entries []*LogEntry `json:"entries,omitempty"`
|
||||||
|
|
||||||
// Labels: Optional. Default labels that are added to the labels field
|
// Labels: Optional. Default labels that are added to the labels field
|
||||||
@ -1882,8 +1887,8 @@ type WriteLogEntriesRequest struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *WriteLogEntriesRequest) MarshalJSON() ([]byte, error) {
|
func (s *WriteLogEntriesRequest) MarshalJSON() ([]byte, error) {
|
||||||
type noMethod WriteLogEntriesRequest
|
type NoMethod WriteLogEntriesRequest
|
||||||
raw := noMethod(*s)
|
raw := NoMethod(*s)
|
||||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1989,7 +1994,7 @@ func (c *BillingAccountsLogsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -2149,7 +2154,7 @@ func (c *BillingAccountsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLog
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -2313,7 +2318,7 @@ func (c *EntriesListCall) Do(opts ...googleapi.CallOption) (*ListLogEntriesRespo
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -2461,7 +2466,7 @@ func (c *EntriesWriteCall) Do(opts ...googleapi.CallOption) (*WriteLogEntriesRes
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -2612,7 +2617,7 @@ func (c *MonitoredResourceDescriptorsListCall) Do(opts ...googleapi.CallOption)
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -2765,7 +2770,7 @@ func (c *OrganizationsLogsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -2925,7 +2930,7 @@ func (c *OrganizationsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsR
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -3087,7 +3092,7 @@ func (c *ProjectsLogsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -3247,7 +3252,7 @@ func (c *ProjectsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsRespon
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -3414,7 +3419,7 @@ func (c *ProjectsMetricsCreateCall) Do(opts ...googleapi.CallOption) (*LogMetric
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -3544,7 +3549,7 @@ func (c *ProjectsMetricsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, er
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -3685,7 +3690,7 @@ func (c *ProjectsMetricsGetCall) Do(opts ...googleapi.CallOption) (*LogMetric, e
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -3846,7 +3851,7 @@ func (c *ProjectsMetricsListCall) Do(opts ...googleapi.CallOption) (*ListLogMetr
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -4013,7 +4018,7 @@ func (c *ProjectsMetricsUpdateCall) Do(opts ...googleapi.CallOption) (*LogMetric
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -4171,7 +4176,7 @@ func (c *ProjectsSinksCreateCall) Do(opts ...googleapi.CallOption) (*LogSink, er
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -4306,7 +4311,7 @@ func (c *ProjectsSinksDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, erro
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -4446,7 +4451,7 @@ func (c *ProjectsSinksGetCall) Do(opts ...googleapi.CallOption) (*LogSink, error
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -4607,7 +4612,7 @@ func (c *ProjectsSinksListCall) Do(opts ...googleapi.CallOption) (*ListSinksResp
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
@ -4808,7 +4813,7 @@ func (c *ProjectsSinksUpdateCall) Do(opts ...googleapi.CallOption) (*LogSink, er
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
target := &ret
|
target := &ret
|
||||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return ret, nil
|
return ret, nil
|
||||||
|
3336
vendor/google.golang.org/api/monitoring/v3/monitoring-api.json
generated
vendored
3336
vendor/google.golang.org/api/monitoring/v3/monitoring-api.json
generated
vendored
File diff suppressed because it is too large
Load Diff
1753
vendor/google.golang.org/api/monitoring/v3/monitoring-gen.go
generated
vendored
1753
vendor/google.golang.org/api/monitoring/v3/monitoring-gen.go
generated
vendored
File diff suppressed because it is too large
Load Diff
1911
vendor/google.golang.org/api/pubsub/v1/pubsub-api.json
generated
vendored
1911
vendor/google.golang.org/api/pubsub/v1/pubsub-api.json
generated
vendored
File diff suppressed because it is too large
Load Diff
1546
vendor/google.golang.org/api/pubsub/v1/pubsub-gen.go
generated
vendored
1546
vendor/google.golang.org/api/pubsub/v1/pubsub-gen.go
generated
vendored
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user