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
|
@@ -8288,6 +8288,9 @@ module Google
|
|
|
8288
8288
|
property :kind, as: 'kind'
|
|
8289
8289
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
|
8290
8290
|
hash :labels, as: 'labels'
|
|
8291
|
+
property :last_start_timestamp, as: 'lastStartTimestamp'
|
|
8292
|
+
property :last_stop_timestamp, as: 'lastStopTimestamp'
|
|
8293
|
+
property :last_suspended_timestamp, as: 'lastSuspendedTimestamp'
|
|
8291
8294
|
property :machine_type, as: 'machineType'
|
|
8292
8295
|
property :metadata, as: 'metadata', class: Google::Apis::ComputeAlpha::Metadata, decorator: Google::Apis::ComputeAlpha::Metadata::Representation
|
|
8293
8296
|
|
|
@@ -1962,9 +1962,7 @@ module Google
|
|
|
1962
1962
|
end
|
|
1963
1963
|
|
|
1964
1964
|
# Creates a BackendService resource in the specified project using the data
|
|
1965
|
-
# included in the request.
|
|
1966
|
-
# in mind when creating a backend service. Read Understanding backend services
|
|
1967
|
-
# for more information.
|
|
1965
|
+
# included in the request. For more information, see Backend services overview.
|
|
1968
1966
|
# @param [String] project
|
|
1969
1967
|
# Project ID for this request.
|
|
1970
1968
|
# @param [Google::Apis::ComputeAlpha::BackendService] backend_service_object
|
|
@@ -2089,10 +2087,9 @@ module Google
|
|
|
2089
2087
|
end
|
|
2090
2088
|
|
|
2091
2089
|
# Patches the specified BackendService resource with the data included in the
|
|
2092
|
-
# request.
|
|
2093
|
-
#
|
|
2094
|
-
#
|
|
2095
|
-
# patch format and processing rules.
|
|
2090
|
+
# request. For more information, see Backend services overview. This method
|
|
2091
|
+
# supports PATCH semantics and uses the JSON merge patch format and processing
|
|
2092
|
+
# rules.
|
|
2096
2093
|
# @param [String] project
|
|
2097
2094
|
# Project ID for this request.
|
|
2098
2095
|
# @param [String] backend_service
|
|
@@ -2235,9 +2232,7 @@ module Google
|
|
|
2235
2232
|
end
|
|
2236
2233
|
|
|
2237
2234
|
# Updates the specified BackendService resource with the data included in the
|
|
2238
|
-
# request.
|
|
2239
|
-
# updating a backend service. Read Understanding backend services for more
|
|
2240
|
-
# information.
|
|
2235
|
+
# request. For more information, see Backend services overview.
|
|
2241
2236
|
# @param [String] project
|
|
2242
2237
|
# Project ID for this request.
|
|
2243
2238
|
# @param [String] backend_service
|
|
@@ -8406,7 +8401,7 @@ module Google
|
|
|
8406
8401
|
end
|
|
8407
8402
|
|
|
8408
8403
|
# Lists all errors thrown by actions on instances for a given managed instance
|
|
8409
|
-
# group.
|
|
8404
|
+
# group. The filter and orderBy query parameters are not supported.
|
|
8410
8405
|
# @param [String] project
|
|
8411
8406
|
# Project ID for this request.
|
|
8412
8407
|
# @param [String] zone
|
|
@@ -8494,7 +8489,8 @@ module Google
|
|
|
8494
8489
|
# list has a currentAction, which indicates the action that the managed instance
|
|
8495
8490
|
# group is performing on the instance. For example, if the group is still
|
|
8496
8491
|
# creating an instance, the currentAction is CREATING. If a previous action
|
|
8497
|
-
# failed, the list displays the errors for that failed action.
|
|
8492
|
+
# failed, the list displays the errors for that failed action. The orderBy query
|
|
8493
|
+
# parameter is not supported.
|
|
8498
8494
|
# @param [String] project
|
|
8499
8495
|
# Project ID for this request.
|
|
8500
8496
|
# @param [String] zone
|
|
@@ -8576,6 +8572,7 @@ module Google
|
|
|
8576
8572
|
end
|
|
8577
8573
|
|
|
8578
8574
|
# Lists all of the per-instance configs defined for the managed instance group.
|
|
8575
|
+
# The orderBy query parameter is not supported.
|
|
8579
8576
|
# @param [String] project
|
|
8580
8577
|
# Project ID for this request.
|
|
8581
8578
|
# @param [String] zone
|
|
@@ -9662,7 +9659,8 @@ module Google
|
|
|
9662
9659
|
execute_or_queue_command(command, &block)
|
|
9663
9660
|
end
|
|
9664
9661
|
|
|
9665
|
-
# Lists the instances in the specified instance group.
|
|
9662
|
+
# Lists the instances in the specified instance group. The orderBy query
|
|
9663
|
+
# parameter is not supported.
|
|
9666
9664
|
# @param [String] project
|
|
9667
9665
|
# Project ID for this request.
|
|
9668
9666
|
# @param [String] zone
|
|
@@ -21436,9 +21434,8 @@ module Google
|
|
|
21436
21434
|
end
|
|
21437
21435
|
|
|
21438
21436
|
# Creates a regional BackendService resource in the specified project using the
|
|
21439
|
-
# data included in the request.
|
|
21440
|
-
#
|
|
21441
|
-
# backend services for more information.
|
|
21437
|
+
# data included in the request. For more information, see Backend services
|
|
21438
|
+
# overview.
|
|
21442
21439
|
# @param [String] project
|
|
21443
21440
|
# Project ID for this request.
|
|
21444
21441
|
# @param [String] region
|
|
@@ -21569,10 +21566,9 @@ module Google
|
|
|
21569
21566
|
end
|
|
21570
21567
|
|
|
21571
21568
|
# Updates the specified regional BackendService resource with the data included
|
|
21572
|
-
# in the request.
|
|
21573
|
-
#
|
|
21574
|
-
#
|
|
21575
|
-
# patch format and processing rules.
|
|
21569
|
+
# in the request. For more information, see Understanding backend services This
|
|
21570
|
+
# method supports PATCH semantics and uses the JSON merge patch format and
|
|
21571
|
+
# processing rules.
|
|
21576
21572
|
# @param [String] project
|
|
21577
21573
|
# Project ID for this request.
|
|
21578
21574
|
# @param [String] region
|
|
@@ -21669,9 +21665,7 @@ module Google
|
|
|
21669
21665
|
end
|
|
21670
21666
|
|
|
21671
21667
|
# Updates the specified regional BackendService resource with the data included
|
|
21672
|
-
# in the request.
|
|
21673
|
-
# mind when updating a backend service. Read Understanding backend services for
|
|
21674
|
-
# more information.
|
|
21668
|
+
# in the request. For more information, see Backend services overview.
|
|
21675
21669
|
# @param [String] project
|
|
21676
21670
|
# Project ID for this request.
|
|
21677
21671
|
# @param [String] region
|
|
@@ -24426,7 +24420,7 @@ module Google
|
|
|
24426
24420
|
end
|
|
24427
24421
|
|
|
24428
24422
|
# Lists all errors thrown by actions on instances for a given regional managed
|
|
24429
|
-
# instance group.
|
|
24423
|
+
# instance group. The filter and orderBy query parameters are not supported.
|
|
24430
24424
|
# @param [String] project
|
|
24431
24425
|
# Project ID for this request.
|
|
24432
24426
|
# @param [String] region
|
|
@@ -24511,7 +24505,7 @@ module Google
|
|
|
24511
24505
|
|
|
24512
24506
|
# Lists the instances in the managed instance group and instances that are
|
|
24513
24507
|
# scheduled to be created. The list includes any current actions that the group
|
|
24514
|
-
# has scheduled for its instances.
|
|
24508
|
+
# has scheduled for its instances. The orderBy query parameter is not supported.
|
|
24515
24509
|
# @param [String] project
|
|
24516
24510
|
# Project ID for this request.
|
|
24517
24511
|
# @param [String] region
|
|
@@ -24593,6 +24587,7 @@ module Google
|
|
|
24593
24587
|
end
|
|
24594
24588
|
|
|
24595
24589
|
# Lists all of the per-instance configs defined for the managed instance group.
|
|
24590
|
+
# The orderBy query parameter is not supported.
|
|
24596
24591
|
# @param [String] project
|
|
24597
24592
|
# Project ID for this request.
|
|
24598
24593
|
# @param [String] region
|
|
@@ -25354,7 +25349,8 @@ module Google
|
|
|
25354
25349
|
|
|
25355
25350
|
# Lists the instances in the specified instance group and displays information
|
|
25356
25351
|
# about the named ports. Depending on the specified options, this method can
|
|
25357
|
-
# list all instances or only the instances that are running.
|
|
25352
|
+
# list all instances or only the instances that are running. The orderBy query
|
|
25353
|
+
# parameter is not supported.
|
|
25358
25354
|
# @param [String] project
|
|
25359
25355
|
# Project ID for this request.
|
|
25360
25356
|
# @param [String] region
|
|
@@ -31932,9 +31928,7 @@ module Google
|
|
|
31932
31928
|
execute_or_queue_command(command, &block)
|
|
31933
31929
|
end
|
|
31934
31930
|
|
|
31935
|
-
# Retrieves an aggregated list of all usable subnetworks in the project.
|
|
31936
|
-
# list contains all of the subnetworks in the project and the subnetworks that
|
|
31937
|
-
# were shared by a Shared VPC host project.
|
|
31931
|
+
# Retrieves an aggregated list of all usable subnetworks in the project.
|
|
31938
31932
|
# @param [String] project
|
|
31939
31933
|
# Project ID for this request.
|
|
31940
31934
|
# @param [String] filter
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
|
26
26
|
module ComputeBeta
|
|
27
27
|
VERSION = 'Beta'
|
|
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'
|
|
@@ -2381,7 +2381,9 @@ module Google
|
|
|
2381
2381
|
# UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group
|
|
2382
2382
|
# will serve up to 100% of its configured capacity (depending on balancingMode).
|
|
2383
2383
|
# A setting of 0 means the group is completely drained, offering 0% of its
|
|
2384
|
-
# available
|
|
2384
|
+
# available capacity. Valid range is 0.0 and [0.1,1.0]. You cannot configure a
|
|
2385
|
+
# setting larger than 0 and smaller than 0.1. You cannot configure a setting of
|
|
2386
|
+
# 0 when there is only one backend attached to the backend service.
|
|
2385
2387
|
# This cannot be used for internal load balancing.
|
|
2386
2388
|
# Corresponds to the JSON property `capacityScaler`
|
|
2387
2389
|
# @return [Float]
|
|
@@ -2761,7 +2763,7 @@ module Google
|
|
|
2761
2763
|
# scoped.
|
|
2762
2764
|
# * [Global](/compute/docs/reference/rest/`$api_version`/backendServices) * [
|
|
2763
2765
|
# Regional](/compute/docs/reference/rest/`$api_version`/regionBackendServices)
|
|
2764
|
-
# For more information,
|
|
2766
|
+
# For more information, see Backend Services.
|
|
2765
2767
|
# (== resource_for `$api_version`.backendService ==)
|
|
2766
2768
|
class BackendService
|
|
2767
2769
|
include Google::Apis::Core::Hashable
|
|
@@ -2897,8 +2899,8 @@ module Google
|
|
|
2897
2899
|
# redirected to the load balancer.
|
|
2898
2900
|
# - MAGLEV: used as a drop in replacement for the ring hash load balancer.
|
|
2899
2901
|
# Maglev is not as stable as ring hash but has faster table lookup build times
|
|
2900
|
-
# and host selection times. For more information about Maglev,
|
|
2901
|
-
#
|
|
2902
|
+
# and host selection times. For more information about Maglev, see https://ai.
|
|
2903
|
+
# google/research/pubs/pub44824
|
|
2902
2904
|
# This field is applicable to either:
|
|
2903
2905
|
# - A regional backend service with the service_protocol set to HTTP, HTTPS, or
|
|
2904
2906
|
# HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED.
|
|
@@ -3005,8 +3007,8 @@ module Google
|
|
|
3005
3007
|
attr_accessor :session_affinity
|
|
3006
3008
|
|
|
3007
3009
|
# The backend service timeout has a different meaning depending on the type of
|
|
3008
|
-
# load balancer. For more information
|
|
3009
|
-
#
|
|
3010
|
+
# load balancer. For more information see, Backend service settings The default
|
|
3011
|
+
# is 30 seconds.
|
|
3010
3012
|
# Corresponds to the JSON property `timeoutSec`
|
|
3011
3013
|
# @return [Fixnum]
|
|
3012
3014
|
attr_accessor :timeout_sec
|
|
@@ -5038,6 +5040,24 @@ module Google
|
|
|
5038
5040
|
# @return [Fixnum]
|
|
5039
5041
|
attr_accessor :size_gb
|
|
5040
5042
|
|
|
5043
|
+
# The source disk used to create this disk. You can provide this as a partial or
|
|
5044
|
+
# full URL to the resource. For example, the following are valid values:
|
|
5045
|
+
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
|
|
5046
|
+
# - projects/project/zones/zone/disks/disk
|
|
5047
|
+
# - zones/zone/disks/disk
|
|
5048
|
+
# Corresponds to the JSON property `sourceDisk`
|
|
5049
|
+
# @return [String]
|
|
5050
|
+
attr_accessor :source_disk
|
|
5051
|
+
|
|
5052
|
+
# [Output Only] The unique ID of the disk used to create this disk. This value
|
|
5053
|
+
# identifies the exact disk that was used to create this persistent disk. For
|
|
5054
|
+
# example, if you created the persistent disk from a disk that was later deleted
|
|
5055
|
+
# and recreated under the same name, the source disk ID would identify the exact
|
|
5056
|
+
# version of the disk that was used.
|
|
5057
|
+
# Corresponds to the JSON property `sourceDiskId`
|
|
5058
|
+
# @return [String]
|
|
5059
|
+
attr_accessor :source_disk_id
|
|
5060
|
+
|
|
5041
5061
|
# The source image used to create this disk. If the source image is deleted,
|
|
5042
5062
|
# this field will not be set.
|
|
5043
5063
|
# To create a disk with one of the public operating system images, specify the
|
|
@@ -5157,6 +5177,8 @@ module Google
|
|
|
5157
5177
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
|
5158
5178
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
5159
5179
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
|
5180
|
+
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
|
5181
|
+
@source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
|
|
5160
5182
|
@source_image = args[:source_image] if args.key?(:source_image)
|
|
5161
5183
|
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
|
|
5162
5184
|
@source_image_id = args[:source_image_id] if args.key?(:source_image_id)
|
|
@@ -13607,9 +13629,9 @@ module Google
|
|
|
13607
13629
|
class InstanceProperties
|
|
13608
13630
|
include Google::Apis::Core::Hashable
|
|
13609
13631
|
|
|
13610
|
-
# Enables instances created based on
|
|
13611
|
-
# IP addresses other than their own and receive packets with destination
|
|
13612
|
-
# addresses other than their own. If these instances will be used as an IP
|
|
13632
|
+
# Enables instances created based on these properties to send packets with
|
|
13633
|
+
# source IP addresses other than their own and receive packets with destination
|
|
13634
|
+
# IP addresses other than their own. If these instances will be used as an IP
|
|
13613
13635
|
# gateway or it will be set as the next-hop in a Route resource, specify true.
|
|
13614
13636
|
# If unsure, leave this set to false. See the Enable IP forwarding documentation
|
|
13615
13637
|
# for more information.
|
|
@@ -13623,14 +13645,14 @@ module Google
|
|
|
13623
13645
|
# @return [Google::Apis::ComputeBeta::ConfidentialInstanceConfig]
|
|
13624
13646
|
attr_accessor :confidential_instance_config
|
|
13625
13647
|
|
|
13626
|
-
# An optional text description for the instances that are created from
|
|
13627
|
-
#
|
|
13648
|
+
# An optional text description for the instances that are created from these
|
|
13649
|
+
# properties.
|
|
13628
13650
|
# Corresponds to the JSON property `description`
|
|
13629
13651
|
# @return [String]
|
|
13630
13652
|
attr_accessor :description
|
|
13631
13653
|
|
|
13632
13654
|
# An array of disks that are associated with the instances that are created from
|
|
13633
|
-
#
|
|
13655
|
+
# these properties.
|
|
13634
13656
|
# Corresponds to the JSON property `disks`
|
|
13635
13657
|
# @return [Array<Google::Apis::ComputeBeta::AttachedDisk>]
|
|
13636
13658
|
attr_accessor :disks
|
|
@@ -13641,17 +13663,17 @@ module Google
|
|
|
13641
13663
|
attr_accessor :display_device
|
|
13642
13664
|
|
|
13643
13665
|
# A list of guest accelerator cards' type and count to use for instances created
|
|
13644
|
-
# from
|
|
13666
|
+
# from these properties.
|
|
13645
13667
|
# Corresponds to the JSON property `guestAccelerators`
|
|
13646
13668
|
# @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
|
|
13647
13669
|
attr_accessor :guest_accelerators
|
|
13648
13670
|
|
|
13649
|
-
# Labels to apply to instances that are created from
|
|
13671
|
+
# Labels to apply to instances that are created from these properties.
|
|
13650
13672
|
# Corresponds to the JSON property `labels`
|
|
13651
13673
|
# @return [Hash<String,String>]
|
|
13652
13674
|
attr_accessor :labels
|
|
13653
13675
|
|
|
13654
|
-
# The machine type to use for instances that are created from
|
|
13676
|
+
# The machine type to use for instances that are created from these properties.
|
|
13655
13677
|
# Corresponds to the JSON property `machineType`
|
|
13656
13678
|
# @return [String]
|
|
13657
13679
|
attr_accessor :machine_type
|
|
@@ -13661,11 +13683,11 @@ module Google
|
|
|
13661
13683
|
# @return [Google::Apis::ComputeBeta::Metadata]
|
|
13662
13684
|
attr_accessor :metadata
|
|
13663
13685
|
|
|
13664
|
-
# Minimum cpu/platform to be used by
|
|
13665
|
-
#
|
|
13666
|
-
#
|
|
13667
|
-
#
|
|
13668
|
-
#
|
|
13686
|
+
# Minimum cpu/platform to be used by instances. The instance may be scheduled on
|
|
13687
|
+
# the specified or newer cpu/platform. Applicable values are the friendly names
|
|
13688
|
+
# of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "
|
|
13689
|
+
# Intel Sandy Bridge". For more information, read Specifying a Minimum CPU
|
|
13690
|
+
# Platform.
|
|
13669
13691
|
# Corresponds to the JSON property `minCpuPlatform`
|
|
13670
13692
|
# @return [String]
|
|
13671
13693
|
attr_accessor :min_cpu_platform
|
|
@@ -13675,7 +13697,7 @@ module Google
|
|
|
13675
13697
|
# @return [Array<Google::Apis::ComputeBeta::NetworkInterface>]
|
|
13676
13698
|
attr_accessor :network_interfaces
|
|
13677
13699
|
|
|
13678
|
-
# The private IPv6 google access type for
|
|
13700
|
+
# The private IPv6 google access type for VMs. If not specified, use
|
|
13679
13701
|
# INHERIT_FROM_SUBNETWORK as default.
|
|
13680
13702
|
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
|
13681
13703
|
# @return [String]
|
|
@@ -13686,8 +13708,8 @@ module Google
|
|
|
13686
13708
|
# @return [Google::Apis::ComputeBeta::ReservationAffinity]
|
|
13687
13709
|
attr_accessor :reservation_affinity
|
|
13688
13710
|
|
|
13689
|
-
# Resource policies (names, not ULRs) applied to instances created from
|
|
13690
|
-
#
|
|
13711
|
+
# Resource policies (names, not ULRs) applied to instances created from these
|
|
13712
|
+
# properties.
|
|
13691
13713
|
# Corresponds to the JSON property `resourcePolicies`
|
|
13692
13714
|
# @return [Array<String>]
|
|
13693
13715
|
attr_accessor :resource_policies
|
|
@@ -13698,8 +13720,9 @@ module Google
|
|
|
13698
13720
|
attr_accessor :scheduling
|
|
13699
13721
|
|
|
13700
13722
|
# A list of service accounts with specified scopes. Access tokens for these
|
|
13701
|
-
# service accounts are available to the instances that are created from
|
|
13702
|
-
#
|
|
13723
|
+
# service accounts are available to the instances that are created from these
|
|
13724
|
+
# properties. Use metadata queries to obtain the access tokens for these
|
|
13725
|
+
# instances.
|
|
13703
13726
|
# Corresponds to the JSON property `serviceAccounts`
|
|
13704
13727
|
# @return [Array<Google::Apis::ComputeBeta::ServiceAccount>]
|
|
13705
13728
|
attr_accessor :service_accounts
|
|
@@ -17531,10 +17554,12 @@ module Google
|
|
|
17531
17554
|
# @return [String]
|
|
17532
17555
|
attr_accessor :i_pv4_range
|
|
17533
17556
|
|
|
17534
|
-
# When set to true, the VPC network is created in
|
|
17535
|
-
# the VPC network is created in
|
|
17557
|
+
# When set to true, the VPC network is created in auto mode. When set to false,
|
|
17558
|
+
# the VPC network is created in custom mode.
|
|
17536
17559
|
# An auto mode VPC network starts with one subnet per region. Each subnet has a
|
|
17537
17560
|
# predetermined range as described in Auto mode VPC network IP ranges.
|
|
17561
|
+
# For custom mode VPC networks, you can add subnets using the subnetworks insert
|
|
17562
|
+
# method.
|
|
17538
17563
|
# Corresponds to the JSON property `autoCreateSubnetworks`
|
|
17539
17564
|
# @return [Boolean]
|
|
17540
17565
|
attr_accessor :auto_create_subnetworks
|
|
@@ -19085,7 +19110,7 @@ module Google
|
|
|
19085
19110
|
# @return [String]
|
|
19086
19111
|
attr_accessor :name
|
|
19087
19112
|
|
|
19088
|
-
#
|
|
19113
|
+
# URL of the node template to create the node group from.
|
|
19089
19114
|
# Corresponds to the JSON property `nodeTemplate`
|
|
19090
19115
|
# @return [String]
|
|
19091
19116
|
attr_accessor :node_template
|
|
@@ -29999,7 +30024,8 @@ module Google
|
|
|
29999
30024
|
# The range of internal addresses that are owned by this subnetwork. Provide
|
|
30000
30025
|
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
|
|
30001
30026
|
# 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only
|
|
30002
|
-
# IPv4 is supported. This field
|
|
30027
|
+
# IPv4 is supported. This field is set at resource creation time. The range can
|
|
30028
|
+
# be expanded after creation using expandIpCidrRange.
|
|
30003
30029
|
# Corresponds to the JSON property `ipCidrRange`
|
|
30004
30030
|
# @return [String]
|
|
30005
30031
|
attr_accessor :ip_cidr_range
|
|
@@ -6078,6 +6078,8 @@ module Google
|
|
|
6078
6078
|
collection :resource_policies, as: 'resourcePolicies'
|
|
6079
6079
|
property :self_link, as: 'selfLink'
|
|
6080
6080
|
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
|
6081
|
+
property :source_disk, as: 'sourceDisk'
|
|
6082
|
+
property :source_disk_id, as: 'sourceDiskId'
|
|
6081
6083
|
property :source_image, as: 'sourceImage'
|
|
6082
6084
|
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
|
6083
6085
|
|
|
@@ -1811,9 +1811,7 @@ module Google
|
|
|
1811
1811
|
end
|
|
1812
1812
|
|
|
1813
1813
|
# Creates a BackendService resource in the specified project using the data
|
|
1814
|
-
# included in the request.
|
|
1815
|
-
# in mind when creating a backend service. Read Understanding backend services
|
|
1816
|
-
# for more information.
|
|
1814
|
+
# included in the request. For more information, see Backend services overview.
|
|
1817
1815
|
# @param [String] project
|
|
1818
1816
|
# Project ID for this request.
|
|
1819
1817
|
# @param [Google::Apis::ComputeBeta::BackendService] backend_service_object
|
|
@@ -1934,10 +1932,9 @@ module Google
|
|
|
1934
1932
|
end
|
|
1935
1933
|
|
|
1936
1934
|
# Patches the specified BackendService resource with the data included in the
|
|
1937
|
-
# request.
|
|
1938
|
-
#
|
|
1939
|
-
#
|
|
1940
|
-
# patch format and processing rules.
|
|
1935
|
+
# request. For more information, see Backend services overview. This method
|
|
1936
|
+
# supports PATCH semantics and uses the JSON merge patch format and processing
|
|
1937
|
+
# rules.
|
|
1941
1938
|
# @param [String] project
|
|
1942
1939
|
# Project ID for this request.
|
|
1943
1940
|
# @param [String] backend_service
|
|
@@ -2080,9 +2077,7 @@ module Google
|
|
|
2080
2077
|
end
|
|
2081
2078
|
|
|
2082
2079
|
# Updates the specified BackendService resource with the data included in the
|
|
2083
|
-
# request.
|
|
2084
|
-
# updating a backend service. Read Understanding backend services for more
|
|
2085
|
-
# information.
|
|
2080
|
+
# request. For more information, see Backend services overview.
|
|
2086
2081
|
# @param [String] project
|
|
2087
2082
|
# Project ID for this request.
|
|
2088
2083
|
# @param [String] backend_service
|
|
@@ -7113,6 +7108,58 @@ module Google
|
|
|
7113
7108
|
execute_or_queue_command(command, &block)
|
|
7114
7109
|
end
|
|
7115
7110
|
|
|
7111
|
+
# Patches the specified image with the data included in the request. Only the
|
|
7112
|
+
# following fields can be modified: family, description, deprecation status.
|
|
7113
|
+
# @param [String] project
|
|
7114
|
+
# Project ID for this request.
|
|
7115
|
+
# @param [String] image
|
|
7116
|
+
# Name of the image resource to patch.
|
|
7117
|
+
# @param [Google::Apis::ComputeBeta::Image] image_object
|
|
7118
|
+
# @param [String] request_id
|
|
7119
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
7120
|
+
# that if you must retry your request, the server will know to ignore the
|
|
7121
|
+
# request if it has already been completed.
|
|
7122
|
+
# For example, consider a situation where you make an initial request and the
|
|
7123
|
+
# request times out. If you make the request again with the same request ID, the
|
|
7124
|
+
# server can check if original operation with the same request ID was received,
|
|
7125
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
7126
|
+
# accidentally creating duplicate commitments.
|
|
7127
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
7128
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
7129
|
+
# @param [String] fields
|
|
7130
|
+
# Selector specifying which fields to include in a partial response.
|
|
7131
|
+
# @param [String] quota_user
|
|
7132
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
7133
|
+
# characters.
|
|
7134
|
+
# @param [String] user_ip
|
|
7135
|
+
# Deprecated. Please use quotaUser instead.
|
|
7136
|
+
# @param [Google::Apis::RequestOptions] options
|
|
7137
|
+
# Request-specific options
|
|
7138
|
+
#
|
|
7139
|
+
# @yield [result, err] Result & error if block supplied
|
|
7140
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
7141
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
7142
|
+
#
|
|
7143
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
7144
|
+
#
|
|
7145
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
7146
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7147
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7148
|
+
def patch_image(project, image, image_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7149
|
+
command = make_simple_command(:patch, '{project}/global/images/{image}', options)
|
|
7150
|
+
command.request_representation = Google::Apis::ComputeBeta::Image::Representation
|
|
7151
|
+
command.request_object = image_object
|
|
7152
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
7153
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
7154
|
+
command.params['project'] = project unless project.nil?
|
|
7155
|
+
command.params['image'] = image unless image.nil?
|
|
7156
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
7157
|
+
command.query['fields'] = fields unless fields.nil?
|
|
7158
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
7159
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
7160
|
+
execute_or_queue_command(command, &block)
|
|
7161
|
+
end
|
|
7162
|
+
|
|
7116
7163
|
# Sets the access control policy on the specified resource. Replaces any
|
|
7117
7164
|
# existing policy.
|
|
7118
7165
|
# @param [String] project
|
|
@@ -7813,7 +7860,7 @@ module Google
|
|
|
7813
7860
|
end
|
|
7814
7861
|
|
|
7815
7862
|
# Lists all errors thrown by actions on instances for a given managed instance
|
|
7816
|
-
# group.
|
|
7863
|
+
# group. The filter and orderBy query parameters are not supported.
|
|
7817
7864
|
# @param [String] project
|
|
7818
7865
|
# Project ID for this request.
|
|
7819
7866
|
# @param [String] zone
|
|
@@ -7897,7 +7944,8 @@ module Google
|
|
|
7897
7944
|
# list has a currentAction, which indicates the action that the managed instance
|
|
7898
7945
|
# group is performing on the instance. For example, if the group is still
|
|
7899
7946
|
# creating an instance, the currentAction is CREATING. If a previous action
|
|
7900
|
-
# failed, the list displays the errors for that failed action.
|
|
7947
|
+
# failed, the list displays the errors for that failed action. The orderBy query
|
|
7948
|
+
# parameter is not supported.
|
|
7901
7949
|
# @param [String] project
|
|
7902
7950
|
# Project ID for this request.
|
|
7903
7951
|
# @param [String] zone
|
|
@@ -7975,6 +8023,7 @@ module Google
|
|
|
7975
8023
|
end
|
|
7976
8024
|
|
|
7977
8025
|
# Lists all of the per-instance configs defined for the managed instance group.
|
|
8026
|
+
# The orderBy query parameter is not supported.
|
|
7978
8027
|
# @param [String] project
|
|
7979
8028
|
# Project ID for this request.
|
|
7980
8029
|
# @param [String] zone
|
|
@@ -9049,7 +9098,8 @@ module Google
|
|
|
9049
9098
|
execute_or_queue_command(command, &block)
|
|
9050
9099
|
end
|
|
9051
9100
|
|
|
9052
|
-
# Lists the instances in the specified instance group.
|
|
9101
|
+
# Lists the instances in the specified instance group. The orderBy query
|
|
9102
|
+
# parameter is not supported.
|
|
9053
9103
|
# @param [String] project
|
|
9054
9104
|
# Project ID for this request.
|
|
9055
9105
|
# @param [String] zone
|
|
@@ -18641,9 +18691,8 @@ module Google
|
|
|
18641
18691
|
end
|
|
18642
18692
|
|
|
18643
18693
|
# Creates a regional BackendService resource in the specified project using the
|
|
18644
|
-
# data included in the request.
|
|
18645
|
-
#
|
|
18646
|
-
# backend services for more information.
|
|
18694
|
+
# data included in the request. For more information, see Backend services
|
|
18695
|
+
# overview.
|
|
18647
18696
|
# @param [String] project
|
|
18648
18697
|
# Project ID for this request.
|
|
18649
18698
|
# @param [String] region
|
|
@@ -18770,10 +18819,9 @@ module Google
|
|
|
18770
18819
|
end
|
|
18771
18820
|
|
|
18772
18821
|
# Updates the specified regional BackendService resource with the data included
|
|
18773
|
-
# in the request.
|
|
18774
|
-
#
|
|
18775
|
-
#
|
|
18776
|
-
# patch format and processing rules.
|
|
18822
|
+
# in the request. For more information, see Understanding backend services This
|
|
18823
|
+
# method supports PATCH semantics and uses the JSON merge patch format and
|
|
18824
|
+
# processing rules.
|
|
18777
18825
|
# @param [String] project
|
|
18778
18826
|
# Project ID for this request.
|
|
18779
18827
|
# @param [String] region
|
|
@@ -18870,9 +18918,7 @@ module Google
|
|
|
18870
18918
|
end
|
|
18871
18919
|
|
|
18872
18920
|
# Updates the specified regional BackendService resource with the data included
|
|
18873
|
-
# in the request.
|
|
18874
|
-
# mind when updating a backend service. Read Understanding backend services for
|
|
18875
|
-
# more information.
|
|
18921
|
+
# in the request. For more information, see Backend services overview.
|
|
18876
18922
|
# @param [String] project
|
|
18877
18923
|
# Project ID for this request.
|
|
18878
18924
|
# @param [String] region
|
|
@@ -21060,7 +21106,7 @@ module Google
|
|
|
21060
21106
|
end
|
|
21061
21107
|
|
|
21062
21108
|
# Lists all errors thrown by actions on instances for a given regional managed
|
|
21063
|
-
# instance group.
|
|
21109
|
+
# instance group. The filter and orderBy query parameters are not supported.
|
|
21064
21110
|
# @param [String] project
|
|
21065
21111
|
# Project ID for this request.
|
|
21066
21112
|
# @param [String] region
|
|
@@ -21141,7 +21187,7 @@ module Google
|
|
|
21141
21187
|
|
|
21142
21188
|
# Lists the instances in the managed instance group and instances that are
|
|
21143
21189
|
# scheduled to be created. The list includes any current actions that the group
|
|
21144
|
-
# has scheduled for its instances.
|
|
21190
|
+
# has scheduled for its instances. The orderBy query parameter is not supported.
|
|
21145
21191
|
# @param [String] project
|
|
21146
21192
|
# Project ID for this request.
|
|
21147
21193
|
# @param [String] region
|
|
@@ -21219,6 +21265,7 @@ module Google
|
|
|
21219
21265
|
end
|
|
21220
21266
|
|
|
21221
21267
|
# Lists all of the per-instance configs defined for the managed instance group.
|
|
21268
|
+
# The orderBy query parameter is not supported.
|
|
21222
21269
|
# @param [String] project
|
|
21223
21270
|
# Project ID for this request.
|
|
21224
21271
|
# @param [String] region
|
|
@@ -21972,7 +22019,8 @@ module Google
|
|
|
21972
22019
|
|
|
21973
22020
|
# Lists the instances in the specified instance group and displays information
|
|
21974
22021
|
# about the named ports. Depending on the specified options, this method can
|
|
21975
|
-
# list all instances or only the instances that are running.
|
|
22022
|
+
# list all instances or only the instances that are running. The orderBy query
|
|
22023
|
+
# parameter is not supported.
|
|
21976
22024
|
# @param [String] project
|
|
21977
22025
|
# Project ID for this request.
|
|
21978
22026
|
# @param [String] region
|
|
@@ -27836,9 +27884,7 @@ module Google
|
|
|
27836
27884
|
execute_or_queue_command(command, &block)
|
|
27837
27885
|
end
|
|
27838
27886
|
|
|
27839
|
-
# Retrieves an aggregated list of all usable subnetworks in the project.
|
|
27840
|
-
# list contains all of the subnetworks in the project and the subnetworks that
|
|
27841
|
-
# were shared by a Shared VPC host project.
|
|
27887
|
+
# Retrieves an aggregated list of all usable subnetworks in the project.
|
|
27842
27888
|
# @param [String] project
|
|
27843
27889
|
# Project ID for this request.
|
|
27844
27890
|
# @param [String] filter
|