google-api-client 0.41.1 → 0.41.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +41 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +6 -6
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +271 -11
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +54 -30
- data/generated/google/apis/compute_alpha/representations.rb +3 -0
- data/generated/google/apis/compute_alpha/service.rb +23 -29
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +55 -29
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +75 -29
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +84 -29
- data/generated/google/apis/compute_v1/representations.rb +17 -0
- data/generated/google/apis/compute_v1/service.rb +21 -29
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +94 -2
- data/generated/google/apis/container_v1/representations.rb +35 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +121 -17
- data/generated/google/apis/container_v1beta1/representations.rb +37 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +6 -5
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -5
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +74 -8
- data/generated/google/apis/dialogflow_v2/representations.rb +16 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +74 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +16 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +42 -42
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +3 -6
- data/generated/google/apis/displayvideo_v1/service.rb +0 -4
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +9 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1.rb +34 -0
- data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +33 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +73 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +32 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +1 -6
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/service.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +73 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +32 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/service.rb +5 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -3
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
|
26
26
|
module ComputeV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200612'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -2223,7 +2223,9 @@ module Google
|
|
|
2223
2223
|
# UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group
|
|
2224
2224
|
# will serve up to 100% of its configured capacity (depending on balancingMode).
|
|
2225
2225
|
# A setting of 0 means the group is completely drained, offering 0% of its
|
|
2226
|
-
# available
|
|
2226
|
+
# available capacity. Valid range is 0.0 and [0.1,1.0]. You cannot configure a
|
|
2227
|
+
# setting larger than 0 and smaller than 0.1. You cannot configure a setting of
|
|
2228
|
+
# 0 when there is only one backend attached to the backend service.
|
|
2227
2229
|
# This cannot be used for internal load balancing.
|
|
2228
2230
|
# Corresponds to the JSON property `capacityScaler`
|
|
2229
2231
|
# @return [Float]
|
|
@@ -2603,7 +2605,7 @@ module Google
|
|
|
2603
2605
|
# scoped.
|
|
2604
2606
|
# * [Global](/compute/docs/reference/rest/`$api_version`/backendServices) * [
|
|
2605
2607
|
# Regional](/compute/docs/reference/rest/`$api_version`/regionBackendServices)
|
|
2606
|
-
# For more information,
|
|
2608
|
+
# For more information, see Backend Services.
|
|
2607
2609
|
# (== resource_for `$api_version`.backendService ==)
|
|
2608
2610
|
class BackendService
|
|
2609
2611
|
include Google::Apis::Core::Hashable
|
|
@@ -2739,8 +2741,8 @@ module Google
|
|
|
2739
2741
|
# redirected to the load balancer.
|
|
2740
2742
|
# - MAGLEV: used as a drop in replacement for the ring hash load balancer.
|
|
2741
2743
|
# Maglev is not as stable as ring hash but has faster table lookup build times
|
|
2742
|
-
# and host selection times. For more information about Maglev,
|
|
2743
|
-
#
|
|
2744
|
+
# and host selection times. For more information about Maglev, see https://ai.
|
|
2745
|
+
# google/research/pubs/pub44824
|
|
2744
2746
|
# This field is applicable to either:
|
|
2745
2747
|
# - A regional backend service with the service_protocol set to HTTP, HTTPS, or
|
|
2746
2748
|
# HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED.
|
|
@@ -2842,8 +2844,8 @@ module Google
|
|
|
2842
2844
|
attr_accessor :session_affinity
|
|
2843
2845
|
|
|
2844
2846
|
# The backend service timeout has a different meaning depending on the type of
|
|
2845
|
-
# load balancer. For more information
|
|
2846
|
-
#
|
|
2847
|
+
# load balancer. For more information see, Backend service settings The default
|
|
2848
|
+
# is 30 seconds.
|
|
2847
2849
|
# Corresponds to the JSON property `timeoutSec`
|
|
2848
2850
|
# @return [Fixnum]
|
|
2849
2851
|
attr_accessor :timeout_sec
|
|
@@ -4555,6 +4557,24 @@ module Google
|
|
|
4555
4557
|
# @return [Fixnum]
|
|
4556
4558
|
attr_accessor :size_gb
|
|
4557
4559
|
|
|
4560
|
+
# The source disk used to create this disk. You can provide this as a partial or
|
|
4561
|
+
# full URL to the resource. For example, the following are valid values:
|
|
4562
|
+
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
|
|
4563
|
+
# - projects/project/zones/zone/disks/disk
|
|
4564
|
+
# - zones/zone/disks/disk
|
|
4565
|
+
# Corresponds to the JSON property `sourceDisk`
|
|
4566
|
+
# @return [String]
|
|
4567
|
+
attr_accessor :source_disk
|
|
4568
|
+
|
|
4569
|
+
# [Output Only] The unique ID of the disk used to create this disk. This value
|
|
4570
|
+
# identifies the exact disk that was used to create this persistent disk. For
|
|
4571
|
+
# example, if you created the persistent disk from a disk that was later deleted
|
|
4572
|
+
# and recreated under the same name, the source disk ID would identify the exact
|
|
4573
|
+
# version of the disk that was used.
|
|
4574
|
+
# Corresponds to the JSON property `sourceDiskId`
|
|
4575
|
+
# @return [String]
|
|
4576
|
+
attr_accessor :source_disk_id
|
|
4577
|
+
|
|
4558
4578
|
# The source image used to create this disk. If the source image is deleted,
|
|
4559
4579
|
# this field will not be set.
|
|
4560
4580
|
# To create a disk with one of the public operating system images, specify the
|
|
@@ -4666,6 +4686,8 @@ module Google
|
|
|
4666
4686
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
|
4667
4687
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
4668
4688
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
|
4689
|
+
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
|
4690
|
+
@source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
|
|
4669
4691
|
@source_image = args[:source_image] if args.key?(:source_image)
|
|
4670
4692
|
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
|
|
4671
4693
|
@source_image_id = args[:source_image_id] if args.key?(:source_image_id)
|
|
@@ -7788,6 +7810,12 @@ module Google
|
|
|
7788
7810
|
# @return [String]
|
|
7789
7811
|
attr_accessor :kind
|
|
7790
7812
|
|
|
7813
|
+
# Configuration of logging on a health check. If logging is enabled, logs will
|
|
7814
|
+
# be exported to Stackdriver.
|
|
7815
|
+
# Corresponds to the JSON property `logConfig`
|
|
7816
|
+
# @return [Google::Apis::ComputeV1::HealthCheckLogConfig]
|
|
7817
|
+
attr_accessor :log_config
|
|
7818
|
+
|
|
7791
7819
|
# Name of the resource. Provided by the client when the resource is created. The
|
|
7792
7820
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
|
7793
7821
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
|
@@ -7854,6 +7882,7 @@ module Google
|
|
|
7854
7882
|
@https_health_check = args[:https_health_check] if args.key?(:https_health_check)
|
|
7855
7883
|
@id = args[:id] if args.key?(:id)
|
|
7856
7884
|
@kind = args[:kind] if args.key?(:kind)
|
|
7885
|
+
@log_config = args[:log_config] if args.key?(:log_config)
|
|
7857
7886
|
@name = args[:name] if args.key?(:name)
|
|
7858
7887
|
@region = args[:region] if args.key?(:region)
|
|
7859
7888
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
@@ -7982,6 +8011,28 @@ module Google
|
|
|
7982
8011
|
end
|
|
7983
8012
|
end
|
|
7984
8013
|
|
|
8014
|
+
# Configuration of logging on a health check. If logging is enabled, logs will
|
|
8015
|
+
# be exported to Stackdriver.
|
|
8016
|
+
class HealthCheckLogConfig
|
|
8017
|
+
include Google::Apis::Core::Hashable
|
|
8018
|
+
|
|
8019
|
+
# Indicates whether or not to export logs. This is false by default, which means
|
|
8020
|
+
# no health check logging will be done.
|
|
8021
|
+
# Corresponds to the JSON property `enable`
|
|
8022
|
+
# @return [Boolean]
|
|
8023
|
+
attr_accessor :enable
|
|
8024
|
+
alias_method :enable?, :enable
|
|
8025
|
+
|
|
8026
|
+
def initialize(**args)
|
|
8027
|
+
update!(**args)
|
|
8028
|
+
end
|
|
8029
|
+
|
|
8030
|
+
# Update properties of this object
|
|
8031
|
+
def update!(**args)
|
|
8032
|
+
@enable = args[:enable] if args.key?(:enable)
|
|
8033
|
+
end
|
|
8034
|
+
end
|
|
8035
|
+
|
|
7985
8036
|
# A full or valid partial URL to a health check. For example, the following are
|
|
7986
8037
|
# valid URLs:
|
|
7987
8038
|
# - https://www.googleapis.com/compute/beta/projects/project-id/global/
|
|
@@ -12616,9 +12667,9 @@ module Google
|
|
|
12616
12667
|
class InstanceProperties
|
|
12617
12668
|
include Google::Apis::Core::Hashable
|
|
12618
12669
|
|
|
12619
|
-
# Enables instances created based on
|
|
12620
|
-
# IP addresses other than their own and receive packets with destination
|
|
12621
|
-
# addresses other than their own. If these instances will be used as an IP
|
|
12670
|
+
# Enables instances created based on these properties to send packets with
|
|
12671
|
+
# source IP addresses other than their own and receive packets with destination
|
|
12672
|
+
# IP addresses other than their own. If these instances will be used as an IP
|
|
12622
12673
|
# gateway or it will be set as the next-hop in a Route resource, specify true.
|
|
12623
12674
|
# If unsure, leave this set to false. See the Enable IP forwarding documentation
|
|
12624
12675
|
# for more information.
|
|
@@ -12627,30 +12678,30 @@ module Google
|
|
|
12627
12678
|
attr_accessor :can_ip_forward
|
|
12628
12679
|
alias_method :can_ip_forward?, :can_ip_forward
|
|
12629
12680
|
|
|
12630
|
-
# An optional text description for the instances that are created from
|
|
12631
|
-
#
|
|
12681
|
+
# An optional text description for the instances that are created from these
|
|
12682
|
+
# properties.
|
|
12632
12683
|
# Corresponds to the JSON property `description`
|
|
12633
12684
|
# @return [String]
|
|
12634
12685
|
attr_accessor :description
|
|
12635
12686
|
|
|
12636
12687
|
# An array of disks that are associated with the instances that are created from
|
|
12637
|
-
#
|
|
12688
|
+
# these properties.
|
|
12638
12689
|
# Corresponds to the JSON property `disks`
|
|
12639
12690
|
# @return [Array<Google::Apis::ComputeV1::AttachedDisk>]
|
|
12640
12691
|
attr_accessor :disks
|
|
12641
12692
|
|
|
12642
12693
|
# A list of guest accelerator cards' type and count to use for instances created
|
|
12643
|
-
# from
|
|
12694
|
+
# from these properties.
|
|
12644
12695
|
# Corresponds to the JSON property `guestAccelerators`
|
|
12645
12696
|
# @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
|
|
12646
12697
|
attr_accessor :guest_accelerators
|
|
12647
12698
|
|
|
12648
|
-
# Labels to apply to instances that are created from
|
|
12699
|
+
# Labels to apply to instances that are created from these properties.
|
|
12649
12700
|
# Corresponds to the JSON property `labels`
|
|
12650
12701
|
# @return [Hash<String,String>]
|
|
12651
12702
|
attr_accessor :labels
|
|
12652
12703
|
|
|
12653
|
-
# The machine type to use for instances that are created from
|
|
12704
|
+
# The machine type to use for instances that are created from these properties.
|
|
12654
12705
|
# Corresponds to the JSON property `machineType`
|
|
12655
12706
|
# @return [String]
|
|
12656
12707
|
attr_accessor :machine_type
|
|
@@ -12660,11 +12711,11 @@ module Google
|
|
|
12660
12711
|
# @return [Google::Apis::ComputeV1::Metadata]
|
|
12661
12712
|
attr_accessor :metadata
|
|
12662
12713
|
|
|
12663
|
-
# Minimum cpu/platform to be used by
|
|
12664
|
-
#
|
|
12665
|
-
#
|
|
12666
|
-
#
|
|
12667
|
-
#
|
|
12714
|
+
# Minimum cpu/platform to be used by instances. The instance may be scheduled on
|
|
12715
|
+
# the specified or newer cpu/platform. Applicable values are the friendly names
|
|
12716
|
+
# of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "
|
|
12717
|
+
# Intel Sandy Bridge". For more information, read Specifying a Minimum CPU
|
|
12718
|
+
# Platform.
|
|
12668
12719
|
# Corresponds to the JSON property `minCpuPlatform`
|
|
12669
12720
|
# @return [String]
|
|
12670
12721
|
attr_accessor :min_cpu_platform
|
|
@@ -12674,7 +12725,7 @@ module Google
|
|
|
12674
12725
|
# @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
|
|
12675
12726
|
attr_accessor :network_interfaces
|
|
12676
12727
|
|
|
12677
|
-
# The private IPv6 google access type for
|
|
12728
|
+
# The private IPv6 google access type for VMs. If not specified, use
|
|
12678
12729
|
# INHERIT_FROM_SUBNETWORK as default.
|
|
12679
12730
|
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
|
12680
12731
|
# @return [String]
|
|
@@ -12685,8 +12736,8 @@ module Google
|
|
|
12685
12736
|
# @return [Google::Apis::ComputeV1::ReservationAffinity]
|
|
12686
12737
|
attr_accessor :reservation_affinity
|
|
12687
12738
|
|
|
12688
|
-
# Resource policies (names, not ULRs) applied to instances created from
|
|
12689
|
-
#
|
|
12739
|
+
# Resource policies (names, not ULRs) applied to instances created from these
|
|
12740
|
+
# properties.
|
|
12690
12741
|
# Corresponds to the JSON property `resourcePolicies`
|
|
12691
12742
|
# @return [Array<String>]
|
|
12692
12743
|
attr_accessor :resource_policies
|
|
@@ -12697,8 +12748,9 @@ module Google
|
|
|
12697
12748
|
attr_accessor :scheduling
|
|
12698
12749
|
|
|
12699
12750
|
# A list of service accounts with specified scopes. Access tokens for these
|
|
12700
|
-
# service accounts are available to the instances that are created from
|
|
12701
|
-
#
|
|
12751
|
+
# service accounts are available to the instances that are created from these
|
|
12752
|
+
# properties. Use metadata queries to obtain the access tokens for these
|
|
12753
|
+
# instances.
|
|
12702
12754
|
# Corresponds to the JSON property `serviceAccounts`
|
|
12703
12755
|
# @return [Array<Google::Apis::ComputeV1::ServiceAccount>]
|
|
12704
12756
|
attr_accessor :service_accounts
|
|
@@ -16177,10 +16229,12 @@ module Google
|
|
|
16177
16229
|
# @return [String]
|
|
16178
16230
|
attr_accessor :i_pv4_range
|
|
16179
16231
|
|
|
16180
|
-
# When set to true, the VPC network is created in
|
|
16181
|
-
# the VPC network is created in
|
|
16232
|
+
# When set to true, the VPC network is created in auto mode. When set to false,
|
|
16233
|
+
# the VPC network is created in custom mode.
|
|
16182
16234
|
# An auto mode VPC network starts with one subnet per region. Each subnet has a
|
|
16183
16235
|
# predetermined range as described in Auto mode VPC network IP ranges.
|
|
16236
|
+
# For custom mode VPC networks, you can add subnets using the subnetworks insert
|
|
16237
|
+
# method.
|
|
16184
16238
|
# Corresponds to the JSON property `autoCreateSubnetworks`
|
|
16185
16239
|
# @return [Boolean]
|
|
16186
16240
|
attr_accessor :auto_create_subnetworks
|
|
@@ -17441,7 +17495,7 @@ module Google
|
|
|
17441
17495
|
# @return [String]
|
|
17442
17496
|
attr_accessor :name
|
|
17443
17497
|
|
|
17444
|
-
#
|
|
17498
|
+
# URL of the node template to create the node group from.
|
|
17445
17499
|
# Corresponds to the JSON property `nodeTemplate`
|
|
17446
17500
|
# @return [String]
|
|
17447
17501
|
attr_accessor :node_template
|
|
@@ -27159,7 +27213,8 @@ module Google
|
|
|
27159
27213
|
# The range of internal addresses that are owned by this subnetwork. Provide
|
|
27160
27214
|
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
|
|
27161
27215
|
# 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only
|
|
27162
|
-
# IPv4 is supported. This field
|
|
27216
|
+
# IPv4 is supported. This field is set at resource creation time. The range can
|
|
27217
|
+
# be expanded after creation using expandIpCidrRange.
|
|
27163
27218
|
# Corresponds to the JSON property `ipCidrRange`
|
|
27164
27219
|
# @return [String]
|
|
27165
27220
|
attr_accessor :ip_cidr_range
|
|
@@ -1006,6 +1006,12 @@ module Google
|
|
|
1006
1006
|
include Google::Apis::Core::JsonObjectSupport
|
|
1007
1007
|
end
|
|
1008
1008
|
|
|
1009
|
+
class HealthCheckLogConfig
|
|
1010
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1011
|
+
|
|
1012
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1013
|
+
end
|
|
1014
|
+
|
|
1009
1015
|
class HealthCheckReference
|
|
1010
1016
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1011
1017
|
|
|
@@ -5621,6 +5627,8 @@ module Google
|
|
|
5621
5627
|
collection :resource_policies, as: 'resourcePolicies'
|
|
5622
5628
|
property :self_link, as: 'selfLink'
|
|
5623
5629
|
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
|
5630
|
+
property :source_disk, as: 'sourceDisk'
|
|
5631
|
+
property :source_disk_id, as: 'sourceDiskId'
|
|
5624
5632
|
property :source_image, as: 'sourceImage'
|
|
5625
5633
|
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
|
5626
5634
|
|
|
@@ -6375,6 +6383,8 @@ module Google
|
|
|
6375
6383
|
|
|
6376
6384
|
property :id, :numeric_string => true, as: 'id'
|
|
6377
6385
|
property :kind, as: 'kind'
|
|
6386
|
+
property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::HealthCheckLogConfig, decorator: Google::Apis::ComputeV1::HealthCheckLogConfig::Representation
|
|
6387
|
+
|
|
6378
6388
|
property :name, as: 'name'
|
|
6379
6389
|
property :region, as: 'region'
|
|
6380
6390
|
property :self_link, as: 'selfLink'
|
|
@@ -6420,6 +6430,13 @@ module Google
|
|
|
6420
6430
|
end
|
|
6421
6431
|
end
|
|
6422
6432
|
|
|
6433
|
+
class HealthCheckLogConfig
|
|
6434
|
+
# @private
|
|
6435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6436
|
+
property :enable, as: 'enable'
|
|
6437
|
+
end
|
|
6438
|
+
end
|
|
6439
|
+
|
|
6423
6440
|
class HealthCheckReference
|
|
6424
6441
|
# @private
|
|
6425
6442
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1672,9 +1672,7 @@ module Google
|
|
|
1672
1672
|
end
|
|
1673
1673
|
|
|
1674
1674
|
# Creates a BackendService resource in the specified project using the data
|
|
1675
|
-
# included in the request.
|
|
1676
|
-
# in mind when creating a backend service. Read Understanding backend services
|
|
1677
|
-
# for more information.
|
|
1675
|
+
# included in the request. For more information, see Backend services overview.
|
|
1678
1676
|
# @param [String] project
|
|
1679
1677
|
# Project ID for this request.
|
|
1680
1678
|
# @param [Google::Apis::ComputeV1::BackendService] backend_service_object
|
|
@@ -1795,10 +1793,9 @@ module Google
|
|
|
1795
1793
|
end
|
|
1796
1794
|
|
|
1797
1795
|
# Patches the specified BackendService resource with the data included in the
|
|
1798
|
-
# request.
|
|
1799
|
-
#
|
|
1800
|
-
#
|
|
1801
|
-
# patch format and processing rules.
|
|
1796
|
+
# request. For more information, see Backend services overview. This method
|
|
1797
|
+
# supports PATCH semantics and uses the JSON merge patch format and processing
|
|
1798
|
+
# rules.
|
|
1802
1799
|
# @param [String] project
|
|
1803
1800
|
# Project ID for this request.
|
|
1804
1801
|
# @param [String] backend_service
|
|
@@ -1902,9 +1899,7 @@ module Google
|
|
|
1902
1899
|
end
|
|
1903
1900
|
|
|
1904
1901
|
# Updates the specified BackendService resource with the data included in the
|
|
1905
|
-
# request.
|
|
1906
|
-
# updating a backend service. Read Understanding backend services for more
|
|
1907
|
-
# information.
|
|
1902
|
+
# request. For more information, see Backend services overview.
|
|
1908
1903
|
# @param [String] project
|
|
1909
1904
|
# Project ID for this request.
|
|
1910
1905
|
# @param [String] backend_service
|
|
@@ -7032,7 +7027,7 @@ module Google
|
|
|
7032
7027
|
end
|
|
7033
7028
|
|
|
7034
7029
|
# Lists all errors thrown by actions on instances for a given managed instance
|
|
7035
|
-
# group.
|
|
7030
|
+
# group. The filter and orderBy query parameters are not supported.
|
|
7036
7031
|
# @param [String] project
|
|
7037
7032
|
# Project ID for this request.
|
|
7038
7033
|
# @param [String] zone
|
|
@@ -7116,7 +7111,8 @@ module Google
|
|
|
7116
7111
|
# list has a currentAction, which indicates the action that the managed instance
|
|
7117
7112
|
# group is performing on the instance. For example, if the group is still
|
|
7118
7113
|
# creating an instance, the currentAction is CREATING. If a previous action
|
|
7119
|
-
# failed, the list displays the errors for that failed action.
|
|
7114
|
+
# failed, the list displays the errors for that failed action. The orderBy query
|
|
7115
|
+
# parameter is not supported.
|
|
7120
7116
|
# @param [String] project
|
|
7121
7117
|
# Project ID for this request.
|
|
7122
7118
|
# @param [String] zone
|
|
@@ -7856,7 +7852,8 @@ module Google
|
|
|
7856
7852
|
execute_or_queue_command(command, &block)
|
|
7857
7853
|
end
|
|
7858
7854
|
|
|
7859
|
-
# Lists the instances in the specified instance group.
|
|
7855
|
+
# Lists the instances in the specified instance group. The orderBy query
|
|
7856
|
+
# parameter is not supported.
|
|
7860
7857
|
# @param [String] project
|
|
7861
7858
|
# Project ID for this request.
|
|
7862
7859
|
# @param [String] zone
|
|
@@ -15799,9 +15796,8 @@ module Google
|
|
|
15799
15796
|
end
|
|
15800
15797
|
|
|
15801
15798
|
# Creates a regional BackendService resource in the specified project using the
|
|
15802
|
-
# data included in the request.
|
|
15803
|
-
#
|
|
15804
|
-
# backend services for more information.
|
|
15799
|
+
# data included in the request. For more information, see Backend services
|
|
15800
|
+
# overview.
|
|
15805
15801
|
# @param [String] project
|
|
15806
15802
|
# Project ID for this request.
|
|
15807
15803
|
# @param [String] region
|
|
@@ -15928,10 +15924,9 @@ module Google
|
|
|
15928
15924
|
end
|
|
15929
15925
|
|
|
15930
15926
|
# Updates the specified regional BackendService resource with the data included
|
|
15931
|
-
# in the request.
|
|
15932
|
-
#
|
|
15933
|
-
#
|
|
15934
|
-
# patch format and processing rules.
|
|
15927
|
+
# in the request. For more information, see Understanding backend services This
|
|
15928
|
+
# method supports PATCH semantics and uses the JSON merge patch format and
|
|
15929
|
+
# processing rules.
|
|
15935
15930
|
# @param [String] project
|
|
15936
15931
|
# Project ID for this request.
|
|
15937
15932
|
# @param [String] region
|
|
@@ -15986,9 +15981,7 @@ module Google
|
|
|
15986
15981
|
end
|
|
15987
15982
|
|
|
15988
15983
|
# Updates the specified regional BackendService resource with the data included
|
|
15989
|
-
# in the request.
|
|
15990
|
-
# mind when updating a backend service. Read Understanding backend services for
|
|
15991
|
-
# more information.
|
|
15984
|
+
# in the request. For more information, see Backend services overview.
|
|
15992
15985
|
# @param [String] project
|
|
15993
15986
|
# Project ID for this request.
|
|
15994
15987
|
# @param [String] region
|
|
@@ -18077,7 +18070,7 @@ module Google
|
|
|
18077
18070
|
end
|
|
18078
18071
|
|
|
18079
18072
|
# Lists all errors thrown by actions on instances for a given regional managed
|
|
18080
|
-
# instance group.
|
|
18073
|
+
# instance group. The filter and orderBy query parameters are not supported.
|
|
18081
18074
|
# @param [String] project
|
|
18082
18075
|
# Project ID for this request.
|
|
18083
18076
|
# @param [String] region
|
|
@@ -18158,7 +18151,7 @@ module Google
|
|
|
18158
18151
|
|
|
18159
18152
|
# Lists the instances in the managed instance group and instances that are
|
|
18160
18153
|
# scheduled to be created. The list includes any current actions that the group
|
|
18161
|
-
# has scheduled for its instances.
|
|
18154
|
+
# has scheduled for its instances. The orderBy query parameter is not supported.
|
|
18162
18155
|
# @param [String] project
|
|
18163
18156
|
# Project ID for this request.
|
|
18164
18157
|
# @param [String] region
|
|
@@ -18645,7 +18638,8 @@ module Google
|
|
|
18645
18638
|
|
|
18646
18639
|
# Lists the instances in the specified instance group and displays information
|
|
18647
18640
|
# about the named ports. Depending on the specified options, this method can
|
|
18648
|
-
# list all instances or only the instances that are running.
|
|
18641
|
+
# list all instances or only the instances that are running. The orderBy query
|
|
18642
|
+
# parameter is not supported.
|
|
18649
18643
|
# @param [String] project
|
|
18650
18644
|
# Project ID for this request.
|
|
18651
18645
|
# @param [String] region
|
|
@@ -23933,9 +23927,7 @@ module Google
|
|
|
23933
23927
|
execute_or_queue_command(command, &block)
|
|
23934
23928
|
end
|
|
23935
23929
|
|
|
23936
|
-
# Retrieves an aggregated list of all usable subnetworks in the project.
|
|
23937
|
-
# list contains all of the subnetworks in the project and the subnetworks that
|
|
23938
|
-
# were shared by a Shared VPC host project.
|
|
23930
|
+
# Retrieves an aggregated list of all usable subnetworks in the project.
|
|
23939
23931
|
# @param [String] project
|
|
23940
23932
|
# Project ID for this request.
|
|
23941
23933
|
# @param [String] filter
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
|
27
27
|
module ContainerV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200619'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -496,7 +496,7 @@ module Google
|
|
|
496
496
|
attr_accessor :initial_cluster_version
|
|
497
497
|
|
|
498
498
|
# The number of nodes to create in this cluster. You must ensure that your
|
|
499
|
-
# Compute Engine
|
|
499
|
+
# Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
|
|
500
500
|
# is sufficient for this number of instances. You must also have available
|
|
501
501
|
# firewall and routes quota.
|
|
502
502
|
# For requests, this field should only be used in lieu of a
|
|
@@ -648,6 +648,15 @@ module Google
|
|
|
648
648
|
# @return [Google::Apis::ContainerV1::PrivateClusterConfig]
|
|
649
649
|
attr_accessor :private_cluster_config
|
|
650
650
|
|
|
651
|
+
# ReleaseChannel indicates which release channel a cluster is
|
|
652
|
+
# subscribed to. Release channels are arranged in order of risk.
|
|
653
|
+
# When a cluster is subscribed to a release channel, Google maintains
|
|
654
|
+
# both the master version and the node version. Node auto-upgrade
|
|
655
|
+
# defaults to true and cannot be disabled.
|
|
656
|
+
# Corresponds to the JSON property `releaseChannel`
|
|
657
|
+
# @return [Google::Apis::ContainerV1::ReleaseChannel]
|
|
658
|
+
attr_accessor :release_channel
|
|
659
|
+
|
|
651
660
|
# The resource labels for the cluster to use to annotate any related
|
|
652
661
|
# Google Compute Engine resources.
|
|
653
662
|
# Corresponds to the JSON property `resourceLabels`
|
|
@@ -767,6 +776,7 @@ module Google
|
|
|
767
776
|
@node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
|
|
768
777
|
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
|
769
778
|
@private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
|
|
779
|
+
@release_channel = args[:release_channel] if args.key?(:release_channel)
|
|
770
780
|
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
|
|
771
781
|
@resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
|
|
772
782
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
@@ -952,6 +962,15 @@ module Google
|
|
|
952
962
|
# @return [String]
|
|
953
963
|
attr_accessor :desired_node_version
|
|
954
964
|
|
|
965
|
+
# ReleaseChannel indicates which release channel a cluster is
|
|
966
|
+
# subscribed to. Release channels are arranged in order of risk.
|
|
967
|
+
# When a cluster is subscribed to a release channel, Google maintains
|
|
968
|
+
# both the master version and the node version. Node auto-upgrade
|
|
969
|
+
# defaults to true and cannot be disabled.
|
|
970
|
+
# Corresponds to the JSON property `desiredReleaseChannel`
|
|
971
|
+
# @return [Google::Apis::ContainerV1::ReleaseChannel]
|
|
972
|
+
attr_accessor :desired_release_channel
|
|
973
|
+
|
|
955
974
|
# Configuration for exporting cluster resource usages.
|
|
956
975
|
# Corresponds to the JSON property `desiredResourceUsageExportConfig`
|
|
957
976
|
# @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
|
|
@@ -995,6 +1014,7 @@ module Google
|
|
|
995
1014
|
@desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
|
|
996
1015
|
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
|
|
997
1016
|
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
|
|
1017
|
+
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
|
|
998
1018
|
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
|
|
999
1019
|
@desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
|
|
1000
1020
|
@desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
|
|
@@ -2105,6 +2125,17 @@ module Google
|
|
|
2105
2125
|
# @return [Array<Google::Apis::ContainerV1::AcceleratorConfig>]
|
|
2106
2126
|
attr_accessor :accelerators
|
|
2107
2127
|
|
|
2128
|
+
# The Customer Managed Encryption Key used to encrypt the boot disk attached
|
|
2129
|
+
# to each node in the node pool. This should be of the form
|
|
2130
|
+
# projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/
|
|
2131
|
+
# [KEY_NAME].
|
|
2132
|
+
# For more information about protecting resources with Cloud KMS Keys please
|
|
2133
|
+
# see:
|
|
2134
|
+
# https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
|
2135
|
+
# Corresponds to the JSON property `bootDiskKmsKey`
|
|
2136
|
+
# @return [String]
|
|
2137
|
+
attr_accessor :boot_disk_kms_key
|
|
2138
|
+
|
|
2108
2139
|
# Size of the disk attached to each node, specified in GB.
|
|
2109
2140
|
# The smallest allowed disk size is 10GB.
|
|
2110
2141
|
# If unspecified, the default disk size is 100GB.
|
|
@@ -2276,6 +2307,7 @@ module Google
|
|
|
2276
2307
|
# Update properties of this object
|
|
2277
2308
|
def update!(**args)
|
|
2278
2309
|
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
|
2310
|
+
@boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
|
|
2279
2311
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
|
2280
2312
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
|
2281
2313
|
@image_type = args[:image_type] if args.key?(:image_type)
|
|
@@ -2362,7 +2394,7 @@ module Google
|
|
|
2362
2394
|
attr_accessor :config
|
|
2363
2395
|
|
|
2364
2396
|
# The initial node count for the pool. You must ensure that your
|
|
2365
|
-
# Compute Engine
|
|
2397
|
+
# Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
|
|
2366
2398
|
# is sufficient for this number of instances. You must also have available
|
|
2367
2399
|
# firewall and routes quota.
|
|
2368
2400
|
# Corresponds to the JSON property `initialNodeCount`
|
|
@@ -2807,6 +2839,60 @@ module Google
|
|
|
2807
2839
|
end
|
|
2808
2840
|
end
|
|
2809
2841
|
|
|
2842
|
+
# ReleaseChannel indicates which release channel a cluster is
|
|
2843
|
+
# subscribed to. Release channels are arranged in order of risk.
|
|
2844
|
+
# When a cluster is subscribed to a release channel, Google maintains
|
|
2845
|
+
# both the master version and the node version. Node auto-upgrade
|
|
2846
|
+
# defaults to true and cannot be disabled.
|
|
2847
|
+
class ReleaseChannel
|
|
2848
|
+
include Google::Apis::Core::Hashable
|
|
2849
|
+
|
|
2850
|
+
# channel specifies which release channel the cluster is subscribed to.
|
|
2851
|
+
# Corresponds to the JSON property `channel`
|
|
2852
|
+
# @return [String]
|
|
2853
|
+
attr_accessor :channel
|
|
2854
|
+
|
|
2855
|
+
def initialize(**args)
|
|
2856
|
+
update!(**args)
|
|
2857
|
+
end
|
|
2858
|
+
|
|
2859
|
+
# Update properties of this object
|
|
2860
|
+
def update!(**args)
|
|
2861
|
+
@channel = args[:channel] if args.key?(:channel)
|
|
2862
|
+
end
|
|
2863
|
+
end
|
|
2864
|
+
|
|
2865
|
+
# ReleaseChannelConfig exposes configuration for a release channel.
|
|
2866
|
+
class ReleaseChannelConfig
|
|
2867
|
+
include Google::Apis::Core::Hashable
|
|
2868
|
+
|
|
2869
|
+
# The release channel this configuration applies to.
|
|
2870
|
+
# Corresponds to the JSON property `channel`
|
|
2871
|
+
# @return [String]
|
|
2872
|
+
attr_accessor :channel
|
|
2873
|
+
|
|
2874
|
+
# The default version for newly created clusters on the channel.
|
|
2875
|
+
# Corresponds to the JSON property `defaultVersion`
|
|
2876
|
+
# @return [String]
|
|
2877
|
+
attr_accessor :default_version
|
|
2878
|
+
|
|
2879
|
+
# List of valid versions for the channel.
|
|
2880
|
+
# Corresponds to the JSON property `validVersions`
|
|
2881
|
+
# @return [Array<String>]
|
|
2882
|
+
attr_accessor :valid_versions
|
|
2883
|
+
|
|
2884
|
+
def initialize(**args)
|
|
2885
|
+
update!(**args)
|
|
2886
|
+
end
|
|
2887
|
+
|
|
2888
|
+
# Update properties of this object
|
|
2889
|
+
def update!(**args)
|
|
2890
|
+
@channel = args[:channel] if args.key?(:channel)
|
|
2891
|
+
@default_version = args[:default_version] if args.key?(:default_version)
|
|
2892
|
+
@valid_versions = args[:valid_versions] if args.key?(:valid_versions)
|
|
2893
|
+
end
|
|
2894
|
+
end
|
|
2895
|
+
|
|
2810
2896
|
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
|
2811
2897
|
# reserving-zonal-resources)
|
|
2812
2898
|
# is the configuration of desired reservation which instances could take
|
|
@@ -2985,6 +3071,11 @@ module Google
|
|
|
2985
3071
|
class ServerConfig
|
|
2986
3072
|
include Google::Apis::Core::Hashable
|
|
2987
3073
|
|
|
3074
|
+
# List of release channel configurations.
|
|
3075
|
+
# Corresponds to the JSON property `channels`
|
|
3076
|
+
# @return [Array<Google::Apis::ContainerV1::ReleaseChannelConfig>]
|
|
3077
|
+
attr_accessor :channels
|
|
3078
|
+
|
|
2988
3079
|
# Version of Kubernetes the service deploys by default.
|
|
2989
3080
|
# Corresponds to the JSON property `defaultClusterVersion`
|
|
2990
3081
|
# @return [String]
|
|
@@ -3016,6 +3107,7 @@ module Google
|
|
|
3016
3107
|
|
|
3017
3108
|
# Update properties of this object
|
|
3018
3109
|
def update!(**args)
|
|
3110
|
+
@channels = args[:channels] if args.key?(:channels)
|
|
3019
3111
|
@default_cluster_version = args[:default_cluster_version] if args.key?(:default_cluster_version)
|
|
3020
3112
|
@default_image_type = args[:default_image_type] if args.key?(:default_image_type)
|
|
3021
3113
|
@valid_image_types = args[:valid_image_types] if args.key?(:valid_image_types)
|