google-api-client 0.24.2 → 0.24.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +68 -0
- data/README.md +9 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +5 -4
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +90 -87
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +17 -15
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +155 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +82 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +31 -0
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +835 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +394 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +302 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +37 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +8 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -4
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/service.rb +5 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +5 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +8 -1
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +6 -5
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +12 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +52 -18
- data/generated/google/apis/cloudasset_v1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +798 -0
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +263 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +313 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +42 -5
- data/generated/google/apis/cloudbuild_v1/representations.rb +6 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +59 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +28 -0
- data/generated/google/apis/cloudiot_v1/service.rb +94 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +34 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +227 -48
- data/generated/google/apis/compute_alpha/representations.rb +84 -1
- data/generated/google/apis/compute_alpha/service.rb +50 -10
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +593 -77
- data/generated/google/apis/compute_beta/representations.rb +224 -18
- data/generated/google/apis/compute_beta/service.rb +174 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +41 -18
- data/generated/google/apis/compute_v1/representations.rb +3 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +372 -119
- data/generated/google/apis/content_v2/representations.rb +157 -39
- data/generated/google/apis/content_v2/service.rb +101 -11
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +372 -119
- data/generated/google/apis/content_v2sandbox/representations.rb +157 -39
- data/generated/google/apis/content_v2sandbox/service.rb +90 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +7 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +12 -0
- data/generated/google/apis/dataproc_v1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +21 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +2 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +2 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +110 -5
- data/generated/google/apis/dlp_v2/representations.rb +17 -0
- data/generated/google/apis/dlp_v2/service.rb +41 -3
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +0 -234
- data/generated/google/apis/file_v1beta1/representations.rb +0 -79
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +19 -1
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +3 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +43 -0
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +767 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +337 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +502 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +8 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +1 -0
- data/generated/google/apis/firebaserules_v1/service.rb +1 -1
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/service.rb +80 -80
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +4 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +3 -1
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/service.rb +0 -10
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/service.rb +339 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +45 -37
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +21 -18
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +45 -20
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +2 -0
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +12 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +12 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +19 -17
- data/generated/google/apis/monitoring_v3/representations.rb +1 -2
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +18 -15
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +18 -15
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +2 -150
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -42
- data/generated/google/apis/servicenetworking_v1beta.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +3440 -0
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +992 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +227 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2 -150
- data/generated/google/apis/serviceuser_v1/representations.rb +0 -42
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +308 -30
- data/generated/google/apis/spanner_v1/representations.rb +17 -0
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +12 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +47 -0
- data/generated/google/apis/testing_v1/representations.rb +18 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +676 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +306 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +676 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +306 -0
- data/generated/google/apis/{videointelligence_v1beta1.rb → videointelligence_v1p1beta1.rb} +6 -6
- data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/classes.rb +885 -489
- data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/representations.rb +357 -194
- data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/service.rb +12 -12
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +2 -2
- data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +22 -6
@@ -796,6 +796,24 @@ module Google
|
|
796
796
|
include Google::Apis::Core::JsonObjectSupport
|
797
797
|
end
|
798
798
|
|
799
|
+
class GuestAttributes
|
800
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
801
|
+
|
802
|
+
include Google::Apis::Core::JsonObjectSupport
|
803
|
+
end
|
804
|
+
|
805
|
+
class GuestAttributesEntry
|
806
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
807
|
+
|
808
|
+
include Google::Apis::Core::JsonObjectSupport
|
809
|
+
end
|
810
|
+
|
811
|
+
class GuestAttributesValue
|
812
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
813
|
+
|
814
|
+
include Google::Apis::Core::JsonObjectSupport
|
815
|
+
end
|
816
|
+
|
799
817
|
class GuestOsFeature
|
800
818
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
801
819
|
|
@@ -2674,6 +2692,18 @@ module Google
|
|
2674
2692
|
include Google::Apis::Core::JsonObjectSupport
|
2675
2693
|
end
|
2676
2694
|
|
2695
|
+
class RouterNat
|
2696
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2697
|
+
|
2698
|
+
include Google::Apis::Core::JsonObjectSupport
|
2699
|
+
end
|
2700
|
+
|
2701
|
+
class RouterNatSubnetworkToNat
|
2702
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2703
|
+
|
2704
|
+
include Google::Apis::Core::JsonObjectSupport
|
2705
|
+
end
|
2706
|
+
|
2677
2707
|
class RouterStatus
|
2678
2708
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2679
2709
|
|
@@ -2686,6 +2716,12 @@ module Google
|
|
2686
2716
|
include Google::Apis::Core::JsonObjectSupport
|
2687
2717
|
end
|
2688
2718
|
|
2719
|
+
class RouterStatusNatStatus
|
2720
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2721
|
+
|
2722
|
+
include Google::Apis::Core::JsonObjectSupport
|
2723
|
+
end
|
2724
|
+
|
2689
2725
|
class RouterStatusResponse
|
2690
2726
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2691
2727
|
|
@@ -2818,6 +2854,18 @@ module Google
|
|
2818
2854
|
include Google::Apis::Core::JsonObjectSupport
|
2819
2855
|
end
|
2820
2856
|
|
2857
|
+
class ShieldedVmIdentity
|
2858
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2859
|
+
|
2860
|
+
include Google::Apis::Core::JsonObjectSupport
|
2861
|
+
end
|
2862
|
+
|
2863
|
+
class ShieldedVmIdentityEntry
|
2864
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2865
|
+
|
2866
|
+
include Google::Apis::Core::JsonObjectSupport
|
2867
|
+
end
|
2868
|
+
|
2821
2869
|
class ShieldedVmIntegrityPolicy
|
2822
2870
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2823
2871
|
|
@@ -3406,12 +3454,6 @@ module Google
|
|
3406
3454
|
include Google::Apis::Core::JsonObjectSupport
|
3407
3455
|
end
|
3408
3456
|
|
3409
|
-
class UdpHealthCheck
|
3410
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3411
|
-
|
3412
|
-
include Google::Apis::Core::JsonObjectSupport
|
3413
|
-
end
|
3414
|
-
|
3415
3457
|
class UrlMap
|
3416
3458
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3417
3459
|
|
@@ -3502,6 +3544,36 @@ module Google
|
|
3502
3544
|
include Google::Apis::Core::JsonObjectSupport
|
3503
3545
|
end
|
3504
3546
|
|
3547
|
+
class VmEndpointNatMappings
|
3548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3549
|
+
|
3550
|
+
include Google::Apis::Core::JsonObjectSupport
|
3551
|
+
end
|
3552
|
+
|
3553
|
+
class VmEndpointNatMappingsInterfaceNatMappings
|
3554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3555
|
+
|
3556
|
+
include Google::Apis::Core::JsonObjectSupport
|
3557
|
+
end
|
3558
|
+
|
3559
|
+
class VmEndpointNatMappingsList
|
3560
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3561
|
+
|
3562
|
+
class Warning
|
3563
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3564
|
+
|
3565
|
+
class Datum
|
3566
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3567
|
+
|
3568
|
+
include Google::Apis::Core::JsonObjectSupport
|
3569
|
+
end
|
3570
|
+
|
3571
|
+
include Google::Apis::Core::JsonObjectSupport
|
3572
|
+
end
|
3573
|
+
|
3574
|
+
include Google::Apis::Core::JsonObjectSupport
|
3575
|
+
end
|
3576
|
+
|
3505
3577
|
class VpnTunnel
|
3506
3578
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3507
3579
|
|
@@ -5069,6 +5141,36 @@ module Google
|
|
5069
5141
|
end
|
5070
5142
|
end
|
5071
5143
|
|
5144
|
+
class GuestAttributes
|
5145
|
+
# @private
|
5146
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5147
|
+
property :kind, as: 'kind'
|
5148
|
+
property :query_path, as: 'queryPath'
|
5149
|
+
property :query_value, as: 'queryValue', class: Google::Apis::ComputeBeta::GuestAttributesValue, decorator: Google::Apis::ComputeBeta::GuestAttributesValue::Representation
|
5150
|
+
|
5151
|
+
property :self_link, as: 'selfLink'
|
5152
|
+
property :variable_key, as: 'variableKey'
|
5153
|
+
property :variable_value, as: 'variableValue'
|
5154
|
+
end
|
5155
|
+
end
|
5156
|
+
|
5157
|
+
class GuestAttributesEntry
|
5158
|
+
# @private
|
5159
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5160
|
+
property :key, as: 'key'
|
5161
|
+
property :namespace, as: 'namespace'
|
5162
|
+
property :value, as: 'value'
|
5163
|
+
end
|
5164
|
+
end
|
5165
|
+
|
5166
|
+
class GuestAttributesValue
|
5167
|
+
# @private
|
5168
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5169
|
+
collection :items, as: 'items', class: Google::Apis::ComputeBeta::GuestAttributesEntry, decorator: Google::Apis::ComputeBeta::GuestAttributesEntry::Representation
|
5170
|
+
|
5171
|
+
end
|
5172
|
+
end
|
5173
|
+
|
5072
5174
|
class GuestOsFeature
|
5073
5175
|
# @private
|
5074
5176
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5138,8 +5240,6 @@ module Google
|
|
5138
5240
|
|
5139
5241
|
property :timeout_sec, as: 'timeoutSec'
|
5140
5242
|
property :type, as: 'type'
|
5141
|
-
property :udp_health_check, as: 'udpHealthCheck', class: Google::Apis::ComputeBeta::UdpHealthCheck, decorator: Google::Apis::ComputeBeta::UdpHealthCheck::Representation
|
5142
|
-
|
5143
5243
|
property :unhealthy_threshold, as: 'unhealthyThreshold'
|
5144
5244
|
end
|
5145
5245
|
end
|
@@ -6826,15 +6926,19 @@ module Google
|
|
6826
6926
|
# @private
|
6827
6927
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6828
6928
|
property :creation_timestamp, as: 'creationTimestamp'
|
6929
|
+
property :default_port, as: 'defaultPort'
|
6829
6930
|
property :description, as: 'description'
|
6830
6931
|
property :id, :numeric_string => true, as: 'id'
|
6831
6932
|
property :kind, as: 'kind'
|
6832
6933
|
property :load_balancer, as: 'loadBalancer', class: Google::Apis::ComputeBeta::NetworkEndpointGroupLbNetworkEndpointGroup, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupLbNetworkEndpointGroup::Representation
|
6833
6934
|
|
6834
6935
|
property :name, as: 'name'
|
6936
|
+
property :network, as: 'network'
|
6835
6937
|
property :network_endpoint_type, as: 'networkEndpointType'
|
6836
6938
|
property :self_link, as: 'selfLink'
|
6837
6939
|
property :size, as: 'size'
|
6940
|
+
property :subnetwork, as: 'subnetwork'
|
6941
|
+
property :zone, as: 'zone'
|
6838
6942
|
end
|
6839
6943
|
end
|
6840
6944
|
|
@@ -8376,6 +8480,8 @@ module Google
|
|
8376
8480
|
|
8377
8481
|
property :kind, as: 'kind'
|
8378
8482
|
property :name, as: 'name'
|
8483
|
+
collection :nats, as: 'nats', class: Google::Apis::ComputeBeta::RouterNat, decorator: Google::Apis::ComputeBeta::RouterNat::Representation
|
8484
|
+
|
8379
8485
|
property :network, as: 'network'
|
8380
8486
|
property :region, as: 'region'
|
8381
8487
|
property :self_link, as: 'selfLink'
|
@@ -8493,6 +8599,32 @@ module Google
|
|
8493
8599
|
end
|
8494
8600
|
end
|
8495
8601
|
|
8602
|
+
class RouterNat
|
8603
|
+
# @private
|
8604
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8605
|
+
property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec'
|
8606
|
+
property :min_ports_per_vm, as: 'minPortsPerVm'
|
8607
|
+
property :name, as: 'name'
|
8608
|
+
property :nat_ip_allocate_option, as: 'natIpAllocateOption'
|
8609
|
+
collection :nat_ips, as: 'natIps'
|
8610
|
+
property :source_subnetwork_ip_ranges_to_nat, as: 'sourceSubnetworkIpRangesToNat'
|
8611
|
+
collection :subnetworks, as: 'subnetworks', class: Google::Apis::ComputeBeta::RouterNatSubnetworkToNat, decorator: Google::Apis::ComputeBeta::RouterNatSubnetworkToNat::Representation
|
8612
|
+
|
8613
|
+
property :tcp_established_idle_timeout_sec, as: 'tcpEstablishedIdleTimeoutSec'
|
8614
|
+
property :tcp_transitory_idle_timeout_sec, as: 'tcpTransitoryIdleTimeoutSec'
|
8615
|
+
property :udp_idle_timeout_sec, as: 'udpIdleTimeoutSec'
|
8616
|
+
end
|
8617
|
+
end
|
8618
|
+
|
8619
|
+
class RouterNatSubnetworkToNat
|
8620
|
+
# @private
|
8621
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8622
|
+
property :name, as: 'name'
|
8623
|
+
collection :secondary_ip_range_names, as: 'secondaryIpRangeNames'
|
8624
|
+
collection :source_ip_ranges_to_nat, as: 'sourceIpRangesToNat'
|
8625
|
+
end
|
8626
|
+
end
|
8627
|
+
|
8496
8628
|
class RouterStatus
|
8497
8629
|
# @private
|
8498
8630
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8502,6 +8634,8 @@ module Google
|
|
8502
8634
|
|
8503
8635
|
collection :bgp_peer_status, as: 'bgpPeerStatus', class: Google::Apis::ComputeBeta::RouterStatusBgpPeerStatus, decorator: Google::Apis::ComputeBeta::RouterStatusBgpPeerStatus::Representation
|
8504
8636
|
|
8637
|
+
collection :nat_status, as: 'natStatus', class: Google::Apis::ComputeBeta::RouterStatusNatStatus, decorator: Google::Apis::ComputeBeta::RouterStatusNatStatus::Representation
|
8638
|
+
|
8505
8639
|
property :network, as: 'network'
|
8506
8640
|
end
|
8507
8641
|
end
|
@@ -8523,6 +8657,18 @@ module Google
|
|
8523
8657
|
end
|
8524
8658
|
end
|
8525
8659
|
|
8660
|
+
class RouterStatusNatStatus
|
8661
|
+
# @private
|
8662
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8663
|
+
collection :auto_allocated_nat_ips, as: 'autoAllocatedNatIps'
|
8664
|
+
property :min_extra_nat_ips_needed, as: 'minExtraNatIpsNeeded'
|
8665
|
+
property :name, as: 'name'
|
8666
|
+
property :num_vm_endpoints_with_nat_mappings, as: 'numVmEndpointsWithNatMappings'
|
8667
|
+
collection :user_allocated_nat_ip_resources, as: 'userAllocatedNatIpResources'
|
8668
|
+
collection :user_allocated_nat_ips, as: 'userAllocatedNatIps'
|
8669
|
+
end
|
8670
|
+
end
|
8671
|
+
|
8526
8672
|
class RouterStatusResponse
|
8527
8673
|
# @private
|
8528
8674
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8746,6 +8892,25 @@ module Google
|
|
8746
8892
|
end
|
8747
8893
|
end
|
8748
8894
|
|
8895
|
+
class ShieldedVmIdentity
|
8896
|
+
# @private
|
8897
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8898
|
+
property :encryption_key, as: 'encryptionKey', class: Google::Apis::ComputeBeta::ShieldedVmIdentityEntry, decorator: Google::Apis::ComputeBeta::ShieldedVmIdentityEntry::Representation
|
8899
|
+
|
8900
|
+
property :kind, as: 'kind'
|
8901
|
+
property :signing_key, as: 'signingKey', class: Google::Apis::ComputeBeta::ShieldedVmIdentityEntry, decorator: Google::Apis::ComputeBeta::ShieldedVmIdentityEntry::Representation
|
8902
|
+
|
8903
|
+
end
|
8904
|
+
end
|
8905
|
+
|
8906
|
+
class ShieldedVmIdentityEntry
|
8907
|
+
# @private
|
8908
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8909
|
+
property :ek_cert, as: 'ekCert'
|
8910
|
+
property :ek_pub, as: 'ekPub'
|
8911
|
+
end
|
8912
|
+
end
|
8913
|
+
|
8749
8914
|
class ShieldedVmIntegrityPolicy
|
8750
8915
|
# @private
|
8751
8916
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9774,16 +9939,6 @@ module Google
|
|
9774
9939
|
end
|
9775
9940
|
end
|
9776
9941
|
|
9777
|
-
class UdpHealthCheck
|
9778
|
-
# @private
|
9779
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
9780
|
-
property :port, as: 'port'
|
9781
|
-
property :port_name, as: 'portName'
|
9782
|
-
property :request, as: 'request'
|
9783
|
-
property :response, as: 'response'
|
9784
|
-
end
|
9785
|
-
end
|
9786
|
-
|
9787
9942
|
class UrlMap
|
9788
9943
|
# @private
|
9789
9944
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9939,6 +10094,57 @@ module Google
|
|
9939
10094
|
end
|
9940
10095
|
end
|
9941
10096
|
|
10097
|
+
class VmEndpointNatMappings
|
10098
|
+
# @private
|
10099
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10100
|
+
property :instance_name, as: 'instanceName'
|
10101
|
+
collection :interface_nat_mappings, as: 'interfaceNatMappings', class: Google::Apis::ComputeBeta::VmEndpointNatMappingsInterfaceNatMappings, decorator: Google::Apis::ComputeBeta::VmEndpointNatMappingsInterfaceNatMappings::Representation
|
10102
|
+
|
10103
|
+
end
|
10104
|
+
end
|
10105
|
+
|
10106
|
+
class VmEndpointNatMappingsInterfaceNatMappings
|
10107
|
+
# @private
|
10108
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10109
|
+
collection :nat_ip_port_ranges, as: 'natIpPortRanges'
|
10110
|
+
property :num_total_nat_ports, as: 'numTotalNatPorts'
|
10111
|
+
property :source_alias_ip_range, as: 'sourceAliasIpRange'
|
10112
|
+
property :source_virtual_ip, as: 'sourceVirtualIp'
|
10113
|
+
end
|
10114
|
+
end
|
10115
|
+
|
10116
|
+
class VmEndpointNatMappingsList
|
10117
|
+
# @private
|
10118
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10119
|
+
property :id, as: 'id'
|
10120
|
+
property :kind, as: 'kind'
|
10121
|
+
property :next_page_token, as: 'nextPageToken'
|
10122
|
+
collection :result, as: 'result', class: Google::Apis::ComputeBeta::VmEndpointNatMappings, decorator: Google::Apis::ComputeBeta::VmEndpointNatMappings::Representation
|
10123
|
+
|
10124
|
+
property :self_link, as: 'selfLink'
|
10125
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::VmEndpointNatMappingsList::Warning, decorator: Google::Apis::ComputeBeta::VmEndpointNatMappingsList::Warning::Representation
|
10126
|
+
|
10127
|
+
end
|
10128
|
+
|
10129
|
+
class Warning
|
10130
|
+
# @private
|
10131
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10132
|
+
property :code, as: 'code'
|
10133
|
+
collection :data, as: 'data', class: Google::Apis::ComputeBeta::VmEndpointNatMappingsList::Warning::Datum, decorator: Google::Apis::ComputeBeta::VmEndpointNatMappingsList::Warning::Datum::Representation
|
10134
|
+
|
10135
|
+
property :message, as: 'message'
|
10136
|
+
end
|
10137
|
+
|
10138
|
+
class Datum
|
10139
|
+
# @private
|
10140
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10141
|
+
property :key, as: 'key'
|
10142
|
+
property :value, as: 'value'
|
10143
|
+
end
|
10144
|
+
end
|
10145
|
+
end
|
10146
|
+
end
|
10147
|
+
|
9942
10148
|
class VpnTunnel
|
9943
10149
|
# @private
|
9944
10150
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8435,6 +8435,51 @@ module Google
|
|
8435
8435
|
execute_or_queue_command(command, &block)
|
8436
8436
|
end
|
8437
8437
|
|
8438
|
+
# Returns the specified guest attributes entry.
|
8439
|
+
# @param [String] project
|
8440
|
+
# Project ID for this request.
|
8441
|
+
# @param [String] zone
|
8442
|
+
# The name of the zone for this request.
|
8443
|
+
# @param [String] instance
|
8444
|
+
# Name of the instance scoping this request.
|
8445
|
+
# @param [String] query_path
|
8446
|
+
# Specifies the guest attributes path to be queried.
|
8447
|
+
# @param [String] variable_key
|
8448
|
+
# Specifies the key for the guest attributes entry.
|
8449
|
+
# @param [String] fields
|
8450
|
+
# Selector specifying which fields to include in a partial response.
|
8451
|
+
# @param [String] quota_user
|
8452
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
8453
|
+
# characters.
|
8454
|
+
# @param [String] user_ip
|
8455
|
+
# Deprecated. Please use quotaUser instead.
|
8456
|
+
# @param [Google::Apis::RequestOptions] options
|
8457
|
+
# Request-specific options
|
8458
|
+
#
|
8459
|
+
# @yield [result, err] Result & error if block supplied
|
8460
|
+
# @yieldparam result [Google::Apis::ComputeBeta::GuestAttributes] parsed result object
|
8461
|
+
# @yieldparam err [StandardError] error object if request failed
|
8462
|
+
#
|
8463
|
+
# @return [Google::Apis::ComputeBeta::GuestAttributes]
|
8464
|
+
#
|
8465
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8466
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8467
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8468
|
+
def get_instance_guest_attributes(project, zone, instance, query_path: nil, variable_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
8469
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getGuestAttributes', options)
|
8470
|
+
command.response_representation = Google::Apis::ComputeBeta::GuestAttributes::Representation
|
8471
|
+
command.response_class = Google::Apis::ComputeBeta::GuestAttributes
|
8472
|
+
command.params['project'] = project unless project.nil?
|
8473
|
+
command.params['zone'] = zone unless zone.nil?
|
8474
|
+
command.params['instance'] = instance unless instance.nil?
|
8475
|
+
command.query['queryPath'] = query_path unless query_path.nil?
|
8476
|
+
command.query['variableKey'] = variable_key unless variable_key.nil?
|
8477
|
+
command.query['fields'] = fields unless fields.nil?
|
8478
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8479
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
8480
|
+
execute_or_queue_command(command, &block)
|
8481
|
+
end
|
8482
|
+
|
8438
8483
|
# Gets the access control policy for a resource. May be empty if no such policy
|
8439
8484
|
# or resource exists.
|
8440
8485
|
# @param [String] project
|
@@ -8523,6 +8568,45 @@ module Google
|
|
8523
8568
|
execute_or_queue_command(command, &block)
|
8524
8569
|
end
|
8525
8570
|
|
8571
|
+
# Returns the Shielded VM Identity of an instance
|
8572
|
+
# @param [String] project
|
8573
|
+
# Project ID for this request.
|
8574
|
+
# @param [String] zone
|
8575
|
+
# The name of the zone for this request.
|
8576
|
+
# @param [String] instance
|
8577
|
+
# Name of the instance scoping this request.
|
8578
|
+
# @param [String] fields
|
8579
|
+
# Selector specifying which fields to include in a partial response.
|
8580
|
+
# @param [String] quota_user
|
8581
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
8582
|
+
# characters.
|
8583
|
+
# @param [String] user_ip
|
8584
|
+
# Deprecated. Please use quotaUser instead.
|
8585
|
+
# @param [Google::Apis::RequestOptions] options
|
8586
|
+
# Request-specific options
|
8587
|
+
#
|
8588
|
+
# @yield [result, err] Result & error if block supplied
|
8589
|
+
# @yieldparam result [Google::Apis::ComputeBeta::ShieldedVmIdentity] parsed result object
|
8590
|
+
# @yieldparam err [StandardError] error object if request failed
|
8591
|
+
#
|
8592
|
+
# @return [Google::Apis::ComputeBeta::ShieldedVmIdentity]
|
8593
|
+
#
|
8594
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8595
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8596
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8597
|
+
def get_instance_shielded_vm_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
8598
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity', options)
|
8599
|
+
command.response_representation = Google::Apis::ComputeBeta::ShieldedVmIdentity::Representation
|
8600
|
+
command.response_class = Google::Apis::ComputeBeta::ShieldedVmIdentity
|
8601
|
+
command.params['project'] = project unless project.nil?
|
8602
|
+
command.params['zone'] = zone unless zone.nil?
|
8603
|
+
command.params['instance'] = instance unless instance.nil?
|
8604
|
+
command.query['fields'] = fields unless fields.nil?
|
8605
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8606
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
8607
|
+
execute_or_queue_command(command, &block)
|
8608
|
+
end
|
8609
|
+
|
8526
8610
|
# Creates an instance resource in the specified project using the data included
|
8527
8611
|
# in the request.
|
8528
8612
|
# @param [String] project
|
@@ -17679,6 +17763,84 @@ module Google
|
|
17679
17763
|
execute_or_queue_command(command, &block)
|
17680
17764
|
end
|
17681
17765
|
|
17766
|
+
# Retrieves runtime Nat mapping information of VM endpoints.
|
17767
|
+
# @param [String] project
|
17768
|
+
# Project ID for this request.
|
17769
|
+
# @param [String] region
|
17770
|
+
# Name of the region for this request.
|
17771
|
+
# @param [String] router
|
17772
|
+
# Name of the Router resource to query for Nat Mapping information of VM
|
17773
|
+
# endpoints.
|
17774
|
+
# @param [String] filter
|
17775
|
+
# A filter expression that filters resources listed in the response. The
|
17776
|
+
# expression must specify the field name, a comparison operator, and the value
|
17777
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
17778
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
17779
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
17780
|
+
# instances named example-instance by specifying name != example-instance.
|
17781
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
17782
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
17783
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
17784
|
+
# on resource labels.
|
17785
|
+
# To filter on multiple expressions, provide each separate expression within
|
17786
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
17787
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
17788
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
17789
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
17790
|
+
# automaticRestart = true).
|
17791
|
+
# @param [Fixnum] max_results
|
17792
|
+
# The maximum number of results per page that should be returned. If the number
|
17793
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
17794
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
17795
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
17796
|
+
# @param [String] order_by
|
17797
|
+
# Sorts list results by a certain order. By default, results are returned in
|
17798
|
+
# alphanumerical order based on the resource name.
|
17799
|
+
# You can also sort results in descending order based on the creation timestamp
|
17800
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
17801
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
17802
|
+
# Use this to sort resources like operations so that the newest operation is
|
17803
|
+
# returned first.
|
17804
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
17805
|
+
# @param [String] page_token
|
17806
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
17807
|
+
# a previous list request to get the next page of results.
|
17808
|
+
# @param [String] fields
|
17809
|
+
# Selector specifying which fields to include in a partial response.
|
17810
|
+
# @param [String] quota_user
|
17811
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
17812
|
+
# characters.
|
17813
|
+
# @param [String] user_ip
|
17814
|
+
# Deprecated. Please use quotaUser instead.
|
17815
|
+
# @param [Google::Apis::RequestOptions] options
|
17816
|
+
# Request-specific options
|
17817
|
+
#
|
17818
|
+
# @yield [result, err] Result & error if block supplied
|
17819
|
+
# @yieldparam result [Google::Apis::ComputeBeta::VmEndpointNatMappingsList] parsed result object
|
17820
|
+
# @yieldparam err [StandardError] error object if request failed
|
17821
|
+
#
|
17822
|
+
# @return [Google::Apis::ComputeBeta::VmEndpointNatMappingsList]
|
17823
|
+
#
|
17824
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17825
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17826
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17827
|
+
def get_router_nat_mapping_info(project, region, router, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17828
|
+
command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}/getNatMappingInfo', options)
|
17829
|
+
command.response_representation = Google::Apis::ComputeBeta::VmEndpointNatMappingsList::Representation
|
17830
|
+
command.response_class = Google::Apis::ComputeBeta::VmEndpointNatMappingsList
|
17831
|
+
command.params['project'] = project unless project.nil?
|
17832
|
+
command.params['region'] = region unless region.nil?
|
17833
|
+
command.params['router'] = router unless router.nil?
|
17834
|
+
command.query['filter'] = filter unless filter.nil?
|
17835
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
17836
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
17837
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
17838
|
+
command.query['fields'] = fields unless fields.nil?
|
17839
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17840
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
17841
|
+
execute_or_queue_command(command, &block)
|
17842
|
+
end
|
17843
|
+
|
17682
17844
|
# Retrieves runtime information of the specified router.
|
17683
17845
|
# @param [String] project
|
17684
17846
|
# Project ID for this request.
|
@@ -18289,6 +18451,8 @@ module Google
|
|
18289
18451
|
# @param [String] security_policy
|
18290
18452
|
# Name of the security policy to update.
|
18291
18453
|
# @param [Google::Apis::ComputeBeta::SecurityPolicyRule] security_policy_rule_object
|
18454
|
+
# @param [Boolean] validate_only
|
18455
|
+
# If true, the request will not be committed.
|
18292
18456
|
# @param [String] fields
|
18293
18457
|
# Selector specifying which fields to include in a partial response.
|
18294
18458
|
# @param [String] quota_user
|
@@ -18308,7 +18472,7 @@ module Google
|
|
18308
18472
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18309
18473
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18310
18474
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18311
|
-
def add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
18475
|
+
def add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
18312
18476
|
command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/addRule', options)
|
18313
18477
|
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation
|
18314
18478
|
command.request_object = security_policy_rule_object
|
@@ -18316,6 +18480,7 @@ module Google
|
|
18316
18480
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
18317
18481
|
command.params['project'] = project unless project.nil?
|
18318
18482
|
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
18483
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
18319
18484
|
command.query['fields'] = fields unless fields.nil?
|
18320
18485
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18321
18486
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -18461,6 +18626,8 @@ module Google
|
|
18461
18626
|
# accidentally creating duplicate commitments.
|
18462
18627
|
# The request ID must be a valid UUID with the exception that zero UUID is not
|
18463
18628
|
# supported (00000000-0000-0000-0000-000000000000).
|
18629
|
+
# @param [Boolean] validate_only
|
18630
|
+
# If true, the request will not be committed.
|
18464
18631
|
# @param [String] fields
|
18465
18632
|
# Selector specifying which fields to include in a partial response.
|
18466
18633
|
# @param [String] quota_user
|
@@ -18480,7 +18647,7 @@ module Google
|
|
18480
18647
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18481
18648
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18482
18649
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18483
|
-
def insert_security_policy(project, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
18650
|
+
def insert_security_policy(project, security_policy_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
18484
18651
|
command = make_simple_command(:post, '{project}/global/securityPolicies', options)
|
18485
18652
|
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicy::Representation
|
18486
18653
|
command.request_object = security_policy_object
|
@@ -18488,6 +18655,7 @@ module Google
|
|
18488
18655
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
18489
18656
|
command.params['project'] = project unless project.nil?
|
18490
18657
|
command.query['requestId'] = request_id unless request_id.nil?
|
18658
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
18491
18659
|
command.query['fields'] = fields unless fields.nil?
|
18492
18660
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18493
18661
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -18696,6 +18864,8 @@ module Google
|
|
18696
18864
|
# @param [Google::Apis::ComputeBeta::SecurityPolicyRule] security_policy_rule_object
|
18697
18865
|
# @param [Fixnum] priority
|
18698
18866
|
# The priority of the rule to patch.
|
18867
|
+
# @param [Boolean] validate_only
|
18868
|
+
# If true, the request will not be committed.
|
18699
18869
|
# @param [String] fields
|
18700
18870
|
# Selector specifying which fields to include in a partial response.
|
18701
18871
|
# @param [String] quota_user
|
@@ -18715,7 +18885,7 @@ module Google
|
|
18715
18885
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18716
18886
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18717
18887
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18718
|
-
def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
18888
|
+
def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
18719
18889
|
command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/patchRule', options)
|
18720
18890
|
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation
|
18721
18891
|
command.request_object = security_policy_rule_object
|
@@ -18724,6 +18894,7 @@ module Google
|
|
18724
18894
|
command.params['project'] = project unless project.nil?
|
18725
18895
|
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
18726
18896
|
command.query['priority'] = priority unless priority.nil?
|
18897
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
18727
18898
|
command.query['fields'] = fields unless fields.nil?
|
18728
18899
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18729
18900
|
command.query['userIp'] = user_ip unless user_ip.nil?
|