Autogenerated update (2020-02-16)
Update: - cloudtasks_v2beta2 - compute_alpha - compute_beta - compute_v1 - gmail_v1 - tasks_v1
This commit is contained in:
1 parent
446df35695
commit
f6c192fe35
15 files changed
+1858
-49
No files matched your search
@@ -3194,6 +3194,11 @@ module Google
|
||||
class BackendServiceGroupHealth
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Metadata defined as annotations on the network endpoint group.
|
||||
# Corresponds to the JSON property `annotations`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :annotations
|
||||
|
||||
# Health state of the backend instances or endpoints in requested instance or
|
||||
# network endpoint group, determined based on configured health checks.
|
||||
# Corresponds to the JSON property `healthStatus`
|
||||
@@ -3212,6 +3217,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@annotations = args[:annotations] if args.key?(:annotations)
|
||||
@health_status = args[:health_status] if args.key?(:health_status)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
end
|
||||
@@ -8204,6 +8210,12 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# Configuration of logging on a health check. If logging is enabled, logs will
|
||||
# be exported to Stackdriver.
|
||||
# Corresponds to the JSON property `logConfig`
|
||||
# @return [Google::Apis::ComputeBeta::HealthCheckLogConfig]
|
||||
attr_accessor :log_config
|
||||
|
||||
# Name of the resource. Provided by the client when the resource is created. The
|
||||
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
||||
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
||||
@@ -8270,6 +8282,7 @@ module Google
|
||||
@https_health_check = args[:https_health_check] if args.key?(:https_health_check)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@log_config = args[:log_config] if args.key?(:log_config)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@region = args[:region] if args.key?(:region)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@@ -8398,6 +8411,28 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Configuration of logging on a health check. If logging is enabled, logs will
|
||||
# be exported to Stackdriver.
|
||||
class HealthCheckLogConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Indicates whether or not to export logs. This is false by default, which means
|
||||
# no health check logging will be done.
|
||||
# Corresponds to the JSON property `enable`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable
|
||||
alias_method :enable?, :enable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@enable = args[:enable] if args.key?(:enable)
|
||||
end
|
||||
end
|
||||
|
||||
# A full or valid partial URL to a health check. For example, the following are
|
||||
# valid URLs:
|
||||
# - https://www.googleapis.com/compute/beta/projects/project-id/global/
|
||||
@@ -8422,6 +8457,258 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# A HealthCheckService defines a set of backends on which to perform periodic
|
||||
# health checks and an endpoint to which to send notification of changes in the
|
||||
# health status of the backends.
|
||||
class HealthCheckService
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] Creation timestamp in RFC3339 text format.
|
||||
# Corresponds to the JSON property `creationTimestamp`
|
||||
# @return [String]
|
||||
attr_accessor :creation_timestamp
|
||||
|
||||
# An optional description of this resource. Provide this property when you
|
||||
# create the resource.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Fingerprint of this resource. A hash of the contents stored in this object.
|
||||
# This field is used in optimistic locking. This field will be ignored when
|
||||
# inserting a HealthCheckService. An up-to-date fingerprint must be provided in
|
||||
# order to patch/update the HealthCheckService; Otherwise, the request will fail
|
||||
# with error 412 conditionNotMet. To see the latest fingerprint, make a get()
|
||||
# request to retrieve the HealthCheckService.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# List of URLs to the HealthCheck resources. Must have at least one HealthCheck,
|
||||
# and not more than 10. HealthCheck resources must have portSpecification=
|
||||
# USE_SERVING_PORT. For regional HealthCheckService, the HealthCheck must be
|
||||
# regional and in the same region. For global HealthCheckService, HealthCheck
|
||||
# must be global. Mix of regional and global HealthChecks is not supported.
|
||||
# Multiple regional HealthChecks must belong to the same region. Regional
|
||||
# HealthChecks</code? must belong to the same region as zones of NEGs.
|
||||
# Corresponds to the JSON property `healthChecks`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :health_checks
|
||||
|
||||
# Optional. Policy for how the results from multiple health checks for the same
|
||||
# endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified.
|
||||
# - NO_AGGREGATION. An EndpointHealth message is returned for each backend in
|
||||
# the health check service.
|
||||
# - AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the
|
||||
# HealthState of the entire health check service. If all backend's are healthy,
|
||||
# the HealthState of the health check service is HEALTHY. .
|
||||
# Corresponds to the JSON property `healthStatusAggregationPolicy`
|
||||
# @return [String]
|
||||
attr_accessor :health_status_aggregation_policy
|
||||
|
||||
# Policy for how the results from multiple health checks for the same endpoint
|
||||
# are aggregated.
|
||||
# - NO_AGGREGATION. An EndpointHealth message is returned for each backend in
|
||||
# the health check service.
|
||||
# - AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the
|
||||
# HealthState of the entire health check service. If all backend's are healthy,
|
||||
# the HealthState of the health check service is HEALTHY. .
|
||||
# Corresponds to the JSON property `healthStatusAggregationStrategy`
|
||||
# @return [Object]
|
||||
attr_accessor :health_status_aggregation_strategy
|
||||
|
||||
# [Output Only] The unique identifier for the resource. This identifier is
|
||||
# defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :id
|
||||
|
||||
# [Output only] Type of the resource. Always compute#healthCheckServicefor
|
||||
# health check services.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# Name of the resource. The name must be 1-63 characters long, and comply with
|
||||
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
||||
# regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
|
||||
# character must be a lowercase letter, and all following characters must be a
|
||||
# dash, lowercase letter, or digit, except the last character, which cannot be a
|
||||
# dash.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# List of URLs to the NetworkEndpointGroup resources. Must not have more than
|
||||
# 100. For regional HealthCheckService, NEGs must be in zones in the region of
|
||||
# the HealthCheckService.
|
||||
# Corresponds to the JSON property `networkEndpointGroups`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :network_endpoint_groups
|
||||
|
||||
# List of URLs to the NotificationEndpoint resources. Must not have more than 10.
|
||||
# A list of endpoints for receiving notifications of change in health status.
|
||||
# For regional HealthCheckService, NotificationEndpoint must be regional and in
|
||||
# the same region. For global HealthCheckService, NotificationEndpoint must be
|
||||
# global.
|
||||
# Corresponds to the JSON property `notificationEndpoints`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :notification_endpoints
|
||||
|
||||
# [Output Only] URL of the region where the health check service resides. This
|
||||
# field is not applicable to global health check services. You must specify this
|
||||
# field as part of the HTTP request URL. It is not settable as a field in the
|
||||
# request body.
|
||||
# Corresponds to the JSON property `region`
|
||||
# @return [String]
|
||||
attr_accessor :region
|
||||
|
||||
# [Output Only] Server-defined URL for the resource.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
||||
@health_checks = args[:health_checks] if args.key?(:health_checks)
|
||||
@health_status_aggregation_policy = args[:health_status_aggregation_policy] if args.key?(:health_status_aggregation_policy)
|
||||
@health_status_aggregation_strategy = args[:health_status_aggregation_strategy] if args.key?(:health_status_aggregation_strategy)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@network_endpoint_groups = args[:network_endpoint_groups] if args.key?(:network_endpoint_groups)
|
||||
@notification_endpoints = args[:notification_endpoints] if args.key?(:notification_endpoints)
|
||||
@region = args[:region] if args.key?(:region)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class HealthCheckServicesList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] Unique identifier for the resource; defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# A list of HealthCheckService resources.
|
||||
# Corresponds to the JSON property `items`
|
||||
# @return [Array<Google::Apis::ComputeBeta::HealthCheckService>]
|
||||
attr_accessor :items
|
||||
|
||||
# [Output Only] Type of the resource. Always compute#healthCheckServicesList for
|
||||
# lists of HealthCheckServices.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Output Only] This token allows you to get the next page of results for list
|
||||
# requests. If the number of results is larger than maxResults, use the
|
||||
# nextPageToken as a value for the query parameter pageToken in the next list
|
||||
# request. Subsequent list requests will have their own nextPageToken to
|
||||
# continue paging through the results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# [Output Only] Server-defined URL for this resource.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# [Output Only] Informational warning message.
|
||||
# Corresponds to the JSON property `warning`
|
||||
# @return [Google::Apis::ComputeBeta::HealthCheckServicesList::Warning]
|
||||
attr_accessor :warning
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@items = args[:items] if args.key?(:items)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@warning = args[:warning] if args.key?(:warning)
|
||||
end
|
||||
|
||||
# [Output Only] Informational warning message.
|
||||
class Warning
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
||||
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
||||
# Corresponds to the JSON property `code`
|
||||
# @return [String]
|
||||
attr_accessor :code
|
||||
|
||||
# [Output Only] Metadata about this warning in key: value format. For example:
|
||||
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
||||
# Corresponds to the JSON property `data`
|
||||
# @return [Array<Google::Apis::ComputeBeta::HealthCheckServicesList::Warning::Datum>]
|
||||
attr_accessor :data
|
||||
|
||||
# [Output Only] A human-readable description of the warning code.
|
||||
# Corresponds to the JSON property `message`
|
||||
# @return [String]
|
||||
attr_accessor :message
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@code = args[:code] if args.key?(:code)
|
||||
@data = args[:data] if args.key?(:data)
|
||||
@message = args[:message] if args.key?(:message)
|
||||
end
|
||||
|
||||
#
|
||||
class Datum
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A key that provides more detail on the warning being returned.
|
||||
# For example, for warnings where there are no results in a list request for a
|
||||
# particular zone, this key might be scope and the key value might be the zone
|
||||
# name. Other examples might be a key indicating a deprecated resource and a
|
||||
# suggested replacement, or a warning about invalid network settings (for
|
||||
# example, if an instance attempts to perform IP forwarding but is not enabled
|
||||
# for IP forwarding).
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
# [Output Only] A warning data value corresponding to the key.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@key = args[:key] if args.key?(:key)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class HealthChecksAggregatedList
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -8634,6 +8921,11 @@ module Google
|
||||
class HealthStatus
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Metadata defined as annotations for network endpoint.
|
||||
# Corresponds to the JSON property `annotations`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :annotations
|
||||
|
||||
# Health state of the instance.
|
||||
# Corresponds to the JSON property `healthState`
|
||||
# @return [String]
|
||||
@@ -8660,6 +8952,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@annotations = args[:annotations] if args.key?(:annotations)
|
||||
@health_state = args[:health_state] if args.key?(:health_state)
|
||||
@instance = args[:instance] if args.key?(:instance)
|
||||
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
||||
@@ -8929,7 +9222,7 @@ module Google
|
||||
# @return [Google::Apis::ComputeBeta::Int64RangeMatch]
|
||||
attr_accessor :range_match
|
||||
|
||||
# The value of the header must match the regualar expression specified in
|
||||
# The value of the header must match the regular expression specified in
|
||||
# regexMatch. For regular expression grammar, please see: en.cppreference.com/w/
|
||||
# cpp/regex/ecmascript
|
||||
# For matching against a port specified in the HTTP request, use a headerMatch
|
||||
@@ -8937,6 +9230,8 @@ module Google
|
||||
# RFC2616 Host header's port specifier.
|
||||
# Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or
|
||||
# rangeMatch must be set.
|
||||
# Note that regexMatch only applies to Loadbalancers that have their
|
||||
# loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
||||
# Corresponds to the JSON property `regexMatch`
|
||||
# @return [String]
|
||||
attr_accessor :regex_match
|
||||
@@ -9254,6 +9549,8 @@ module Google
|
||||
# regular expression specified by regexMatch. For the regular expression grammar,
|
||||
# please see en.cppreference.com/w/cpp/regex/ecmascript
|
||||
# Only one of presentMatch, exactMatch or regexMatch must be set.
|
||||
# Note that regexMatch only applies when the loadBalancingScheme is set to
|
||||
# INTERNAL_SELF_MANAGED.
|
||||
# Corresponds to the JSON property `regexMatch`
|
||||
# @return [String]
|
||||
attr_accessor :regex_match
|
||||
@@ -9631,6 +9928,8 @@ module Google
|
||||
# parameters and anchor supplied with the original URL. For regular expression
|
||||
# grammar please see en.cppreference.com/w/cpp/regex/ecmascript
|
||||
# Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
|
||||
# Note that regexMatch only applies to Loadbalancers that have their
|
||||
# loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
||||
# Corresponds to the JSON property `regexMatch`
|
||||
# @return [String]
|
||||
attr_accessor :regex_match
|
||||
@@ -11629,6 +11928,12 @@ module Google
|
||||
class InstanceGroupManagerStatus
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] The URL of the Autoscaler that targets this instance group
|
||||
# manager.
|
||||
# Corresponds to the JSON property `autoscaler`
|
||||
# @return [String]
|
||||
attr_accessor :autoscaler
|
||||
|
||||
# [Output Only] A bit indicating whether the managed instance group is in a
|
||||
# stable state. A stable state means that: none of the instances in the managed
|
||||
# instance group is currently undergoing any type of change (for example,
|
||||
@@ -11657,6 +11962,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@autoscaler = args[:autoscaler] if args.key?(:autoscaler)
|
||||
@is_stable = args[:is_stable] if args.key?(:is_stable)
|
||||
@stateful = args[:stateful] if args.key?(:stateful)
|
||||
@version_target = args[:version_target] if args.key?(:version_target)
|
||||
@@ -16911,6 +17217,11 @@ module Google
|
||||
class NetworkEndpoint
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Metadata defined as annotations on the network endpoint.
|
||||
# Corresponds to the JSON property `annotations`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :annotations
|
||||
|
||||
# Optional fully qualified domain name of network endpoint. This can only be
|
||||
# specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
|
||||
# Corresponds to the JSON property `fqdn`
|
||||
@@ -16947,6 +17258,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@annotations = args[:annotations] if args.key?(:annotations)
|
||||
@fqdn = args[:fqdn] if args.key?(:fqdn)
|
||||
@instance = args[:instance] if args.key?(:instance)
|
||||
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
||||
@@ -16960,6 +17272,11 @@ module Google
|
||||
class NetworkEndpointGroup
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Metadata defined as annotations on the network endpoint group.
|
||||
# Corresponds to the JSON property `annotations`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :annotations
|
||||
|
||||
# [Output Only] Creation timestamp in RFC3339 text format.
|
||||
# Corresponds to the JSON property `creationTimestamp`
|
||||
# @return [String]
|
||||
@@ -17043,6 +17360,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@annotations = args[:annotations] if args.key?(:annotations)
|
||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||
@default_port = args[:default_port] if args.key?(:default_port)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@@ -19615,6 +19933,251 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# A notification endpoint resource defines an endpoint to receive notifications
|
||||
# when there are status changes detected by the associated health check service.
|
||||
class NotificationEndpoint
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] Creation timestamp in RFC3339 text format.
|
||||
# Corresponds to the JSON property `creationTimestamp`
|
||||
# @return [String]
|
||||
attr_accessor :creation_timestamp
|
||||
|
||||
# An optional description of this resource. Provide this property when you
|
||||
# create the resource.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Represents a gRPC setting that describes one gRPC notification endpoint and
|
||||
# the retry duration attempting to send notification to this endpoint.
|
||||
# Corresponds to the JSON property `grpcSettings`
|
||||
# @return [Google::Apis::ComputeBeta::NotificationEndpointGrpcSettings]
|
||||
attr_accessor :grpc_settings
|
||||
|
||||
# [Output Only] A unique identifier for this resource type. The server generates
|
||||
# this identifier.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :id
|
||||
|
||||
# [Output Only] Type of the resource. Always compute#notificationEndpoint for
|
||||
# notification endpoints.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# Name of the resource. Provided by the client when the resource is created. The
|
||||
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
||||
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
||||
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
||||
# and all following characters must be a dash, lowercase letter, or digit,
|
||||
# except the last character, which cannot be a dash.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# [Output Only] URL of the region where the notification endpoint resides. This
|
||||
# field applies only to the regional resource. You must specify this field as
|
||||
# part of the HTTP request URL. It is not settable as a field in the request
|
||||
# body.
|
||||
# Corresponds to the JSON property `region`
|
||||
# @return [String]
|
||||
attr_accessor :region
|
||||
|
||||
# [Output Only] Server-defined URL for the resource.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@grpc_settings = args[:grpc_settings] if args.key?(:grpc_settings)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@region = args[:region] if args.key?(:region)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a gRPC setting that describes one gRPC notification endpoint and
|
||||
# the retry duration attempting to send notification to this endpoint.
|
||||
class NotificationEndpointGrpcSettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optional. If specified, this field is used to set the authority header by the
|
||||
# sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.
|
||||
# 3
|
||||
# Corresponds to the JSON property `authority`
|
||||
# @return [String]
|
||||
attr_accessor :authority
|
||||
|
||||
# Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS
|
||||
# name.
|
||||
# Corresponds to the JSON property `endpoint`
|
||||
# @return [String]
|
||||
attr_accessor :endpoint
|
||||
|
||||
# Optional. If specified, this field is used to populate the "name" field in
|
||||
# gRPC requests.
|
||||
# Corresponds to the JSON property `payloadName`
|
||||
# @return [String]
|
||||
attr_accessor :payload_name
|
||||
|
||||
# A Duration represents a fixed-length span of time represented as a count of
|
||||
# seconds and fractions of seconds at nanosecond resolution. It is independent
|
||||
# of any calendar and concepts like "day" or "month". Range is approximately 10,
|
||||
# 000 years.
|
||||
# Corresponds to the JSON property `resendInterval`
|
||||
# @return [Google::Apis::ComputeBeta::Duration]
|
||||
attr_accessor :resend_interval
|
||||
|
||||
# How much time (in seconds) is spent attempting notification retries until a
|
||||
# successful response is received. Default is 30s. Limit is 20m (1200s). Must be
|
||||
# a positive number.
|
||||
# Corresponds to the JSON property `retryDurationSec`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :retry_duration_sec
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@authority = args[:authority] if args.key?(:authority)
|
||||
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
||||
@payload_name = args[:payload_name] if args.key?(:payload_name)
|
||||
@resend_interval = args[:resend_interval] if args.key?(:resend_interval)
|
||||
@retry_duration_sec = args[:retry_duration_sec] if args.key?(:retry_duration_sec)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class NotificationEndpointList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] Unique identifier for the resource; defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# A list of NotificationEndpoint resources.
|
||||
# Corresponds to the JSON property `items`
|
||||
# @return [Array<Google::Apis::ComputeBeta::NotificationEndpoint>]
|
||||
attr_accessor :items
|
||||
|
||||
# [Output Only] Type of the resource. Always compute#notificationEndpoint for
|
||||
# notification endpoints.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Output Only] This token allows you to get the next page of results for list
|
||||
# requests. If the number of results is larger than maxResults, use the
|
||||
# nextPageToken as a value for the query parameter pageToken in the next list
|
||||
# request. Subsequent list requests will have their own nextPageToken to
|
||||
# continue paging through the results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# [Output Only] Server-defined URL for this resource.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# [Output Only] Informational warning message.
|
||||
# Corresponds to the JSON property `warning`
|
||||
# @return [Google::Apis::ComputeBeta::NotificationEndpointList::Warning]
|
||||
attr_accessor :warning
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@items = args[:items] if args.key?(:items)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@warning = args[:warning] if args.key?(:warning)
|
||||
end
|
||||
|
||||
# [Output Only] Informational warning message.
|
||||
class Warning
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
||||
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
||||
# Corresponds to the JSON property `code`
|
||||
# @return [String]
|
||||
attr_accessor :code
|
||||
|
||||
# [Output Only] Metadata about this warning in key: value format. For example:
|
||||
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
||||
# Corresponds to the JSON property `data`
|
||||
# @return [Array<Google::Apis::ComputeBeta::NotificationEndpointList::Warning::Datum>]
|
||||
attr_accessor :data
|
||||
|
||||
# [Output Only] A human-readable description of the warning code.
|
||||
# Corresponds to the JSON property `message`
|
||||
# @return [String]
|
||||
attr_accessor :message
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@code = args[:code] if args.key?(:code)
|
||||
@data = args[:data] if args.key?(:data)
|
||||
@message = args[:message] if args.key?(:message)
|
||||
end
|
||||
|
||||
#
|
||||
class Datum
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A key that provides more detail on the warning being returned.
|
||||
# For example, for warnings where there are no results in a list request for a
|
||||
# particular zone, this key might be scope and the key value might be the zone
|
||||
# name. Other examples might be a key indicating a deprecated resource and a
|
||||
# suggested replacement, or a warning about invalid network settings (for
|
||||
# example, if an instance attempts to perform IP forwarding but is not enabled
|
||||
# for IP forwarding).
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
# [Output Only] A warning data value corresponding to the key.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@key = args[:key] if args.key?(:key)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# Represents an Operation resource.
|
||||
# Google Compute Engine has three Operation resources:
|
||||
# * [Global](/compute/docs/reference/rest/latest/globalOperations) * [Regional](/
|
||||
@@ -21088,8 +21651,7 @@ module Google
|
||||
# The list of HTTP route rules. Use this list instead of pathRules when advanced
|
||||
# route matching and routing actions are desired. routeRules are evaluated in
|
||||
# order of priority, from the lowest to highest number.
|
||||
# Within a given pathMatcher, only one of pathRules or routeRules must be set.
|
||||
# routeRules are not supported in UrlMaps intended for External Load balancers.
|
||||
# Within a given pathMatcher, you can set only one of pathRules or routeRules.
|
||||
# Corresponds to the JSON property `routeRules`
|
||||
# @return [Array<Google::Apis::ComputeBeta::HttpRouteRule>]
|
||||
attr_accessor :route_rules
|
||||
|
||||
@@ -1030,12 +1030,42 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HealthCheckLogConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HealthCheckReference
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HealthCheckService
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HealthCheckServicesList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Warning
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Datum
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HealthChecksAggregatedList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -2548,6 +2578,36 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NotificationEndpoint
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NotificationEndpointGrpcSettings
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NotificationEndpointList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Warning
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Datum
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Operation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -5456,6 +5516,7 @@ module Google
|
||||
class BackendServiceGroupHealth
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :annotations, as: 'annotations'
|
||||
collection :health_status, as: 'healthStatus', class: Google::Apis::ComputeBeta::HealthStatus, decorator: Google::Apis::ComputeBeta::HealthStatus::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
@@ -6624,6 +6685,8 @@ module Google
|
||||
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :log_config, as: 'logConfig', class: Google::Apis::ComputeBeta::HealthCheckLogConfig, decorator: Google::Apis::ComputeBeta::HealthCheckLogConfig::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
@@ -6669,6 +6732,13 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class HealthCheckLogConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :enable, as: 'enable'
|
||||
end
|
||||
end
|
||||
|
||||
class HealthCheckReference
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -6676,6 +6746,57 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class HealthCheckService
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :description, as: 'description'
|
||||
property :fingerprint, :base64 => true, as: 'fingerprint'
|
||||
collection :health_checks, as: 'healthChecks'
|
||||
property :health_status_aggregation_policy, as: 'healthStatusAggregationPolicy'
|
||||
property :health_status_aggregation_strategy, as: 'healthStatusAggregationStrategy'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :name, as: 'name'
|
||||
collection :network_endpoint_groups, as: 'networkEndpointGroups'
|
||||
collection :notification_endpoints, as: 'notificationEndpoints'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
end
|
||||
end
|
||||
|
||||
class HealthCheckServicesList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
collection :items, as: 'items', class: Google::Apis::ComputeBeta::HealthCheckService, decorator: Google::Apis::ComputeBeta::HealthCheckService::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::HealthCheckServicesList::Warning, decorator: Google::Apis::ComputeBeta::HealthCheckServicesList::Warning::Representation
|
||||
|
||||
end
|
||||
|
||||
class Warning
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :data, as: 'data', class: Google::Apis::ComputeBeta::HealthCheckServicesList::Warning::Datum, decorator: Google::Apis::ComputeBeta::HealthCheckServicesList::Warning::Datum::Representation
|
||||
|
||||
property :message, as: 'message'
|
||||
end
|
||||
|
||||
class Datum
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class HealthChecksAggregatedList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -6739,6 +6860,7 @@ module Google
|
||||
class HealthStatus
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :annotations, as: 'annotations'
|
||||
property :health_state, as: 'healthState'
|
||||
property :instance, as: 'instance'
|
||||
property :ip_address, as: 'ipAddress'
|
||||
@@ -7412,6 +7534,7 @@ module Google
|
||||
class InstanceGroupManagerStatus
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :autoscaler, as: 'autoscaler'
|
||||
property :is_stable, as: 'isStable'
|
||||
property :stateful, as: 'stateful', class: Google::Apis::ComputeBeta::InstanceGroupManagerStatusStateful, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStatusStateful::Representation
|
||||
|
||||
@@ -8783,6 +8906,7 @@ module Google
|
||||
class NetworkEndpoint
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :annotations, as: 'annotations'
|
||||
property :fqdn, as: 'fqdn'
|
||||
property :instance, as: 'instance'
|
||||
property :ip_address, as: 'ipAddress'
|
||||
@@ -8793,6 +8917,7 @@ module Google
|
||||
class NetworkEndpointGroup
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :annotations, as: 'annotations'
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :default_port, as: 'defaultPort'
|
||||
property :description, as: 'description'
|
||||
@@ -9492,6 +9617,65 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class NotificationEndpoint
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :description, as: 'description'
|
||||
property :grpc_settings, as: 'grpcSettings', class: Google::Apis::ComputeBeta::NotificationEndpointGrpcSettings, decorator: Google::Apis::ComputeBeta::NotificationEndpointGrpcSettings::Representation
|
||||
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :name, as: 'name'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
end
|
||||
end
|
||||
|
||||
class NotificationEndpointGrpcSettings
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :authority, as: 'authority'
|
||||
property :endpoint, as: 'endpoint'
|
||||
property :payload_name, as: 'payloadName'
|
||||
property :resend_interval, as: 'resendInterval', class: Google::Apis::ComputeBeta::Duration, decorator: Google::Apis::ComputeBeta::Duration::Representation
|
||||
|
||||
property :retry_duration_sec, as: 'retryDurationSec'
|
||||
end
|
||||
end
|
||||
|
||||
class NotificationEndpointList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
collection :items, as: 'items', class: Google::Apis::ComputeBeta::NotificationEndpoint, decorator: Google::Apis::ComputeBeta::NotificationEndpoint::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NotificationEndpointList::Warning, decorator: Google::Apis::ComputeBeta::NotificationEndpointList::Warning::Representation
|
||||
|
||||
end
|
||||
|
||||
class Warning
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :data, as: 'data', class: Google::Apis::ComputeBeta::NotificationEndpointList::Warning::Datum, decorator: Google::Apis::ComputeBeta::NotificationEndpointList::Warning::Datum::Representation
|
||||
|
||||
property :message, as: 'message'
|
||||
end
|
||||
|
||||
class Datum
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class Operation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user