google-api-client 0.39.5 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/generated/google/apis/apigee_v1.rb +1 -1
  4. data/generated/google/apis/apigee_v1/classes.rb +39 -4
  5. data/generated/google/apis/apigee_v1/representations.rb +5 -0
  6. data/generated/google/apis/apigee_v1/service.rb +15 -13
  7. data/generated/google/apis/bigquery_v2.rb +1 -1
  8. data/generated/google/apis/bigquery_v2/classes.rb +34 -0
  9. data/generated/google/apis/bigquery_v2/representations.rb +3 -0
  10. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  11. data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
  12. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  13. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +2 -0
  14. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  15. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  16. data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
  17. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  18. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  19. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  20. data/generated/google/apis/cloudiot_v1.rb +1 -1
  21. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  22. data/generated/google/apis/cloudkms_v1.rb +1 -1
  23. data/generated/google/apis/cloudkms_v1/classes.rb +281 -0
  24. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  25. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  26. data/generated/google/apis/cloudtasks_v2/classes.rb +2 -2
  27. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  28. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
  29. data/generated/google/apis/compute_alpha.rb +1 -1
  30. data/generated/google/apis/compute_alpha/classes.rb +23 -7
  31. data/generated/google/apis/compute_alpha/representations.rb +3 -1
  32. data/generated/google/apis/compute_alpha/service.rb +671 -671
  33. data/generated/google/apis/compute_beta.rb +1 -1
  34. data/generated/google/apis/compute_beta/classes.rb +1 -1
  35. data/generated/google/apis/compute_beta/service.rb +591 -591
  36. data/generated/google/apis/compute_v1.rb +1 -1
  37. data/generated/google/apis/compute_v1/classes.rb +37 -1
  38. data/generated/google/apis/compute_v1/representations.rb +5 -0
  39. data/generated/google/apis/container_v1.rb +1 -1
  40. data/generated/google/apis/container_v1/classes.rb +2 -4
  41. data/generated/google/apis/container_v1beta1.rb +1 -1
  42. data/generated/google/apis/container_v1beta1/classes.rb +27 -4
  43. data/generated/google/apis/container_v1beta1/representations.rb +16 -0
  44. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  45. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  46. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  47. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  48. data/generated/google/apis/dialogflow_v2.rb +1 -1
  49. data/generated/google/apis/dialogflow_v2/classes.rb +565 -8
  50. data/generated/google/apis/dialogflow_v2/representations.rb +238 -0
  51. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  52. data/generated/google/apis/dialogflow_v2beta1/classes.rb +565 -8
  53. data/generated/google/apis/dialogflow_v2beta1/representations.rb +238 -0
  54. data/generated/google/apis/dialogflow_v2beta1/service.rb +44 -0
  55. data/generated/google/apis/dialogflow_v3alpha1.rb +1 -1
  56. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +565 -8
  57. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +238 -0
  58. data/generated/google/apis/displayvideo_v1.rb +1 -1
  59. data/generated/google/apis/displayvideo_v1/classes.rb +149 -0
  60. data/generated/google/apis/displayvideo_v1/representations.rb +76 -0
  61. data/generated/google/apis/displayvideo_v1/service.rb +280 -0
  62. data/generated/google/apis/fitness_v1.rb +4 -4
  63. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  64. data/generated/google/apis/fitness_v1/service.rb +187 -215
  65. data/generated/google/apis/healthcare_v1.rb +1 -1
  66. data/generated/google/apis/healthcare_v1/classes.rb +36 -27
  67. data/generated/google/apis/healthcare_v1/service.rb +61 -29
  68. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  69. data/generated/google/apis/healthcare_v1beta1/classes.rb +38 -34
  70. data/generated/google/apis/healthcare_v1beta1/service.rb +162 -144
  71. data/generated/google/apis/homegraph_v1.rb +1 -1
  72. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  73. data/generated/google/apis/iam_v1.rb +1 -1
  74. data/generated/google/apis/iam_v1/classes.rb +24 -12
  75. data/generated/google/apis/iam_v1/service.rb +7 -0
  76. data/generated/google/apis/monitoring_v3.rb +1 -1
  77. data/generated/google/apis/monitoring_v3/classes.rb +7 -0
  78. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  79. data/generated/google/apis/spanner_v1.rb +1 -1
  80. data/generated/google/apis/spanner_v1/classes.rb +29 -10
  81. data/generated/google/apis/tpu_v1.rb +1 -1
  82. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  83. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  84. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  85. data/generated/google/apis/youtube_v3.rb +1 -1
  86. data/generated/google/apis/youtube_v3/classes.rb +26 -26
  87. data/generated/google/apis/youtube_v3/service.rb +1 -36
  88. data/lib/google/apis/version.rb +1 -1
  89. metadata +7 -11
  90. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  91. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  92. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  93. data/generated/google/apis/pagespeedonline_v4.rb +0 -32
  94. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  95. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  96. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -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 = '20200427'
28
+ REVISION = '20200501'
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'
@@ -10024,6 +10024,12 @@ module Google
10024
10024
  # @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
10025
10025
  attr_accessor :network_interfaces
10026
10026
 
10027
+ # The private IPv6 google access type for the VM. If not specified, use
10028
+ # INHERIT_FROM_SUBNETWORK as default.
10029
+ # Corresponds to the JSON property `privateIpv6GoogleAccess`
10030
+ # @return [String]
10031
+ attr_accessor :private_ipv6_google_access
10032
+
10027
10033
  # Specifies the reservations that this instance can consume from.
10028
10034
  # Corresponds to the JSON property `reservationAffinity`
10029
10035
  # @return [Google::Apis::ComputeV1::ReservationAffinity]
@@ -10072,7 +10078,7 @@ module Google
10072
10078
  alias_method :start_restricted?, :start_restricted
10073
10079
 
10074
10080
  # [Output Only] The status of the instance. One of the following values:
10075
- # PROVISIONING, STAGING, RUNNING, STOPPING, STOPPED, SUSPENDING, SUSPENDED, and
10081
+ # PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, and
10076
10082
  # TERMINATED.
10077
10083
  # Corresponds to the JSON property `status`
10078
10084
  # @return [String]
@@ -10120,6 +10126,7 @@ module Google
10120
10126
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
10121
10127
  @name = args[:name] if args.key?(:name)
10122
10128
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
10129
+ @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
10123
10130
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
10124
10131
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
10125
10132
  @scheduling = args[:scheduling] if args.key?(:scheduling)
@@ -12359,6 +12366,12 @@ module Google
12359
12366
  # @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
12360
12367
  attr_accessor :network_interfaces
12361
12368
 
12369
+ # The private IPv6 google access type for the VM. If not specified, use
12370
+ # INHERIT_FROM_SUBNETWORK as default.
12371
+ # Corresponds to the JSON property `privateIpv6GoogleAccess`
12372
+ # @return [String]
12373
+ attr_accessor :private_ipv6_google_access
12374
+
12362
12375
  # Specifies the reservations that this instance can consume from.
12363
12376
  # Corresponds to the JSON property `reservationAffinity`
12364
12377
  # @return [Google::Apis::ComputeV1::ReservationAffinity]
@@ -12407,6 +12420,7 @@ module Google
12407
12420
  @metadata = args[:metadata] if args.key?(:metadata)
12408
12421
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
12409
12422
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
12423
+ @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
12410
12424
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
12411
12425
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
12412
12426
  @scheduling = args[:scheduling] if args.key?(:scheduling)
@@ -16647,6 +16661,11 @@ module Google
16647
16661
  # @return [String]
16648
16662
  attr_accessor :fingerprint
16649
16663
 
16664
+ # [Output Only] An IPv6 internal network address for this network interface.
16665
+ # Corresponds to the JSON property `ipv6Address`
16666
+ # @return [String]
16667
+ attr_accessor :ipv6_address
16668
+
16650
16669
  # [Output Only] Type of the resource. Always compute#networkInterface for
16651
16670
  # network interfaces.
16652
16671
  # Corresponds to the JSON property `kind`
@@ -16702,6 +16721,7 @@ module Google
16702
16721
  @access_configs = args[:access_configs] if args.key?(:access_configs)
16703
16722
  @alias_ip_ranges = args[:alias_ip_ranges] if args.key?(:alias_ip_ranges)
16704
16723
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
16724
+ @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
16705
16725
  @kind = args[:kind] if args.key?(:kind)
16706
16726
  @name = args[:name] if args.key?(:name)
16707
16727
  @network = args[:network] if args.key?(:network)
@@ -26571,6 +26591,12 @@ module Google
26571
26591
  # @return [String]
26572
26592
  attr_accessor :ip_cidr_range
26573
26593
 
26594
+ # [Output Only] The range of internal IPv6 addresses that are owned by this
26595
+ # subnetwork.
26596
+ # Corresponds to the JSON property `ipv6CidrRange`
26597
+ # @return [String]
26598
+ attr_accessor :ipv6_cidr_range
26599
+
26574
26600
  # [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork
26575
26601
  # resources.
26576
26602
  # Corresponds to the JSON property `kind`
@@ -26608,6 +26634,14 @@ module Google
26608
26634
  attr_accessor :private_ip_google_access
26609
26635
  alias_method :private_ip_google_access?, :private_ip_google_access
26610
26636
 
26637
+ # The private IPv6 google access type for the VMs in this subnet. This is an
26638
+ # expanded field of enablePrivateV6Access. If both fields are set,
26639
+ # privateIpv6GoogleAccess will take priority.
26640
+ # This field can be both set at resource creation time and updated using patch.
26641
+ # Corresponds to the JSON property `privateIpv6GoogleAccess`
26642
+ # @return [String]
26643
+ attr_accessor :private_ipv6_google_access
26644
+
26611
26645
  # The purpose of the resource. This field can be either PRIVATE_RFC_1918 or
26612
26646
  # INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to
26613
26647
  # INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for
@@ -26670,11 +26704,13 @@ module Google
26670
26704
  @gateway_address = args[:gateway_address] if args.key?(:gateway_address)
26671
26705
  @id = args[:id] if args.key?(:id)
26672
26706
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
26707
+ @ipv6_cidr_range = args[:ipv6_cidr_range] if args.key?(:ipv6_cidr_range)
26673
26708
  @kind = args[:kind] if args.key?(:kind)
26674
26709
  @log_config = args[:log_config] if args.key?(:log_config)
26675
26710
  @name = args[:name] if args.key?(:name)
26676
26711
  @network = args[:network] if args.key?(:network)
26677
26712
  @private_ip_google_access = args[:private_ip_google_access] if args.key?(:private_ip_google_access)
26713
+ @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
26678
26714
  @purpose = args[:purpose] if args.key?(:purpose)
26679
26715
  @region = args[:region] if args.key?(:region)
26680
26716
  @role = args[:role] if args.key?(:role)
@@ -6833,6 +6833,7 @@ module Google
6833
6833
  property :name, as: 'name'
6834
6834
  collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeV1::NetworkInterface, decorator: Google::Apis::ComputeV1::NetworkInterface::Representation
6835
6835
 
6836
+ property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
6836
6837
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeV1::ReservationAffinity, decorator: Google::Apis::ComputeV1::ReservationAffinity::Representation
6837
6838
 
6838
6839
  collection :resource_policies, as: 'resourcePolicies'
@@ -7440,6 +7441,7 @@ module Google
7440
7441
  property :min_cpu_platform, as: 'minCpuPlatform'
7441
7442
  collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeV1::NetworkInterface, decorator: Google::Apis::ComputeV1::NetworkInterface::Representation
7442
7443
 
7444
+ property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
7443
7445
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeV1::ReservationAffinity, decorator: Google::Apis::ComputeV1::ReservationAffinity::Representation
7444
7446
 
7445
7447
  collection :resource_policies, as: 'resourcePolicies'
@@ -8534,6 +8536,7 @@ module Google
8534
8536
  collection :alias_ip_ranges, as: 'aliasIpRanges', class: Google::Apis::ComputeV1::AliasIpRange, decorator: Google::Apis::ComputeV1::AliasIpRange::Representation
8535
8537
 
8536
8538
  property :fingerprint, :base64 => true, as: 'fingerprint'
8539
+ property :ipv6_address, as: 'ipv6Address'
8537
8540
  property :kind, as: 'kind'
8538
8541
  property :name, as: 'name'
8539
8542
  property :network, as: 'network'
@@ -11074,12 +11077,14 @@ module Google
11074
11077
  property :gateway_address, as: 'gatewayAddress'
11075
11078
  property :id, :numeric_string => true, as: 'id'
11076
11079
  property :ip_cidr_range, as: 'ipCidrRange'
11080
+ property :ipv6_cidr_range, as: 'ipv6CidrRange'
11077
11081
  property :kind, as: 'kind'
11078
11082
  property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::SubnetworkLogConfig, decorator: Google::Apis::ComputeV1::SubnetworkLogConfig::Representation
11079
11083
 
11080
11084
  property :name, as: 'name'
11081
11085
  property :network, as: 'network'
11082
11086
  property :private_ip_google_access, as: 'privateIpGoogleAccess'
11087
+ property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
11083
11088
  property :purpose, as: 'purpose'
11084
11089
  property :region, as: 'region'
11085
11090
  property :role, as: 'role'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200501'
29
+ REVISION = '20200519'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -165,14 +165,12 @@ module Google
165
165
  # @return [Google::Apis::ContainerV1::NodeManagement]
166
166
  attr_accessor :management
167
167
 
168
- # Scopes that are used by NAP when creating node pools. If oauth_scopes are
169
- # specified, service_account should be empty.
168
+ # Scopes that are used by NAP when creating node pools.
170
169
  # Corresponds to the JSON property `oauthScopes`
171
170
  # @return [Array<String>]
172
171
  attr_accessor :oauth_scopes
173
172
 
174
- # The Google Cloud Platform Service Account to be used by the node VMs. If
175
- # service_account is specified, scopes should be empty.
173
+ # The Google Cloud Platform Service Account to be used by the node VMs.
176
174
  # Corresponds to the JSON property `serviceAccount`
177
175
  # @return [String]
178
176
  attr_accessor :service_account
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200505'
29
+ REVISION = '20200519'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -209,14 +209,12 @@ module Google
209
209
  # @return [String]
210
210
  attr_accessor :min_cpu_platform
211
211
 
212
- # Scopes that are used by NAP when creating node pools. If oauth_scopes are
213
- # specified, service_account should be empty.
212
+ # Scopes that are used by NAP when creating node pools.
214
213
  # Corresponds to the JSON property `oauthScopes`
215
214
  # @return [Array<String>]
216
215
  attr_accessor :oauth_scopes
217
216
 
218
- # The Google Cloud Platform Service Account to be used by the node VMs. If
219
- # service_account is specified, scopes should be empty.
217
+ # The Google Cloud Platform Service Account to be used by the node VMs.
220
218
  # Corresponds to the JSON property `serviceAccount`
221
219
  # @return [String]
222
220
  attr_accessor :service_account
@@ -638,6 +636,11 @@ module Google
638
636
  # @return [Google::Apis::ContainerV1beta1::MaintenancePolicy]
639
637
  attr_accessor :maintenance_policy
640
638
 
639
+ # Master is the configuration for components on master.
640
+ # Corresponds to the JSON property `master`
641
+ # @return [Google::Apis::ContainerV1beta1::Master]
642
+ attr_accessor :master
643
+
641
644
  # The authentication information for accessing the master endpoint.
642
645
  # Authentication can be done using HTTP basic auth or using client
643
646
  # certificates.
@@ -872,6 +875,7 @@ module Google
872
875
  @locations = args[:locations] if args.key?(:locations)
873
876
  @logging_service = args[:logging_service] if args.key?(:logging_service)
874
877
  @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
878
+ @master = args[:master] if args.key?(:master)
875
879
  @master_auth = args[:master_auth] if args.key?(:master_auth)
876
880
  @master_authorized_networks_config = args[:master_authorized_networks_config] if args.key?(:master_authorized_networks_config)
877
881
  @master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
@@ -1049,6 +1053,11 @@ module Google
1049
1053
  # @return [String]
1050
1054
  attr_accessor :desired_logging_service
1051
1055
 
1056
+ # Master is the configuration for components on master.
1057
+ # Corresponds to the JSON property `desiredMaster`
1058
+ # @return [Google::Apis::ContainerV1beta1::Master]
1059
+ attr_accessor :desired_master
1060
+
1052
1061
  # Configuration options for the master authorized networks feature. Enabled
1053
1062
  # master authorized networks will disallow all external traffic to access
1054
1063
  # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
@@ -1175,6 +1184,7 @@ module Google
1175
1184
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
1176
1185
  @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
1177
1186
  @desired_logging_service = args[:desired_logging_service] if args.key?(:desired_logging_service)
1187
+ @desired_master = args[:desired_master] if args.key?(:desired_master)
1178
1188
  @desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config)
1179
1189
  @desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version)
1180
1190
  @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
@@ -2251,6 +2261,19 @@ module Google
2251
2261
  end
2252
2262
  end
2253
2263
 
2264
+ # Master is the configuration for components on master.
2265
+ class Master
2266
+ include Google::Apis::Core::Hashable
2267
+
2268
+ def initialize(**args)
2269
+ update!(**args)
2270
+ end
2271
+
2272
+ # Update properties of this object
2273
+ def update!(**args)
2274
+ end
2275
+ end
2276
+
2254
2277
  # The authentication information for accessing the master endpoint.
2255
2278
  # Authentication can be done using HTTP basic auth or using client
2256
2279
  # certificates.
@@ -304,6 +304,12 @@ module Google
304
304
  include Google::Apis::Core::JsonObjectSupport
305
305
  end
306
306
 
307
+ class Master
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
307
313
  class MasterAuth
308
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
315
 
@@ -781,6 +787,8 @@ module Google
781
787
  property :logging_service, as: 'loggingService'
782
788
  property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1beta1::MaintenancePolicy, decorator: Google::Apis::ContainerV1beta1::MaintenancePolicy::Representation
783
789
 
790
+ property :master, as: 'master', class: Google::Apis::ContainerV1beta1::Master, decorator: Google::Apis::ContainerV1beta1::Master::Representation
791
+
784
792
  property :master_auth, as: 'masterAuth', class: Google::Apis::ContainerV1beta1::MasterAuth, decorator: Google::Apis::ContainerV1beta1::MasterAuth::Representation
785
793
 
786
794
  property :master_authorized_networks_config, as: 'masterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig::Representation
@@ -866,6 +874,8 @@ module Google
866
874
 
867
875
  collection :desired_locations, as: 'desiredLocations'
868
876
  property :desired_logging_service, as: 'desiredLoggingService'
877
+ property :desired_master, as: 'desiredMaster', class: Google::Apis::ContainerV1beta1::Master, decorator: Google::Apis::ContainerV1beta1::Master::Representation
878
+
869
879
  property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig::Representation
870
880
 
871
881
  property :desired_master_version, as: 'desiredMasterVersion'
@@ -1176,6 +1186,12 @@ module Google
1176
1186
  end
1177
1187
  end
1178
1188
 
1189
+ class Master
1190
+ # @private
1191
+ class Representation < Google::Apis::Core::JsonRepresentation
1192
+ end
1193
+ end
1194
+
1179
1195
  class MasterAuth
1180
1196
  # @private
1181
1197
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataflow
26
26
  module DataflowV1b3
27
27
  VERSION = 'V1b3'
28
- REVISION = '20200305'
28
+ REVISION = '20200507'
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'
@@ -132,6 +132,37 @@ module Google
132
132
  end
133
133
  end
134
134
 
135
+ # Job information for templates.
136
+ class Artifact
137
+ include Google::Apis::Core::Hashable
138
+
139
+ # Container Spec.
140
+ # Corresponds to the JSON property `containerSpec`
141
+ # @return [Google::Apis::DataflowV1b3::ContainerSpec]
142
+ attr_accessor :container_spec
143
+
144
+ # job_graph_gcs_path set for legacy Template.
145
+ # Corresponds to the JSON property `jobGraphGcsPath`
146
+ # @return [String]
147
+ attr_accessor :job_graph_gcs_path
148
+
149
+ # Metadata describing a template.
150
+ # Corresponds to the JSON property `metadata`
151
+ # @return [Google::Apis::DataflowV1b3::TemplateMetadata]
152
+ attr_accessor :metadata
153
+
154
+ def initialize(**args)
155
+ update!(**args)
156
+ end
157
+
158
+ # Update properties of this object
159
+ def update!(**args)
160
+ @container_spec = args[:container_spec] if args.key?(:container_spec)
161
+ @job_graph_gcs_path = args[:job_graph_gcs_path] if args.key?(:job_graph_gcs_path)
162
+ @metadata = args[:metadata] if args.key?(:metadata)
163
+ end
164
+ end
165
+
135
166
  # A structured message reporting an autoscaling decision made by the Dataflow
136
167
  # service.
137
168
  class AutoscalingEvent
@@ -312,6 +343,33 @@ module Google
312
343
  end
313
344
  end
314
345
 
346
+ # Commit will add a new TemplateVersion to an existing template.
347
+ class CommitTemplateVersionRequest
348
+ include Google::Apis::Core::Hashable
349
+
350
+ # /////////////////////////////////////////////////////////////////////////////
351
+ # //// Template Catalog is used to organize user TemplateVersions.
352
+ # //// TemplateVersions that have the same project_id and display_name are
353
+ # //// belong to the same Template.
354
+ # //// Templates with the same project_id belong to the same Project.
355
+ # //// TemplateVersion may have labels and multiple labels are allowed.
356
+ # //// Duplicated labels in the same `TemplateVersion` are not allowed.
357
+ # //// TemplateVersion may have tags and multiple tags are allowed. Duplicated
358
+ # //// tags in the same `Template` are not allowed!
359
+ # Corresponds to the JSON property `templateVersion`
360
+ # @return [Google::Apis::DataflowV1b3::TemplateVersion]
361
+ attr_accessor :template_version
362
+
363
+ def initialize(**args)
364
+ update!(**args)
365
+ end
366
+
367
+ # Update properties of this object
368
+ def update!(**args)
369
+ @template_version = args[:template_version] if args.key?(:template_version)
370
+ end
371
+ end
372
+
315
373
  # Description of an interstitial value between transforms in an execution
316
374
  # stage.
317
375
  class ComponentSource
@@ -793,6 +851,33 @@ module Google
793
851
  end
794
852
  end
795
853
 
854
+ # Creates a new Template with TemplateVersions.
855
+ class CreateTemplateVersionRequest
856
+ include Google::Apis::Core::Hashable
857
+
858
+ # /////////////////////////////////////////////////////////////////////////////
859
+ # //// Template Catalog is used to organize user TemplateVersions.
860
+ # //// TemplateVersions that have the same project_id and display_name are
861
+ # //// belong to the same Template.
862
+ # //// Templates with the same project_id belong to the same Project.
863
+ # //// TemplateVersion may have labels and multiple labels are allowed.
864
+ # //// Duplicated labels in the same `TemplateVersion` are not allowed.
865
+ # //// TemplateVersion may have tags and multiple tags are allowed. Duplicated
866
+ # //// tags in the same `Template` are not allowed!
867
+ # Corresponds to the JSON property `templateVersion`
868
+ # @return [Google::Apis::DataflowV1b3::TemplateVersion]
869
+ attr_accessor :template_version
870
+
871
+ def initialize(**args)
872
+ update!(**args)
873
+ end
874
+
875
+ # Update properties of this object
876
+ def update!(**args)
877
+ @template_version = args[:template_version] if args.key?(:template_version)
878
+ end
879
+ end
880
+
796
881
  # Identifies the location of a custom souce.
797
882
  class CustomSourceLocation
798
883
  include Google::Apis::Core::Hashable
@@ -1141,6 +1226,25 @@ module Google
1141
1226
  end
1142
1227
  end
1143
1228
 
1229
+ # A generic empty message that you can re-use to avoid defining duplicated
1230
+ # empty messages in your APIs. A typical example is to use it as the request
1231
+ # or the response type of an API method. For instance:
1232
+ # service Foo `
1233
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1234
+ # `
1235
+ # The JSON representation for `Empty` is empty JSON object ````.
1236
+ class Empty
1237
+ include Google::Apis::Core::Hashable
1238
+
1239
+ def initialize(**args)
1240
+ update!(**args)
1241
+ end
1242
+
1243
+ # Update properties of this object
1244
+ def update!(**args)
1245
+ end
1246
+ end
1247
+
1144
1248
  # Describes the environment in which a Dataflow Job runs.
1145
1249
  class Environment
1146
1250
  include Google::Apis::Core::Hashable
@@ -2573,6 +2677,32 @@ module Google
2573
2677
  end
2574
2678
  end
2575
2679
 
2680
+ # Respond a list of TemplateVersions.
2681
+ class ListTemplateVersionsResponse
2682
+ include Google::Apis::Core::Hashable
2683
+
2684
+ # A token that can be sent as `page_token` to retrieve the next page.
2685
+ # If this field is omitted, there are no subsequent pages.
2686
+ # Corresponds to the JSON property `nextPageToken`
2687
+ # @return [String]
2688
+ attr_accessor :next_page_token
2689
+
2690
+ # A list of TemplateVersions.
2691
+ # Corresponds to the JSON property `templateVersions`
2692
+ # @return [Array<Google::Apis::DataflowV1b3::TemplateVersion>]
2693
+ attr_accessor :template_versions
2694
+
2695
+ def initialize(**args)
2696
+ update!(**args)
2697
+ end
2698
+
2699
+ # Update properties of this object
2700
+ def update!(**args)
2701
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2702
+ @template_versions = args[:template_versions] if args.key?(:template_versions)
2703
+ end
2704
+ end
2705
+
2576
2706
  # MapTask consists of an ordered set of instructions, each of which
2577
2707
  # describes one particular low-level operation for the worker to
2578
2708
  # perform in order to accomplish the MapTask's WorkItem.
@@ -2822,6 +2952,107 @@ module Google
2822
2952
  end
2823
2953
  end
2824
2954
 
2955
+ # Either add the label to TemplateVersion or remove it from the
2956
+ # TemplateVersion.
2957
+ class ModifyTemplateVersionLabelRequest
2958
+ include Google::Apis::Core::Hashable
2959
+
2960
+ # The label key for update.
2961
+ # Corresponds to the JSON property `key`
2962
+ # @return [String]
2963
+ attr_accessor :key
2964
+
2965
+ # Requests for add label to TemplateVersion or remove label from
2966
+ # TemplateVersion.
2967
+ # Corresponds to the JSON property `op`
2968
+ # @return [String]
2969
+ attr_accessor :op
2970
+
2971
+ # The label value for update.
2972
+ # Corresponds to the JSON property `value`
2973
+ # @return [String]
2974
+ attr_accessor :value
2975
+
2976
+ def initialize(**args)
2977
+ update!(**args)
2978
+ end
2979
+
2980
+ # Update properties of this object
2981
+ def update!(**args)
2982
+ @key = args[:key] if args.key?(:key)
2983
+ @op = args[:op] if args.key?(:op)
2984
+ @value = args[:value] if args.key?(:value)
2985
+ end
2986
+ end
2987
+
2988
+ # Respond the labels in the TemplateVersion.
2989
+ class ModifyTemplateVersionLabelResponse
2990
+ include Google::Apis::Core::Hashable
2991
+
2992
+ # All the label in the TemplateVersion.
2993
+ # Corresponds to the JSON property `labels`
2994
+ # @return [Hash<String,String>]
2995
+ attr_accessor :labels
2996
+
2997
+ def initialize(**args)
2998
+ update!(**args)
2999
+ end
3000
+
3001
+ # Update properties of this object
3002
+ def update!(**args)
3003
+ @labels = args[:labels] if args.key?(:labels)
3004
+ end
3005
+ end
3006
+
3007
+ # Add a tag to the current TemplateVersion. If tag exist in another
3008
+ # TemplateVersion in the Template, remove the tag before add it to the current
3009
+ # TemplateVersion. If remove_only set, remove the tag from the current
3010
+ # TemplateVersion.
3011
+ class ModifyTemplateVersionTagRequest
3012
+ include Google::Apis::Core::Hashable
3013
+
3014
+ # The flag that indicates if the request is only for remove tag from
3015
+ # TemplateVersion.
3016
+ # Corresponds to the JSON property `removeOnly`
3017
+ # @return [Boolean]
3018
+ attr_accessor :remove_only
3019
+ alias_method :remove_only?, :remove_only
3020
+
3021
+ # The tag for update.
3022
+ # Corresponds to the JSON property `tag`
3023
+ # @return [String]
3024
+ attr_accessor :tag
3025
+
3026
+ def initialize(**args)
3027
+ update!(**args)
3028
+ end
3029
+
3030
+ # Update properties of this object
3031
+ def update!(**args)
3032
+ @remove_only = args[:remove_only] if args.key?(:remove_only)
3033
+ @tag = args[:tag] if args.key?(:tag)
3034
+ end
3035
+ end
3036
+
3037
+ # Respond the current tags in the TemplateVersion.
3038
+ class ModifyTemplateVersionTagResponse
3039
+ include Google::Apis::Core::Hashable
3040
+
3041
+ # All the tags in the TemplateVersion.
3042
+ # Corresponds to the JSON property `tags`
3043
+ # @return [Array<String>]
3044
+ attr_accessor :tags
3045
+
3046
+ def initialize(**args)
3047
+ update!(**args)
3048
+ end
3049
+
3050
+ # Update properties of this object
3051
+ def update!(**args)
3052
+ @tags = args[:tags] if args.key?(:tags)
3053
+ end
3054
+ end
3055
+
2825
3056
  # Describes mounted data disk.
2826
3057
  class MountedDataDisk
2827
3058
  include Google::Apis::Core::Hashable
@@ -3382,6 +3613,25 @@ module Google
3382
3613
  end
3383
3614
  end
3384
3615
 
3616
+ # Information about a validated query.
3617
+ class QueryInfo
3618
+ include Google::Apis::Core::Hashable
3619
+
3620
+ # Includes an entry for each satisfied QueryProperty.
3621
+ # Corresponds to the JSON property `queryProperty`
3622
+ # @return [Array<String>]
3623
+ attr_accessor :query_property
3624
+
3625
+ def initialize(**args)
3626
+ update!(**args)
3627
+ end
3628
+
3629
+ # Update properties of this object
3630
+ def update!(**args)
3631
+ @query_property = args[:query_property] if args.key?(:query_property)
3632
+ end
3633
+ end
3634
+
3385
3635
  # An instruction that reads records.
3386
3636
  # Takes no inputs, produces one output.
3387
3637
  class ReadInstruction
@@ -5328,6 +5578,81 @@ module Google
5328
5578
  end
5329
5579
  end
5330
5580
 
5581
+ # /////////////////////////////////////////////////////////////////////////////
5582
+ # //// Template Catalog is used to organize user TemplateVersions.
5583
+ # //// TemplateVersions that have the same project_id and display_name are
5584
+ # //// belong to the same Template.
5585
+ # //// Templates with the same project_id belong to the same Project.
5586
+ # //// TemplateVersion may have labels and multiple labels are allowed.
5587
+ # //// Duplicated labels in the same `TemplateVersion` are not allowed.
5588
+ # //// TemplateVersion may have tags and multiple tags are allowed. Duplicated
5589
+ # //// tags in the same `Template` are not allowed!
5590
+ class TemplateVersion
5591
+ include Google::Apis::Core::Hashable
5592
+
5593
+ # Job information for templates.
5594
+ # Corresponds to the JSON property `artifact`
5595
+ # @return [Google::Apis::DataflowV1b3::Artifact]
5596
+ attr_accessor :artifact
5597
+
5598
+ # Creation time of this TemplateVersion.
5599
+ # Corresponds to the JSON property `createTime`
5600
+ # @return [String]
5601
+ attr_accessor :create_time
5602
+
5603
+ # Template description from the user.
5604
+ # Corresponds to the JSON property `description`
5605
+ # @return [String]
5606
+ attr_accessor :description
5607
+
5608
+ # A customized name for Template. Multiple TemplateVersions per Template.
5609
+ # Corresponds to the JSON property `displayName`
5610
+ # @return [String]
5611
+ attr_accessor :display_name
5612
+
5613
+ # Labels for the Template Version. Labels can be duplicate within Template.
5614
+ # Corresponds to the JSON property `labels`
5615
+ # @return [Hash<String,String>]
5616
+ attr_accessor :labels
5617
+
5618
+ # A unique project_id. Multiple Templates per Project.
5619
+ # Corresponds to the JSON property `projectId`
5620
+ # @return [String]
5621
+ attr_accessor :project_id
5622
+
5623
+ # Alias for version_id, helps locate a TemplateVersion.
5624
+ # Corresponds to the JSON property `tags`
5625
+ # @return [Array<String>]
5626
+ attr_accessor :tags
5627
+
5628
+ # Either LEGACY or FLEX. This should match with the type of artifact.
5629
+ # Corresponds to the JSON property `type`
5630
+ # @return [String]
5631
+ attr_accessor :type
5632
+
5633
+ # An auto generated version_id for TemplateVersion.
5634
+ # Corresponds to the JSON property `versionId`
5635
+ # @return [String]
5636
+ attr_accessor :version_id
5637
+
5638
+ def initialize(**args)
5639
+ update!(**args)
5640
+ end
5641
+
5642
+ # Update properties of this object
5643
+ def update!(**args)
5644
+ @artifact = args[:artifact] if args.key?(:artifact)
5645
+ @create_time = args[:create_time] if args.key?(:create_time)
5646
+ @description = args[:description] if args.key?(:description)
5647
+ @display_name = args[:display_name] if args.key?(:display_name)
5648
+ @labels = args[:labels] if args.key?(:labels)
5649
+ @project_id = args[:project_id] if args.key?(:project_id)
5650
+ @tags = args[:tags] if args.key?(:tags)
5651
+ @type = args[:type] if args.key?(:type)
5652
+ @version_id = args[:version_id] if args.key?(:version_id)
5653
+ end
5654
+ end
5655
+
5331
5656
  # Global topology of the streaming Dataflow job, including all
5332
5657
  # computations and their sharded locations.
5333
5658
  class TopologyConfig
@@ -5430,6 +5755,11 @@ module Google
5430
5755
  # @return [String]
5431
5756
  attr_accessor :error_message
5432
5757
 
5758
+ # Information about a validated query.
5759
+ # Corresponds to the JSON property `queryInfo`
5760
+ # @return [Google::Apis::DataflowV1b3::QueryInfo]
5761
+ attr_accessor :query_info
5762
+
5433
5763
  def initialize(**args)
5434
5764
  update!(**args)
5435
5765
  end
@@ -5437,6 +5767,7 @@ module Google
5437
5767
  # Update properties of this object
5438
5768
  def update!(**args)
5439
5769
  @error_message = args[:error_message] if args.key?(:error_message)
5770
+ @query_info = args[:query_info] if args.key?(:query_info)
5440
5771
  end
5441
5772
  end
5442
5773