feat: Automated regeneration of compute v1 client (#1291)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2020-10-28 02:05:35,561 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py. On branch autosynth-compute-v1 nothing to commit, working tree clean 2020-10-28 02:05:35,593 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth compute v1 DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth compute v1 bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Fetching rake 11.3.0 Installing rake 11.3.0 Fetching concurrent-ruby 1.1.7 Installing concurrent-ruby 1.1.7 Fetching i18n 1.8.5 Installing i18n 1.8.5 Fetching minitest 5.14.2 Installing minitest 5.14.2 Fetching thread_safe 0.3.6 Installing thread_safe 0.3.6 Fetching tzinfo 1.2.7 Installing tzinfo 1.2.7 Fetching activesupport 5.0.7.2 Installing activesupport 5.0.7.2 Fetching public_suffix 4.0.6 Installing public_suffix 4.0.6 Fetching addressable 2.7.0 Installing addressable 2.7.0 Fetching ast 2.4.1 Installing ast 2.4.1 Using bundler 2.1.4 Fetching byebug 11.1.3 Installing byebug 11.1.3 with native extensions Fetching coderay 1.1.3 Installing coderay 1.1.3 Fetching json 2.3.1 Installing json 2.3.1 with native extensions Fetching docile 1.3.2 Installing docile 1.3.2 Fetching simplecov-html 0.10.2 Installing simplecov-html 0.10.2 Fetching simplecov 0.16.1 Installing simplecov 0.16.1 Using sync 0.5.0 Fetching tins 1.26.0 Installing tins 1.26.0 Fetching term-ansicolor 1.7.1 Installing term-ansicolor 1.7.1 Fetching thor 0.20.3 Installing thor 0.20.3 Fetching coveralls 0.8.23 Installing coveralls 0.8.23 Fetching crack 0.4.4 Installing crack 0.4.4 Fetching declarative 0.0.20 Installing declarative 0.0.20 Fetching declarative-option 0.1.0 Installing declarative-option 0.1.0 Fetching diff-lcs 1.4.4 Installing diff-lcs 1.4.4 Fetching dotenv 2.7.6 Installing dotenv 2.7.6 Fetching fakefs 0.20.1 Installing fakefs 0.20.1 Fetching multipart-post 2.1.1 Installing multipart-post 2.1.1 Fetching ruby2_keywords 0.0.2 Installing ruby2_keywords 0.0.2 Fetching faraday 1.1.0 Installing faraday 1.1.0 Fetching gems 1.2.0 Installing gems 1.2.0 Fetching github-markup 1.7.0 Installing github-markup 1.7.0 Fetching jwt 2.2.2 Installing jwt 2.2.2 Fetching memoist 0.16.2 Installing memoist 0.16.2 Fetching multi_json 1.15.0 Installing multi_json 1.15.0 Fetching os 0.9.6 Installing os 0.9.6 Fetching signet 0.14.0 Installing signet 0.14.0 Fetching googleauth 0.14.0 Installing googleauth 0.14.0 Fetching httpclient 2.8.3 Installing httpclient 2.8.3 Fetching mini_mime 1.0.2 Installing mini_mime 1.0.2 Fetching uber 0.1.0 Installing uber 0.1.0 Fetching representable 3.0.4 Installing representable 3.0.4 Fetching retriable 3.1.2 Installing retriable 3.1.2 Fetching rexml 3.2.4 Installing rexml 3.2.4 Using google-api-client 0.47.0 from source at `.` Fetching google-id-token 1.4.2 Installing google-id-token 1.4.2 Fetching hashdiff 1.0.1 Installing hashdiff 1.0.1 Fetching mime-types-data 3.2020.0512 Installing mime-types-data 3.2020.0512 Fetching mime-types 3.3.1 Installing mime-types 3.3.1 Fetching multi_xml 0.6.0 Installing multi_xml 0.6.0 Fetching httparty 0.18.1 Installing httparty 0.18.1 Fetching rspec-support 3.9.4 Installing rspec-support 3.9.4 Fetching rspec-core 3.9.3 Installing rspec-core 3.9.3 Fetching rspec-expectations 3.9.3 Installing rspec-expectations 3.9.3 Fetching rspec-mocks 3.9.1 Installing rspec-mocks 3.9.1 Fetching rspec 3.9.0 Installing rspec 3.9.0 Fetching json_spec 1.1.5 Installing json_spec 1.1.5 Fetching launchy 2.5.0 Installing launchy 2.5.0 Fetching little-plugger 1.1.4 Installing little-plugger 1.1.4 Fetching logging 2.3.0 Installing logging 2.3.0 Fetching method_source 1.0.0 Installing method_source 1.0.0 Fetching opencensus 0.5.0 Installing opencensus 0.5.0 Fetching parallel 1.19.2 Installing parallel 1.19.2 Fetching parser 2.7.2.0 Installing parser 2.7.2.0 Fetching powerpack 0.1.2 Installing powerpack 0.1.2 Fetching pry 0.13.1 Installing pry 0.13.1 Fetching pry-byebug 3.9.0 Installing pry-byebug 3.9.0 Fetching yard 0.9.25 Installing yard 0.9.25 Fetching pry-doc 0.13.5 Installing pry-doc 0.13.5 Fetching rainbow 2.2.2 Installing rainbow 2.2.2 with native extensions Fetching redcarpet 3.5.0 Installing redcarpet 3.5.0 with native extensions Fetching redis 3.3.5 Installing redis 3.3.5 Fetching rmail 1.1.4 Installing rmail 1.1.4 Fetching ruby-progressbar 1.10.1 Installing ruby-progressbar 1.10.1 Fetching unicode-display_width 1.7.0 Installing unicode-display_width 1.7.0 Fetching rubocop 0.49.1 Installing rubocop 0.49.1 Fetching webmock 2.3.2 Installing webmock 2.3.2 Bundle complete! 31 Gemfile dependencies, 78 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from i18n: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. If you are upgrading your Rails application from an older version of Rails: Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. If you are starting a NEW Rails application, you can ignore this notice. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 Post-install message from httparty: When you HTTParty, you must party hard! echo a | bundle exec bin/generate-api gen generated --api=compute.v1 --names-out=/workspace/api_names_out.yaml Loading compute, version v1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/compute.v1.json conflict google/apis/compute_v1.rb <apis/compute_v1.rb? (enter "h" for help) [Ynaqdhm] a force google/apis/compute_v1.rb conflict google/apis/compute_v1/service.rb force google/apis/compute_v1/service.rb conflict google/apis/compute_v1/classes.rb force google/apis/compute_v1/classes.rb conflict google/apis/compute_v1/representations.rb force google/apis/compute_v1/representations.rb conflict /workspace/api_names_out.yaml force /workspace/api_names_out.yaml 2020-10-28 02:06:15,890 synthtool [DEBUG] > Wrote metadata to generated/google/apis/compute_v1/synth.metadata. DEBUG:synthtool:Wrote metadata to generated/google/apis/compute_v1/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/fc014795-ecad-4bb9-a08f-f26793ec33cc/targets - [ ] To automatically regenerate this PR, check this box.
This commit is contained in:
parent
9a89003a7c
commit
297ae6a7ec
|
@ -45838,7 +45838,9 @@
|
||||||
"/compute:v1/AutoscalingPolicyCpuUtilization": autoscaling_policy_cpu_utilization
|
"/compute:v1/AutoscalingPolicyCpuUtilization": autoscaling_policy_cpu_utilization
|
||||||
"/compute:v1/AutoscalingPolicyCpuUtilization/utilizationTarget": utilization_target
|
"/compute:v1/AutoscalingPolicyCpuUtilization/utilizationTarget": utilization_target
|
||||||
"/compute:v1/AutoscalingPolicyCustomMetricUtilization": autoscaling_policy_custom_metric_utilization
|
"/compute:v1/AutoscalingPolicyCustomMetricUtilization": autoscaling_policy_custom_metric_utilization
|
||||||
|
"/compute:v1/AutoscalingPolicyCustomMetricUtilization/filter": filter
|
||||||
"/compute:v1/AutoscalingPolicyCustomMetricUtilization/metric": metric
|
"/compute:v1/AutoscalingPolicyCustomMetricUtilization/metric": metric
|
||||||
|
"/compute:v1/AutoscalingPolicyCustomMetricUtilization/singleInstanceAssignment": single_instance_assignment
|
||||||
"/compute:v1/AutoscalingPolicyCustomMetricUtilization/utilizationTarget": utilization_target
|
"/compute:v1/AutoscalingPolicyCustomMetricUtilization/utilizationTarget": utilization_target
|
||||||
"/compute:v1/AutoscalingPolicyCustomMetricUtilization/utilizationTargetType": utilization_target_type
|
"/compute:v1/AutoscalingPolicyCustomMetricUtilization/utilizationTargetType": utilization_target_type
|
||||||
"/compute:v1/AutoscalingPolicyLoadBalancingUtilization": autoscaling_policy_load_balancing_utilization
|
"/compute:v1/AutoscalingPolicyLoadBalancingUtilization": autoscaling_policy_load_balancing_utilization
|
||||||
|
@ -45918,6 +45920,7 @@
|
||||||
"/compute:v1/BackendService/protocol": protocol
|
"/compute:v1/BackendService/protocol": protocol
|
||||||
"/compute:v1/BackendService/region": region
|
"/compute:v1/BackendService/region": region
|
||||||
"/compute:v1/BackendService/securityPolicy": security_policy
|
"/compute:v1/BackendService/securityPolicy": security_policy
|
||||||
|
"/compute:v1/BackendService/securitySettings": security_settings
|
||||||
"/compute:v1/BackendService/selfLink": self_link
|
"/compute:v1/BackendService/selfLink": self_link
|
||||||
"/compute:v1/BackendService/sessionAffinity": session_affinity
|
"/compute:v1/BackendService/sessionAffinity": session_affinity
|
||||||
"/compute:v1/BackendService/timeoutSec": timeout_sec
|
"/compute:v1/BackendService/timeoutSec": timeout_sec
|
||||||
|
@ -47027,6 +47030,7 @@
|
||||||
"/compute:v1/InstanceGroupManagersAbandonInstancesRequest/instances": instances
|
"/compute:v1/InstanceGroupManagersAbandonInstancesRequest/instances": instances
|
||||||
"/compute:v1/InstanceGroupManagersAbandonInstancesRequest/instances/instance": instance
|
"/compute:v1/InstanceGroupManagersAbandonInstancesRequest/instances/instance": instance
|
||||||
"/compute:v1/InstanceGroupManagersApplyUpdatesRequest": instance_group_managers_apply_updates_request
|
"/compute:v1/InstanceGroupManagersApplyUpdatesRequest": instance_group_managers_apply_updates_request
|
||||||
|
"/compute:v1/InstanceGroupManagersApplyUpdatesRequest/allInstances": all_instances
|
||||||
"/compute:v1/InstanceGroupManagersApplyUpdatesRequest/instances": instances
|
"/compute:v1/InstanceGroupManagersApplyUpdatesRequest/instances": instances
|
||||||
"/compute:v1/InstanceGroupManagersApplyUpdatesRequest/instances/instance": instance
|
"/compute:v1/InstanceGroupManagersApplyUpdatesRequest/instances/instance": instance
|
||||||
"/compute:v1/InstanceGroupManagersApplyUpdatesRequest/minimalAction": minimal_action
|
"/compute:v1/InstanceGroupManagersApplyUpdatesRequest/minimalAction": minimal_action
|
||||||
|
@ -48342,6 +48346,7 @@
|
||||||
"/compute:v1/RegionInstanceGroupManagersAbandonInstancesRequest/instances": instances
|
"/compute:v1/RegionInstanceGroupManagersAbandonInstancesRequest/instances": instances
|
||||||
"/compute:v1/RegionInstanceGroupManagersAbandonInstancesRequest/instances/instance": instance
|
"/compute:v1/RegionInstanceGroupManagersAbandonInstancesRequest/instances/instance": instance
|
||||||
"/compute:v1/RegionInstanceGroupManagersApplyUpdatesRequest": region_instance_group_managers_apply_updates_request
|
"/compute:v1/RegionInstanceGroupManagersApplyUpdatesRequest": region_instance_group_managers_apply_updates_request
|
||||||
|
"/compute:v1/RegionInstanceGroupManagersApplyUpdatesRequest/allInstances": all_instances
|
||||||
"/compute:v1/RegionInstanceGroupManagersApplyUpdatesRequest/instances": instances
|
"/compute:v1/RegionInstanceGroupManagersApplyUpdatesRequest/instances": instances
|
||||||
"/compute:v1/RegionInstanceGroupManagersApplyUpdatesRequest/instances/instance": instance
|
"/compute:v1/RegionInstanceGroupManagersApplyUpdatesRequest/instances/instance": instance
|
||||||
"/compute:v1/RegionInstanceGroupManagersApplyUpdatesRequest/minimalAction": minimal_action
|
"/compute:v1/RegionInstanceGroupManagersApplyUpdatesRequest/minimalAction": minimal_action
|
||||||
|
@ -48573,6 +48578,7 @@
|
||||||
"/compute:v1/ResourcePolicySnapshotSchedulePolicySchedule/hourlySchedule": hourly_schedule
|
"/compute:v1/ResourcePolicySnapshotSchedulePolicySchedule/hourlySchedule": hourly_schedule
|
||||||
"/compute:v1/ResourcePolicySnapshotSchedulePolicySchedule/weeklySchedule": weekly_schedule
|
"/compute:v1/ResourcePolicySnapshotSchedulePolicySchedule/weeklySchedule": weekly_schedule
|
||||||
"/compute:v1/ResourcePolicySnapshotSchedulePolicySnapshotProperties": resource_policy_snapshot_schedule_policy_snapshot_properties
|
"/compute:v1/ResourcePolicySnapshotSchedulePolicySnapshotProperties": resource_policy_snapshot_schedule_policy_snapshot_properties
|
||||||
|
"/compute:v1/ResourcePolicySnapshotSchedulePolicySnapshotProperties/chainName": chain_name
|
||||||
"/compute:v1/ResourcePolicySnapshotSchedulePolicySnapshotProperties/guestFlush": guest_flush
|
"/compute:v1/ResourcePolicySnapshotSchedulePolicySnapshotProperties/guestFlush": guest_flush
|
||||||
"/compute:v1/ResourcePolicySnapshotSchedulePolicySnapshotProperties/labels": labels
|
"/compute:v1/ResourcePolicySnapshotSchedulePolicySnapshotProperties/labels": labels
|
||||||
"/compute:v1/ResourcePolicySnapshotSchedulePolicySnapshotProperties/labels/label": label
|
"/compute:v1/ResourcePolicySnapshotSchedulePolicySnapshotProperties/labels/label": label
|
||||||
|
@ -48855,6 +48861,10 @@
|
||||||
"/compute:v1/SecurityPolicyRuleMatcherConfig": security_policy_rule_matcher_config
|
"/compute:v1/SecurityPolicyRuleMatcherConfig": security_policy_rule_matcher_config
|
||||||
"/compute:v1/SecurityPolicyRuleMatcherConfig/srcIpRanges": src_ip_ranges
|
"/compute:v1/SecurityPolicyRuleMatcherConfig/srcIpRanges": src_ip_ranges
|
||||||
"/compute:v1/SecurityPolicyRuleMatcherConfig/srcIpRanges/src_ip_range": src_ip_range
|
"/compute:v1/SecurityPolicyRuleMatcherConfig/srcIpRanges/src_ip_range": src_ip_range
|
||||||
|
"/compute:v1/SecuritySettings": security_settings
|
||||||
|
"/compute:v1/SecuritySettings/clientTlsPolicy": client_tls_policy
|
||||||
|
"/compute:v1/SecuritySettings/subjectAltNames": subject_alt_names
|
||||||
|
"/compute:v1/SecuritySettings/subjectAltNames/subject_alt_name": subject_alt_name
|
||||||
"/compute:v1/SerialPortOutput": serial_port_output
|
"/compute:v1/SerialPortOutput": serial_port_output
|
||||||
"/compute:v1/SerialPortOutput/contents": contents
|
"/compute:v1/SerialPortOutput/contents": contents
|
||||||
"/compute:v1/SerialPortOutput/kind": kind
|
"/compute:v1/SerialPortOutput/kind": kind
|
||||||
|
@ -48885,6 +48895,7 @@
|
||||||
"/compute:v1/SignedUrlKey/keyValue": key_value
|
"/compute:v1/SignedUrlKey/keyValue": key_value
|
||||||
"/compute:v1/Snapshot": snapshot
|
"/compute:v1/Snapshot": snapshot
|
||||||
"/compute:v1/Snapshot/autoCreated": auto_created
|
"/compute:v1/Snapshot/autoCreated": auto_created
|
||||||
|
"/compute:v1/Snapshot/chainName": chain_name
|
||||||
"/compute:v1/Snapshot/creationTimestamp": creation_timestamp
|
"/compute:v1/Snapshot/creationTimestamp": creation_timestamp
|
||||||
"/compute:v1/Snapshot/description": description
|
"/compute:v1/Snapshot/description": description
|
||||||
"/compute:v1/Snapshot/diskSizeGb": disk_size_gb
|
"/compute:v1/Snapshot/diskSizeGb": disk_size_gb
|
||||||
|
@ -49169,6 +49180,7 @@
|
||||||
"/compute:v1/TargetHttpProxy/id": id
|
"/compute:v1/TargetHttpProxy/id": id
|
||||||
"/compute:v1/TargetHttpProxy/kind": kind
|
"/compute:v1/TargetHttpProxy/kind": kind
|
||||||
"/compute:v1/TargetHttpProxy/name": name
|
"/compute:v1/TargetHttpProxy/name": name
|
||||||
|
"/compute:v1/TargetHttpProxy/proxyBind": proxy_bind
|
||||||
"/compute:v1/TargetHttpProxy/region": region
|
"/compute:v1/TargetHttpProxy/region": region
|
||||||
"/compute:v1/TargetHttpProxy/selfLink": self_link
|
"/compute:v1/TargetHttpProxy/selfLink": self_link
|
||||||
"/compute:v1/TargetHttpProxy/urlMap": url_map
|
"/compute:v1/TargetHttpProxy/urlMap": url_map
|
||||||
|
@ -49211,14 +49223,17 @@
|
||||||
"/compute:v1/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates": ssl_certificates
|
"/compute:v1/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates": ssl_certificates
|
||||||
"/compute:v1/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate
|
"/compute:v1/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate
|
||||||
"/compute:v1/TargetHttpsProxy": target_https_proxy
|
"/compute:v1/TargetHttpsProxy": target_https_proxy
|
||||||
|
"/compute:v1/TargetHttpsProxy/authorizationPolicy": authorization_policy
|
||||||
"/compute:v1/TargetHttpsProxy/creationTimestamp": creation_timestamp
|
"/compute:v1/TargetHttpsProxy/creationTimestamp": creation_timestamp
|
||||||
"/compute:v1/TargetHttpsProxy/description": description
|
"/compute:v1/TargetHttpsProxy/description": description
|
||||||
"/compute:v1/TargetHttpsProxy/id": id
|
"/compute:v1/TargetHttpsProxy/id": id
|
||||||
"/compute:v1/TargetHttpsProxy/kind": kind
|
"/compute:v1/TargetHttpsProxy/kind": kind
|
||||||
"/compute:v1/TargetHttpsProxy/name": name
|
"/compute:v1/TargetHttpsProxy/name": name
|
||||||
|
"/compute:v1/TargetHttpsProxy/proxyBind": proxy_bind
|
||||||
"/compute:v1/TargetHttpsProxy/quicOverride": quic_override
|
"/compute:v1/TargetHttpsProxy/quicOverride": quic_override
|
||||||
"/compute:v1/TargetHttpsProxy/region": region
|
"/compute:v1/TargetHttpsProxy/region": region
|
||||||
"/compute:v1/TargetHttpsProxy/selfLink": self_link
|
"/compute:v1/TargetHttpsProxy/selfLink": self_link
|
||||||
|
"/compute:v1/TargetHttpsProxy/serverTlsPolicy": server_tls_policy
|
||||||
"/compute:v1/TargetHttpsProxy/sslCertificates": ssl_certificates
|
"/compute:v1/TargetHttpsProxy/sslCertificates": ssl_certificates
|
||||||
"/compute:v1/TargetHttpsProxy/sslCertificates/ssl_certificate": ssl_certificate
|
"/compute:v1/TargetHttpsProxy/sslCertificates/ssl_certificate": ssl_certificate
|
||||||
"/compute:v1/TargetHttpsProxy/sslPolicy": ssl_policy
|
"/compute:v1/TargetHttpsProxy/sslPolicy": ssl_policy
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/compute/docs/reference/latest/
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||||
module ComputeV1
|
module ComputeV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20201005'
|
REVISION = '20201007'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -629,9 +629,9 @@ module Google
|
||||||
# - `VPC_PEERING` for addresses that are reserved for VPC peer networks.
|
# - `VPC_PEERING` for addresses that are reserved for VPC peer networks.
|
||||||
# - `NAT_AUTO` for addresses that are external IP addresses automatically
|
# - `NAT_AUTO` for addresses that are external IP addresses automatically
|
||||||
# reserved for Cloud NAT.
|
# reserved for Cloud NAT.
|
||||||
# - `IPSEC_INTERCONNECT` for addresses created from a private IP range reserved
|
# - `IPSEC_INTERCONNECT` for addresses created from a private IP range that are
|
||||||
# for a VLAN attachment in an IPsec over Interconnect configuration. These
|
# reserved for a VLAN attachment in an IPsec encrypted Interconnect
|
||||||
# addresses are regional resources.
|
# configuration. These addresses are regional resources.
|
||||||
# Corresponds to the JSON property `purpose`
|
# Corresponds to the JSON property `purpose`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :purpose
|
attr_accessor :purpose
|
||||||
|
@ -2164,6 +2164,36 @@ module Google
|
||||||
class AutoscalingPolicyCustomMetricUtilization
|
class AutoscalingPolicyCustomMetricUtilization
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# A filter string, compatible with a Stackdriver Monitoring filter string for
|
||||||
|
# TimeSeries.list API call. This filter is used to select a specific TimeSeries
|
||||||
|
# for the purpose of autoscaling and to determine whether the metric is
|
||||||
|
# exporting per-instance or per-group data.
|
||||||
|
# For the filter to be valid for autoscaling purposes, the following rules apply:
|
||||||
|
#
|
||||||
|
# - You can only use the AND operator for joining selectors.
|
||||||
|
# - You can only use direct equality comparison operator (=) without any
|
||||||
|
# functions for each selector.
|
||||||
|
# - You can specify the metric in both the filter string and in the metric field.
|
||||||
|
# However, if specified in both places, the metric must be identical.
|
||||||
|
# - The monitored resource type determines what kind of values are expected for
|
||||||
|
# the metric. If it is a gce_instance, the autoscaler expects the metric to
|
||||||
|
# include a separate TimeSeries for each instance in a group. In such a case,
|
||||||
|
# you cannot filter on resource labels.
|
||||||
|
# If the resource type is any other value, the autoscaler expects this metric to
|
||||||
|
# contain values that apply to the entire autoscaled instance group and resource
|
||||||
|
# label filtering can be performed to point autoscaler at the correct TimeSeries
|
||||||
|
# to scale upon. This is called a per-group metric for the purpose of
|
||||||
|
# autoscaling.
|
||||||
|
# If not specified, the type defaults to gce_instance.
|
||||||
|
# You should provide a filter that is selective enough to pick just one
|
||||||
|
# TimeSeries for the autoscaled group or for each of the instances (if you are
|
||||||
|
# using gce_instance resource type). If multiple TimeSeries are returned upon
|
||||||
|
# the query execution, the autoscaler will sum their respective values to obtain
|
||||||
|
# its scaling value.
|
||||||
|
# Corresponds to the JSON property `filter`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :filter
|
||||||
|
|
||||||
# The identifier (type) of the Stackdriver Monitoring metric. The metric cannot
|
# The identifier (type) of the Stackdriver Monitoring metric. The metric cannot
|
||||||
# have negative values.
|
# have negative values.
|
||||||
# The metric must have a value type of INT64 or DOUBLE.
|
# The metric must have a value type of INT64 or DOUBLE.
|
||||||
|
@ -2171,6 +2201,21 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :metric
|
attr_accessor :metric
|
||||||
|
|
||||||
|
# If scaling is based on a per-group metric value that represents the total
|
||||||
|
# amount of work to be done or resource usage, set this value to an amount
|
||||||
|
# assigned for a single instance of the scaled group. Autoscaler will keep the
|
||||||
|
# number of instances proportional to the value of this metric, the metric
|
||||||
|
# itself should not change value due to group resizing.
|
||||||
|
# A good metric to use with the target is for example pubsub.googleapis.com/
|
||||||
|
# subscription/num_undelivered_messages or a custom metric exporting the total
|
||||||
|
# number of requests coming to your instances.
|
||||||
|
# A bad example would be a metric exporting an average or median latency, since
|
||||||
|
# this value can't include a chunk assignable to a single instance, it could be
|
||||||
|
# better used with utilization_target instead.
|
||||||
|
# Corresponds to the JSON property `singleInstanceAssignment`
|
||||||
|
# @return [Float]
|
||||||
|
attr_accessor :single_instance_assignment
|
||||||
|
|
||||||
# The target value of the metric that autoscaler should maintain. This must be a
|
# The target value of the metric that autoscaler should maintain. This must be a
|
||||||
# positive value. A utilization metric scales number of virtual machines
|
# positive value. A utilization metric scales number of virtual machines
|
||||||
# handling requests to increase or decrease proportionally to the metric.
|
# handling requests to increase or decrease proportionally to the metric.
|
||||||
|
@ -2193,7 +2238,9 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@filter = args[:filter] if args.key?(:filter)
|
||||||
@metric = args[:metric] if args.key?(:metric)
|
@metric = args[:metric] if args.key?(:metric)
|
||||||
|
@single_instance_assignment = args[:single_instance_assignment] if args.key?(:single_instance_assignment)
|
||||||
@utilization_target = args[:utilization_target] if args.key?(:utilization_target)
|
@utilization_target = args[:utilization_target] if args.key?(:utilization_target)
|
||||||
@utilization_target_type = args[:utilization_target_type] if args.key?(:utilization_target_type)
|
@utilization_target_type = args[:utilization_target_type] if args.key?(:utilization_target_type)
|
||||||
end
|
end
|
||||||
|
@ -2900,6 +2947,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :security_policy
|
attr_accessor :security_policy
|
||||||
|
|
||||||
|
# The authentication and authorization settings for a BackendService.
|
||||||
|
# Corresponds to the JSON property `securitySettings`
|
||||||
|
# @return [Google::Apis::ComputeV1::SecuritySettings]
|
||||||
|
attr_accessor :security_settings
|
||||||
|
|
||||||
# [Output Only] Server-defined URL for the resource.
|
# [Output Only] Server-defined URL for the resource.
|
||||||
# Corresponds to the JSON property `selfLink`
|
# Corresponds to the JSON property `selfLink`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -2961,6 +3013,7 @@ module Google
|
||||||
@protocol = args[:protocol] if args.key?(:protocol)
|
@protocol = args[:protocol] if args.key?(:protocol)
|
||||||
@region = args[:region] if args.key?(:region)
|
@region = args[:region] if args.key?(:region)
|
||||||
@security_policy = args[:security_policy] if args.key?(:security_policy)
|
@security_policy = args[:security_policy] if args.key?(:security_policy)
|
||||||
|
@security_settings = args[:security_settings] if args.key?(:security_settings)
|
||||||
@self_link = args[:self_link] if args.key?(:self_link)
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
||||||
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
||||||
|
@ -6817,6 +6870,8 @@ module Google
|
||||||
# ip_address_specifications).
|
# ip_address_specifications).
|
||||||
# Must be set to `0.0.0.0` when the target is targetGrpcProxy that has
|
# Must be set to `0.0.0.0` when the target is targetGrpcProxy that has
|
||||||
# validateForProxyless field set to true.
|
# validateForProxyless field set to true.
|
||||||
|
# For Private Service Connect forwarding rules that forward traffic to Google
|
||||||
|
# APIs, IP address must be provided.
|
||||||
# Corresponds to the JSON property `IPAddress`
|
# Corresponds to the JSON property `IPAddress`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :ip_address
|
attr_accessor :ip_address
|
||||||
|
@ -6967,6 +7022,8 @@ module Google
|
||||||
# For internal load balancing, this field identifies the network that the load
|
# For internal load balancing, this field identifies the network that the load
|
||||||
# balanced IP should belong to for this Forwarding Rule. If this field is not
|
# balanced IP should belong to for this Forwarding Rule. If this field is not
|
||||||
# specified, the default network will be used.
|
# specified, the default network will be used.
|
||||||
|
# For Private Service Connect forwarding rules that forward traffic to Google
|
||||||
|
# APIs, a network must be provided.
|
||||||
# Corresponds to the JSON property `network`
|
# Corresponds to the JSON property `network`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :network
|
attr_accessor :network
|
||||||
|
@ -7065,6 +7122,15 @@ module Google
|
||||||
# resource. The forwarded traffic must be of a type appropriate to the target
|
# resource. The forwarded traffic must be of a type appropriate to the target
|
||||||
# object. For more information, see the "Target" column in [Port specifications](
|
# object. For more information, see the "Target" column in [Port specifications](
|
||||||
# /load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).
|
# /load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).
|
||||||
|
# For Private Service Connect forwarding rules that forward traffic to Google
|
||||||
|
# APIs, provide the name of a supported Google API bundle. Currently, the
|
||||||
|
# supported Google API bundles include:
|
||||||
|
#
|
||||||
|
# - vpc-sc - GCP APIs that support VPC Service Controls. For more information
|
||||||
|
# about which APIs support VPC Service Controls, refer to VPC-SC supported
|
||||||
|
# products and limitations.
|
||||||
|
# - all-apis - All GCP APIs. For more information about which APIs are supported
|
||||||
|
# with this bundle, refer to Private Google Access-specific domains and VIPs.
|
||||||
# Corresponds to the JSON property `target`
|
# Corresponds to the JSON property `target`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :target
|
attr_accessor :target
|
||||||
|
@ -8047,6 +8113,12 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
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::ComputeV1::HealthCheckLogConfig]
|
||||||
|
attr_accessor :log_config
|
||||||
|
|
||||||
# Name of the resource. Provided by the client when the resource is created. The
|
# 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 comply with RFC1035. Specifically, the
|
||||||
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
||||||
|
@ -8114,6 +8186,7 @@ module Google
|
||||||
@https_health_check = args[:https_health_check] if args.key?(:https_health_check)
|
@https_health_check = args[:https_health_check] if args.key?(:https_health_check)
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
|
@log_config = args[:log_config] if args.key?(:log_config)
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
@region = args[:region] if args.key?(:region)
|
@region = args[:region] if args.key?(:region)
|
||||||
@self_link = args[:self_link] if args.key?(:self_link)
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
|
@ -8242,6 +8315,28 @@ module Google
|
||||||
end
|
end
|
||||||
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
|
# A full or valid partial URL to a health check. For example, the following are
|
||||||
# valid URLs:
|
# valid URLs:
|
||||||
# - https://www.googleapis.com/compute/beta/projects/project-id/global/
|
# - https://www.googleapis.com/compute/beta/projects/project-id/global/
|
||||||
|
@ -12043,6 +12138,13 @@ module Google
|
||||||
class InstanceGroupManagersApplyUpdatesRequest
|
class InstanceGroupManagersApplyUpdatesRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Flag to update all instances instead of specified list of ?instances?. If the
|
||||||
|
# flag is set to true then the instances may not be specified in the request.
|
||||||
|
# Corresponds to the JSON property `allInstances`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :all_instances
|
||||||
|
alias_method :all_instances?, :all_instances
|
||||||
|
|
||||||
# The list of URLs of one or more instances for which you want to apply updates.
|
# The list of URLs of one or more instances for which you want to apply updates.
|
||||||
# Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[
|
# Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[
|
||||||
# INSTANCE_NAME].
|
# INSTANCE_NAME].
|
||||||
|
@ -12080,6 +12182,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@all_instances = args[:all_instances] if args.key?(:all_instances)
|
||||||
@instances = args[:instances] if args.key?(:instances)
|
@instances = args[:instances] if args.key?(:instances)
|
||||||
@minimal_action = args[:minimal_action] if args.key?(:minimal_action)
|
@minimal_action = args[:minimal_action] if args.key?(:minimal_action)
|
||||||
@most_disruptive_allowed_action = args[:most_disruptive_allowed_action] if args.key?(:most_disruptive_allowed_action)
|
@most_disruptive_allowed_action = args[:most_disruptive_allowed_action] if args.key?(:most_disruptive_allowed_action)
|
||||||
|
@ -22810,6 +22913,13 @@ module Google
|
||||||
class RegionInstanceGroupManagersApplyUpdatesRequest
|
class RegionInstanceGroupManagersApplyUpdatesRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Flag to update all instances instead of specified list of ?instances?. If the
|
||||||
|
# flag is set to true then the instances may not be specified in the request.
|
||||||
|
# Corresponds to the JSON property `allInstances`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :all_instances
|
||||||
|
alias_method :all_instances?, :all_instances
|
||||||
|
|
||||||
# The list of URLs of one or more instances for which you want to apply updates.
|
# The list of URLs of one or more instances for which you want to apply updates.
|
||||||
# Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[
|
# Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[
|
||||||
# INSTANCE_NAME].
|
# INSTANCE_NAME].
|
||||||
|
@ -22847,6 +22957,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@all_instances = args[:all_instances] if args.key?(:all_instances)
|
||||||
@instances = args[:instances] if args.key?(:instances)
|
@instances = args[:instances] if args.key?(:instances)
|
||||||
@minimal_action = args[:minimal_action] if args.key?(:minimal_action)
|
@minimal_action = args[:minimal_action] if args.key?(:minimal_action)
|
||||||
@most_disruptive_allowed_action = args[:most_disruptive_allowed_action] if args.key?(:most_disruptive_allowed_action)
|
@most_disruptive_allowed_action = args[:most_disruptive_allowed_action] if args.key?(:most_disruptive_allowed_action)
|
||||||
|
@ -24753,6 +24864,11 @@ module Google
|
||||||
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
|
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Chain name that the snapshot is created in.
|
||||||
|
# Corresponds to the JSON property `chainName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :chain_name
|
||||||
|
|
||||||
# Indication to perform a 'guest aware' snapshot.
|
# Indication to perform a 'guest aware' snapshot.
|
||||||
# Corresponds to the JSON property `guestFlush`
|
# Corresponds to the JSON property `guestFlush`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
|
@ -24777,6 +24893,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@chain_name = args[:chain_name] if args.key?(:chain_name)
|
||||||
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
||||||
@labels = args[:labels] if args.key?(:labels)
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
||||||
|
@ -24896,8 +25013,9 @@ module Google
|
||||||
attr_accessor :next_hop_gateway
|
attr_accessor :next_hop_gateway
|
||||||
|
|
||||||
# The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should
|
# The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should
|
||||||
# handle matching packets. You can only specify the forwarding rule as a partial
|
# handle matching packets or the IP address of the forwarding Rule. For example,
|
||||||
# or full URL. For example, the following are all valid URLs:
|
# the following are all valid URLs:
|
||||||
|
# - 10.128.0.56
|
||||||
# - https://www.googleapis.com/compute/v1/projects/project/regions/region/
|
# - https://www.googleapis.com/compute/v1/projects/project/regions/region/
|
||||||
# forwardingRules/forwardingRule
|
# forwardingRules/forwardingRule
|
||||||
# - regions/region/forwardingRules/forwardingRule
|
# - regions/region/forwardingRules/forwardingRule
|
||||||
|
@ -26519,10 +26637,10 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a Cloud Armor Security Policy resource.
|
# Represents a Google Cloud Armor security policy resource.
|
||||||
# Only external backend services that use load balancers can reference a
|
# Only external backend services that use load balancers can reference a
|
||||||
# Security Policy. For more information, read Cloud Armor Security Policy
|
# security policy. For more information, see Google Cloud Armor security policy
|
||||||
# Concepts. (== resource_for `$api_version`.securityPolicies ==)
|
# overview. (== resource_for `$api_version`.securityPolicies ==)
|
||||||
class SecurityPolicy
|
class SecurityPolicy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -26866,6 +26984,48 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# The authentication and authorization settings for a BackendService.
|
||||||
|
class SecuritySettings
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that
|
||||||
|
# describes how clients should authenticate with this service's backends.
|
||||||
|
# clientTlsPolicy only applies to a global BackendService with the
|
||||||
|
# loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
||||||
|
# If left blank, communications are not encrypted.
|
||||||
|
# Note: This field currently has no impact.
|
||||||
|
# Corresponds to the JSON property `clientTlsPolicy`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :client_tls_policy
|
||||||
|
|
||||||
|
# Optional. A list of Subject Alternative Names (SANs) that the client verifies
|
||||||
|
# during a mutual TLS handshake with an server/endpoint for this BackendService.
|
||||||
|
# When the server presents its X.509 certificate to the client, the client
|
||||||
|
# inspects the certificate's subjectAltName field. If the field contains one of
|
||||||
|
# the specified values, the communication continues. Otherwise, it fails. This
|
||||||
|
# additional check enables the client to verify that the server is authorized to
|
||||||
|
# run the requested service.
|
||||||
|
# Note that the contents of the server certificate's subjectAltName field are
|
||||||
|
# configured by the Public Key Infrastructure which provisions server identities.
|
||||||
|
# Only applies to a global BackendService with loadBalancingScheme set to
|
||||||
|
# INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached
|
||||||
|
# clientTlsPolicy with clientCertificate (mTLS mode).
|
||||||
|
# Note: This field currently has no impact.
|
||||||
|
# Corresponds to the JSON property `subjectAltNames`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :subject_alt_names
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@client_tls_policy = args[:client_tls_policy] if args.key?(:client_tls_policy)
|
||||||
|
@subject_alt_names = args[:subject_alt_names] if args.key?(:subject_alt_names)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# An instance's serial console output.
|
# An instance's serial console output.
|
||||||
class SerialPortOutput
|
class SerialPortOutput
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -27120,6 +27280,16 @@ module Google
|
||||||
attr_accessor :auto_created
|
attr_accessor :auto_created
|
||||||
alias_method :auto_created?, :auto_created
|
alias_method :auto_created?, :auto_created
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
# [Output Only] Creation timestamp in RFC3339 text format.
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
||||||
# Corresponds to the JSON property `creationTimestamp`
|
# Corresponds to the JSON property `creationTimestamp`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -27264,6 +27434,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@auto_created = args[:auto_created] if args.key?(:auto_created)
|
@auto_created = args[:auto_created] if args.key?(:auto_created)
|
||||||
|
@chain_name = args[:chain_name] if args.key?(:chain_name)
|
||||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||||
@description = args[:description] if args.key?(:description)
|
@description = args[:description] if args.key?(:description)
|
||||||
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
||||||
|
@ -28084,10 +28255,10 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a Cloud Armor Security Policy resource.
|
# Represents a Google Cloud Armor security policy resource.
|
||||||
# Only external backend services used by HTTP or HTTPS load balancers can
|
# Only external backend services used by HTTP or HTTPS load balancers can
|
||||||
# reference a Security Policy. For more information, read read Cloud Armor
|
# reference a security policy. For more information, see Google Cloud Armor
|
||||||
# Security Policy Concepts. (== resource_for `$api_version`.sslPolicies ==)
|
# security policy overview. (== resource_for `$api_version`.sslPolicies ==)
|
||||||
class SslPolicy
|
class SslPolicy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -29460,6 +29631,19 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
|
# This field only applies when the forwarding rule that references this target
|
||||||
|
# proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
||||||
|
# When this field is set to true, Envoy proxies set up inbound traffic
|
||||||
|
# interception and bind to the IP address and port specified in the forwarding
|
||||||
|
# rule. This is generally useful when using Traffic Director to configure Envoy
|
||||||
|
# as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy
|
||||||
|
# proxy listens for inbound requests and handles requests when it receives them.
|
||||||
|
# The default is false.
|
||||||
|
# Corresponds to the JSON property `proxyBind`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :proxy_bind
|
||||||
|
alias_method :proxy_bind?, :proxy_bind
|
||||||
|
|
||||||
# [Output Only] URL of the region where the regional Target HTTP Proxy resides.
|
# [Output Only] URL of the region where the regional Target HTTP Proxy resides.
|
||||||
# This field is not applicable to global Target HTTP Proxies.
|
# This field is not applicable to global Target HTTP Proxies.
|
||||||
# Corresponds to the JSON property `region`
|
# Corresponds to the JSON property `region`
|
||||||
|
@ -29489,6 +29673,7 @@ module Google
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@proxy_bind = args[:proxy_bind] if args.key?(:proxy_bind)
|
||||||
@region = args[:region] if args.key?(:region)
|
@region = args[:region] if args.key?(:region)
|
||||||
@self_link = args[:self_link] if args.key?(:self_link)
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
@url_map = args[:url_map] if args.key?(:url_map)
|
@url_map = args[:url_map] if args.key?(:url_map)
|
||||||
|
@ -29811,6 +29996,18 @@ module Google
|
||||||
class TargetHttpsProxy
|
class TargetHttpsProxy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Optional. A URL referring to a networksecurity.AuthorizationPolicy resource
|
||||||
|
# that describes how the proxy should authorize inbound traffic. If left blank,
|
||||||
|
# access will not be restricted by an authorization policy.
|
||||||
|
# Refer to the AuthorizationPolicy resource for additional details.
|
||||||
|
# authorizationPolicy only applies to a global TargetHttpsProxy attached to
|
||||||
|
# globalForwardingRules with the loadBalancingScheme set to
|
||||||
|
# INTERNAL_SELF_MANAGED.
|
||||||
|
# Note: This field currently has no impact.
|
||||||
|
# Corresponds to the JSON property `authorizationPolicy`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :authorization_policy
|
||||||
|
|
||||||
# [Output Only] Creation timestamp in RFC3339 text format.
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
||||||
# Corresponds to the JSON property `creationTimestamp`
|
# Corresponds to the JSON property `creationTimestamp`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -29844,6 +30041,19 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
|
# This field only applies when the forwarding rule that references this target
|
||||||
|
# proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
||||||
|
# When this field is set to true, Envoy proxies set up inbound traffic
|
||||||
|
# interception and bind to the IP address and port specified in the forwarding
|
||||||
|
# rule. This is generally useful when using Traffic Director to configure Envoy
|
||||||
|
# as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy
|
||||||
|
# proxy listens for inbound requests and handles requests when it receives them.
|
||||||
|
# The default is false.
|
||||||
|
# Corresponds to the JSON property `proxyBind`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :proxy_bind
|
||||||
|
alias_method :proxy_bind?, :proxy_bind
|
||||||
|
|
||||||
# Specifies the QUIC override policy for this TargetHttpsProxy resource. This
|
# Specifies the QUIC override policy for this TargetHttpsProxy resource. This
|
||||||
# setting determines whether the load balancer attempts to negotiate QUIC with
|
# setting determines whether the load balancer attempts to negotiate QUIC with
|
||||||
# clients. You can specify NONE, ENABLE, or DISABLE.
|
# clients. You can specify NONE, ENABLE, or DISABLE.
|
||||||
|
@ -29868,6 +30078,17 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :self_link
|
attr_accessor :self_link
|
||||||
|
|
||||||
|
# Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that
|
||||||
|
# describes how the proxy should authenticate inbound traffic.
|
||||||
|
# serverTlsPolicy only applies to a global TargetHttpsProxy attached to
|
||||||
|
# globalForwardingRules with the loadBalancingScheme set to
|
||||||
|
# INTERNAL_SELF_MANAGED.
|
||||||
|
# If left blank, communications are not encrypted.
|
||||||
|
# Note: This field currently has no impact.
|
||||||
|
# Corresponds to the JSON property `serverTlsPolicy`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :server_tls_policy
|
||||||
|
|
||||||
# URLs to SslCertificate resources that are used to authenticate connections
|
# URLs to SslCertificate resources that are used to authenticate connections
|
||||||
# between users and the load balancer. At least one SSL certificate must be
|
# between users and the load balancer. At least one SSL certificate must be
|
||||||
# specified. Currently, you may specify up to 15 SSL certificates.
|
# specified. Currently, you may specify up to 15 SSL certificates.
|
||||||
|
@ -29898,14 +30119,17 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@authorization_policy = args[:authorization_policy] if args.key?(:authorization_policy)
|
||||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||||
@description = args[:description] if args.key?(:description)
|
@description = args[:description] if args.key?(:description)
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@proxy_bind = args[:proxy_bind] if args.key?(:proxy_bind)
|
||||||
@quic_override = args[:quic_override] if args.key?(:quic_override)
|
@quic_override = args[:quic_override] if args.key?(:quic_override)
|
||||||
@region = args[:region] if args.key?(:region)
|
@region = args[:region] if args.key?(:region)
|
||||||
@self_link = args[:self_link] if args.key?(:self_link)
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
|
@server_tls_policy = args[:server_tls_policy] if args.key?(:server_tls_policy)
|
||||||
@ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates)
|
@ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates)
|
||||||
@ssl_policy = args[:ssl_policy] if args.key?(:ssl_policy)
|
@ssl_policy = args[:ssl_policy] if args.key?(:ssl_policy)
|
||||||
@url_map = args[:url_map] if args.key?(:url_map)
|
@url_map = args[:url_map] if args.key?(:url_map)
|
||||||
|
@ -30582,9 +30806,9 @@ module Google
|
||||||
class TargetPool
|
class TargetPool
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# This field is applicable only when the containing target pool is serving a
|
# The server-defined URL for the resource. This field is applicable only when
|
||||||
# forwarding rule as the primary pool, and its failoverRatio field is properly
|
# the containing target pool is serving a forwarding rule as the primary pool,
|
||||||
# set to a value between [0, 1].
|
# and its failoverRatio field is properly set to a value between [0, 1].
|
||||||
# backupPool and failoverRatio together define the fallback behavior of the
|
# backupPool and failoverRatio together define the fallback behavior of the
|
||||||
# primary target pool: if the ratio of the healthy instances in the primary pool
|
# primary target pool: if the ratio of the healthy instances in the primary pool
|
||||||
# is at or below failoverRatio, traffic arriving at the load-balanced IP will be
|
# is at or below failoverRatio, traffic arriving at the load-balanced IP will be
|
||||||
|
|
|
@ -1024,6 +1024,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class HealthCheckLogConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class HealthCheckReference
|
class HealthCheckReference
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -3604,6 +3610,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class SecuritySettings
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class SerialPortOutput
|
class SerialPortOutput
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -5272,7 +5284,9 @@ module Google
|
||||||
class AutoscalingPolicyCustomMetricUtilization
|
class AutoscalingPolicyCustomMetricUtilization
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :filter, as: 'filter'
|
||||||
property :metric, as: 'metric'
|
property :metric, as: 'metric'
|
||||||
|
property :single_instance_assignment, as: 'singleInstanceAssignment'
|
||||||
property :utilization_target, as: 'utilizationTarget'
|
property :utilization_target, as: 'utilizationTarget'
|
||||||
property :utilization_target_type, as: 'utilizationTargetType'
|
property :utilization_target_type, as: 'utilizationTargetType'
|
||||||
end
|
end
|
||||||
|
@ -5407,6 +5421,8 @@ module Google
|
||||||
property :protocol, as: 'protocol'
|
property :protocol, as: 'protocol'
|
||||||
property :region, as: 'region'
|
property :region, as: 'region'
|
||||||
property :security_policy, as: 'securityPolicy'
|
property :security_policy, as: 'securityPolicy'
|
||||||
|
property :security_settings, as: 'securitySettings', class: Google::Apis::ComputeV1::SecuritySettings, decorator: Google::Apis::ComputeV1::SecuritySettings::Representation
|
||||||
|
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
property :session_affinity, as: 'sessionAffinity'
|
property :session_affinity, as: 'sessionAffinity'
|
||||||
property :timeout_sec, as: 'timeoutSec'
|
property :timeout_sec, as: 'timeoutSec'
|
||||||
|
@ -6605,6 +6621,8 @@ module Google
|
||||||
|
|
||||||
property :id, :numeric_string => true, as: 'id'
|
property :id, :numeric_string => true, as: 'id'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
|
property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::HealthCheckLogConfig, decorator: Google::Apis::ComputeV1::HealthCheckLogConfig::Representation
|
||||||
|
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :region, as: 'region'
|
property :region, as: 'region'
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
|
@ -6650,6 +6668,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class HealthCheckLogConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :enable, as: 'enable'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class HealthCheckReference
|
class HealthCheckReference
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -7524,6 +7549,7 @@ module Google
|
||||||
class InstanceGroupManagersApplyUpdatesRequest
|
class InstanceGroupManagersApplyUpdatesRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :all_instances, as: 'allInstances'
|
||||||
collection :instances, as: 'instances'
|
collection :instances, as: 'instances'
|
||||||
property :minimal_action, as: 'minimalAction'
|
property :minimal_action, as: 'minimalAction'
|
||||||
property :most_disruptive_allowed_action, as: 'mostDisruptiveAllowedAction'
|
property :most_disruptive_allowed_action, as: 'mostDisruptiveAllowedAction'
|
||||||
|
@ -10308,6 +10334,7 @@ module Google
|
||||||
class RegionInstanceGroupManagersApplyUpdatesRequest
|
class RegionInstanceGroupManagersApplyUpdatesRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :all_instances, as: 'allInstances'
|
||||||
collection :instances, as: 'instances'
|
collection :instances, as: 'instances'
|
||||||
property :minimal_action, as: 'minimalAction'
|
property :minimal_action, as: 'minimalAction'
|
||||||
property :most_disruptive_allowed_action, as: 'mostDisruptiveAllowedAction'
|
property :most_disruptive_allowed_action, as: 'mostDisruptiveAllowedAction'
|
||||||
|
@ -10838,6 +10865,7 @@ module Google
|
||||||
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
|
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :chain_name, as: 'chainName'
|
||||||
property :guest_flush, as: 'guestFlush'
|
property :guest_flush, as: 'guestFlush'
|
||||||
hash :labels, as: 'labels'
|
hash :labels, as: 'labels'
|
||||||
collection :storage_locations, as: 'storageLocations'
|
collection :storage_locations, as: 'storageLocations'
|
||||||
|
@ -11354,6 +11382,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class SecuritySettings
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :client_tls_policy, as: 'clientTlsPolicy'
|
||||||
|
collection :subject_alt_names, as: 'subjectAltNames'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class SerialPortOutput
|
class SerialPortOutput
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -11427,6 +11463,7 @@ module Google
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :auto_created, as: 'autoCreated'
|
property :auto_created, as: 'autoCreated'
|
||||||
|
property :chain_name, as: 'chainName'
|
||||||
property :creation_timestamp, as: 'creationTimestamp'
|
property :creation_timestamp, as: 'creationTimestamp'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
||||||
|
@ -11990,6 +12027,7 @@ module Google
|
||||||
property :id, :numeric_string => true, as: 'id'
|
property :id, :numeric_string => true, as: 'id'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
|
property :proxy_bind, as: 'proxyBind'
|
||||||
property :region, as: 'region'
|
property :region, as: 'region'
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
property :url_map, as: 'urlMap'
|
property :url_map, as: 'urlMap'
|
||||||
|
@ -12086,14 +12124,17 @@ module Google
|
||||||
class TargetHttpsProxy
|
class TargetHttpsProxy
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :authorization_policy, as: 'authorizationPolicy'
|
||||||
property :creation_timestamp, as: 'creationTimestamp'
|
property :creation_timestamp, as: 'creationTimestamp'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
property :id, :numeric_string => true, as: 'id'
|
property :id, :numeric_string => true, as: 'id'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
|
property :proxy_bind, as: 'proxyBind'
|
||||||
property :quic_override, as: 'quicOverride'
|
property :quic_override, as: 'quicOverride'
|
||||||
property :region, as: 'region'
|
property :region, as: 'region'
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
|
property :server_tls_policy, as: 'serverTlsPolicy'
|
||||||
collection :ssl_certificates, as: 'sslCertificates'
|
collection :ssl_certificates, as: 'sslCertificates'
|
||||||
property :ssl_policy, as: 'sslPolicy'
|
property :ssl_policy, as: 'sslPolicy'
|
||||||
property :url_map, as: 'urlMap'
|
property :url_map, as: 'urlMap'
|
||||||
|
|
|
@ -28791,6 +28791,8 @@ module Google
|
||||||
|
|
||||||
# Initiates a cache invalidation operation, invalidating the specified path,
|
# Initiates a cache invalidation operation, invalidating the specified path,
|
||||||
# scoped to the specified UrlMap.
|
# scoped to the specified UrlMap.
|
||||||
|
# For more information, see [Invalidating cached content](/cdn/docs/invalidating-
|
||||||
|
# cached-content).
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
# @param [String] url_map
|
# @param [String] url_map
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"git": {
|
"git": {
|
||||||
"name": ".",
|
"name": ".",
|
||||||
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
|
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
|
||||||
"sha": "cb0c5bf94e2b1c915107eec83041d4409c900155"
|
"sha": "9a89003a7c09c1981bf1d46ddd74c9997efaf69d"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue