google-api-client 0.11.1 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/api_names.yaml +42335 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +28 -28
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +757 -757
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +162 -162
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +48 -48
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +75 -7
- data/generated/google/apis/admin_directory_v1/representations.rb +20 -0
- data/generated/google/apis/admin_directory_v1/service.rb +61 -61
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +403 -403
- data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +36 -11
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +6 -5
- data/generated/google/apis/appengine_v1/classes.rb +1429 -1421
- data/generated/google/apis/appengine_v1/representations.rb +331 -331
- data/generated/google/apis/appengine_v1/service.rb +173 -168
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +624 -618
- data/generated/google/apis/cloudbuild_v1/representations.rb +126 -125
- data/generated/google/apis/cloudbuild_v1/service.rb +87 -87
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +267 -267
- data/generated/google/apis/clouddebugger_v2/representations.rb +83 -83
- data/generated/google/apis/clouddebugger_v2/service.rb +137 -137
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +131 -131
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +28 -28
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +17 -17
- data/generated/google/apis/cloudfunctions_v1.rb +1 -4
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -47
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +0 -30
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +625 -625
- data/generated/google/apis/cloudkms_v1/representations.rb +132 -132
- data/generated/google/apis/cloudkms_v1/service.rb +272 -272
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +242 -242
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +43 -43
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +505 -505
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +172 -172
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +39 -39
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +310 -310
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +96 -69
- data/generated/google/apis/cloudtrace_v1/representations.rb +16 -16
- data/generated/google/apis/cloudtrace_v1/service.rb +42 -15
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +194 -25
- data/generated/google/apis/compute_beta/representations.rb +42 -0
- data/generated/google/apis/compute_beta/service.rb +196 -100
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +69 -18
- data/generated/google/apis/compute_v1/representations.rb +16 -0
- data/generated/google/apis/compute_v1/service.rb +84 -26
- data/generated/google/apis/container_v1.rb +3 -3
- data/generated/google/apis/container_v1/classes.rb +794 -586
- data/generated/google/apis/container_v1/representations.rb +202 -118
- data/generated/google/apis/container_v1/service.rb +396 -167
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +4 -4
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +487 -484
- data/generated/google/apis/dataproc_v1/representations.rb +83 -83
- data/generated/google/apis/dataproc_v1/service.rb +299 -297
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +703 -703
- data/generated/google/apis/datastore_v1/representations.rb +148 -148
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -5
- data/generated/google/apis/dfareporting_v2_6.rb +1 -1
- data/generated/google/apis/dfareporting_v2_6/classes.rb +66 -53
- data/generated/google/apis/dfareporting_v2_6/service.rb +30 -30
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +69 -55
- data/generated/google/apis/dfareporting_v2_7/service.rb +38 -37
- data/generated/google/apis/dfareporting_v2_8.rb +40 -0
- data/generated/google/apis/dfareporting_v2_8/classes.rb +12046 -0
- data/generated/google/apis/dfareporting_v2_8/representations.rb +4310 -0
- data/generated/google/apis/dfareporting_v2_8/service.rb +9135 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- 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 +15 -0
- data/generated/google/apis/drive_v2/representations.rb +2 -0
- data/generated/google/apis/drive_v2/service.rb +2 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +16 -0
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +2 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +2 -3
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +159 -159
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +55 -55
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -6
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +73 -73
- data/generated/google/apis/firebaserules_v1/representations.rb +25 -25
- data/generated/google/apis/firebaserules_v1/service.rb +118 -118
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +920 -920
- data/generated/google/apis/genomics_v1/representations.rb +202 -202
- data/generated/google/apis/genomics_v1/service.rb +1092 -1092
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +455 -435
- data/generated/google/apis/iam_v1/representations.rb +96 -93
- data/generated/google/apis/iam_v1/service.rb +157 -157
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +12 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +9 -9
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +455 -455
- data/generated/google/apis/language_v1/representations.rb +102 -102
- data/generated/google/apis/language_v1/service.rb +42 -42
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +216 -215
- data/generated/google/apis/language_v1beta1/representations.rb +75 -75
- data/generated/google/apis/language_v1beta1/service.rb +45 -45
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +908 -895
- data/generated/google/apis/logging_v2/representations.rb +121 -120
- data/generated/google/apis/logging_v2/service.rb +489 -489
- data/generated/google/apis/logging_v2beta1.rb +4 -4
- data/generated/google/apis/logging_v2beta1/classes.rb +928 -915
- data/generated/google/apis/logging_v2beta1/representations.rb +121 -120
- data/generated/google/apis/logging_v2beta1/service.rb +249 -249
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +294 -294
- data/generated/google/apis/manufacturers_v1/representations.rb +84 -84
- data/generated/google/apis/manufacturers_v1/service.rb +8 -8
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1186 -1183
- data/generated/google/apis/ml_v1/representations.rb +177 -177
- data/generated/google/apis/ml_v1/service.rb +244 -244
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +866 -866
- data/generated/google/apis/monitoring_v3/representations.rb +163 -163
- data/generated/google/apis/monitoring_v3/service.rb +355 -316
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1499 -1499
- data/generated/google/apis/partners_v2/representations.rb +368 -368
- data/generated/google/apis/partners_v2/service.rb +512 -512
- data/generated/google/apis/people_v1.rb +10 -10
- data/generated/google/apis/people_v1/classes.rb +544 -423
- data/generated/google/apis/people_v1/representations.rb +127 -109
- data/generated/google/apis/people_v1/service.rb +8 -8
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +200 -200
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +41 -41
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +80 -80
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +377 -377
- data/generated/google/apis/pubsub_v1/representations.rb +82 -82
- data/generated/google/apis/pubsub_v1/service.rb +93 -93
- data/generated/google/apis/runtimeconfig_v1.rb +6 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +57 -55
- data/generated/google/apis/script_v1.rb +14 -14
- data/generated/google/apis/script_v1/classes.rb +113 -58
- data/generated/google/apis/script_v1/representations.rb +43 -14
- data/generated/google/apis/script_v1/service.rb +6 -6
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +67 -67
- data/generated/google/apis/searchconsole_v1/representations.rb +29 -29
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1125 -1125
- data/generated/google/apis/servicecontrol_v1/representations.rb +213 -213
- data/generated/google/apis/servicecontrol_v1/service.rb +92 -92
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +3364 -3622
- data/generated/google/apis/servicemanagement_v1/representations.rb +546 -530
- data/generated/google/apis/servicemanagement_v1/service.rb +262 -152
- data/generated/google/apis/serviceuser_v1.rb +4 -4
- data/generated/google/apis/serviceuser_v1/classes.rb +2616 -2874
- data/generated/google/apis/serviceuser_v1/representations.rb +294 -278
- data/generated/google/apis/serviceuser_v1/service.rb +19 -19
- data/generated/google/apis/sheets_v4.rb +4 -1
- data/generated/google/apis/sheets_v4/classes.rb +4315 -4313
- data/generated/google/apis/sheets_v4/representations.rb +858 -858
- data/generated/google/apis/sheets_v4/service.rb +115 -115
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2890 -2890
- data/generated/google/apis/slides_v1/representations.rb +638 -638
- data/generated/google/apis/slides_v1/service.rb +36 -36
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +283 -283
- data/generated/google/apis/sourcerepo_v1/representations.rb +67 -67
- data/generated/google/apis/sourcerepo_v1/service.rb +88 -88
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2258 -2233
- data/generated/google/apis/spanner_v1/representations.rb +325 -325
- data/generated/google/apis/spanner_v1/service.rb +466 -466
- data/generated/google/apis/speech_v1beta1.rb +2 -2
- data/generated/google/apis/speech_v1beta1/classes.rb +97 -97
- data/generated/google/apis/speech_v1beta1/representations.rb +29 -29
- data/generated/google/apis/speech_v1beta1/service.rb +49 -49
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +786 -786
- data/generated/google/apis/storagetransfer_v1/representations.rb +133 -133
- data/generated/google/apis/storagetransfer_v1/service.rb +30 -30
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/surveys_v2/classes.rb +0 -12
- data/generated/google/apis/surveys_v2/representations.rb +0 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1301 -1302
- data/generated/google/apis/vision_v1/representations.rb +183 -183
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +10 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +64 -64
- data/generated/google/apis/youtubereporting_v1/representations.rb +12 -12
- data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -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 = '20170416'
|
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'
|
@@ -33,7 +33,9 @@ module Google
|
|
33
33
|
# @return [String]
|
34
34
|
attr_accessor :kind
|
35
35
|
|
36
|
-
#
|
36
|
+
# The name of this access configuration. The default and recommended name is
|
37
|
+
# External NAT but you can use any arbitrary string you would like. For example,
|
38
|
+
# My external IP or Network Access.
|
37
39
|
# Corresponds to the JSON property `name`
|
38
40
|
# @return [String]
|
39
41
|
attr_accessor :name
|
@@ -69,8 +71,7 @@ module Google
|
|
69
71
|
class Address
|
70
72
|
include Google::Apis::Core::Hashable
|
71
73
|
|
72
|
-
# The static external IP address represented by this resource.
|
73
|
-
# supported.
|
74
|
+
# The static external IP address represented by this resource.
|
74
75
|
# Corresponds to the JSON property `address`
|
75
76
|
# @return [String]
|
76
77
|
attr_accessor :address
|
@@ -2654,7 +2655,7 @@ module Google
|
|
2654
2655
|
|
2655
2656
|
# A ForwardingRule resource. A ForwardingRule resource specifies which pool of
|
2656
2657
|
# target virtual machines to forward a packet to if it matches the given [
|
2657
|
-
# IPAddress, IPProtocol,
|
2658
|
+
# IPAddress, IPProtocol, ports] tuple.
|
2658
2659
|
class ForwardingRule
|
2659
2660
|
include Google::Apis::Core::Hashable
|
2660
2661
|
|
@@ -2736,19 +2737,27 @@ module Google
|
|
2736
2737
|
# @return [String]
|
2737
2738
|
attr_accessor :network
|
2738
2739
|
|
2740
|
+
# This field is used along with the target field for TargetHttpProxy,
|
2741
|
+
# TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool,
|
2742
|
+
# TargetInstance.
|
2739
2743
|
# Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed
|
2740
2744
|
# to ports in the specified range will be forwarded to target. Forwarding rules
|
2741
2745
|
# with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
|
2742
|
-
#
|
2746
|
+
# Some types of forwarding target have constraints on the acceptable ports:
|
2747
|
+
# - TargetHttpProxy: 80, 8080
|
2748
|
+
# - TargetHttpsProxy: 443
|
2749
|
+
# - TargetSslProxy: 443
|
2750
|
+
# - TargetVpnGateway: 500, 4500
|
2751
|
+
# -
|
2743
2752
|
# Corresponds to the JSON property `portRange`
|
2744
2753
|
# @return [String]
|
2745
2754
|
attr_accessor :port_range
|
2746
2755
|
|
2747
|
-
# This field is
|
2756
|
+
# This field is used along with the backend_service field for internal load
|
2757
|
+
# balancing.
|
2748
2758
|
# When the load balancing scheme is INTERNAL, a single port or a comma separated
|
2749
2759
|
# list of ports can be configured. Only packets addressed to these ports will be
|
2750
|
-
# forwarded to the backends configured with this forwarding rule.
|
2751
|
-
# list is not provided then all ports are allowed to pass through.
|
2760
|
+
# forwarded to the backends configured with this forwarding rule.
|
2752
2761
|
# You may specify a maximum of up to 5 ports.
|
2753
2762
|
# Corresponds to the JSON property `ports`
|
2754
2763
|
# @return [Array<String>]
|
@@ -2779,8 +2788,7 @@ module Google
|
|
2779
2788
|
# forwarding rules, this target must live in the same region as the forwarding
|
2780
2789
|
# rule. For global forwarding rules, this target must be a global load balancing
|
2781
2790
|
# resource. The forwarded traffic must be of a type appropriate to the target
|
2782
|
-
# object.
|
2783
|
-
# TargetHttpsProxy requires HTTPS traffic.
|
2791
|
+
# object.
|
2784
2792
|
# This field is not used for internal load balancing.
|
2785
2793
|
# Corresponds to the JSON property `target`
|
2786
2794
|
# @return [String]
|
@@ -4641,7 +4649,8 @@ module Google
|
|
4641
4649
|
class InstanceGroupManagersAbandonInstancesRequest
|
4642
4650
|
include Google::Apis::Core::Hashable
|
4643
4651
|
|
4644
|
-
# The
|
4652
|
+
# The URLs of one or more instances to abandon. This can be a full URL or a
|
4653
|
+
# partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
|
4645
4654
|
# Corresponds to the JSON property `instances`
|
4646
4655
|
# @return [Array<String>]
|
4647
4656
|
attr_accessor :instances
|
@@ -4660,8 +4669,8 @@ module Google
|
|
4660
4669
|
class InstanceGroupManagersDeleteInstancesRequest
|
4661
4670
|
include Google::Apis::Core::Hashable
|
4662
4671
|
|
4663
|
-
# The
|
4664
|
-
#
|
4672
|
+
# The URLs of one or more instances to delete. This can be a full URL or a
|
4673
|
+
# partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
|
4665
4674
|
# Corresponds to the JSON property `instances`
|
4666
4675
|
# @return [Array<String>]
|
4667
4676
|
attr_accessor :instances
|
@@ -4699,7 +4708,8 @@ module Google
|
|
4699
4708
|
class InstanceGroupManagersRecreateInstancesRequest
|
4700
4709
|
include Google::Apis::Core::Hashable
|
4701
4710
|
|
4702
|
-
# The
|
4711
|
+
# The URLs of one or more instances to recreate. This can be a full URL or a
|
4712
|
+
# partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
|
4703
4713
|
# Corresponds to the JSON property `instances`
|
4704
4714
|
# @return [Array<String>]
|
4705
4715
|
attr_accessor :instances
|
@@ -7265,7 +7275,8 @@ module Google
|
|
7265
7275
|
class RegionInstanceGroupManagersAbandonInstancesRequest
|
7266
7276
|
include Google::Apis::Core::Hashable
|
7267
7277
|
|
7268
|
-
# The
|
7278
|
+
# The URLs of one or more instances to abandon. This can be a full URL or a
|
7279
|
+
# partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
|
7269
7280
|
# Corresponds to the JSON property `instances`
|
7270
7281
|
# @return [Array<String>]
|
7271
7282
|
attr_accessor :instances
|
@@ -7284,7 +7295,8 @@ module Google
|
|
7284
7295
|
class RegionInstanceGroupManagersDeleteInstancesRequest
|
7285
7296
|
include Google::Apis::Core::Hashable
|
7286
7297
|
|
7287
|
-
# The
|
7298
|
+
# The URLs of one or more instances to delete. This can be a full URL or a
|
7299
|
+
# partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
|
7288
7300
|
# Corresponds to the JSON property `instances`
|
7289
7301
|
# @return [Array<String>]
|
7290
7302
|
attr_accessor :instances
|
@@ -7322,7 +7334,8 @@ module Google
|
|
7322
7334
|
class RegionInstanceGroupManagersRecreateRequest
|
7323
7335
|
include Google::Apis::Core::Hashable
|
7324
7336
|
|
7325
|
-
# The
|
7337
|
+
# The URLs of one or more instances to recreate. This can be a full URL or a
|
7338
|
+
# partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
|
7326
7339
|
# Corresponds to the JSON property `instances`
|
7327
7340
|
# @return [Array<String>]
|
7328
7341
|
attr_accessor :instances
|
@@ -8116,6 +8129,11 @@ module Google
|
|
8116
8129
|
# @return [Array<Google::Apis::ComputeV1::Route>]
|
8117
8130
|
attr_accessor :best_routes
|
8118
8131
|
|
8132
|
+
# Best routes learned by this router.
|
8133
|
+
# Corresponds to the JSON property `bestRoutesForRouter`
|
8134
|
+
# @return [Array<Google::Apis::ComputeV1::Route>]
|
8135
|
+
attr_accessor :best_routes_for_router
|
8136
|
+
|
8119
8137
|
#
|
8120
8138
|
# Corresponds to the JSON property `bgpPeerStatus`
|
8121
8139
|
# @return [Array<Google::Apis::ComputeV1::RouterStatusBgpPeerStatus>]
|
@@ -8133,6 +8151,7 @@ module Google
|
|
8133
8151
|
# Update properties of this object
|
8134
8152
|
def update!(**args)
|
8135
8153
|
@best_routes = args[:best_routes] if args.key?(:best_routes)
|
8154
|
+
@best_routes_for_router = args[:best_routes_for_router] if args.key?(:best_routes_for_router)
|
8136
8155
|
@bgp_peer_status = args[:bgp_peer_status] if args.key?(:bgp_peer_status)
|
8137
8156
|
@network = args[:network] if args.key?(:network)
|
8138
8157
|
end
|
@@ -8406,6 +8425,8 @@ module Google
|
|
8406
8425
|
# terminated by Compute Engine (not terminated by a user). You can only set the
|
8407
8426
|
# automatic restart option for standard instances. Preemptible instances cannot
|
8408
8427
|
# be automatically restarted.
|
8428
|
+
# By default, this is set to true so an instance is automatically restarted if
|
8429
|
+
# it is terminated by Compute Engine.
|
8409
8430
|
# Corresponds to the JSON property `automaticRestart`
|
8410
8431
|
# @return [Boolean]
|
8411
8432
|
attr_accessor :automatic_restart
|
@@ -8419,7 +8440,9 @@ module Google
|
|
8419
8440
|
# @return [String]
|
8420
8441
|
attr_accessor :on_host_maintenance
|
8421
8442
|
|
8422
|
-
#
|
8443
|
+
# Defines whether the instance is preemptible. This can only be set during
|
8444
|
+
# instance creation, it cannot be set or changed after the instance has been
|
8445
|
+
# created.
|
8423
8446
|
# Corresponds to the JSON property `preemptible`
|
8424
8447
|
# @return [Boolean]
|
8425
8448
|
attr_accessor :preemptible
|
@@ -8858,6 +8881,13 @@ module Google
|
|
8858
8881
|
# @return [String]
|
8859
8882
|
attr_accessor :network
|
8860
8883
|
|
8884
|
+
# Whether the VMs in this subnet can access Google services without assigned
|
8885
|
+
# external IP addresses.
|
8886
|
+
# Corresponds to the JSON property `privateIpGoogleAccess`
|
8887
|
+
# @return [Boolean]
|
8888
|
+
attr_accessor :private_ip_google_access
|
8889
|
+
alias_method :private_ip_google_access?, :private_ip_google_access
|
8890
|
+
|
8861
8891
|
# URL of the region where the Subnetwork resides.
|
8862
8892
|
# Corresponds to the JSON property `region`
|
8863
8893
|
# @return [String]
|
@@ -8882,6 +8912,7 @@ module Google
|
|
8882
8912
|
@kind = args[:kind] if args.key?(:kind)
|
8883
8913
|
@name = args[:name] if args.key?(:name)
|
8884
8914
|
@network = args[:network] if args.key?(:network)
|
8915
|
+
@private_ip_google_access = args[:private_ip_google_access] if args.key?(:private_ip_google_access)
|
8885
8916
|
@region = args[:region] if args.key?(:region)
|
8886
8917
|
@self_link = args[:self_link] if args.key?(:self_link)
|
8887
8918
|
end
|
@@ -9096,6 +9127,26 @@ module Google
|
|
9096
9127
|
end
|
9097
9128
|
end
|
9098
9129
|
|
9130
|
+
#
|
9131
|
+
class SubnetworksSetPrivateIpGoogleAccessRequest
|
9132
|
+
include Google::Apis::Core::Hashable
|
9133
|
+
|
9134
|
+
#
|
9135
|
+
# Corresponds to the JSON property `privateIpGoogleAccess`
|
9136
|
+
# @return [Boolean]
|
9137
|
+
attr_accessor :private_ip_google_access
|
9138
|
+
alias_method :private_ip_google_access?, :private_ip_google_access
|
9139
|
+
|
9140
|
+
def initialize(**args)
|
9141
|
+
update!(**args)
|
9142
|
+
end
|
9143
|
+
|
9144
|
+
# Update properties of this object
|
9145
|
+
def update!(**args)
|
9146
|
+
@private_ip_google_access = args[:private_ip_google_access] if args.key?(:private_ip_google_access)
|
9147
|
+
end
|
9148
|
+
end
|
9149
|
+
|
9099
9150
|
#
|
9100
9151
|
class TcpHealthCheck
|
9101
9152
|
include Google::Apis::Core::Hashable
|
@@ -1174,6 +1174,12 @@ module Google
|
|
1174
1174
|
include Google::Apis::Core::JsonObjectSupport
|
1175
1175
|
end
|
1176
1176
|
|
1177
|
+
class SubnetworksSetPrivateIpGoogleAccessRequest
|
1178
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1179
|
+
|
1180
|
+
include Google::Apis::Core::JsonObjectSupport
|
1181
|
+
end
|
1182
|
+
|
1177
1183
|
class TcpHealthCheck
|
1178
1184
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1179
1185
|
|
@@ -3451,6 +3457,8 @@ module Google
|
|
3451
3457
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3452
3458
|
collection :best_routes, as: 'bestRoutes', class: Google::Apis::ComputeV1::Route, decorator: Google::Apis::ComputeV1::Route::Representation
|
3453
3459
|
|
3460
|
+
collection :best_routes_for_router, as: 'bestRoutesForRouter', class: Google::Apis::ComputeV1::Route, decorator: Google::Apis::ComputeV1::Route::Representation
|
3461
|
+
|
3454
3462
|
collection :bgp_peer_status, as: 'bgpPeerStatus', class: Google::Apis::ComputeV1::RouterStatusBgpPeerStatus, decorator: Google::Apis::ComputeV1::RouterStatusBgpPeerStatus::Representation
|
3455
3463
|
|
3456
3464
|
property :network, as: 'network'
|
@@ -3630,6 +3638,7 @@ module Google
|
|
3630
3638
|
property :kind, as: 'kind'
|
3631
3639
|
property :name, as: 'name'
|
3632
3640
|
property :network, as: 'network'
|
3641
|
+
property :private_ip_google_access, as: 'privateIpGoogleAccess'
|
3633
3642
|
property :region, as: 'region'
|
3634
3643
|
property :self_link, as: 'selfLink'
|
3635
3644
|
end
|
@@ -3694,6 +3703,13 @@ module Google
|
|
3694
3703
|
end
|
3695
3704
|
end
|
3696
3705
|
|
3706
|
+
class SubnetworksSetPrivateIpGoogleAccessRequest
|
3707
|
+
# @private
|
3708
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3709
|
+
property :private_ip_google_access, as: 'privateIpGoogleAccess'
|
3710
|
+
end
|
3711
|
+
end
|
3712
|
+
|
3697
3713
|
class TcpHealthCheck
|
3698
3714
|
# @private
|
3699
3715
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -622,9 +622,9 @@ module Google
|
|
622
622
|
# Project ID for this request.
|
623
623
|
# @param [String] zone
|
624
624
|
# Name of the zone for this request.
|
625
|
-
# @param [String] autoscaler
|
626
|
-
# Name of the autoscaler to update.
|
627
625
|
# @param [Google::Apis::ComputeV1::Autoscaler] autoscaler_object
|
626
|
+
# @param [String] autoscaler
|
627
|
+
# Name of the autoscaler to patch.
|
628
628
|
# @param [String] fields
|
629
629
|
# Selector specifying which fields to include in a partial response.
|
630
630
|
# @param [String] quota_user
|
@@ -646,7 +646,7 @@ module Google
|
|
646
646
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
647
647
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
648
648
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
649
|
-
def patch_autoscaler(project, zone,
|
649
|
+
def patch_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
650
650
|
command = make_simple_command(:patch, '{project}/zones/{zone}/autoscalers', options)
|
651
651
|
command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
652
652
|
command.request_object = autoscaler_object
|
@@ -905,7 +905,7 @@ module Google
|
|
905
905
|
# @param [String] project
|
906
906
|
# Project ID for this request.
|
907
907
|
# @param [String] backend_bucket
|
908
|
-
# Name of the BackendBucket resource to
|
908
|
+
# Name of the BackendBucket resource to patch.
|
909
909
|
# @param [Google::Apis::ComputeV1::BackendBucket] backend_bucket_object
|
910
910
|
# @param [String] fields
|
911
911
|
# Selector specifying which fields to include in a partial response.
|
@@ -1298,14 +1298,14 @@ module Google
|
|
1298
1298
|
execute_or_queue_command(command, &block)
|
1299
1299
|
end
|
1300
1300
|
|
1301
|
-
#
|
1301
|
+
# Patches the specified BackendService resource with the data included in the
|
1302
1302
|
# request. There are several restrictions and guidelines to keep in mind when
|
1303
1303
|
# updating a backend service. Read Restrictions and Guidelines for more
|
1304
1304
|
# information. This method supports patch semantics.
|
1305
1305
|
# @param [String] project
|
1306
1306
|
# Project ID for this request.
|
1307
1307
|
# @param [String] backend_service
|
1308
|
-
# Name of the BackendService resource to
|
1308
|
+
# Name of the BackendService resource to patch.
|
1309
1309
|
# @param [Google::Apis::ComputeV1::BackendService] backend_service_object
|
1310
1310
|
# @param [String] fields
|
1311
1311
|
# Selector specifying which fields to include in a partial response.
|
@@ -2157,7 +2157,9 @@ module Google
|
|
2157
2157
|
end
|
2158
2158
|
|
2159
2159
|
# Updates the specified firewall rule with the data included in the request.
|
2160
|
-
#
|
2160
|
+
# Using PUT method, can only update following fields of firewall rule: allowed,
|
2161
|
+
# description, sourceRanges, sourceTags, targetTags. This method supports patch
|
2162
|
+
# semantics.
|
2161
2163
|
# @param [String] project
|
2162
2164
|
# Project ID for this request.
|
2163
2165
|
# @param [String] firewall
|
@@ -2199,6 +2201,8 @@ module Google
|
|
2199
2201
|
end
|
2200
2202
|
|
2201
2203
|
# Updates the specified firewall rule with the data included in the request.
|
2204
|
+
# Using PUT method, can only update following fields of firewall rule: allowed,
|
2205
|
+
# description, sourceRanges, sourceTags, targetTags.
|
2202
2206
|
# @param [String] project
|
2203
2207
|
# Project ID for this request.
|
2204
2208
|
# @param [String] firewall
|
@@ -2759,7 +2763,7 @@ module Google
|
|
2759
2763
|
execute_or_queue_command(command, &block)
|
2760
2764
|
end
|
2761
2765
|
|
2762
|
-
# Deletes the specified
|
2766
|
+
# Deletes the specified GlobalForwardingRule resource.
|
2763
2767
|
# @param [String] project
|
2764
2768
|
# Project ID for this request.
|
2765
2769
|
# @param [String] forwarding_rule
|
@@ -2797,7 +2801,7 @@ module Google
|
|
2797
2801
|
execute_or_queue_command(command, &block)
|
2798
2802
|
end
|
2799
2803
|
|
2800
|
-
# Returns the specified
|
2804
|
+
# Returns the specified GlobalForwardingRule resource. Get a list of available
|
2801
2805
|
# forwarding rules by making a list() request.
|
2802
2806
|
# @param [String] project
|
2803
2807
|
# Project ID for this request.
|
@@ -2836,8 +2840,8 @@ module Google
|
|
2836
2840
|
execute_or_queue_command(command, &block)
|
2837
2841
|
end
|
2838
2842
|
|
2839
|
-
# Creates a
|
2840
|
-
#
|
2843
|
+
# Creates a GlobalForwardingRule resource in the specified project using the
|
2844
|
+
# data included in the request.
|
2841
2845
|
# @param [String] project
|
2842
2846
|
# Project ID for this request.
|
2843
2847
|
# @param [Google::Apis::ComputeV1::ForwardingRule] forwarding_rule_object
|
@@ -2875,7 +2879,7 @@ module Google
|
|
2875
2879
|
execute_or_queue_command(command, &block)
|
2876
2880
|
end
|
2877
2881
|
|
2878
|
-
# Retrieves a list of
|
2882
|
+
# Retrieves a list of GlobalForwardingRule resources available to the specified
|
2879
2883
|
# project.
|
2880
2884
|
# @param [String] project
|
2881
2885
|
# Project ID for this request.
|
@@ -2953,8 +2957,8 @@ module Google
|
|
2953
2957
|
execute_or_queue_command(command, &block)
|
2954
2958
|
end
|
2955
2959
|
|
2956
|
-
# Changes target URL for
|
2957
|
-
# type as the old target.
|
2960
|
+
# Changes target URL for the GlobalForwardingRule resource. The new target
|
2961
|
+
# should be of the same type as the old target.
|
2958
2962
|
# @param [String] project
|
2959
2963
|
# Project ID for this request.
|
2960
2964
|
# @param [String] forwarding_rule
|
@@ -3422,7 +3426,7 @@ module Google
|
|
3422
3426
|
# @param [String] project
|
3423
3427
|
# Project ID for this request.
|
3424
3428
|
# @param [String] health_check
|
3425
|
-
# Name of the HealthCheck resource to
|
3429
|
+
# Name of the HealthCheck resource to patch.
|
3426
3430
|
# @param [Google::Apis::ComputeV1::HealthCheck] health_check_object
|
3427
3431
|
# @param [String] fields
|
3428
3432
|
# Selector specifying which fields to include in a partial response.
|
@@ -3700,7 +3704,7 @@ module Google
|
|
3700
3704
|
# @param [String] project
|
3701
3705
|
# Project ID for this request.
|
3702
3706
|
# @param [String] http_health_check
|
3703
|
-
# Name of the HttpHealthCheck resource to
|
3707
|
+
# Name of the HttpHealthCheck resource to patch.
|
3704
3708
|
# @param [Google::Apis::ComputeV1::HttpHealthCheck] http_health_check_object
|
3705
3709
|
# @param [String] fields
|
3706
3710
|
# Selector specifying which fields to include in a partial response.
|
@@ -3978,7 +3982,7 @@ module Google
|
|
3978
3982
|
# @param [String] project
|
3979
3983
|
# Project ID for this request.
|
3980
3984
|
# @param [String] https_health_check
|
3981
|
-
# Name of the HttpsHealthCheck resource to
|
3985
|
+
# Name of the HttpsHealthCheck resource to patch.
|
3982
3986
|
# @param [Google::Apis::ComputeV1::HttpsHealthCheck] https_health_check_object
|
3983
3987
|
# @param [String] fields
|
3984
3988
|
# Selector specifying which fields to include in a partial response.
|
@@ -4343,6 +4347,7 @@ module Google
|
|
4343
4347
|
# DONE when the action is scheduled even if the instances have not yet been
|
4344
4348
|
# removed from the group. You must separately verify the status of the
|
4345
4349
|
# abandoning action with the listmanagedinstances method.
|
4350
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
4346
4351
|
# @param [String] project
|
4347
4352
|
# Project ID for this request.
|
4348
4353
|
# @param [String] zone
|
@@ -4513,6 +4518,7 @@ module Google
|
|
4513
4518
|
# DONE when the action is scheduled even if the instances are still being
|
4514
4519
|
# deleted. You must separately verify the status of the deleting action with the
|
4515
4520
|
# listmanagedinstances method.
|
4521
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
4516
4522
|
# @param [String] project
|
4517
4523
|
# Project ID for this request.
|
4518
4524
|
# @param [String] zone
|
@@ -4604,6 +4610,7 @@ module Google
|
|
4604
4610
|
# is marked as DONE when the group is created even if the instances in the group
|
4605
4611
|
# have not yet been created. You must separately verify the status of the
|
4606
4612
|
# individual instances with the listmanagedinstances method.
|
4613
|
+
# A managed instance group can have up to 1000 VM instances per group.
|
4607
4614
|
# @param [String] project
|
4608
4615
|
# Project ID for this request.
|
4609
4616
|
# @param [String] zone
|
@@ -4784,6 +4791,7 @@ module Google
|
|
4784
4791
|
# DONE when the action is scheduled even if the instances have not yet been
|
4785
4792
|
# recreated. You must separately verify the status of the recreating action with
|
4786
4793
|
# the listmanagedinstances method.
|
4794
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
4787
4795
|
# @param [String] project
|
4788
4796
|
# Project ID for this request.
|
4789
4797
|
# @param [String] zone
|
@@ -6194,7 +6202,8 @@ module Google
|
|
6194
6202
|
execute_or_queue_command(command, &block)
|
6195
6203
|
end
|
6196
6204
|
|
6197
|
-
# Performs a
|
6205
|
+
# Performs a reset on the instance. For more information, see Resetting an
|
6206
|
+
# instance.
|
6198
6207
|
# @param [String] project
|
6199
6208
|
# Project ID for this request.
|
6200
6209
|
# @param [String] zone
|
@@ -7506,9 +7515,9 @@ module Google
|
|
7506
7515
|
# Project ID for this request.
|
7507
7516
|
# @param [String] region
|
7508
7517
|
# Name of the region scoping this request.
|
7509
|
-
# @param [String] autoscaler
|
7510
|
-
# Name of the autoscaler to update.
|
7511
7518
|
# @param [Google::Apis::ComputeV1::Autoscaler] autoscaler_object
|
7519
|
+
# @param [String] autoscaler
|
7520
|
+
# Name of the autoscaler to patch.
|
7512
7521
|
# @param [String] fields
|
7513
7522
|
# Selector specifying which fields to include in a partial response.
|
7514
7523
|
# @param [String] quota_user
|
@@ -7530,7 +7539,7 @@ module Google
|
|
7530
7539
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7531
7540
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7532
7541
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7533
|
-
def patch_region_autoscaler(project, region,
|
7542
|
+
def patch_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
7534
7543
|
command = make_simple_command(:patch, '{project}/regions/{region}/autoscalers', options)
|
7535
7544
|
command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
7536
7545
|
command.request_object = autoscaler_object
|
@@ -7849,7 +7858,7 @@ module Google
|
|
7849
7858
|
# @param [String] region
|
7850
7859
|
# Name of the region scoping this request.
|
7851
7860
|
# @param [String] backend_service
|
7852
|
-
# Name of the BackendService resource to
|
7861
|
+
# Name of the BackendService resource to patch.
|
7853
7862
|
# @param [Google::Apis::ComputeV1::BackendService] backend_service_object
|
7854
7863
|
# @param [String] fields
|
7855
7864
|
# Selector specifying which fields to include in a partial response.
|
@@ -7942,6 +7951,7 @@ module Google
|
|
7942
7951
|
# DONE when the action is scheduled even if the instances have not yet been
|
7943
7952
|
# removed from the group. You must separately verify the status of the
|
7944
7953
|
# abandoning action with the listmanagedinstances method.
|
7954
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
7945
7955
|
# @param [String] project
|
7946
7956
|
# Project ID for this request.
|
7947
7957
|
# @param [String] region
|
@@ -8034,6 +8044,7 @@ module Google
|
|
8034
8044
|
# DONE when the action is scheduled even if the instances are still being
|
8035
8045
|
# deleted. You must separately verify the status of the deleting action with the
|
8036
8046
|
# listmanagedinstances method.
|
8047
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
8037
8048
|
# @param [String] project
|
8038
8049
|
# Project ID for this request.
|
8039
8050
|
# @param [String] region
|
@@ -8124,6 +8135,7 @@ module Google
|
|
8124
8135
|
# is marked as DONE when the group is created even if the instances in the group
|
8125
8136
|
# have not yet been created. You must separately verify the status of the
|
8126
8137
|
# individual instances with the listmanagedinstances method.
|
8138
|
+
# A regional managed instance group can contain up to 2000 instances.
|
8127
8139
|
# @param [String] project
|
8128
8140
|
# Project ID for this request.
|
8129
8141
|
# @param [String] region
|
@@ -8302,6 +8314,7 @@ module Google
|
|
8302
8314
|
# DONE when the action is scheduled even if the instances have not yet been
|
8303
8315
|
# recreated. You must separately verify the status of the recreating action with
|
8304
8316
|
# the listmanagedinstances method.
|
8317
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
8305
8318
|
# @param [String] project
|
8306
8319
|
# Project ID for this request.
|
8307
8320
|
# @param [String] region
|
@@ -9338,14 +9351,14 @@ module Google
|
|
9338
9351
|
execute_or_queue_command(command, &block)
|
9339
9352
|
end
|
9340
9353
|
|
9341
|
-
#
|
9354
|
+
# Patches the specified Router resource with the data included in the request.
|
9342
9355
|
# This method supports patch semantics.
|
9343
9356
|
# @param [String] project
|
9344
9357
|
# Project ID for this request.
|
9345
9358
|
# @param [String] region
|
9346
9359
|
# Name of the region for this request.
|
9347
9360
|
# @param [String] router
|
9348
|
-
# Name of the Router resource to
|
9361
|
+
# Name of the Router resource to patch.
|
9349
9362
|
# @param [Google::Apis::ComputeV1::Router] router_object
|
9350
9363
|
# @param [String] fields
|
9351
9364
|
# Selector specifying which fields to include in a partial response.
|
@@ -10344,6 +10357,51 @@ module Google
|
|
10344
10357
|
execute_or_queue_command(command, &block)
|
10345
10358
|
end
|
10346
10359
|
|
10360
|
+
# Set whether VMs in this subnet can access Google services without assigning
|
10361
|
+
# external IP addresses through Cloudpath.
|
10362
|
+
# @param [String] project
|
10363
|
+
# Project ID for this request.
|
10364
|
+
# @param [String] region
|
10365
|
+
# Name of the region scoping this request.
|
10366
|
+
# @param [String] subnetwork
|
10367
|
+
# Name of the Subnetwork resource.
|
10368
|
+
# @param [Google::Apis::ComputeV1::SubnetworksSetPrivateIpGoogleAccessRequest] subnetworks_set_private_ip_google_access_request_object
|
10369
|
+
# @param [String] fields
|
10370
|
+
# Selector specifying which fields to include in a partial response.
|
10371
|
+
# @param [String] quota_user
|
10372
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10373
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10374
|
+
# Overrides userIp if both are provided.
|
10375
|
+
# @param [String] user_ip
|
10376
|
+
# IP address of the site where the request originates. Use this if you want to
|
10377
|
+
# enforce per-user limits.
|
10378
|
+
# @param [Google::Apis::RequestOptions] options
|
10379
|
+
# Request-specific options
|
10380
|
+
#
|
10381
|
+
# @yield [result, err] Result & error if block supplied
|
10382
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
10383
|
+
# @yieldparam err [StandardError] error object if request failed
|
10384
|
+
#
|
10385
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
10386
|
+
#
|
10387
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10388
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10389
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10390
|
+
def set_subnetwork_private_ip_google_access(project, region, subnetwork, subnetworks_set_private_ip_google_access_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10391
|
+
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess', options)
|
10392
|
+
command.request_representation = Google::Apis::ComputeV1::SubnetworksSetPrivateIpGoogleAccessRequest::Representation
|
10393
|
+
command.request_object = subnetworks_set_private_ip_google_access_request_object
|
10394
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
10395
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
10396
|
+
command.params['project'] = project unless project.nil?
|
10397
|
+
command.params['region'] = region unless region.nil?
|
10398
|
+
command.params['subnetwork'] = subnetwork unless subnetwork.nil?
|
10399
|
+
command.query['fields'] = fields unless fields.nil?
|
10400
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10401
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10402
|
+
execute_or_queue_command(command, &block)
|
10403
|
+
end
|
10404
|
+
|
10347
10405
|
# Deletes the specified TargetHttpProxy resource.
|
10348
10406
|
# @param [String] project
|
10349
10407
|
# Project ID for this request.
|
@@ -12523,12 +12581,12 @@ module Google
|
|
12523
12581
|
execute_or_queue_command(command, &block)
|
12524
12582
|
end
|
12525
12583
|
|
12526
|
-
#
|
12584
|
+
# Patches the specified UrlMap resource with the data included in the request.
|
12527
12585
|
# This method supports patch semantics.
|
12528
12586
|
# @param [String] project
|
12529
12587
|
# Project ID for this request.
|
12530
12588
|
# @param [String] url_map
|
12531
|
-
# Name of the UrlMap resource to
|
12589
|
+
# Name of the UrlMap resource to patch.
|
12532
12590
|
# @param [Google::Apis::ComputeV1::UrlMap] url_map_object
|
12533
12591
|
# @param [String] fields
|
12534
12592
|
# Selector specifying which fields to include in a partial response.
|