google-apis-gkeonprem_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: ac4c982a1de414f7100fc8e3f51b81f0b45189991bebea9a4a7c1af5e9e8e962
4
- data.tar.gz: 2c7be7b4b77e58635ca80b39a2e1f37fcb229894af214d611c78fe5314ff46ba
3
+ metadata.gz: 3337c0ae3b239e506d2d6ee9b5fb6b61700cd39218819f0f134df6090604c94b
4
+ data.tar.gz: b14134761cd1353630c7c02d2430cd8ec388a158d5b63a75246bc92bb309965f
5
5
  SHA512:
6
- metadata.gz: e429060adc0864ee759f3cc37dbd135754c34083ca656a18cdfc99dc20dc77640987020f1f26b9a9c3957eef08eb8ccead4db8097b4b6b93169f8bef05f0f9bb
7
- data.tar.gz: 6bfcbcdedf4788561c85ce130842e73b62b33472fa7e88c4366247fc8a5bcbc57b990e12b40c8584e35c88712dee041e667e195215669d3358ec7068b7f81151
6
+ metadata.gz: e885d6d4e7d190a3af3cdb8897fb791b0119207dfc75394fd5861f2f9805a0df2ae7f3663172e9b7d086cb5ccdfa32abc0b6f064b5de081421c08b0301ee79c6
7
+ data.tar.gz: 96bd088858880bbf7b484fe65665ea1afd943ecdd86356ef26998bd10fa71ed1cb09d58d8d4e4def91d45728fc402b2aa4520f601e7169a82f2bb8b75374fa7f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkeonprem_v1
2
2
 
3
+ ### v0.6.0 (2023-07-02)
4
+
5
+ * Regenerated from discovery document revision 20230626
6
+
3
7
  ### v0.5.0 (2023-06-25)
4
8
 
5
9
  * 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`.
@@ -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.6.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 = "20230626"
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
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.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: 2023-06-25 00:00:00.000000000 Z
11
+ date: 2023-07-02 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.6.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: []