google-apis-gkeonprem_v1 0.5.0 → 0.7.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: ac4c982a1de414f7100fc8e3f51b81f0b45189991bebea9a4a7c1af5e9e8e962
4
- data.tar.gz: 2c7be7b4b77e58635ca80b39a2e1f37fcb229894af214d611c78fe5314ff46ba
3
+ metadata.gz: 768d74f8d24f154a5a1da06721c0e9de25c2b56d880fb6601ba2a7c756fa7b25
4
+ data.tar.gz: 0347a89f0b90a1b199ef8eed3811cf434a4e5f62e5733850b38aa24860e8c95d
5
5
  SHA512:
6
- metadata.gz: e429060adc0864ee759f3cc37dbd135754c34083ca656a18cdfc99dc20dc77640987020f1f26b9a9c3957eef08eb8ccead4db8097b4b6b93169f8bef05f0f9bb
7
- data.tar.gz: 6bfcbcdedf4788561c85ce130842e73b62b33472fa7e88c4366247fc8a5bcbc57b990e12b40c8584e35c88712dee041e667e195215669d3358ec7068b7f81151
6
+ metadata.gz: 4ef27b0d88b5176954c8bc88f8595a38dff93d16343c6bad83110d56f4236b4a75871b8739d71a3b32232e00c4ed9f31dfc60fcb15e95eeb6a8e826d7c1ffd65
7
+ data.tar.gz: f14ce6c1040740fccdf07f46d41806024493fec7784478891b101f834022df231fa7dcf2d1e72880710b45a3c1db1a1fe10f2d7e957a7e4d41d3f6a0e4adedd2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkeonprem_v1
2
2
 
3
+ ### v0.7.0 (2023-07-16)
4
+
5
+ * Regenerated from discovery document revision 20230705
6
+
7
+ ### v0.6.0 (2023-07-02)
8
+
9
+ * Regenerated from discovery document revision 20230626
10
+
3
11
  ### v0.5.0 (2023-06-25)
4
12
 
5
13
  * Regenerated from discovery document revision 20230620
@@ -2748,6 +2748,43 @@ module Google
2748
2748
  end
2749
2749
  end
2750
2750
 
2751
+ # Progress metric is (string, int|float|string) pair.
2752
+ class Metric
2753
+ include Google::Apis::Core::Hashable
2754
+
2755
+ # For metrics with floating point value.
2756
+ # Corresponds to the JSON property `doubleValue`
2757
+ # @return [Float]
2758
+ attr_accessor :double_value
2759
+
2760
+ # For metrics with integer value.
2761
+ # Corresponds to the JSON property `intValue`
2762
+ # @return [Fixnum]
2763
+ attr_accessor :int_value
2764
+
2765
+ # Required. The metric name.
2766
+ # Corresponds to the JSON property `metric`
2767
+ # @return [String]
2768
+ attr_accessor :metric
2769
+
2770
+ # For metrics with custom values (ratios, visual progress, etc.).
2771
+ # Corresponds to the JSON property `stringValue`
2772
+ # @return [String]
2773
+ attr_accessor :string_value
2774
+
2775
+ def initialize(**args)
2776
+ update!(**args)
2777
+ end
2778
+
2779
+ # Update properties of this object
2780
+ def update!(**args)
2781
+ @double_value = args[:double_value] if args.key?(:double_value)
2782
+ @int_value = args[:int_value] if args.key?(:int_value)
2783
+ @metric = args[:metric] if args.key?(:metric)
2784
+ @string_value = args[:string_value] if args.key?(:string_value)
2785
+ end
2786
+ end
2787
+
2751
2788
  # NodeTaint applied to every Kubernetes node in a node pool. Kubernetes taints
2752
2789
  # can be used together with tolerations to control how workloads are scheduled
2753
2790
  # to your nodes. Node taints are permanent.
@@ -2870,6 +2907,11 @@ module Google
2870
2907
  # @return [String]
2871
2908
  attr_accessor :end_time
2872
2909
 
2910
+ # Information about operation progress. LINT.IfChange
2911
+ # Corresponds to the JSON property `progress`
2912
+ # @return [Google::Apis::GkeonpremV1::OperationProgress]
2913
+ attr_accessor :progress
2914
+
2873
2915
  # Output only. Identifies whether the user has requested cancellation of the
2874
2916
  # operation. Operations that have successfully been cancelled have [Operation.
2875
2917
  # error] value with a [google.rpc.Status.code] of 1, corresponding to `Code.
@@ -2909,6 +2951,7 @@ module Google
2909
2951
  @control_plane_disconnected = args[:control_plane_disconnected] if args.key?(:control_plane_disconnected)
2910
2952
  @create_time = args[:create_time] if args.key?(:create_time)
2911
2953
  @end_time = args[:end_time] if args.key?(:end_time)
2954
+ @progress = args[:progress] if args.key?(:progress)
2912
2955
  @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
2913
2956
  @status_message = args[:status_message] if args.key?(:status_message)
2914
2957
  @target = args[:target] if args.key?(:target)
@@ -2917,6 +2960,68 @@ module Google
2917
2960
  end
2918
2961
  end
2919
2962
 
2963
+ # Information about operation progress. LINT.IfChange
2964
+ class OperationProgress
2965
+ include Google::Apis::Core::Hashable
2966
+
2967
+ # The stages of the operation.
2968
+ # Corresponds to the JSON property `stages`
2969
+ # @return [Array<Google::Apis::GkeonpremV1::OperationStage>]
2970
+ attr_accessor :stages
2971
+
2972
+ def initialize(**args)
2973
+ update!(**args)
2974
+ end
2975
+
2976
+ # Update properties of this object
2977
+ def update!(**args)
2978
+ @stages = args[:stages] if args.key?(:stages)
2979
+ end
2980
+ end
2981
+
2982
+ # Information about a particular stage of an operation.
2983
+ class OperationStage
2984
+ include Google::Apis::Core::Hashable
2985
+
2986
+ # Time the stage ended.
2987
+ # Corresponds to the JSON property `endTime`
2988
+ # @return [String]
2989
+ attr_accessor :end_time
2990
+
2991
+ # Progress metric bundle.
2992
+ # Corresponds to the JSON property `metrics`
2993
+ # @return [Array<Google::Apis::GkeonpremV1::Metric>]
2994
+ attr_accessor :metrics
2995
+
2996
+ # The high-level stage of the operation.
2997
+ # Corresponds to the JSON property `stage`
2998
+ # @return [String]
2999
+ attr_accessor :stage
3000
+
3001
+ # Time the stage started.
3002
+ # Corresponds to the JSON property `startTime`
3003
+ # @return [String]
3004
+ attr_accessor :start_time
3005
+
3006
+ # Output only. State of the stage.
3007
+ # Corresponds to the JSON property `state`
3008
+ # @return [String]
3009
+ attr_accessor :state
3010
+
3011
+ def initialize(**args)
3012
+ update!(**args)
3013
+ end
3014
+
3015
+ # Update properties of this object
3016
+ def update!(**args)
3017
+ @end_time = args[:end_time] if args.key?(:end_time)
3018
+ @metrics = args[:metrics] if args.key?(:metrics)
3019
+ @stage = args[:stage] if args.key?(:stage)
3020
+ @start_time = args[:start_time] if args.key?(:start_time)
3021
+ @state = args[:state] if args.key?(:state)
3022
+ end
3023
+ end
3024
+
2920
3025
  # An Identity and Access Management (IAM) policy, which specifies access
2921
3026
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2922
3027
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -4327,11 +4432,6 @@ module Google
4327
4432
  # @return [String]
4328
4433
  attr_accessor :datastore
4329
4434
 
4330
- # The Vsphere storage policy used by the control plane Node.
4331
- # Corresponds to the JSON property `storagePolicyName`
4332
- # @return [String]
4333
- attr_accessor :storage_policy_name
4334
-
4335
4435
  def initialize(**args)
4336
4436
  update!(**args)
4337
4437
  end
@@ -4339,7 +4439,6 @@ module Google
4339
4439
  # Update properties of this object
4340
4440
  def update!(**args)
4341
4441
  @datastore = args[:datastore] if args.key?(:datastore)
4342
- @storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
4343
4442
  end
4344
4443
  end
4345
4444
 
@@ -5032,11 +5131,6 @@ module Google
5032
5131
  # @return [String]
5033
5132
  attr_accessor :resource_pool
5034
5133
 
5035
- # The name of the vCenter storage policy for the user cluster.
5036
- # Corresponds to the JSON property `storagePolicyName`
5037
- # @return [String]
5038
- attr_accessor :storage_policy_name
5039
-
5040
5134
  def initialize(**args)
5041
5135
  update!(**args)
5042
5136
  end
@@ -5050,7 +5144,6 @@ module Google
5050
5144
  @datastore = args[:datastore] if args.key?(:datastore)
5051
5145
  @folder = args[:folder] if args.key?(:folder)
5052
5146
  @resource_pool = args[:resource_pool] if args.key?(:resource_pool)
5053
- @storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
5054
5147
  end
5055
5148
  end
5056
5149
 
@@ -5126,11 +5219,6 @@ module Google
5126
5219
  # @return [String]
5127
5220
  attr_accessor :datastore
5128
5221
 
5129
- # The name of the vCenter storage policy. Inherited from the user cluster.
5130
- # Corresponds to the JSON property `storagePolicyName`
5131
- # @return [String]
5132
- attr_accessor :storage_policy_name
5133
-
5134
5222
  # Tags to apply to VMs.
5135
5223
  # Corresponds to the JSON property `tags`
5136
5224
  # @return [Array<Google::Apis::GkeonpremV1::VmwareVsphereTag>]
@@ -5143,7 +5231,6 @@ module Google
5143
5231
  # Update properties of this object
5144
5232
  def update!(**args)
5145
5233
  @datastore = args[:datastore] if args.key?(:datastore)
5146
- @storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
5147
5234
  @tags = args[:tags] if args.key?(:tags)
5148
5235
  end
5149
5236
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkeonpremV1
18
18
  # Version of the google-apis-gkeonprem_v1 gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230620"
25
+ REVISION = "20230705"
26
26
  end
27
27
  end
28
28
  end
@@ -514,6 +514,12 @@ module Google
514
514
  include Google::Apis::Core::JsonObjectSupport
515
515
  end
516
516
 
517
+ class Metric
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
517
523
  class NodeTaint
518
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
519
525
 
@@ -532,6 +538,18 @@ module Google
532
538
  include Google::Apis::Core::JsonObjectSupport
533
539
  end
534
540
 
541
+ class OperationProgress
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
547
+ class OperationStage
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
535
553
  class Policy
536
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
555
 
@@ -1658,6 +1676,16 @@ module Google
1658
1676
  end
1659
1677
  end
1660
1678
 
1679
+ class Metric
1680
+ # @private
1681
+ class Representation < Google::Apis::Core::JsonRepresentation
1682
+ property :double_value, as: 'doubleValue'
1683
+ property :int_value, :numeric_string => true, as: 'intValue'
1684
+ property :metric, as: 'metric'
1685
+ property :string_value, as: 'stringValue'
1686
+ end
1687
+ end
1688
+
1661
1689
  class NodeTaint
1662
1690
  # @private
1663
1691
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1686,6 +1714,8 @@ module Google
1686
1714
  property :control_plane_disconnected, as: 'controlPlaneDisconnected'
1687
1715
  property :create_time, as: 'createTime'
1688
1716
  property :end_time, as: 'endTime'
1717
+ property :progress, as: 'progress', class: Google::Apis::GkeonpremV1::OperationProgress, decorator: Google::Apis::GkeonpremV1::OperationProgress::Representation
1718
+
1689
1719
  property :requested_cancellation, as: 'requestedCancellation'
1690
1720
  property :status_message, as: 'statusMessage'
1691
1721
  property :target, as: 'target'
@@ -1694,6 +1724,26 @@ module Google
1694
1724
  end
1695
1725
  end
1696
1726
 
1727
+ class OperationProgress
1728
+ # @private
1729
+ class Representation < Google::Apis::Core::JsonRepresentation
1730
+ collection :stages, as: 'stages', class: Google::Apis::GkeonpremV1::OperationStage, decorator: Google::Apis::GkeonpremV1::OperationStage::Representation
1731
+
1732
+ end
1733
+ end
1734
+
1735
+ class OperationStage
1736
+ # @private
1737
+ class Representation < Google::Apis::Core::JsonRepresentation
1738
+ property :end_time, as: 'endTime'
1739
+ collection :metrics, as: 'metrics', class: Google::Apis::GkeonpremV1::Metric, decorator: Google::Apis::GkeonpremV1::Metric::Representation
1740
+
1741
+ property :stage, as: 'stage'
1742
+ property :start_time, as: 'startTime'
1743
+ property :state, as: 'state'
1744
+ end
1745
+ end
1746
+
1697
1747
  class Policy
1698
1748
  # @private
1699
1749
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2063,7 +2113,6 @@ module Google
2063
2113
  # @private
2064
2114
  class Representation < Google::Apis::Core::JsonRepresentation
2065
2115
  property :datastore, as: 'datastore'
2066
- property :storage_policy_name, as: 'storagePolicyName'
2067
2116
  end
2068
2117
  end
2069
2118
 
@@ -2254,7 +2303,6 @@ module Google
2254
2303
  property :datastore, as: 'datastore'
2255
2304
  property :folder, as: 'folder'
2256
2305
  property :resource_pool, as: 'resourcePool'
2257
- property :storage_policy_name, as: 'storagePolicyName'
2258
2306
  end
2259
2307
  end
2260
2308
 
@@ -2279,7 +2327,6 @@ module Google
2279
2327
  # @private
2280
2328
  class Representation < Google::Apis::Core::JsonRepresentation
2281
2329
  property :datastore, as: 'datastore'
2282
- property :storage_policy_name, as: 'storagePolicyName'
2283
2330
  collection :tags, as: 'tags', class: Google::Apis::GkeonpremV1::VmwareVsphereTag, decorator: Google::Apis::GkeonpremV1::VmwareVsphereTag::Representation
2284
2331
 
2285
2332
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkeonprem_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.7.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: 2023-06-25 00:00:00.000000000 Z
11
+ date: 2023-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkeonprem_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkeonprem_v1/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkeonprem_v1/v0.7.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkeonprem_v1
63
63
  post_install_message:
64
64
  rdoc_options: []