google-apis-container_v1 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0961813a05de56367cf29ac7bc8326a007c005af15ab73a34c21acfae9c8dcc
4
- data.tar.gz: 6080744800e34ff8ae91b1977d458f117d1b25464ca1299b9348e4009bdc533c
3
+ metadata.gz: 6579df18036fab50b5e7a9b92b739072cef86b15369ef433c4fd4aca92301dcd
4
+ data.tar.gz: 1fb6af78bdd2fa35ade6e661ca7a2f45b778e2639839ff9b25bbccaaf4366994
5
5
  SHA512:
6
- metadata.gz: fb3f84134b37a13bbb111a63082eb63f9ae0be390f86d3f8937af385e92b198ab1ea4ef8d1044ec92bff4ddeceecfd983cf97bc1e0d62898aa7e2eab7931d412
7
- data.tar.gz: 0c7b6a7a35b3fc968494b2db738df26b06451966c8c43a162ae547ea033a43dc9212d3ad41ed0a275d52a6888b4f5e1e4182562aaf589b2867b9d191dbc0fc21
6
+ metadata.gz: c5fc80b29ad952896d5ff3b9256a8e9e01e831dde02cec9702a45f07f667ec6f897003334cbafed7681b00e55a2833f700c158db7d0dd9ac1562da7f05d7aa8d
7
+ data.tar.gz: a1265d70135f8df99e0c98edd073731555e6895e29e3e1f355d8047007fd149fd55473daa1062c74763d4d81594c6d5d649c31fccdf59b1f271fc0a0339da69d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.6.0 (2021-03-24)
4
+
5
+ * Regenerated from discovery document revision 20210312
6
+
3
7
  ### v0.5.0 (2021-03-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20210226
@@ -2799,7 +2799,8 @@ module Google
2799
2799
  class Operation
2800
2800
  include Google::Apis::Core::Hashable
2801
2801
 
2802
- # Which conditions caused the current cluster state.
2802
+ # Which conditions caused the current cluster state. Deprecated. Use field error
2803
+ # instead.
2803
2804
  # Corresponds to the JSON property `clusterConditions`
2804
2805
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
2805
2806
  attr_accessor :cluster_conditions
@@ -2815,6 +2816,16 @@ module Google
2815
2816
  # @return [String]
2816
2817
  attr_accessor :end_time
2817
2818
 
2819
+ # The `Status` type defines a logical error model that is suitable for different
2820
+ # programming environments, including REST APIs and RPC APIs. It is used by [
2821
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
2822
+ # data: error code, error message, and error details. You can find out more
2823
+ # about this error model and how to work with it in the [API Design Guide](https:
2824
+ # //cloud.google.com/apis/design/errors).
2825
+ # Corresponds to the JSON property `error`
2826
+ # @return [Google::Apis::ContainerV1::Status]
2827
+ attr_accessor :error
2828
+
2818
2829
  # [Output only] The name of the Google Compute Engine [zone](https://cloud.
2819
2830
  # google.com/compute/docs/regions-zones/regions-zones#available) or [region](
2820
2831
  # https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2828,7 +2839,8 @@ module Google
2828
2839
  # @return [String]
2829
2840
  attr_accessor :name
2830
2841
 
2831
- # Which conditions caused the current node pool state.
2842
+ # Which conditions caused the current node pool state. Deprecated. Use field
2843
+ # error instead.
2832
2844
  # Corresponds to the JSON property `nodepoolConditions`
2833
2845
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
2834
2846
  attr_accessor :nodepool_conditions
@@ -2860,6 +2872,7 @@ module Google
2860
2872
  attr_accessor :status
2861
2873
 
2862
2874
  # Output only. If an error has occurred, a textual description of the error.
2875
+ # Deprecated. Use the field error instead.
2863
2876
  # Corresponds to the JSON property `statusMessage`
2864
2877
  # @return [String]
2865
2878
  attr_accessor :status_message
@@ -2885,6 +2898,7 @@ module Google
2885
2898
  @cluster_conditions = args[:cluster_conditions] if args.key?(:cluster_conditions)
2886
2899
  @detail = args[:detail] if args.key?(:detail)
2887
2900
  @end_time = args[:end_time] if args.key?(:end_time)
2901
+ @error = args[:error] if args.key?(:error)
2888
2902
  @location = args[:location] if args.key?(:location)
2889
2903
  @name = args[:name] if args.key?(:name)
2890
2904
  @nodepool_conditions = args[:nodepool_conditions] if args.key?(:nodepool_conditions)
@@ -4117,12 +4131,57 @@ module Google
4117
4131
  end
4118
4132
  end
4119
4133
 
4134
+ # The `Status` type defines a logical error model that is suitable for different
4135
+ # programming environments, including REST APIs and RPC APIs. It is used by [
4136
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
4137
+ # data: error code, error message, and error details. You can find out more
4138
+ # about this error model and how to work with it in the [API Design Guide](https:
4139
+ # //cloud.google.com/apis/design/errors).
4140
+ class Status
4141
+ include Google::Apis::Core::Hashable
4142
+
4143
+ # The status code, which should be an enum value of google.rpc.Code.
4144
+ # Corresponds to the JSON property `code`
4145
+ # @return [Fixnum]
4146
+ attr_accessor :code
4147
+
4148
+ # A list of messages that carry the error details. There is a common set of
4149
+ # message types for APIs to use.
4150
+ # Corresponds to the JSON property `details`
4151
+ # @return [Array<Hash<String,Object>>]
4152
+ attr_accessor :details
4153
+
4154
+ # A developer-facing error message, which should be in English. Any user-facing
4155
+ # error message should be localized and sent in the google.rpc.Status.details
4156
+ # field, or localized by the client.
4157
+ # Corresponds to the JSON property `message`
4158
+ # @return [String]
4159
+ attr_accessor :message
4160
+
4161
+ def initialize(**args)
4162
+ update!(**args)
4163
+ end
4164
+
4165
+ # Update properties of this object
4166
+ def update!(**args)
4167
+ @code = args[:code] if args.key?(:code)
4168
+ @details = args[:details] if args.key?(:details)
4169
+ @message = args[:message] if args.key?(:message)
4170
+ end
4171
+ end
4172
+
4120
4173
  # StatusCondition describes why a cluster or a node pool has a certain status (e.
4121
4174
  # g., ERROR or DEGRADED).
4122
4175
  class StatusCondition
4123
4176
  include Google::Apis::Core::Hashable
4124
4177
 
4125
- # Machine-friendly representation of the condition
4178
+ # Canonical code of the condition.
4179
+ # Corresponds to the JSON property `canonicalCode`
4180
+ # @return [String]
4181
+ attr_accessor :canonical_code
4182
+
4183
+ # Machine-friendly representation of the condition Deprecated. Use
4184
+ # canonical_code instead.
4126
4185
  # Corresponds to the JSON property `code`
4127
4186
  # @return [String]
4128
4187
  attr_accessor :code
@@ -4138,6 +4197,7 @@ module Google
4138
4197
 
4139
4198
  # Update properties of this object
4140
4199
  def update!(**args)
4200
+ @canonical_code = args[:canonical_code] if args.key?(:canonical_code)
4141
4201
  @code = args[:code] if args.key?(:code)
4142
4202
  @message = args[:message] if args.key?(:message)
4143
4203
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1
18
18
  # Version of the google-apis-container_v1 gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210226"
25
+ REVISION = "20210312"
26
26
  end
27
27
  end
28
28
  end
@@ -538,6 +538,12 @@ module Google
538
538
  include Google::Apis::Core::JsonObjectSupport
539
539
  end
540
540
 
541
+ class Status
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
541
547
  class StatusCondition
542
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
543
549
 
@@ -1305,6 +1311,8 @@ module Google
1305
1311
 
1306
1312
  property :detail, as: 'detail'
1307
1313
  property :end_time, as: 'endTime'
1314
+ property :error, as: 'error', class: Google::Apis::ContainerV1::Status, decorator: Google::Apis::ContainerV1::Status::Representation
1315
+
1308
1316
  property :location, as: 'location'
1309
1317
  property :name, as: 'name'
1310
1318
  collection :nodepool_conditions, as: 'nodepoolConditions', class: Google::Apis::ContainerV1::StatusCondition, decorator: Google::Apis::ContainerV1::StatusCondition::Representation
@@ -1616,9 +1624,19 @@ module Google
1616
1624
  end
1617
1625
  end
1618
1626
 
1627
+ class Status
1628
+ # @private
1629
+ class Representation < Google::Apis::Core::JsonRepresentation
1630
+ property :code, as: 'code'
1631
+ collection :details, as: 'details'
1632
+ property :message, as: 'message'
1633
+ end
1634
+ end
1635
+
1619
1636
  class StatusCondition
1620
1637
  # @private
1621
1638
  class Representation < Google::Apis::Core::JsonRepresentation
1639
+ property :canonical_code, as: 'canonicalCode'
1622
1640
  property :code, as: 'code'
1623
1641
  property :message, as: 'message'
1624
1642
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-15 00:00:00.000000000 Z
11
+ date: 2021-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.5.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1
57
57
  post_install_message:
58
58
  rdoc_options: []