google-api-client 0.23.8 → 0.23.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +28 -28
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +1 -1
  7. data/generated/google/apis/calendar_v3.rb +1 -1
  8. data/generated/google/apis/calendar_v3/classes.rb +16 -0
  9. data/generated/google/apis/calendar_v3/representations.rb +2 -0
  10. data/generated/google/apis/cloudkms_v1.rb +1 -1
  11. data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
  12. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  13. data/generated/google/apis/container_v1.rb +1 -1
  14. data/generated/google/apis/container_v1/classes.rb +1 -0
  15. data/generated/google/apis/container_v1beta1.rb +1 -1
  16. data/generated/google/apis/container_v1beta1/classes.rb +52 -1
  17. data/generated/google/apis/container_v1beta1/representations.rb +22 -0
  18. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  19. data/generated/google/apis/dfareporting_v2_8/classes.rb +63 -61
  20. data/generated/google/apis/dfareporting_v2_8/service.rb +1 -1
  21. data/generated/google/apis/dfareporting_v3_0.rb +1 -1
  22. data/generated/google/apis/dfareporting_v3_0/classes.rb +63 -61
  23. data/generated/google/apis/dfareporting_v3_0/service.rb +1 -1
  24. data/generated/google/apis/dfareporting_v3_1.rb +1 -1
  25. data/generated/google/apis/dfareporting_v3_1/classes.rb +67 -65
  26. data/generated/google/apis/dfareporting_v3_1/service.rb +1 -1
  27. data/generated/google/apis/dfareporting_v3_2.rb +1 -1
  28. data/generated/google/apis/dfareporting_v3_2/classes.rb +70 -68
  29. data/generated/google/apis/dfareporting_v3_2/service.rb +5 -2
  30. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  31. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +11 -7
  32. data/generated/google/apis/drive_v2.rb +1 -1
  33. data/generated/google/apis/drive_v2/classes.rb +5 -3
  34. data/generated/google/apis/drive_v2/service.rb +1 -1
  35. data/generated/google/apis/drive_v3.rb +1 -1
  36. data/generated/google/apis/drive_v3/classes.rb +3 -1
  37. data/generated/google/apis/genomics_v1.rb +1 -1
  38. data/generated/google/apis/genomics_v1/classes.rb +14 -0
  39. data/generated/google/apis/genomics_v1/representations.rb +12 -0
  40. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  41. data/generated/google/apis/genomics_v1alpha2/classes.rb +14 -0
  42. data/generated/google/apis/genomics_v1alpha2/representations.rb +12 -0
  43. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  44. data/generated/google/apis/genomics_v2alpha1/classes.rb +16 -1
  45. data/generated/google/apis/genomics_v2alpha1/representations.rb +12 -0
  46. data/generated/google/apis/iam_v1.rb +1 -1
  47. data/generated/google/apis/iam_v1/classes.rb +12 -10
  48. data/generated/google/apis/iam_v1/service.rb +2 -1
  49. data/generated/google/apis/jobs_v2.rb +1 -1
  50. data/generated/google/apis/language_v1beta2.rb +1 -1
  51. data/generated/google/apis/language_v1beta2/classes.rb +6 -6
  52. data/generated/google/apis/logging_v2.rb +1 -1
  53. data/generated/google/apis/logging_v2/classes.rb +7 -2
  54. data/generated/google/apis/logging_v2beta1.rb +1 -1
  55. data/generated/google/apis/logging_v2beta1/classes.rb +7 -2
  56. data/generated/google/apis/manufacturers_v1.rb +1 -1
  57. data/generated/google/apis/manufacturers_v1/classes.rb +0 -30
  58. data/generated/google/apis/manufacturers_v1/representations.rb +0 -7
  59. data/generated/google/apis/manufacturers_v1/service.rb +0 -6
  60. data/generated/google/apis/ml_v1.rb +1 -1
  61. data/generated/google/apis/ml_v1/classes.rb +26 -4
  62. data/generated/google/apis/partners_v2.rb +1 -1
  63. data/generated/google/apis/partners_v2/classes.rb +14 -14
  64. data/generated/google/apis/pubsub_v1.rb +1 -1
  65. data/generated/google/apis/pubsub_v1/classes.rb +25 -15
  66. data/generated/google/apis/pubsub_v1/service.rb +47 -16
  67. data/generated/google/apis/{sqladmin_v1beta3.rb → redis_v1.rb} +10 -13
  68. data/generated/google/apis/redis_v1/classes.rb +597 -0
  69. data/generated/google/apis/redis_v1/representations.rb +207 -0
  70. data/generated/google/apis/redis_v1/service.rb +498 -0
  71. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  72. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -2
  73. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  74. data/generated/google/apis/testing_v1.rb +1 -1
  75. data/generated/google/apis/testing_v1/classes.rb +4 -2
  76. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  77. data/generated/google/apis/toolresults_v1beta3/classes.rb +4 -3
  78. data/generated/google/apis/tpu_v1.rb +1 -1
  79. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  80. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  81. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  82. data/lib/google/apis/version.rb +1 -1
  83. metadata +6 -6
  84. data/generated/google/apis/sqladmin_v1beta3/classes.rb +0 -1632
  85. data/generated/google/apis/sqladmin_v1beta3/representations.rb +0 -733
  86. data/generated/google/apis/sqladmin_v1beta3/service.rb +0 -995
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4078089dd0f5e203b6e3edc95907e8da15a90308
4
- data.tar.gz: 668d82570f2ce637ef2b61cc6ab6f940ff767031
3
+ metadata.gz: 8cee7ffe6fc36ab143b0f40d63142fb8cfc3f90b
4
+ data.tar.gz: c44b9474904d1f7e8b8f5423b0819f94b7960df1
5
5
  SHA512:
6
- metadata.gz: 24c2ef0efbb3506a4935b1c58129aaae4e93519884012df6b7a5de0526eeeeee2d9de10ce4c550c47707497643bf0655d9b68fbc7ed3786700f0a34fb2ad9a1c
7
- data.tar.gz: efb5a21cafef4b06f76f0ef9bb36ecf728fb77f5726f034bf8cde2c1a538ce4fabb5902584caa3ef2734702943549ed9be41e17a8d66671e80dcdccd27a0a27e
6
+ metadata.gz: 0283f00953b7e7d8f107dc9f9af642ef01ddbb86089e61d2747a8496ff32e583b07e6253021d694f40979d25f1435599ed5a5155fa5eb031004726fe65733fed
7
+ data.tar.gz: 9d18eb5f21b127958c00fcdf264af2db72dba7044a57d3b95cc058145251a3104e920af42d75b18f1e151bc361c669d017fd112783fdccc192315c4da0b7b0e0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,38 @@
1
+ # 0.23.9
2
+ * Backwards compatible changes:
3
+ * Updated `adexchangebuyer2_v2beta1`
4
+ * Updated `androidmanagement_v1`
5
+ * Updated `calendar_v3`
6
+ * Updated `cloudkms_v1`
7
+ * Updated `container_v1`
8
+ * Updated `container_v1beta1`
9
+ * Updated `dfareporting_v2_8`
10
+ * Updated `dfareporting_v3_0`
11
+ * Updated `dfareporting_v3_1`
12
+ * Updated `dfareporting_v3_2`
13
+ * Updated `doubleclickbidmanager_v1`
14
+ * Updated `drive_v2`
15
+ * Updated `drive_v3`
16
+ * Updated `genomics_v1`
17
+ * Updated `genomics_v1alpha2`
18
+ * Updated `genomics_v2alpha1`
19
+ * Updated `iam_v1`
20
+ * Updated `jobs_v2`
21
+ * Updated `language_v1beta2`
22
+ * Updated `logging_v2`
23
+ * Updated `logging_v2beta1`
24
+ * Updated `manufacturers_v1`
25
+ * Updated `ml_v1`
26
+ * Updated `partners_v2`
27
+ * Updated `pubsub_v1`
28
+ * Updated `servicecontrol_v1`
29
+ * Updated `testing_v1`
30
+ * Updated `toolresults_v1beta3`
31
+ * Updated `tpu_v1`
32
+ * Updated `tpu_v1alpha1`
33
+ * Updated `websecurityscanner_v1alpha`
34
+ * Updated `youtube_partner_v1`
35
+
1
36
  # 0.23.8
2
37
  * Backwards compatible changes:
3
38
  * Updated `adexchangebuyer2_v2beta1`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
27
27
  module Adexchangebuyer2V2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20180830'
29
+ REVISION = '20180906'
30
30
 
31
31
  # Manage your Ad Exchange buyer account configuration
32
32
  AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
@@ -30,24 +30,24 @@ module Google
30
30
  class AbsoluteDateRange
31
31
  include Google::Apis::Core::Hashable
32
32
 
33
- # Represents a whole calendar date, e.g. date of birth. The time of day and
34
- # time zone are either specified elsewhere or are not significant. The date
35
- # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
36
- # represent a year and month where the day is not significant, e.g. credit card
37
- # expiration date. The year may be 0 to represent a month and day independent
38
- # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
39
- # and `google.protobuf.Timestamp`.
33
+ # Represents a whole calendar date, for example date of birth. The time of day
34
+ # and time zone are either specified elsewhere or are not significant. The date
35
+ # is relative to the Proleptic Gregorian Calendar. The day can be 0 to
36
+ # represent a year and month where the day is not significant, for example
37
+ # credit card expiration date. The year can be 0 to represent a month and day
38
+ # independent of year, for example anniversary date. Related types are
39
+ # google.type.TimeOfDay and `google.protobuf.Timestamp`.
40
40
  # Corresponds to the JSON property `endDate`
41
41
  # @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
42
42
  attr_accessor :end_date
43
43
 
44
- # Represents a whole calendar date, e.g. date of birth. The time of day and
45
- # time zone are either specified elsewhere or are not significant. The date
46
- # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
47
- # represent a year and month where the day is not significant, e.g. credit card
48
- # expiration date. The year may be 0 to represent a month and day independent
49
- # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
50
- # and `google.protobuf.Timestamp`.
44
+ # Represents a whole calendar date, for example date of birth. The time of day
45
+ # and time zone are either specified elsewhere or are not significant. The date
46
+ # is relative to the Proleptic Gregorian Calendar. The day can be 0 to
47
+ # represent a year and month where the day is not significant, for example
48
+ # credit card expiration date. The year can be 0 to represent a month and day
49
+ # independent of year, for example anniversary date. Related types are
50
+ # google.type.TimeOfDay and `google.protobuf.Timestamp`.
51
51
  # Corresponds to the JSON property `startDate`
52
52
  # @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
53
53
  attr_accessor :start_date
@@ -756,13 +756,13 @@ module Google
756
756
  end
757
757
  end
758
758
 
759
- # Represents a whole calendar date, e.g. date of birth. The time of day and
760
- # time zone are either specified elsewhere or are not significant. The date
761
- # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
762
- # represent a year and month where the day is not significant, e.g. credit card
763
- # expiration date. The year may be 0 to represent a month and day independent
764
- # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
765
- # and `google.protobuf.Timestamp`.
759
+ # Represents a whole calendar date, for example date of birth. The time of day
760
+ # and time zone are either specified elsewhere or are not significant. The date
761
+ # is relative to the Proleptic Gregorian Calendar. The day can be 0 to
762
+ # represent a year and month where the day is not significant, for example
763
+ # credit card expiration date. The year can be 0 to represent a month and day
764
+ # independent of year, for example anniversary date. Related types are
765
+ # google.type.TimeOfDay and `google.protobuf.Timestamp`.
766
766
  class Date
767
767
  include Google::Apis::Core::Hashable
768
768
 
@@ -1043,13 +1043,13 @@ module Google
1043
1043
  class FilteringStats
1044
1044
  include Google::Apis::Core::Hashable
1045
1045
 
1046
- # Represents a whole calendar date, e.g. date of birth. The time of day and
1047
- # time zone are either specified elsewhere or are not significant. The date
1048
- # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
1049
- # represent a year and month where the day is not significant, e.g. credit card
1050
- # expiration date. The year may be 0 to represent a month and day independent
1051
- # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
1052
- # and `google.protobuf.Timestamp`.
1046
+ # Represents a whole calendar date, for example date of birth. The time of day
1047
+ # and time zone are either specified elsewhere or are not significant. The date
1048
+ # is relative to the Proleptic Gregorian Calendar. The day can be 0 to
1049
+ # represent a year and month where the day is not significant, for example
1050
+ # credit card expiration date. The year can be 0 to represent a month and day
1051
+ # independent of year, for example anniversary date. Related types are
1052
+ # google.type.TimeOfDay and `google.protobuf.Timestamp`.
1053
1053
  # Corresponds to the JSON property `date`
1054
1054
  # @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
1055
1055
  attr_accessor :date
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/android/management
27
27
  module AndroidmanagementV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180820'
29
+ REVISION = '20180829'
30
30
 
31
31
  # Manage Android devices and apps for your customers
32
32
  AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
@@ -2620,7 +2620,7 @@ module Google
2620
2620
  attr_accessor :hardware_status_enabled
2621
2621
  alias_method :hardware_status_enabled?, :hardware_status_enabled
2622
2622
 
2623
- # Whether memory info reporting is enabled.
2623
+ # Whether memory reporting is enabled.
2624
2624
  # Corresponds to the JSON property `memoryInfoEnabled`
2625
2625
  # @return [Boolean]
2626
2626
  attr_accessor :memory_info_enabled
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/calendar/firstapp
26
26
  module CalendarV3
27
27
  VERSION = 'V3'
28
- REVISION = '20180814'
28
+ REVISION = '20180906'
29
29
 
30
30
  # Manage your calendars
31
31
  AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
@@ -885,6 +885,13 @@ module Google
885
885
  # @return [String]
886
886
  attr_accessor :access_code
887
887
 
888
+ # Features of the entry point, such as being toll or toll-free. One entry point
889
+ # can have multiple features. However, toll and toll-free cannot be both set on
890
+ # the same entry point.
891
+ # Corresponds to the JSON property `entryPointFeatures`
892
+ # @return [Array<String>]
893
+ attr_accessor :entry_point_features
894
+
888
895
  # The type of the conference entry point.
889
896
  # Possible values are:
890
897
  # - "video" - joining a conference over HTTP. A conference can have zero or one
@@ -948,6 +955,13 @@ module Google
948
955
  # @return [String]
949
956
  attr_accessor :pin
950
957
 
958
+ # The CLDR/ISO 3166 region code for the country associated with this phone
959
+ # access. Example: "SE" for Sweden.
960
+ # Calendar backend will populate this field only for EntryPointType.PHONE.
961
+ # Corresponds to the JSON property `regionCode`
962
+ # @return [String]
963
+ attr_accessor :region_code
964
+
951
965
  # The URI of the entry point. The maximum length is 1300 characters.
952
966
  # Format:
953
967
  # - for video, http: or https: schema is required.
@@ -966,12 +980,14 @@ module Google
966
980
  # Update properties of this object
967
981
  def update!(**args)
968
982
  @access_code = args[:access_code] if args.key?(:access_code)
983
+ @entry_point_features = args[:entry_point_features] if args.key?(:entry_point_features)
969
984
  @entry_point_type = args[:entry_point_type] if args.key?(:entry_point_type)
970
985
  @label = args[:label] if args.key?(:label)
971
986
  @meeting_code = args[:meeting_code] if args.key?(:meeting_code)
972
987
  @passcode = args[:passcode] if args.key?(:passcode)
973
988
  @password = args[:password] if args.key?(:password)
974
989
  @pin = args[:pin] if args.key?(:pin)
990
+ @region_code = args[:region_code] if args.key?(:region_code)
975
991
  @uri = args[:uri] if args.key?(:uri)
976
992
  end
977
993
  end
@@ -486,12 +486,14 @@ module Google
486
486
  # @private
487
487
  class Representation < Google::Apis::Core::JsonRepresentation
488
488
  property :access_code, as: 'accessCode'
489
+ collection :entry_point_features, as: 'entryPointFeatures'
489
490
  property :entry_point_type, as: 'entryPointType'
490
491
  property :label, as: 'label'
491
492
  property :meeting_code, as: 'meetingCode'
492
493
  property :passcode, as: 'passcode'
493
494
  property :password, as: 'password'
494
495
  property :pin, as: 'pin'
496
+ property :region_code, as: 'regionCode'
495
497
  property :uri, as: 'uri'
496
498
  end
497
499
  end
@@ -29,7 +29,7 @@ module Google
29
29
  # @see https://cloud.google.com/kms/
30
30
  module CloudkmsV1
31
31
  VERSION = 'V1'
32
- REVISION = '20180823'
32
+ REVISION = '20180830'
33
33
 
34
34
  # View and manage your data across Google Cloud Platform services
35
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1013,6 +1013,12 @@ module Google
1013
1013
  class PublicKey
1014
1014
  include Google::Apis::Core::Hashable
1015
1015
 
1016
+ # The Algorithm associated
1017
+ # with this key.
1018
+ # Corresponds to the JSON property `algorithm`
1019
+ # @return [String]
1020
+ attr_accessor :algorithm
1021
+
1016
1022
  # The public key, encoded in PEM format. For more information, see the
1017
1023
  # [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for
1018
1024
  # [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and
@@ -1028,6 +1034,7 @@ module Google
1028
1034
 
1029
1035
  # Update properties of this object
1030
1036
  def update!(**args)
1037
+ @algorithm = args[:algorithm] if args.key?(:algorithm)
1031
1038
  @pem = args[:pem] if args.key?(:pem)
1032
1039
  end
1033
1040
  end
@@ -454,6 +454,7 @@ module Google
454
454
  class PublicKey
455
455
  # @private
456
456
  class Representation < Google::Apis::Core::JsonRepresentation
457
+ property :algorithm, as: 'algorithm'
457
458
  property :pem, as: 'pem'
458
459
  end
459
460
  end
@@ -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 = '20180813'
29
+ REVISION = '20180824'
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'
@@ -1377,6 +1377,7 @@ module Google
1377
1377
  # "cluster-name"
1378
1378
  # "cluster-uid"
1379
1379
  # "configure-sh"
1380
+ # "enable-os-login"
1380
1381
  # "gci-update-strategy"
1381
1382
  # "gci-ensure-gke-docker"
1382
1383
  # "instance-template"
@@ -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 = '20180813'
29
+ REVISION = '20180824'
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'
@@ -260,6 +260,11 @@ module Google
260
260
  # @return [String]
261
261
  attr_accessor :cluster_ipv4_cidr
262
262
 
263
+ # Which conditions caused the current cluster state.
264
+ # Corresponds to the JSON property `conditions`
265
+ # @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
266
+ attr_accessor :conditions
267
+
263
268
  # [Output only] The time the cluster was created, in
264
269
  # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
265
270
  # Corresponds to the JSON property `createTime`
@@ -569,6 +574,7 @@ module Google
569
574
  @autoscaling = args[:autoscaling] if args.key?(:autoscaling)
570
575
  @binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
571
576
  @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
577
+ @conditions = args[:conditions] if args.key?(:conditions)
572
578
  @create_time = args[:create_time] if args.key?(:create_time)
573
579
  @current_master_version = args[:current_master_version] if args.key?(:current_master_version)
574
580
  @current_node_count = args[:current_node_count] if args.key?(:current_node_count)
@@ -1715,8 +1721,9 @@ module Google
1715
1721
  # "cluster-name"
1716
1722
  # "cluster-uid"
1717
1723
  # "configure-sh"
1718
- # "gci-update-strategy"
1724
+ # "enable-oslogin"
1719
1725
  # "gci-ensure-gke-docker"
1726
+ # "gci-update-strategy"
1720
1727
  # "instance-template"
1721
1728
  # "kube-env"
1722
1729
  # "startup-script"
@@ -1865,6 +1872,11 @@ module Google
1865
1872
  # @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling]
1866
1873
  attr_accessor :autoscaling
1867
1874
 
1875
+ # Which conditions caused the current node pool state.
1876
+ # Corresponds to the JSON property `conditions`
1877
+ # @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
1878
+ attr_accessor :conditions
1879
+
1868
1880
  # Parameters that describe the nodes in a cluster.
1869
1881
  # Corresponds to the JSON property `config`
1870
1882
  # @return [Google::Apis::ContainerV1beta1::NodeConfig]
@@ -1929,6 +1941,7 @@ module Google
1929
1941
  # Update properties of this object
1930
1942
  def update!(**args)
1931
1943
  @autoscaling = args[:autoscaling] if args.key?(:autoscaling)
1944
+ @conditions = args[:conditions] if args.key?(:conditions)
1932
1945
  @config = args[:config] if args.key?(:config)
1933
1946
  @initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
1934
1947
  @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
@@ -2023,6 +2036,11 @@ module Google
2023
2036
  class Operation
2024
2037
  include Google::Apis::Core::Hashable
2025
2038
 
2039
+ # Which conditions caused the current cluster state.
2040
+ # Corresponds to the JSON property `clusterConditions`
2041
+ # @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
2042
+ attr_accessor :cluster_conditions
2043
+
2026
2044
  # Detailed operation progress, if available.
2027
2045
  # Corresponds to the JSON property `detail`
2028
2046
  # @return [String]
@@ -2047,6 +2065,11 @@ module Google
2047
2065
  # @return [String]
2048
2066
  attr_accessor :name
2049
2067
 
2068
+ # Which conditions caused the current node pool state.
2069
+ # Corresponds to the JSON property `nodepoolConditions`
2070
+ # @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
2071
+ attr_accessor :nodepool_conditions
2072
+
2050
2073
  # The operation type.
2051
2074
  # Corresponds to the JSON property `operationType`
2052
2075
  # @return [String]
@@ -2097,10 +2120,12 @@ module Google
2097
2120
 
2098
2121
  # Update properties of this object
2099
2122
  def update!(**args)
2123
+ @cluster_conditions = args[:cluster_conditions] if args.key?(:cluster_conditions)
2100
2124
  @detail = args[:detail] if args.key?(:detail)
2101
2125
  @end_time = args[:end_time] if args.key?(:end_time)
2102
2126
  @location = args[:location] if args.key?(:location)
2103
2127
  @name = args[:name] if args.key?(:name)
2128
+ @nodepool_conditions = args[:nodepool_conditions] if args.key?(:nodepool_conditions)
2104
2129
  @operation_type = args[:operation_type] if args.key?(:operation_type)
2105
2130
  @progress = args[:progress] if args.key?(:progress)
2106
2131
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -3068,6 +3093,32 @@ module Google
3068
3093
  end
3069
3094
  end
3070
3095
 
3096
+ # StatusCondition describes why a cluster or a node pool has a certain status
3097
+ # (e.g., ERROR or DEGRADED).
3098
+ class StatusCondition
3099
+ include Google::Apis::Core::Hashable
3100
+
3101
+ # Machine-friendly representation of the condition
3102
+ # Corresponds to the JSON property `code`
3103
+ # @return [String]
3104
+ attr_accessor :code
3105
+
3106
+ # Human-friendly representation of the condition
3107
+ # Corresponds to the JSON property `message`
3108
+ # @return [String]
3109
+ attr_accessor :message
3110
+
3111
+ def initialize(**args)
3112
+ update!(**args)
3113
+ end
3114
+
3115
+ # Update properties of this object
3116
+ def update!(**args)
3117
+ @code = args[:code] if args.key?(:code)
3118
+ @message = args[:message] if args.key?(:message)
3119
+ end
3120
+ end
3121
+
3071
3122
  # UpdateClusterRequest updates the settings of a cluster.
3072
3123
  class UpdateClusterRequest
3073
3124
  include Google::Apis::Core::Hashable
@@ -382,6 +382,12 @@ module Google
382
382
  include Google::Apis::Core::JsonObjectSupport
383
383
  end
384
384
 
385
+ class StatusCondition
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
385
391
  class UpdateClusterRequest
386
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
393
 
@@ -490,6 +496,8 @@ module Google
490
496
  property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::ContainerV1beta1::BinaryAuthorization, decorator: Google::Apis::ContainerV1beta1::BinaryAuthorization::Representation
491
497
 
492
498
  property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
499
+ collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1beta1::StatusCondition, decorator: Google::Apis::ContainerV1beta1::StatusCondition::Representation
500
+
493
501
  property :create_time, as: 'createTime'
494
502
  property :current_master_version, as: 'currentMasterVersion'
495
503
  property :current_node_count, as: 'currentNodeCount'
@@ -845,6 +853,8 @@ module Google
845
853
  class Representation < Google::Apis::Core::JsonRepresentation
846
854
  property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1beta1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1beta1::NodePoolAutoscaling::Representation
847
855
 
856
+ collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1beta1::StatusCondition, decorator: Google::Apis::ContainerV1beta1::StatusCondition::Representation
857
+
848
858
  property :config, as: 'config', class: Google::Apis::ContainerV1beta1::NodeConfig, decorator: Google::Apis::ContainerV1beta1::NodeConfig::Representation
849
859
 
850
860
  property :initial_node_count, as: 'initialNodeCount'
@@ -883,10 +893,14 @@ module Google
883
893
  class Operation
884
894
  # @private
885
895
  class Representation < Google::Apis::Core::JsonRepresentation
896
+ collection :cluster_conditions, as: 'clusterConditions', class: Google::Apis::ContainerV1beta1::StatusCondition, decorator: Google::Apis::ContainerV1beta1::StatusCondition::Representation
897
+
886
898
  property :detail, as: 'detail'
887
899
  property :end_time, as: 'endTime'
888
900
  property :location, as: 'location'
889
901
  property :name, as: 'name'
902
+ collection :nodepool_conditions, as: 'nodepoolConditions', class: Google::Apis::ContainerV1beta1::StatusCondition, decorator: Google::Apis::ContainerV1beta1::StatusCondition::Representation
903
+
890
904
  property :operation_type, as: 'operationType'
891
905
  property :progress, as: 'progress', class: Google::Apis::ContainerV1beta1::OperationProgress, decorator: Google::Apis::ContainerV1beta1::OperationProgress::Representation
892
906
 
@@ -1114,6 +1128,14 @@ module Google
1114
1128
  end
1115
1129
  end
1116
1130
 
1131
+ class StatusCondition
1132
+ # @private
1133
+ class Representation < Google::Apis::Core::JsonRepresentation
1134
+ property :code, as: 'code'
1135
+ property :message, as: 'message'
1136
+ end
1137
+ end
1138
+
1117
1139
  class UpdateClusterRequest
1118
1140
  # @private
1119
1141
  class Representation < Google::Apis::Core::JsonRepresentation