google-api-client 0.19.5 → 0.19.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +30 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -0
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  6. data/generated/google/apis/appengine_v1.rb +1 -1
  7. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  8. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  9. data/generated/google/apis/appengine_v1beta.rb +1 -1
  10. data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
  11. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  12. data/generated/google/apis/bigquery_v2.rb +1 -1
  13. data/generated/google/apis/bigquery_v2/classes.rb +34 -6
  14. data/generated/google/apis/bigquery_v2/representations.rb +5 -1
  15. data/generated/google/apis/bigquery_v2/service.rb +15 -3
  16. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  17. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -0
  18. data/generated/google/apis/calendar_v3.rb +1 -1
  19. data/generated/google/apis/calendar_v3/classes.rb +45 -0
  20. data/generated/google/apis/calendar_v3/representations.rb +29 -0
  21. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  22. data/generated/google/apis/cloudbuild_v1/classes.rb +11 -2
  23. data/generated/google/apis/compute_alpha.rb +1 -1
  24. data/generated/google/apis/compute_alpha/classes.rb +64 -30
  25. data/generated/google/apis/compute_alpha/representations.rb +1 -0
  26. data/generated/google/apis/compute_alpha/service.rb +142 -5
  27. data/generated/google/apis/compute_beta.rb +1 -1
  28. data/generated/google/apis/compute_beta/classes.rb +55 -29
  29. data/generated/google/apis/compute_beta/service.rb +3 -3
  30. data/generated/google/apis/compute_v1.rb +1 -1
  31. data/generated/google/apis/compute_v1/classes.rb +219 -23
  32. data/generated/google/apis/compute_v1/representations.rb +68 -0
  33. data/generated/google/apis/compute_v1/service.rb +148 -3
  34. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  35. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1769 -367
  36. data/generated/google/apis/dialogflow_v2beta1/representations.rb +813 -223
  37. data/generated/google/apis/dialogflow_v2beta1/service.rb +224 -224
  38. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  39. data/generated/google/apis/dlp_v2beta1/classes.rb +3 -1
  40. data/generated/google/apis/dlp_v2beta2.rb +1 -1
  41. data/generated/google/apis/dlp_v2beta2/classes.rb +3 -1
  42. data/generated/google/apis/drive_v2.rb +1 -1
  43. data/generated/google/apis/drive_v2/classes.rb +2 -1
  44. data/generated/google/apis/gmail_v1.rb +1 -1
  45. data/generated/google/apis/gmail_v1/classes.rb +24 -24
  46. data/generated/google/apis/ml_v1.rb +1 -1
  47. data/generated/google/apis/ml_v1/classes.rb +16 -0
  48. data/generated/google/apis/ml_v1/representations.rb +2 -0
  49. data/generated/google/apis/monitoring_v3.rb +1 -1
  50. data/generated/google/apis/monitoring_v3/classes.rb +9 -1
  51. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  52. data/generated/google/apis/poly_v1.rb +1 -1
  53. data/generated/google/apis/poly_v1/classes.rb +9 -0
  54. data/generated/google/apis/poly_v1/representations.rb +1 -0
  55. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  56. data/generated/google/apis/safebrowsing_v4/classes.rb +7 -0
  57. data/generated/google/apis/safebrowsing_v4/representations.rb +1 -0
  58. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  59. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +4 -2
  60. data/generated/google/apis/sheets_v4.rb +1 -1
  61. data/generated/google/apis/sheets_v4/classes.rb +282 -0
  62. data/generated/google/apis/sheets_v4/representations.rb +66 -0
  63. data/generated/google/apis/slides_v1.rb +1 -1
  64. data/generated/google/apis/slides_v1/classes.rb +15 -0
  65. data/generated/google/apis/slides_v1/representations.rb +1 -0
  66. data/generated/google/apis/slides_v1/service.rb +1 -0
  67. data/generated/google/apis/sqladmin_v1beta3.rb +1 -1
  68. data/generated/google/apis/sqladmin_v1beta3/classes.rb +17 -0
  69. data/generated/google/apis/sqladmin_v1beta3/representations.rb +2 -0
  70. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  71. data/generated/google/apis/sqladmin_v1beta4/classes.rb +37 -15
  72. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  73. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -2
  74. data/generated/google/apis/testing_v1.rb +1 -1
  75. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  76. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  77. data/lib/google/apis/version.rb +1 -1
  78. metadata +2 -2
@@ -94,6 +94,18 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class ConferenceParameters
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ConferenceParametersAddOnParameters
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
97
109
  class ConferenceProperties
98
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
111
 
@@ -407,10 +419,27 @@ module Google
407
419
  collection :entry_points, as: 'entryPoints', class: Google::Apis::CalendarV3::EntryPoint, decorator: Google::Apis::CalendarV3::EntryPoint::Representation
408
420
 
409
421
  property :notes, as: 'notes'
422
+ property :parameters, as: 'parameters', class: Google::Apis::CalendarV3::ConferenceParameters, decorator: Google::Apis::CalendarV3::ConferenceParameters::Representation
423
+
410
424
  property :signature, as: 'signature'
411
425
  end
412
426
  end
413
427
 
428
+ class ConferenceParameters
429
+ # @private
430
+ class Representation < Google::Apis::Core::JsonRepresentation
431
+ property :add_on_parameters, as: 'addOnParameters', class: Google::Apis::CalendarV3::ConferenceParametersAddOnParameters, decorator: Google::Apis::CalendarV3::ConferenceParametersAddOnParameters::Representation
432
+
433
+ end
434
+ end
435
+
436
+ class ConferenceParametersAddOnParameters
437
+ # @private
438
+ class Representation < Google::Apis::Core::JsonRepresentation
439
+ hash :parameters, as: 'parameters'
440
+ end
441
+ end
442
+
414
443
  class ConferenceProperties
415
444
  # @private
416
445
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/container-builder/docs/
26
26
  module CloudbuildV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180104'
28
+ REVISION = '20180130'
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'
@@ -171,6 +171,7 @@ module Google
171
171
  # * FETCHSOURCE: time to fetch source.
172
172
  # If the build does not specify source, or does not specify images,
173
173
  # these keys will not be included.
174
+ # @OutputOnly
174
175
  # Corresponds to the JSON property `timing`
175
176
  # @return [Hash<String,Google::Apis::CloudbuildV1::TimeSpan>]
176
177
  attr_accessor :timing
@@ -305,8 +306,14 @@ module Google
305
306
  # @return [Array<String>]
306
307
  attr_accessor :args
307
308
 
308
- # Working directory (relative to project source root) to use when running
309
- # this operation's container.
309
+ # Working directory to use when running this step's container.
310
+ # If this value is a relative path, it is relative to the build's working
311
+ # directory. If this value is absolute, it may be outside the build's working
312
+ # directory, in which case the contents of the path may not be persisted
313
+ # across build step executions, unless a volume for that path is specified.
314
+ # If the build specifies a RepoSource with dir and a step with a dir which
315
+ # specifies an absolute path, the RepoSource dir is ignored for the step's
316
+ # execution.
310
317
  # Corresponds to the JSON property `dir`
311
318
  # @return [String]
312
319
  attr_accessor :dir
@@ -782,6 +789,8 @@ module Google
782
789
  attr_accessor :commit_sha
783
790
 
784
791
  # Directory, relative to the source root, in which to run the build.
792
+ # This must be a relative path. If a step's dir is specified and is an
793
+ # absolute path, this value is ignored for that step's execution.
785
794
  # Corresponds to the JSON property `dir`
786
795
  # @return [String]
787
796
  attr_accessor :dir
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeAlpha
27
27
  VERSION = 'Alpha'
28
- REVISION = '20171228'
28
+ REVISION = '20180112'
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'
@@ -98,7 +98,8 @@ module Google
98
98
  attr_accessor :self_link
99
99
 
100
100
  # [Output Only] The name of the zone where the accelerator type resides, such as
101
- # us-central1-a.
101
+ # us-central1-a. You must specify this field as part of the HTTP request URL. It
102
+ # is not settable as a field in the request body.
102
103
  # Corresponds to the JSON property `zone`
103
104
  # @return [String]
104
105
  attr_accessor :zone
@@ -615,7 +616,8 @@ module Google
615
616
  attr_accessor :network_tier
616
617
 
617
618
  # [Output Only] URL of the region where the regional address resides. This field
618
- # is not applicable to global addresses.
619
+ # is not applicable to global addresses. You must specify this field as part of
620
+ # the HTTP request URL. You cannot set this field in the request body.
619
621
  # Corresponds to the JSON property `region`
620
622
  # @return [String]
621
623
  attr_accessor :region
@@ -1270,7 +1272,8 @@ module Google
1270
1272
  # ] `
1271
1273
  # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
1272
1274
  # logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.
1273
- # com from DATA_WRITE logging.
1275
+ # com from DATA_WRITE logging. This message is only visible as GOOGLE_INTERNAL
1276
+ # or IAM_AUDIT_CONFIG.
1274
1277
  class AuditConfig
1275
1278
  include Google::Apis::Core::Hashable
1276
1279
 
@@ -2584,7 +2587,9 @@ module Google
2584
2587
  attr_accessor :protocol
2585
2588
 
2586
2589
  # [Output Only] URL of the region where the regional backend service resides.
2587
- # This field is not applicable to global backend services.
2590
+ # This field is not applicable to global backend services. You must specify this
2591
+ # field as part of the HTTP request URL. It is not settable as a field in the
2592
+ # request body.
2588
2593
  # Corresponds to the JSON property `region`
2589
2594
  # @return [String]
2590
2595
  attr_accessor :region
@@ -4104,7 +4109,8 @@ module Google
4104
4109
  attr_accessor :physical_block_size_bytes
4105
4110
 
4106
4111
  # [Output Only] URL of the region where the disk resides. Only applicable for
4107
- # regional resources.
4112
+ # regional resources. You must specify this field as part of the HTTP request
4113
+ # URL. It is not settable as a field in the request body.
4108
4114
  # Corresponds to the JSON property `region`
4109
4115
  # @return [String]
4110
4116
  attr_accessor :region
@@ -4210,7 +4216,9 @@ module Google
4210
4216
  # @return [Array<String>]
4211
4217
  attr_accessor :users
4212
4218
 
4213
- # [Output Only] URL of the zone where the disk resides.
4219
+ # [Output Only] URL of the zone where the disk resides. You must specify this
4220
+ # field as part of the HTTP request URL. It is not settable as a field in the
4221
+ # request body.
4214
4222
  # Corresponds to the JSON property `zone`
4215
4223
  # @return [String]
4216
4224
  attr_accessor :zone
@@ -4615,7 +4623,9 @@ module Google
4615
4623
  # @return [String]
4616
4624
  attr_accessor :valid_disk_size
4617
4625
 
4618
- # [Output Only] URL of the zone where the disk type resides.
4626
+ # [Output Only] URL of the zone where the disk type resides. You must specify
4627
+ # this field as part of the HTTP request URL. It is not settable as a field in
4628
+ # the request body.
4619
4629
  # Corresponds to the JSON property `zone`
4620
4630
  # @return [String]
4621
4631
  attr_accessor :zone
@@ -5174,7 +5184,7 @@ module Google
5174
5184
  attr_accessor :creation_timestamp
5175
5185
 
5176
5186
  # The list of DENY rules specified by this firewall. Each rule specifies a
5177
- # protocol and port-range tuple that describes a permitted connection.
5187
+ # protocol and port-range tuple that describes a denied connection.
5178
5188
  # Corresponds to the JSON property `denied`
5179
5189
  # @return [Array<Google::Apis::ComputeAlpha::Firewall::Denied>]
5180
5190
  attr_accessor :denied
@@ -5731,7 +5741,6 @@ module Google
5731
5741
  # - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883,
5732
5742
  # 5222
5733
5743
  # - TargetVpnGateway: 500, 4500
5734
- # -
5735
5744
  # Corresponds to the JSON property `portRange`
5736
5745
  # @return [String]
5737
5746
  attr_accessor :port_range
@@ -5747,7 +5756,9 @@ module Google
5747
5756
  attr_accessor :ports
5748
5757
 
5749
5758
  # [Output Only] URL of the region where the regional forwarding rule resides.
5750
- # This field is not applicable to global forwarding rules.
5759
+ # This field is not applicable to global forwarding rules. You must specify this
5760
+ # field as part of the HTTP request URL. It is not settable as a field in the
5761
+ # request body.
5751
5762
  # Corresponds to the JSON property `region`
5752
5763
  # @return [String]
5753
5764
  attr_accessor :region
@@ -5791,7 +5802,6 @@ module Google
5791
5802
  # rule. For global forwarding rules, this target must be a global load balancing
5792
5803
  # resource. The forwarded traffic must be of a type appropriate to the target
5793
5804
  # object.
5794
- # This field is not used for internal load balancing.
5795
5805
  # Corresponds to the JSON property `target`
5796
5806
  # @return [String]
5797
5807
  attr_accessor :target
@@ -8788,7 +8798,9 @@ module Google
8788
8798
  # @return [Google::Apis::ComputeAlpha::Tags]
8789
8799
  attr_accessor :tags
8790
8800
 
8791
- # [Output Only] URL of the zone where the instance resides.
8801
+ # [Output Only] URL of the zone where the instance resides. You must specify
8802
+ # this field as part of the HTTP request URL. It is not settable as a field in
8803
+ # the request body.
8792
8804
  # Corresponds to the JSON property `zone`
8793
8805
  # @return [String]
8794
8806
  attr_accessor :zone
@@ -9555,8 +9567,8 @@ module Google
9555
9567
  attr_accessor :restarting
9556
9568
 
9557
9569
  # [Output Only] The number of instances in the managed instance group that are
9558
- # being verified. More details regarding verification process are covered in the
9559
- # documentation of ManagedInstance.InstanceAction.VERIFYING enum field.
9570
+ # being verified. See the managedInstances[].currentAction property in the
9571
+ # listManagedInstances method documentation.
9560
9572
  # Corresponds to the JSON property `verifying`
9561
9573
  # @return [Fixnum]
9562
9574
  attr_accessor :verifying
@@ -12076,7 +12088,8 @@ module Google
12076
12088
  attr_accessor :private_interconnect_info
12077
12089
 
12078
12090
  # [Output Only] URL of the region where the regional interconnect attachment
12079
- # resides.
12091
+ # resides. You must specify this field as part of the HTTP request URL. It is
12092
+ # not settable as a field in the request body.
12080
12093
  # Corresponds to the JSON property `region`
12081
12094
  # @return [String]
12082
12095
  attr_accessor :region
@@ -14477,6 +14490,8 @@ module Google
14477
14490
  # - REFRESHING The managed instance group is applying configuration changes to
14478
14491
  # the instance without stopping it. For example, the group can update the target
14479
14492
  # pool list for an instance without stopping that instance.
14493
+ # - VERIFYING The managed instance group has created the instance and it is in
14494
+ # the process of being verified.
14480
14495
  # Corresponds to the JSON property `currentAction`
14481
14496
  # @return [String]
14482
14497
  attr_accessor :current_action
@@ -16079,7 +16094,9 @@ module Google
16079
16094
  attr_accessor :progress
16080
16095
 
16081
16096
  # [Output Only] The URL of the region where the operation resides. Only
16082
- # available when performing regional operations.
16097
+ # available when performing regional operations. You must specify this field as
16098
+ # part of the HTTP request URL. It is not settable as a field in the request
16099
+ # body.
16083
16100
  # Corresponds to the JSON property `region`
16084
16101
  # @return [String]
16085
16102
  attr_accessor :region
@@ -16132,7 +16149,8 @@ module Google
16132
16149
  attr_accessor :warnings
16133
16150
 
16134
16151
  # [Output Only] The URL of the zone where the operation resides. Only available
16135
- # when performing per-zone operations.
16152
+ # when performing per-zone operations. You must specify this field as part of
16153
+ # the HTTP request URL. It is not settable as a field in the request body.
16136
16154
  # Corresponds to the JSON property `zone`
16137
16155
  # @return [String]
16138
16156
  attr_accessor :zone
@@ -16728,11 +16746,12 @@ module Google
16728
16746
  # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
16729
16747
  # sean@example.com"] ` ] `
16730
16748
  # For a description of IAM and its features, see the [IAM developer's guide](
16731
- # https://cloud.google.com/iam).
16749
+ # https://cloud.google.com/iam/docs).
16732
16750
  class Policy
16733
16751
  include Google::Apis::Core::Hashable
16734
16752
 
16735
- # Specifies cloud audit logging configuration for this policy.
16753
+ # Specifies cloud audit logging configuration for this policy. This field is
16754
+ # only visible as GOOGLE_INTERNAL or IAM_AUDIT_CONFIG.
16736
16755
  # Corresponds to the JSON property `auditConfigs`
16737
16756
  # @return [Array<Google::Apis::ComputeAlpha::AuditConfig>]
16738
16757
  attr_accessor :audit_configs
@@ -16774,7 +16793,7 @@ module Google
16774
16793
  # @return [Array<Google::Apis::ComputeAlpha::Rule>]
16775
16794
  attr_accessor :rules
16776
16795
 
16777
- # Version of the `Policy`. The default version is 0.
16796
+ # Deprecated.
16778
16797
  # Corresponds to the JSON property `version`
16779
16798
  # @return [Fixnum]
16780
16799
  attr_accessor :version
@@ -18757,7 +18776,9 @@ module Google
18757
18776
  # @return [String]
18758
18777
  attr_accessor :network
18759
18778
 
18760
- # [Output Only] URI of the region where the router resides.
18779
+ # [Output Only] URI of the region where the router resides. You must specify
18780
+ # this field as part of the HTTP request URL. It is not settable as a field in
18781
+ # the request body.
18761
18782
  # Corresponds to the JSON property `region`
18762
18783
  # @return [String]
18763
18784
  attr_accessor :region
@@ -21297,6 +21318,12 @@ module Google
21297
21318
  # @return [String]
21298
21319
  attr_accessor :description
21299
21320
 
21321
+ # Whether to enable flow logging for this subnetwork.
21322
+ # Corresponds to the JSON property `enableFlowLogs`
21323
+ # @return [Boolean]
21324
+ attr_accessor :enable_flow_logs
21325
+ alias_method :enable_flow_logs?, :enable_flow_logs
21326
+
21300
21327
  # Fingerprint of this resource. A hash of the contents stored in this object.
21301
21328
  # This field is used in optimistic locking. This field will be ignored when
21302
21329
  # inserting a Subnetwork. An up-to-date fingerprint must be provided in order to
@@ -21307,8 +21334,7 @@ module Google
21307
21334
  attr_accessor :fingerprint
21308
21335
 
21309
21336
  # [Output Only] The gateway address for default routes to reach destination
21310
- # addresses outside this subnetwork. This field can be set only at resource
21311
- # creation time.
21337
+ # addresses outside this subnetwork.
21312
21338
  # Corresponds to the JSON property `gatewayAddress`
21313
21339
  # @return [String]
21314
21340
  attr_accessor :gateway_address
@@ -21387,6 +21413,7 @@ module Google
21387
21413
  @allow_subnet_cidr_routes_overlap = args[:allow_subnet_cidr_routes_overlap] if args.key?(:allow_subnet_cidr_routes_overlap)
21388
21414
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
21389
21415
  @description = args[:description] if args.key?(:description)
21416
+ @enable_flow_logs = args[:enable_flow_logs] if args.key?(:enable_flow_logs)
21390
21417
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
21391
21418
  @gateway_address = args[:gateway_address] if args.key?(:gateway_address)
21392
21419
  @id = args[:id] if args.key?(:id)
@@ -22410,7 +22437,9 @@ module Google
22410
22437
  # @return [String]
22411
22438
  attr_accessor :self_link
22412
22439
 
22413
- # [Output Only] URL of the zone where the target instance resides.
22440
+ # [Output Only] URL of the zone where the target instance resides. You must
22441
+ # specify this field as part of the HTTP request URL. It is not settable as a
22442
+ # field in the request body.
22414
22443
  # Corresponds to the JSON property `zone`
22415
22444
  # @return [String]
22416
22445
  attr_accessor :zone
@@ -23906,7 +23935,9 @@ module Google
23906
23935
  # @return [String]
23907
23936
  attr_accessor :network
23908
23937
 
23909
- # [Output Only] URL of the region where the target VPN gateway resides.
23938
+ # [Output Only] URL of the region where the target VPN gateway resides. You must
23939
+ # specify this field as part of the HTTP request URL. It is not settable as a
23940
+ # field in the request body.
23910
23941
  # Corresponds to the JSON property `region`
23911
23942
  # @return [String]
23912
23943
  attr_accessor :region
@@ -24460,8 +24491,9 @@ module Google
24460
24491
  # @return [String]
24461
24492
  attr_accessor :self_link
24462
24493
 
24463
- # The list of expected URL mappings. Request to update this UrlMap will succeed
24464
- # only if all of the test cases pass.
24494
+ # The list of expected URL mapping tests. Request to update this UrlMap will
24495
+ # succeed only if all of the test cases pass. You can specify a maximum of 100
24496
+ # tests per UrlMap.
24465
24497
  # Corresponds to the JSON property `tests`
24466
24498
  # @return [Array<Google::Apis::ComputeAlpha::UrlMapTest>]
24467
24499
  attr_accessor :tests
@@ -25023,7 +25055,9 @@ module Google
25023
25055
  # @return [String]
25024
25056
  attr_accessor :peer_ip
25025
25057
 
25026
- # [Output Only] URL of the region where the VPN tunnel resides.
25058
+ # [Output Only] URL of the region where the VPN tunnel resides. You must specify
25059
+ # this field as part of the HTTP request URL. It is not settable as a field in
25060
+ # the request body.
25027
25061
  # Corresponds to the JSON property `region`
25028
25062
  # @return [String]
25029
25063
  attr_accessor :region
@@ -25061,8 +25095,8 @@ module Google
25061
25095
  # @return [String]
25062
25096
  attr_accessor :status
25063
25097
 
25064
- # URL of the VPN gateway with which this VPN tunnel is associated. Provided by
25065
- # the client when the VPN tunnel is created.
25098
+ # URL of the Target VPN gateway with which this VPN tunnel is associated.
25099
+ # Provided by the client when the VPN tunnel is created.
25066
25100
  # Corresponds to the JSON property `targetVpnGateway`
25067
25101
  # @return [String]
25068
25102
  attr_accessor :target_vpn_gateway
@@ -8942,6 +8942,7 @@ module Google
8942
8942
  property :allow_subnet_cidr_routes_overlap, as: 'allowSubnetCidrRoutesOverlap'
8943
8943
  property :creation_timestamp, as: 'creationTimestamp'
8944
8944
  property :description, as: 'description'
8945
+ property :enable_flow_logs, as: 'enableFlowLogs'
8945
8946
  property :fingerprint, :base64 => true, as: 'fingerprint'
8946
8947
  property :gateway_address, as: 'gatewayAddress'
8947
8948
  property :id, :numeric_string => true, as: 'id'
@@ -3488,8 +3488,8 @@ module Google
3488
3488
  execute_or_queue_command(command, &block)
3489
3489
  end
3490
3490
 
3491
- # Updates the specified firewall rule with the data included in the request.
3492
- # Using PUT method, can only update following fields of firewall rule: allowed,
3491
+ # Updates the specified firewall rule with the data included in the request. The
3492
+ # PUT method can only update the following fields of firewall rule: allowed,
3493
3493
  # description, sourceRanges, sourceTags, targetTags.
3494
3494
  # @param [String] project
3495
3495
  # Project ID for this request.
@@ -14853,6 +14853,137 @@ module Google
14853
14853
  execute_or_queue_command(command, &block)
14854
14854
  end
14855
14855
 
14856
+ # Gets the access control policy for a resource. May be empty if no such policy
14857
+ # or resource exists.
14858
+ # @param [String] project
14859
+ # Project ID for this request.
14860
+ # @param [String] region
14861
+ # The name of the region for this request.
14862
+ # @param [String] resource
14863
+ # Name of the resource for this request.
14864
+ # @param [String] fields
14865
+ # Selector specifying which fields to include in a partial response.
14866
+ # @param [String] quota_user
14867
+ # Available to use for quota purposes for server-side applications. Can be any
14868
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
14869
+ # Overrides userIp if both are provided.
14870
+ # @param [String] user_ip
14871
+ # IP address of the site where the request originates. Use this if you want to
14872
+ # enforce per-user limits.
14873
+ # @param [Google::Apis::RequestOptions] options
14874
+ # Request-specific options
14875
+ #
14876
+ # @yield [result, err] Result & error if block supplied
14877
+ # @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
14878
+ # @yieldparam err [StandardError] error object if request failed
14879
+ #
14880
+ # @return [Google::Apis::ComputeAlpha::Policy]
14881
+ #
14882
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
14883
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
14884
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
14885
+ def get_node_template_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
14886
+ command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy', options)
14887
+ command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
14888
+ command.response_class = Google::Apis::ComputeAlpha::Policy
14889
+ command.params['project'] = project unless project.nil?
14890
+ command.params['region'] = region unless region.nil?
14891
+ command.params['resource'] = resource unless resource.nil?
14892
+ command.query['fields'] = fields unless fields.nil?
14893
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
14894
+ command.query['userIp'] = user_ip unless user_ip.nil?
14895
+ execute_or_queue_command(command, &block)
14896
+ end
14897
+
14898
+ # Sets the access control policy on the specified resource. Replaces any
14899
+ # existing policy.
14900
+ # @param [String] project
14901
+ # Project ID for this request.
14902
+ # @param [String] region
14903
+ # The name of the region for this request.
14904
+ # @param [String] resource
14905
+ # Name of the resource for this request.
14906
+ # @param [Google::Apis::ComputeAlpha::Policy] policy_object
14907
+ # @param [String] fields
14908
+ # Selector specifying which fields to include in a partial response.
14909
+ # @param [String] quota_user
14910
+ # Available to use for quota purposes for server-side applications. Can be any
14911
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
14912
+ # Overrides userIp if both are provided.
14913
+ # @param [String] user_ip
14914
+ # IP address of the site where the request originates. Use this if you want to
14915
+ # enforce per-user limits.
14916
+ # @param [Google::Apis::RequestOptions] options
14917
+ # Request-specific options
14918
+ #
14919
+ # @yield [result, err] Result & error if block supplied
14920
+ # @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
14921
+ # @yieldparam err [StandardError] error object if request failed
14922
+ #
14923
+ # @return [Google::Apis::ComputeAlpha::Policy]
14924
+ #
14925
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
14926
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
14927
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
14928
+ def set_node_template_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
14929
+ command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy', options)
14930
+ command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
14931
+ command.request_object = policy_object
14932
+ command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
14933
+ command.response_class = Google::Apis::ComputeAlpha::Policy
14934
+ command.params['project'] = project unless project.nil?
14935
+ command.params['region'] = region unless region.nil?
14936
+ command.params['resource'] = resource unless resource.nil?
14937
+ command.query['fields'] = fields unless fields.nil?
14938
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
14939
+ command.query['userIp'] = user_ip unless user_ip.nil?
14940
+ execute_or_queue_command(command, &block)
14941
+ end
14942
+
14943
+ # Returns permissions that a caller has on the specified resource.
14944
+ # @param [String] project
14945
+ # Project ID for this request.
14946
+ # @param [String] region
14947
+ # The name of the region for this request.
14948
+ # @param [String] resource
14949
+ # Name of the resource for this request.
14950
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
14951
+ # @param [String] fields
14952
+ # Selector specifying which fields to include in a partial response.
14953
+ # @param [String] quota_user
14954
+ # Available to use for quota purposes for server-side applications. Can be any
14955
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
14956
+ # Overrides userIp if both are provided.
14957
+ # @param [String] user_ip
14958
+ # IP address of the site where the request originates. Use this if you want to
14959
+ # enforce per-user limits.
14960
+ # @param [Google::Apis::RequestOptions] options
14961
+ # Request-specific options
14962
+ #
14963
+ # @yield [result, err] Result & error if block supplied
14964
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
14965
+ # @yieldparam err [StandardError] error object if request failed
14966
+ #
14967
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
14968
+ #
14969
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
14970
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
14971
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
14972
+ def test_node_template_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
14973
+ command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions', options)
14974
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
14975
+ command.request_object = test_permissions_request_object
14976
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
14977
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
14978
+ command.params['project'] = project unless project.nil?
14979
+ command.params['region'] = region unless region.nil?
14980
+ command.params['resource'] = resource unless resource.nil?
14981
+ command.query['fields'] = fields unless fields.nil?
14982
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
14983
+ command.query['userIp'] = user_ip unless user_ip.nil?
14984
+ execute_or_queue_command(command, &block)
14985
+ end
14986
+
14856
14987
  # Disable this project as a shared VPC host project.
14857
14988
  # @param [String] project
14858
14989
  # Project ID for this request.
@@ -16002,7 +16133,7 @@ module Google
16002
16133
  # @param [String] region
16003
16134
  # Name of the region scoping this request.
16004
16135
  # @param [String] backend_service
16005
- # Name of the BackendService resource to which the queried instance belongs.
16136
+ # Name of the BackendService resource for which to get health.
16006
16137
  # @param [Google::Apis::ComputeAlpha::ResourceGroupReference] resource_group_reference_object
16007
16138
  # @param [String] fields
16008
16139
  # Selector specifying which fields to include in a partial response.
@@ -19695,6 +19826,8 @@ module Google
19695
19826
  # @param [String] security_policy
19696
19827
  # Name of the security policy to update.
19697
19828
  # @param [Google::Apis::ComputeAlpha::SecurityPolicyRule] security_policy_rule_object
19829
+ # @param [Boolean] validate_only
19830
+ # If true, the request will not be committed.
19698
19831
  # @param [String] fields
19699
19832
  # Selector specifying which fields to include in a partial response.
19700
19833
  # @param [String] quota_user
@@ -19716,7 +19849,7 @@ module Google
19716
19849
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19717
19850
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19718
19851
  # @raise [Google::Apis::AuthorizationError] Authorization is required
19719
- def add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19852
+ 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)
19720
19853
  command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/addRule', options)
19721
19854
  command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
19722
19855
  command.request_object = security_policy_rule_object
@@ -19724,6 +19857,7 @@ module Google
19724
19857
  command.response_class = Google::Apis::ComputeAlpha::Operation
19725
19858
  command.params['project'] = project unless project.nil?
19726
19859
  command.params['securityPolicy'] = security_policy unless security_policy.nil?
19860
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
19727
19861
  command.query['fields'] = fields unless fields.nil?
19728
19862
  command.query['quotaUser'] = quota_user unless quota_user.nil?
19729
19863
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -20047,6 +20181,8 @@ module Google
20047
20181
  # @param [Google::Apis::ComputeAlpha::SecurityPolicyRule] security_policy_rule_object
20048
20182
  # @param [Fixnum] priority
20049
20183
  # The priority of the rule to patch.
20184
+ # @param [Boolean] validate_only
20185
+ # If true, the request will not be committed.
20050
20186
  # @param [String] fields
20051
20187
  # Selector specifying which fields to include in a partial response.
20052
20188
  # @param [String] quota_user
@@ -20068,7 +20204,7 @@ module Google
20068
20204
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
20069
20205
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
20070
20206
  # @raise [Google::Apis::AuthorizationError] Authorization is required
20071
- 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)
20207
+ 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)
20072
20208
  command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/patchRule', options)
20073
20209
  command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
20074
20210
  command.request_object = security_policy_rule_object
@@ -20077,6 +20213,7 @@ module Google
20077
20213
  command.params['project'] = project unless project.nil?
20078
20214
  command.params['securityPolicy'] = security_policy unless security_policy.nil?
20079
20215
  command.query['priority'] = priority unless priority.nil?
20216
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
20080
20217
  command.query['fields'] = fields unless fields.nil?
20081
20218
  command.query['quotaUser'] = quota_user unless quota_user.nil?
20082
20219
  command.query['userIp'] = user_ip unless user_ip.nil?