Update dependencies
This commit is contained in:
parent
f3b49987f8
commit
fda563d606
926 changed files with 189726 additions and 98666 deletions
1044
vendor/google.golang.org/api/cloudfunctions/v1beta2/cloudfunctions-api.json
generated
vendored
1044
vendor/google.golang.org/api/cloudfunctions/v1beta2/cloudfunctions-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
49
vendor/google.golang.org/api/cloudfunctions/v1beta2/cloudfunctions-gen.go
generated
vendored
49
vendor/google.golang.org/api/cloudfunctions/v1beta2/cloudfunctions-gen.go
generated
vendored
|
@ -339,6 +339,9 @@ type EventTrigger struct {
|
|||
// `providers/firebase.database/eventTypes/data.write`
|
||||
EventType string `json:"eventType,omitempty"`
|
||||
|
||||
// FailurePolicy: Specifies policy for failed executions.
|
||||
FailurePolicy *FailurePolicy `json:"failurePolicy,omitempty"`
|
||||
|
||||
// Resource: Which instance of the source's service should send events.
|
||||
// E.g. for Pub/Sub
|
||||
// this would be a Pub/Sub topic at `projects/*/topics/*`. For Google
|
||||
|
@ -373,6 +376,38 @@ func (s *EventTrigger) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// FailurePolicy: Describes the policy in case of function's execution
|
||||
// failure.
|
||||
// If empty, then defaults to ignoring failures (i.e. not retrying
|
||||
// them).
|
||||
type FailurePolicy struct {
|
||||
// Retry: If specified, then the function will be retried in case of a
|
||||
// failure.
|
||||
Retry *Retry `json:"retry,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Retry") 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. "Retry") 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 *FailurePolicy) MarshalJSON() ([]byte, error) {
|
||||
type noMethod FailurePolicy
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// HTTPSTrigger: Describes HTTPSTrigger, could be used to connect web
|
||||
// hooks to function.
|
||||
type HTTPSTrigger struct {
|
||||
|
@ -566,8 +601,8 @@ func (s *Location) MarshalJSON() ([]byte, error) {
|
|||
type Operation struct {
|
||||
// Done: If the value is `false`, it means the operation is still in
|
||||
// progress.
|
||||
// If true, the operation is completed, and either `error` or `response`
|
||||
// is
|
||||
// If `true`, the operation is completed, and either `error` or
|
||||
// `response` is
|
||||
// available.
|
||||
Done bool `json:"done,omitempty"`
|
||||
|
||||
|
@ -677,6 +712,16 @@ func (s *OperationMetadataV1Beta2) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Retry: Describes the retry policy in case of function's execution
|
||||
// failure.
|
||||
// A function execution will be retried on any failure.
|
||||
// A failed execution will be retried up to 7 days with an exponential
|
||||
// backoff
|
||||
// (capped at 10 seconds).
|
||||
// Retried execution is charged as any other execution.
|
||||
type Retry struct {
|
||||
}
|
||||
|
||||
// SourceRepository: Describes the location of the function source in a
|
||||
// remote repository.
|
||||
type SourceRepository struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue