Autogenerated update (2020-10-11)

Update:
- compute_alpha
- compute_beta
- compute_v1
This commit is contained in:
Google APIs committed 2020-10-11 00:39:03 +00:00
1 parent fcfe9573ea
commit 31cf66b714
13 files changed
+346 -60

No files matched your search

+83 -19
View File
@@ -2181,14 +2181,13 @@ module Google
class AutoscalingPolicyCpuUtilization
include Google::Apis::Core::Hashable
# Indicates which method of prediction is used for CPU utilization metric, if
# any. Current set of possible values: * NONE: No predictions are made based on
# the scaling metric when calculating the number of VM instances. *
# OPTIMIZE_AVAILABILITY: Standard predictive autoscaling predicts the future
# values of the scaling metric and then scales a MIG to ensure that new VM
# instances are ready in time to cover the predicted peak. New values might be
# added in the future. Some of the values might not be available in all API
# versions.
# Indicates whether predictive autoscaling based on CPU metric is enabled. Valid
# values are:
# * NONE (default). No predictive method is used. The autoscaler scales the
# group to meet current demand based on real-time metrics. *
# OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by
# monitoring daily and weekly load patterns and scaling out ahead of anticipated
# demand.
# Corresponds to the JSON property `predictiveMethod`
# @return [String]
attr_accessor :predictive_method
@@ -2276,9 +2275,9 @@ module Google
# The target value of the metric that autoscaler should maintain. This must be a
# positive value. A utilization metric scales number of virtual machines
# handling requests to increase or decrease proportionally to the metric.
# For example, a good metric to use as a utilization_target is compute.
# googleapis.com/instance/network/received_bytes_count. The autoscaler will work
# to keep this value constant for each of the instances.
# For example, a good metric to use as a utilization_target is https://www.
# googleapis.com/compute/v1/instance/network/received_bytes_count. The
# autoscaler will work to keep this value constant for each of the instances.
# Corresponds to the JSON property `utilizationTarget`
# @return [Float]
attr_accessor :utilization_target
@@ -2661,7 +2660,19 @@ module Google
# @return [Array<Google::Apis::ComputeBeta::BackendBucketCdnPolicyBypassCacheOnRequestHeader>]
attr_accessor :bypass_cache_on_request_headers
#
# Specifies the cache setting for all responses from this backend. The possible
# values are:
# USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache
# content. Responses without these headers will not be cached at Google's edge,
# and will require a full trip to the origin on every request, potentially
# impacting performance and increasing load on the origin server.
# FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-
# cache" directives in Cache-Control response headers. Warning: this may result
# in Cloud CDN caching private, per-user (user identifiable) content.
# CACHE_ALL_STATIC Automatically cache static content, including common image
# formats, media (video and audio), and web assets (JavaScript and CSS).
# Requests and responses that are marked as uncacheable, as well as dynamic
# content (including HTML), will not be cached.
# Corresponds to the JSON property `cacheMode`
# @return [String]
attr_accessor :cache_mode
@@ -3395,7 +3406,19 @@ module Google
# @return [Google::Apis::ComputeBeta::CacheKeyPolicy]
attr_accessor :cache_key_policy
#
# Specifies the cache setting for all responses from this backend. The possible
# values are:
# USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache
# content. Responses without these headers will not be cached at Google's edge,
# and will require a full trip to the origin on every request, potentially
# impacting performance and increasing load on the origin server.
# FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-
# cache" directives in Cache-Control response headers. Warning: this may result
# in Cloud CDN caching private, per-user (user identifiable) content.
# CACHE_ALL_STATIC Automatically cache static content, including common image
# formats, media (video and audio), and web assets (JavaScript and CSS).
# Requests and responses that are marked as uncacheable, as well as dynamic
# content (including HTML), will not be cached.
# Corresponds to the JSON property `cacheMode`
# @return [String]
attr_accessor :cache_mode
@@ -7839,11 +7862,11 @@ module Google
attr_accessor :subnetwork
# The URL of the target resource to receive the matched traffic. For regional
# forwarding rules, this target must live in the same region as the forwarding
# forwarding rules, this target must be in the same region as the forwarding
# rule. For global forwarding rules, this target must be a global load balancing
# resource. The forwarded traffic must be of a type appropriate to the target
# object. For INTERNAL_SELF_MANAGED load balancing, only targetHttpProxy and
# targetGrpcProxy are valid, not targetHttpsProxy.
# object. For more information, see the "Target" column in [Port specifications](
# /load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).
# Corresponds to the JSON property `target`
# @return [String]
attr_accessor :target
@@ -11500,6 +11523,21 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# [Output Only] Last start timestamp in RFC3339 text format.
# Corresponds to the JSON property `lastStartTimestamp`
# @return [String]
attr_accessor :last_start_timestamp
# [Output Only] Last stop timestamp in RFC3339 text format.
# Corresponds to the JSON property `lastStopTimestamp`
# @return [String]
attr_accessor :last_stop_timestamp
# [Output Only] Last suspended timestamp in RFC3339 text format.
# Corresponds to the JSON property `lastSuspendedTimestamp`
# @return [String]
attr_accessor :last_suspended_timestamp
# Full or partial URL of the machine type resource to use for this instance, in
# the format: zones/zone/machineTypes/machine-type. This is provided by the
# client when the instance is created. For example, the following is a valid
@@ -11623,7 +11661,8 @@ module Google
# [Output Only] The status of the instance. One of the following values:
# PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING,
# and TERMINATED.
# and TERMINATED. For more information about the status of the instance, see
# Instance life cycle.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
@@ -11667,6 +11706,9 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@labels = args[:labels] if args.key?(:labels)
@last_start_timestamp = args[:last_start_timestamp] if args.key?(:last_start_timestamp)
@last_stop_timestamp = args[:last_stop_timestamp] if args.key?(:last_stop_timestamp)
@last_suspended_timestamp = args[:last_suspended_timestamp] if args.key?(:last_suspended_timestamp)
@machine_type = args[:machine_type] if args.key?(:machine_type)
@metadata = args[:metadata] if args.key?(:metadata)
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@@ -20061,7 +20103,8 @@ module Google
class NodeGroupAutoscalingPolicy
include Google::Apis::Core::Hashable
# The maximum number of nodes that the group should have.
# The maximum number of nodes that the group should have. Must be set if
# autoscaling is enabled. Maximum value allowed is 100.
# Corresponds to the JSON property `maxNodes`
# @return [Fixnum]
attr_accessor :max_nodes
@@ -29474,7 +29517,12 @@ module Google
attr_accessor :auto_created
alias_method :auto_created?, :auto_created
# Chain name should conform to RFC1035.
# Creates the new snapshot in the snapshot chain labeled with the specified name.
# The chain name must be 1-63 characters long and comply with RFC1035. This is
# an uncommon option only for advanced service owners who needs to create
# separate snapshot chains, for example, for chargeback tracking. When you
# describe your snapshot resource, this field is visible only if it has a non-
# empty value.
# Corresponds to the JSON property `chainName`
# @return [String]
attr_accessor :chain_name
@@ -32464,6 +32512,21 @@ module Google
# @return [String]
attr_accessor :description
# URLs to networkservices.HttpFilter resources enabled for xDS clients using
# this configuration. For example, https://networkservices.googleapis.com/beta/
# projects/project/locations/locationhttpFilters/httpFilter Only filters that
# handle outbound connection and stream events may be specified. These filters
# work in conjunction with a default set of HTTP filters that may already be
# configured by Traffic Director. Traffic Director will determine the final
# location of these filters within xDS configuration based on the name of the
# HTTP filter. If Traffic Director positions multiple filters at the same
# location, those filters will be in the same order as specified in this list.
# httpFilters only applies for loadbalancers with loadBalancingScheme set to
# INTERNAL_SELF_MANAGED. See ForwardingRule for more details.
# Corresponds to the JSON property `httpFilters`
# @return [Array<String>]
attr_accessor :http_filters
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
@@ -32564,6 +32627,7 @@ module Google
@authorization_policy = args[:authorization_policy] if args.key?(:authorization_policy)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@http_filters = args[:http_filters] if args.key?(:http_filters)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)