google-api-client 0.29.2 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -0
  3. data/generated/google/apis/admin_reports_v1.rb +1 -1
  4. data/generated/google/apis/admin_reports_v1/classes.rb +106 -0
  5. data/generated/google/apis/admin_reports_v1/representations.rb +51 -0
  6. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  7. data/generated/google/apis/alertcenter_v1beta1/classes.rb +6 -0
  8. data/generated/google/apis/alertcenter_v1beta1/representations.rb +1 -0
  9. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  10. data/generated/google/apis/androidmanagement_v1/classes.rb +2 -3
  11. data/generated/google/apis/composer_v1.rb +1 -1
  12. data/generated/google/apis/composer_v1/classes.rb +24 -21
  13. data/generated/google/apis/composer_v1/service.rb +4 -2
  14. data/generated/google/apis/composer_v1beta1.rb +1 -1
  15. data/generated/google/apis/composer_v1beta1/classes.rb +24 -21
  16. data/generated/google/apis/composer_v1beta1/service.rb +4 -2
  17. data/generated/google/apis/container_v1.rb +1 -1
  18. data/generated/google/apis/container_v1/classes.rb +1 -1
  19. data/generated/google/apis/container_v1beta1.rb +1 -1
  20. data/generated/google/apis/container_v1beta1/classes.rb +36 -1
  21. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  22. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  23. data/generated/google/apis/dataflow_v1b3/service.rb +44 -2
  24. data/generated/google/apis/dialogflow_v2.rb +1 -1
  25. data/generated/google/apis/dialogflow_v2/classes.rb +4 -2
  26. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  27. data/generated/google/apis/dialogflow_v2beta1/classes.rb +4 -2
  28. data/generated/google/apis/fcm_v1.rb +1 -1
  29. data/generated/google/apis/fcm_v1/classes.rb +19 -0
  30. data/generated/google/apis/fcm_v1/representations.rb +14 -0
  31. data/generated/google/apis/games_v1.rb +1 -4
  32. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  33. data/generated/google/apis/healthcare_v1alpha2/classes.rb +2 -2
  34. data/generated/google/apis/healthcare_v1alpha2/service.rb +21 -21
  35. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  36. data/generated/google/apis/healthcare_v1beta1/service.rb +21 -21
  37. data/generated/google/apis/logging_v2.rb +1 -1
  38. data/generated/google/apis/logging_v2/classes.rb +8 -1
  39. data/generated/google/apis/logging_v2/representations.rb +1 -0
  40. data/generated/google/apis/redis_v1.rb +1 -1
  41. data/generated/google/apis/redis_v1/classes.rb +1 -1
  42. data/generated/google/apis/redis_v1beta1.rb +1 -1
  43. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  44. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  45. data/generated/google/apis/remotebuildexecution_v1/classes.rb +25 -0
  46. data/generated/google/apis/remotebuildexecution_v1/representations.rb +14 -0
  47. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  48. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +25 -0
  49. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +14 -0
  50. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  51. data/generated/google/apis/remotebuildexecution_v2/classes.rb +25 -0
  52. data/generated/google/apis/remotebuildexecution_v2/representations.rb +14 -0
  53. data/generated/google/apis/run_v1alpha1.rb +1 -1
  54. data/generated/google/apis/run_v1alpha1/classes.rb +354 -0
  55. data/generated/google/apis/run_v1alpha1/representations.rb +129 -0
  56. data/generated/google/apis/run_v1alpha1/service.rb +176 -0
  57. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  58. data/generated/google/apis/securitycenter_v1.rb +1 -1
  59. data/generated/google/apis/securitycenter_v1/classes.rb +2 -4
  60. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  61. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -4
  62. data/generated/google/apis/tagmanager_v1.rb +1 -1
  63. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  64. data/generated/google/apis/tagmanager_v2.rb +1 -1
  65. data/generated/google/apis/tagmanager_v2/classes.rb +46 -0
  66. data/generated/google/apis/tagmanager_v2/representations.rb +29 -0
  67. data/generated/google/apis/tagmanager_v2/service.rb +219 -0
  68. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  69. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +6 -1
  70. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +1 -0
  71. data/generated/google/apis/youtube_analytics_v1.rb +2 -17
  72. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -311
  73. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -148
  74. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -419
  75. data/lib/google/apis/version.rb +1 -1
  76. metadata +2 -6
  77. data/generated/google/apis/youtube_analytics_v1beta1.rb +0 -46
  78. data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +0 -337
  79. data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +0 -174
  80. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +0 -473
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/logging/docs/
26
26
  module LoggingV2
27
27
  VERSION = 'V2'
28
- REVISION = '20190503'
28
+ REVISION = '20190518'
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'
@@ -1200,6 +1200,11 @@ module Google
1200
1200
  # @return [Array<Google::Apis::LoggingV2::LabelDescriptor>]
1201
1201
  attr_accessor :labels
1202
1202
 
1203
+ # Optional. The launch stage of the metric definition.
1204
+ # Corresponds to the JSON property `launchStage`
1205
+ # @return [String]
1206
+ attr_accessor :launch_stage
1207
+
1203
1208
  # Additional annotations that can be used to guide the usage of a metric.
1204
1209
  # Corresponds to the JSON property `metadata`
1205
1210
  # @return [Google::Apis::LoggingV2::MetricDescriptorMetadata]
@@ -1294,6 +1299,7 @@ module Google
1294
1299
  @description = args[:description] if args.key?(:description)
1295
1300
  @display_name = args[:display_name] if args.key?(:display_name)
1296
1301
  @labels = args[:labels] if args.key?(:labels)
1302
+ @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
1297
1303
  @metadata = args[:metadata] if args.key?(:metadata)
1298
1304
  @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
1299
1305
  @name = args[:name] if args.key?(:name)
@@ -1314,7 +1320,8 @@ module Google
1314
1320
  # @return [String]
1315
1321
  attr_accessor :ingest_delay
1316
1322
 
1317
- # The launch stage of the metric definition.
1323
+ # Deprecated. Please use the MetricDescriptor.launch_stage instead. The launch
1324
+ # stage of the metric definition.
1318
1325
  # Corresponds to the JSON property `launchStage`
1319
1326
  # @return [String]
1320
1327
  attr_accessor :launch_stage
@@ -455,6 +455,7 @@ module Google
455
455
  property :display_name, as: 'displayName'
456
456
  collection :labels, as: 'labels', class: Google::Apis::LoggingV2::LabelDescriptor, decorator: Google::Apis::LoggingV2::LabelDescriptor::Representation
457
457
 
458
+ property :launch_stage, as: 'launchStage'
458
459
  property :metadata, as: 'metadata', class: Google::Apis::LoggingV2::MetricDescriptorMetadata, decorator: Google::Apis::LoggingV2::MetricDescriptorMetadata::Representation
459
460
 
460
461
  property :metric_kind, as: 'metricKind'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/memorystore/docs/redis/
26
26
  module RedisV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190502'
28
+ REVISION = '20190524'
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'
@@ -516,7 +516,7 @@ module Google
516
516
 
517
517
  # The server-assigned name, which is only unique within the same service that
518
518
  # originally returns it. If you use the default HTTP mapping, the
519
- # `name` should have the format of `operations/some/unique/name`.
519
+ # `name` should be a resource name ending with `operations/`unique_id``.
520
520
  # Corresponds to the JSON property `name`
521
521
  # @return [String]
522
522
  attr_accessor :name
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/memorystore/docs/redis/
26
26
  module RedisV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190502'
28
+ REVISION = '20190524'
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'
@@ -506,7 +506,7 @@ module Google
506
506
 
507
507
  # The server-assigned name, which is only unique within the same service that
508
508
  # originally returns it. If you use the default HTTP mapping, the
509
- # `name` should have the format of `operations/some/unique/name`.
509
+ # `name` should be a resource name ending with `operations/`unique_id``.
510
510
  # Corresponds to the JSON property `name`
511
511
  # @return [String]
512
512
  attr_accessor :name
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190507'
28
+ REVISION = '20190521'
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'
@@ -1565,6 +1565,31 @@ module Google
1565
1565
  end
1566
1566
  end
1567
1567
 
1568
+ # The internal status of the command result.
1569
+ class GoogleDevtoolsRemotebuildbotCommandStatus
1570
+ include Google::Apis::Core::Hashable
1571
+
1572
+ # The status code.
1573
+ # Corresponds to the JSON property `code`
1574
+ # @return [String]
1575
+ attr_accessor :code
1576
+
1577
+ # The error message.
1578
+ # Corresponds to the JSON property `message`
1579
+ # @return [String]
1580
+ attr_accessor :message
1581
+
1582
+ def initialize(**args)
1583
+ update!(**args)
1584
+ end
1585
+
1586
+ # Update properties of this object
1587
+ def update!(**args)
1588
+ @code = args[:code] if args.key?(:code)
1589
+ @message = args[:message] if args.key?(:message)
1590
+ end
1591
+ end
1592
+
1568
1593
  # The request used for `CreateInstance`.
1569
1594
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
1570
1595
  include Google::Apis::Core::Hashable
@@ -166,6 +166,12 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class GoogleDevtoolsRemotebuildbotCommandStatus
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
169
175
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
170
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
177
 
@@ -722,6 +728,14 @@ module Google
722
728
  end
723
729
  end
724
730
 
731
+ class GoogleDevtoolsRemotebuildbotCommandStatus
732
+ # @private
733
+ class Representation < Google::Apis::Core::JsonRepresentation
734
+ property :code, as: 'code'
735
+ property :message, as: 'message'
736
+ end
737
+ end
738
+
725
739
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
726
740
  # @private
727
741
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV1alpha
27
27
  VERSION = 'V1alpha'
28
- REVISION = '20190507'
28
+ REVISION = '20190521'
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'
@@ -1546,6 +1546,31 @@ module Google
1546
1546
  end
1547
1547
  end
1548
1548
 
1549
+ # The internal status of the command result.
1550
+ class GoogleDevtoolsRemotebuildbotCommandStatus
1551
+ include Google::Apis::Core::Hashable
1552
+
1553
+ # The status code.
1554
+ # Corresponds to the JSON property `code`
1555
+ # @return [String]
1556
+ attr_accessor :code
1557
+
1558
+ # The error message.
1559
+ # Corresponds to the JSON property `message`
1560
+ # @return [String]
1561
+ attr_accessor :message
1562
+
1563
+ def initialize(**args)
1564
+ update!(**args)
1565
+ end
1566
+
1567
+ # Update properties of this object
1568
+ def update!(**args)
1569
+ @code = args[:code] if args.key?(:code)
1570
+ @message = args[:message] if args.key?(:message)
1571
+ end
1572
+ end
1573
+
1549
1574
  # The request used for `CreateInstance`.
1550
1575
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
1551
1576
  include Google::Apis::Core::Hashable
@@ -160,6 +160,12 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class GoogleDevtoolsRemotebuildbotCommandStatus
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
163
169
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
@@ -679,6 +685,14 @@ module Google
679
685
  end
680
686
  end
681
687
 
688
+ class GoogleDevtoolsRemotebuildbotCommandStatus
689
+ # @private
690
+ class Representation < Google::Apis::Core::JsonRepresentation
691
+ property :code, as: 'code'
692
+ property :message, as: 'message'
693
+ end
694
+ end
695
+
682
696
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
683
697
  # @private
684
698
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV2
27
27
  VERSION = 'V2'
28
- REVISION = '20190507'
28
+ REVISION = '20190521'
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'
@@ -2299,6 +2299,31 @@ module Google
2299
2299
  end
2300
2300
  end
2301
2301
 
2302
+ # The internal status of the command result.
2303
+ class GoogleDevtoolsRemotebuildbotCommandStatus
2304
+ include Google::Apis::Core::Hashable
2305
+
2306
+ # The status code.
2307
+ # Corresponds to the JSON property `code`
2308
+ # @return [String]
2309
+ attr_accessor :code
2310
+
2311
+ # The error message.
2312
+ # Corresponds to the JSON property `message`
2313
+ # @return [String]
2314
+ attr_accessor :message
2315
+
2316
+ def initialize(**args)
2317
+ update!(**args)
2318
+ end
2319
+
2320
+ # Update properties of this object
2321
+ def update!(**args)
2322
+ @code = args[:code] if args.key?(:code)
2323
+ @message = args[:message] if args.key?(:message)
2324
+ end
2325
+ end
2326
+
2302
2327
  # The request used for `CreateInstance`.
2303
2328
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
2304
2329
  include Google::Apis::Core::Hashable
@@ -286,6 +286,12 @@ module Google
286
286
  include Google::Apis::Core::JsonObjectSupport
287
287
  end
288
288
 
289
+ class GoogleDevtoolsRemotebuildbotCommandStatus
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
289
295
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
290
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
297
 
@@ -997,6 +1003,14 @@ module Google
997
1003
  end
998
1004
  end
999
1005
 
1006
+ class GoogleDevtoolsRemotebuildbotCommandStatus
1007
+ # @private
1008
+ class Representation < Google::Apis::Core::JsonRepresentation
1009
+ property :code, as: 'code'
1010
+ property :message, as: 'message'
1011
+ end
1012
+ end
1013
+
1000
1014
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
1001
1015
  # @private
1002
1016
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20190516'
29
+ REVISION = '20190522'
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'
@@ -291,6 +291,55 @@ module Google
291
291
  end
292
292
  end
293
293
 
294
+ # Adapts a ConfigMap into a volume.
295
+ # The contents of the target ConfigMap's Data field will be presented in a
296
+ # volume as files using the keys in the Data field as the file names, unless
297
+ # the items element is populated with specific mappings of keys to paths.
298
+ class ConfigMapVolumeSource
299
+ include Google::Apis::Core::Hashable
300
+
301
+ # Mode bits to use on created files by default. Must be a value between 0 and
302
+ # 0777. Defaults to 0644. Directories within the path are not affected by
303
+ # this setting. This might be in conflict with other options that affect the
304
+ # file mode, like fsGroup, and the result can be other mode bits set.
305
+ # Corresponds to the JSON property `defaultMode`
306
+ # @return [Fixnum]
307
+ attr_accessor :default_mode
308
+
309
+ # If unspecified, each key-value pair in the Data field of the referenced
310
+ # Secret will be projected into the volume as a file whose name is the
311
+ # key and content is the value. If specified, the listed keys will be
312
+ # projected into the specified paths, and unlisted keys will not be
313
+ # present. If a key is specified which is not present in the Secret,
314
+ # the volume setup will error unless it is marked optional.
315
+ # Corresponds to the JSON property `items`
316
+ # @return [Array<Google::Apis::RunV1alpha1::KeyToPath>]
317
+ attr_accessor :items
318
+
319
+ # Name of the config.
320
+ # Corresponds to the JSON property `name`
321
+ # @return [String]
322
+ attr_accessor :name
323
+
324
+ # Specify whether the Secret or its keys must be defined.
325
+ # Corresponds to the JSON property `optional`
326
+ # @return [Boolean]
327
+ attr_accessor :optional
328
+ alias_method :optional?, :optional
329
+
330
+ def initialize(**args)
331
+ update!(**args)
332
+ end
333
+
334
+ # Update properties of this object
335
+ def update!(**args)
336
+ @default_mode = args[:default_mode] if args.key?(:default_mode)
337
+ @items = args[:items] if args.key?(:items)
338
+ @name = args[:name] if args.key?(:name)
339
+ @optional = args[:optional] if args.key?(:optional)
340
+ end
341
+ end
342
+
294
343
  # Configuration represents the "floating HEAD" of a linear history of
295
344
  # Revisions, and optionally how the containers those revisions reference are
296
345
  # built. Users create new Revisions by updating the Configuration's spec. The
@@ -365,6 +414,12 @@ module Google
365
414
  # @return [String]
366
415
  attr_accessor :reason
367
416
 
417
+ # How to interpret failures of this condition, one of Error, Warning, Info
418
+ # +optional
419
+ # Corresponds to the JSON property `severity`
420
+ # @return [String]
421
+ attr_accessor :severity
422
+
368
423
  # Status of the condition, one of True, False, Unknown.
369
424
  # Corresponds to the JSON property `status`
370
425
  # @return [String]
@@ -388,6 +443,7 @@ module Google
388
443
  @last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
389
444
  @message = args[:message] if args.key?(:message)
390
445
  @reason = args[:reason] if args.key?(:reason)
446
+ @severity = args[:severity] if args.key?(:severity)
391
447
  @status = args[:status] if args.key?(:status)
392
448
  @type = args[:type] if args.key?(:type)
393
449
  end
@@ -813,6 +869,12 @@ module Google
813
869
  class DomainMappingCondition
814
870
  include Google::Apis::Core::Hashable
815
871
 
872
+ # Last time the condition transitioned from one status to another.
873
+ # +optional
874
+ # Corresponds to the JSON property `lastTransitionTime`
875
+ # @return [String]
876
+ attr_accessor :last_transition_time
877
+
816
878
  # Human readable message indicating details about the current status.
817
879
  # +optional
818
880
  # Corresponds to the JSON property `message`
@@ -825,6 +887,12 @@ module Google
825
887
  # @return [String]
826
888
  attr_accessor :reason
827
889
 
890
+ # How to interpret failures of this condition, one of Error, Warning, Info
891
+ # +optional
892
+ # Corresponds to the JSON property `severity`
893
+ # @return [String]
894
+ attr_accessor :severity
895
+
828
896
  # Status of the condition, one of True, False, Unknown.
829
897
  # Corresponds to the JSON property `status`
830
898
  # @return [String]
@@ -841,8 +909,10 @@ module Google
841
909
 
842
910
  # Update properties of this object
843
911
  def update!(**args)
912
+ @last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
844
913
  @message = args[:message] if args.key?(:message)
845
914
  @reason = args[:reason] if args.key?(:reason)
915
+ @severity = args[:severity] if args.key?(:severity)
846
916
  @status = args[:status] if args.key?(:status)
847
917
  @type = args[:type] if args.key?(:type)
848
918
  end
@@ -1018,6 +1088,92 @@ module Google
1018
1088
  end
1019
1089
  end
1020
1090
 
1091
+ #
1092
+ class EventType
1093
+ include Google::Apis::Core::Hashable
1094
+
1095
+ # The API version for this call such as "v1alpha1".
1096
+ # Corresponds to the JSON property `apiVersion`
1097
+ # @return [String]
1098
+ attr_accessor :api_version
1099
+
1100
+ # The kind of resource, in this case "EventType".
1101
+ # Corresponds to the JSON property `kind`
1102
+ # @return [String]
1103
+ attr_accessor :kind
1104
+
1105
+ # ObjectMeta is metadata that all persisted resources must have, which includes
1106
+ # all objects users must create.
1107
+ # Corresponds to the JSON property `metadata`
1108
+ # @return [Google::Apis::RunV1alpha1::ObjectMeta]
1109
+ attr_accessor :metadata
1110
+
1111
+ # Spec defines the desired state of the EventType.
1112
+ # Corresponds to the JSON property `spec`
1113
+ # @return [Google::Apis::RunV1alpha1::EventTypeSpec]
1114
+ attr_accessor :spec
1115
+
1116
+ def initialize(**args)
1117
+ update!(**args)
1118
+ end
1119
+
1120
+ # Update properties of this object
1121
+ def update!(**args)
1122
+ @api_version = args[:api_version] if args.key?(:api_version)
1123
+ @kind = args[:kind] if args.key?(:kind)
1124
+ @metadata = args[:metadata] if args.key?(:metadata)
1125
+ @spec = args[:spec] if args.key?(:spec)
1126
+ end
1127
+ end
1128
+
1129
+ #
1130
+ class EventTypeSpec
1131
+ include Google::Apis::Core::Hashable
1132
+
1133
+ # Refers to the Broker that can provide the EventType.
1134
+ # Corresponds to the JSON property `broker`
1135
+ # @return [String]
1136
+ attr_accessor :broker
1137
+
1138
+ # Description is a string describing what the EventType is about.
1139
+ # +optional
1140
+ # Corresponds to the JSON property `description`
1141
+ # @return [String]
1142
+ attr_accessor :description
1143
+
1144
+ # Schema is a URI with the EventType schema. It may be a JSON schema, a
1145
+ # protobuf schema, etc.
1146
+ # +optional
1147
+ # Corresponds to the JSON property `schema`
1148
+ # @return [String]
1149
+ attr_accessor :schema
1150
+
1151
+ # Source is a valid URI. Refers to the CloudEvent source as it enters into
1152
+ # the eventing mesh.
1153
+ # Corresponds to the JSON property `source`
1154
+ # @return [String]
1155
+ attr_accessor :source
1156
+
1157
+ # Type is authoritative. This refers to the CloudEvent type as it enters
1158
+ # into the eventing mesh.
1159
+ # Corresponds to the JSON property `type`
1160
+ # @return [String]
1161
+ attr_accessor :type
1162
+
1163
+ def initialize(**args)
1164
+ update!(**args)
1165
+ end
1166
+
1167
+ # Update properties of this object
1168
+ def update!(**args)
1169
+ @broker = args[:broker] if args.key?(:broker)
1170
+ @description = args[:description] if args.key?(:description)
1171
+ @schema = args[:schema] if args.key?(:schema)
1172
+ @source = args[:source] if args.key?(:source)
1173
+ @type = args[:type] if args.key?(:type)
1174
+ end
1175
+ end
1176
+
1021
1177
  # ExecAction describes a "run in container" action.
1022
1178
  class ExecAction
1023
1179
  include Google::Apis::Core::Hashable
@@ -1274,6 +1430,43 @@ module Google
1274
1430
  end
1275
1431
  end
1276
1432
 
1433
+ # Maps a string key to a path within a volume.
1434
+ class KeyToPath
1435
+ include Google::Apis::Core::Hashable
1436
+
1437
+ # The key to project.
1438
+ # Corresponds to the JSON property `key`
1439
+ # @return [String]
1440
+ attr_accessor :key
1441
+
1442
+ # Mode bits to use on this file, must be a value between 0 and 0777. If not
1443
+ # specified, the volume defaultMode will be used. This might be in conflict
1444
+ # with other options that affect the file mode, like fsGroup, and the result
1445
+ # can be other mode bits set. +optional
1446
+ # Corresponds to the JSON property `mode`
1447
+ # @return [Fixnum]
1448
+ attr_accessor :mode
1449
+
1450
+ # The relative path of the file to map the key to.
1451
+ # May not be an absolute path.
1452
+ # May not contain the path element '..'.
1453
+ # May not start with the string '..'.
1454
+ # Corresponds to the JSON property `path`
1455
+ # @return [String]
1456
+ attr_accessor :path
1457
+
1458
+ def initialize(**args)
1459
+ update!(**args)
1460
+ end
1461
+
1462
+ # Update properties of this object
1463
+ def update!(**args)
1464
+ @key = args[:key] if args.key?(:key)
1465
+ @mode = args[:mode] if args.key?(:mode)
1466
+ @path = args[:path] if args.key?(:path)
1467
+ end
1468
+ end
1469
+
1277
1470
  # Lifecycle describes actions that the management system should take in
1278
1471
  # response to container lifecycle events. For the PostStart and PreStop
1279
1472
  # lifecycle handlers, management of the container blocks until the action is
@@ -1412,6 +1605,51 @@ module Google
1412
1605
  end
1413
1606
  end
1414
1607
 
1608
+ # ListEventTypesResponse is a list of EventType resources.
1609
+ class ListEventTypesResponse
1610
+ include Google::Apis::Core::Hashable
1611
+
1612
+ # The API version for this call such as "v1alpha1".
1613
+ # Corresponds to the JSON property `apiVersion`
1614
+ # @return [String]
1615
+ attr_accessor :api_version
1616
+
1617
+ # List of EventTypes.
1618
+ # Corresponds to the JSON property `items`
1619
+ # @return [Array<Google::Apis::RunV1alpha1::EventType>]
1620
+ attr_accessor :items
1621
+
1622
+ # The kind of this resource, in this case "EventTypeList".
1623
+ # Corresponds to the JSON property `kind`
1624
+ # @return [String]
1625
+ attr_accessor :kind
1626
+
1627
+ # ListMeta describes metadata that synthetic resources must have, including
1628
+ # lists and various status objects. A resource may have only one of
1629
+ # `ObjectMeta, ListMeta`.
1630
+ # Corresponds to the JSON property `metadata`
1631
+ # @return [Google::Apis::RunV1alpha1::ListMeta]
1632
+ attr_accessor :metadata
1633
+
1634
+ # Locations that could not be reached.
1635
+ # Corresponds to the JSON property `unreachable`
1636
+ # @return [Array<String>]
1637
+ attr_accessor :unreachable
1638
+
1639
+ def initialize(**args)
1640
+ update!(**args)
1641
+ end
1642
+
1643
+ # Update properties of this object
1644
+ def update!(**args)
1645
+ @api_version = args[:api_version] if args.key?(:api_version)
1646
+ @items = args[:items] if args.key?(:items)
1647
+ @kind = args[:kind] if args.key?(:kind)
1648
+ @metadata = args[:metadata] if args.key?(:metadata)
1649
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1650
+ end
1651
+ end
1652
+
1415
1653
  # The response message for Locations.ListLocations.
1416
1654
  class ListLocationsResponse
1417
1655
  include Google::Apis::Core::Hashable
@@ -2422,6 +2660,12 @@ module Google
2422
2660
  # @return [String]
2423
2661
  attr_accessor :reason
2424
2662
 
2663
+ # How to interpret failures of this condition, one of Error, Warning, Info
2664
+ # +optional
2665
+ # Corresponds to the JSON property `severity`
2666
+ # @return [String]
2667
+ attr_accessor :severity
2668
+
2425
2669
  # Status of the condition, one of True, False, Unknown.
2426
2670
  # Corresponds to the JSON property `status`
2427
2671
  # @return [String]
@@ -2450,6 +2694,7 @@ module Google
2450
2694
  @last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
2451
2695
  @message = args[:message] if args.key?(:message)
2452
2696
  @reason = args[:reason] if args.key?(:reason)
2697
+ @severity = args[:severity] if args.key?(:severity)
2453
2698
  @status = args[:status] if args.key?(:status)
2454
2699
  @type = args[:type] if args.key?(:type)
2455
2700
  end
@@ -2523,6 +2768,11 @@ module Google
2523
2768
  # @return [Fixnum]
2524
2769
  attr_accessor :timeout_seconds
2525
2770
 
2771
+ #
2772
+ # Corresponds to the JSON property `volumes`
2773
+ # @return [Array<Google::Apis::RunV1alpha1::Volume>]
2774
+ attr_accessor :volumes
2775
+
2526
2776
  def initialize(**args)
2527
2777
  update!(**args)
2528
2778
  end
@@ -2537,6 +2787,7 @@ module Google
2537
2787
  @service_account_name = args[:service_account_name] if args.key?(:service_account_name)
2538
2788
  @serving_state = args[:serving_state] if args.key?(:serving_state)
2539
2789
  @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
2790
+ @volumes = args[:volumes] if args.key?(:volumes)
2540
2791
  end
2541
2792
  end
2542
2793
 
@@ -2701,6 +2952,12 @@ module Google
2701
2952
  # @return [String]
2702
2953
  attr_accessor :reason
2703
2954
 
2955
+ # How to interpret failures of this condition, one of Error, Warning, Info
2956
+ # +optional
2957
+ # Corresponds to the JSON property `severity`
2958
+ # @return [String]
2959
+ attr_accessor :severity
2960
+
2704
2961
  # Status of the condition, one of "True", "False", "Unknown".
2705
2962
  # Corresponds to the JSON property `status`
2706
2963
  # @return [String]
@@ -2724,6 +2981,7 @@ module Google
2724
2981
  @last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
2725
2982
  @message = args[:message] if args.key?(:message)
2726
2983
  @reason = args[:reason] if args.key?(:reason)
2984
+ @severity = args[:severity] if args.key?(:severity)
2727
2985
  @status = args[:status] if args.key?(:status)
2728
2986
  @type = args[:type] if args.key?(:type)
2729
2987
  end
@@ -2896,6 +3154,53 @@ module Google
2896
3154
  end
2897
3155
  end
2898
3156
 
3157
+ # The contents of the target Secret's Data field will be presented in a volume
3158
+ # as files using the keys in the Data field as the file names.
3159
+ class SecretVolumeSource
3160
+ include Google::Apis::Core::Hashable
3161
+
3162
+ # Mode bits to use on created files by default. Must be a value between 0 and
3163
+ # 0777. Defaults to 0644. Directories within the path are not affected by
3164
+ # this setting. This might be in conflict with other options that affect the
3165
+ # file mode, like fsGroup, and the result can be other mode bits set.
3166
+ # Corresponds to the JSON property `defaultMode`
3167
+ # @return [Fixnum]
3168
+ attr_accessor :default_mode
3169
+
3170
+ # If unspecified, each key-value pair in the Data field of the referenced
3171
+ # Secret will be projected into the volume as a file whose name is the
3172
+ # key and content is the value. If specified, the listed keys will be
3173
+ # projected into the specified paths, and unlisted keys will not be
3174
+ # present. If a key is specified which is not present in the Secret,
3175
+ # the volume setup will error unless it is marked optional.
3176
+ # Corresponds to the JSON property `items`
3177
+ # @return [Array<Google::Apis::RunV1alpha1::KeyToPath>]
3178
+ attr_accessor :items
3179
+
3180
+ # Specify whether the Secret or its keys must be defined.
3181
+ # Corresponds to the JSON property `optional`
3182
+ # @return [Boolean]
3183
+ attr_accessor :optional
3184
+ alias_method :optional?, :optional
3185
+
3186
+ # Name of the secret in the container's namespace to use.
3187
+ # Corresponds to the JSON property `secretName`
3188
+ # @return [String]
3189
+ attr_accessor :secret_name
3190
+
3191
+ def initialize(**args)
3192
+ update!(**args)
3193
+ end
3194
+
3195
+ # Update properties of this object
3196
+ def update!(**args)
3197
+ @default_mode = args[:default_mode] if args.key?(:default_mode)
3198
+ @items = args[:items] if args.key?(:items)
3199
+ @optional = args[:optional] if args.key?(:optional)
3200
+ @secret_name = args[:secret_name] if args.key?(:secret_name)
3201
+ end
3202
+ end
3203
+
2899
3204
  # SecurityContext holds security configuration that will be applied to a
2900
3205
  # container. Some fields are present in both SecurityContext and
2901
3206
  # PodSecurityContext. When both are set, the values in SecurityContext take
@@ -3065,6 +3370,12 @@ module Google
3065
3370
  # @return [String]
3066
3371
  attr_accessor :reason
3067
3372
 
3373
+ # How to interpret failures of this condition, one of Error, Warning, Info
3374
+ # +optional
3375
+ # Corresponds to the JSON property `severity`
3376
+ # @return [String]
3377
+ attr_accessor :severity
3378
+
3068
3379
  # Status of the condition, one of True, False, Unknown.
3069
3380
  # Corresponds to the JSON property `status`
3070
3381
  # @return [String]
@@ -3089,6 +3400,7 @@ module Google
3089
3400
  @last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
3090
3401
  @message = args[:message] if args.key?(:message)
3091
3402
  @reason = args[:reason] if args.key?(:reason)
3403
+ @severity = args[:severity] if args.key?(:severity)
3092
3404
  @status = args[:status] if args.key?(:status)
3093
3405
  @type = args[:type] if args.key?(:type)
3094
3406
  end
@@ -3657,6 +3969,12 @@ module Google
3657
3969
  # @return [String]
3658
3970
  attr_accessor :reason
3659
3971
 
3972
+ # How to interpret failures of this condition, one of Error, Warning, Info
3973
+ # +optional
3974
+ # Corresponds to the JSON property `severity`
3975
+ # @return [String]
3976
+ attr_accessor :severity
3977
+
3660
3978
  # Status of the condition, one of True, False, Unknown.
3661
3979
  # Corresponds to the JSON property `status`
3662
3980
  # @return [String]
@@ -3676,6 +3994,7 @@ module Google
3676
3994
  @last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
3677
3995
  @message = args[:message] if args.key?(:message)
3678
3996
  @reason = args[:reason] if args.key?(:reason)
3997
+ @severity = args[:severity] if args.key?(:severity)
3679
3998
  @status = args[:status] if args.key?(:status)
3680
3999
  @type = args[:type] if args.key?(:type)
3681
4000
  end
@@ -3799,6 +4118,41 @@ module Google
3799
4118
  end
3800
4119
  end
3801
4120
 
4121
+ # Volume represents a named volume in a container.
4122
+ class Volume
4123
+ include Google::Apis::Core::Hashable
4124
+
4125
+ # Adapts a ConfigMap into a volume.
4126
+ # The contents of the target ConfigMap's Data field will be presented in a
4127
+ # volume as files using the keys in the Data field as the file names, unless
4128
+ # the items element is populated with specific mappings of keys to paths.
4129
+ # Corresponds to the JSON property `configMap`
4130
+ # @return [Google::Apis::RunV1alpha1::ConfigMapVolumeSource]
4131
+ attr_accessor :config_map
4132
+
4133
+ # Volume's name.
4134
+ # Corresponds to the JSON property `name`
4135
+ # @return [String]
4136
+ attr_accessor :name
4137
+
4138
+ # The contents of the target Secret's Data field will be presented in a volume
4139
+ # as files using the keys in the Data field as the file names.
4140
+ # Corresponds to the JSON property `secret`
4141
+ # @return [Google::Apis::RunV1alpha1::SecretVolumeSource]
4142
+ attr_accessor :secret
4143
+
4144
+ def initialize(**args)
4145
+ update!(**args)
4146
+ end
4147
+
4148
+ # Update properties of this object
4149
+ def update!(**args)
4150
+ @config_map = args[:config_map] if args.key?(:config_map)
4151
+ @name = args[:name] if args.key?(:name)
4152
+ @secret = args[:secret] if args.key?(:secret)
4153
+ end
4154
+ end
4155
+
3802
4156
  # volumeDevice describes a mapping of a raw block device within a container.
3803
4157
  class VolumeDevice
3804
4158
  include Google::Apis::Core::Hashable