google-apis-gkeonprem_v1 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 25480b091fcea789c2d5892fac801e89996306d2a09797be2d8164e54570ce41
4
- data.tar.gz: 88723a9b99e6176802902fa1d7f31d388c4fb074621bf5ba6ebde2000cca3dba
3
+ metadata.gz: 3337c0ae3b239e506d2d6ee9b5fb6b61700cd39218819f0f134df6090604c94b
4
+ data.tar.gz: b14134761cd1353630c7c02d2430cd8ec388a158d5b63a75246bc92bb309965f
5
5
  SHA512:
6
- metadata.gz: 2b2f11462d0d0677300d8cc34f1eb8dae6fc811456e6e8290508fe2dba50e82cfb9fbc7683c06b42a60c68a9872257c673bb57ddfd88a60a413872352a7e8c52
7
- data.tar.gz: 5cdf1f9283020134dd77746f70fb8d72c25ad9e820a7e0d189821c560bcbcbd9bd0c88cb61d5228155a529de92cd458f76bd310dfa82a95158eeca8d252f2c0b
6
+ metadata.gz: e885d6d4e7d190a3af3cdb8897fb791b0119207dfc75394fd5861f2f9805a0df2ae7f3663172e9b7d086cb5ccdfa32abc0b6f064b5de081421c08b0301ee79c6
7
+ data.tar.gz: 96bd088858880bbf7b484fe65665ea1afd943ecdd86356ef26998bd10fa71ed1cb09d58d8d4e4def91d45728fc402b2aa4520f601e7169a82f2bb8b75374fa7f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.5.0 (2023-06-25)
8
+
9
+ * Regenerated from discovery document revision 20230620
10
+
3
11
  ### v0.4.0 (2023-06-11)
4
12
 
5
13
  * Regenerated from discovery document revision 20230607
@@ -2187,9 +2187,8 @@ module Google
2187
2187
 
2188
2188
  # User provided OnePlatform identifier that is used as part of the resource name.
2189
2189
  # This must be unique among all GKE on-prem clusters within a project and
2190
- # location and will return a 409 if the cluster already exists. This value must
2191
- # be up to 40 characters and follow RFC-1123 (https://tools.ietf.org/html/
2192
- # rfc1123) format.
2190
+ # location and will return a 409 if the cluster already exists. (https://tools.
2191
+ # ietf.org/html/rfc1123) format.
2193
2192
  # Corresponds to the JSON property `bareMetalAdminClusterId`
2194
2193
  # @return [String]
2195
2194
  attr_accessor :bare_metal_admin_cluster_id
@@ -2225,19 +2224,18 @@ module Google
2225
2224
 
2226
2225
  # User provided OnePlatform identifier that is used as part of the resource name.
2227
2226
  # This must be unique among all bare metal clusters within a project and
2228
- # location and will return a 409 if the cluster already exists. This value must
2229
- # be up to 40 characters and follow RFC-1123 (https://tools.ietf.org/html/
2230
- # rfc1123) format.
2227
+ # location and will return a 409 if the cluster already exists. (https://tools.
2228
+ # ietf.org/html/rfc1123) format.
2231
2229
  # Corresponds to the JSON property `bareMetalClusterId`
2232
2230
  # @return [String]
2233
2231
  attr_accessor :bare_metal_cluster_id
2234
2232
 
2235
- # The object name of the bare metal cluster custom resource on the associated
2236
- # admin cluster. This field is used to support conflicting resource names when
2237
- # enrolling existing clusters to the API. When not provided, this field will
2238
- # resolve to the bare_metal_cluster_id. Otherwise, it must match the object name
2239
- # of the bare metal cluster custom resource. It is not modifiable outside /
2240
- # beyond the enrollment operation.
2233
+ # Optional. The object name of the bare metal cluster custom resource on the
2234
+ # associated admin cluster. This field is used to support conflicting resource
2235
+ # names when enrolling existing clusters to the API. When not provided, this
2236
+ # field will resolve to the bare_metal_cluster_id. Otherwise, it must match the
2237
+ # object name of the bare metal cluster custom resource. It is not modifiable
2238
+ # outside / beyond the enrollment operation.
2241
2239
  # Corresponds to the JSON property `localName`
2242
2240
  # @return [String]
2243
2241
  attr_accessor :local_name
@@ -2259,8 +2257,7 @@ module Google
2259
2257
  include Google::Apis::Core::Hashable
2260
2258
 
2261
2259
  # User provided OnePlatform identifier that is used as part of the resource name.
2262
- # This value must be up to 40 characters and follow RFC-1123 (https://tools.
2263
- # ietf.org/html/rfc1123) format.
2260
+ # (https://tools.ietf.org/html/rfc1123) format.
2264
2261
  # Corresponds to the JSON property `bareMetalNodePoolId`
2265
2262
  # @return [String]
2266
2263
  attr_accessor :bare_metal_node_pool_id
@@ -2294,9 +2291,8 @@ module Google
2294
2291
 
2295
2292
  # User provided OnePlatform identifier that is used as part of the resource name.
2296
2293
  # This must be unique among all GKE on-prem clusters within a project and
2297
- # location and will return a 409 if the cluster already exists. This value must
2298
- # be up to 40 characters and follow RFC-1123 (https://tools.ietf.org/html/
2299
- # rfc1123) format.
2294
+ # location and will return a 409 if the cluster already exists. (https://tools.
2295
+ # ietf.org/html/rfc1123) format.
2300
2296
  # Corresponds to the JSON property `vmwareAdminClusterId`
2301
2297
  # @return [String]
2302
2298
  attr_accessor :vmware_admin_cluster_id
@@ -2324,10 +2320,10 @@ module Google
2324
2320
  # @return [String]
2325
2321
  attr_accessor :admin_cluster_membership
2326
2322
 
2327
- # The object name of the VMware OnPremUserCluster custom resource on the
2328
- # associated admin cluster. This field is used to support conflicting resource
2329
- # names when enrolling existing clusters to the API. When not provided, this
2330
- # field will resolve to the vmware_cluster_id. Otherwise, it must match the
2323
+ # Optional. The object name of the VMware OnPremUserCluster custom resource on
2324
+ # the associated admin cluster. This field is used to support conflicting
2325
+ # resource names when enrolling existing clusters to the API. When not provided,
2326
+ # this field will resolve to the vmware_cluster_id. Otherwise, it must match the
2331
2327
  # object name of the VMware OnPremUserCluster custom resource. It is not
2332
2328
  # modifiable outside / beyond the enrollment operation.
2333
2329
  # Corresponds to the JSON property `localName`
@@ -2342,9 +2338,8 @@ module Google
2342
2338
 
2343
2339
  # User provided OnePlatform identifier that is used as part of the resource name.
2344
2340
  # This must be unique among all GKE on-prem clusters within a project and
2345
- # location and will return a 409 if the cluster already exists. This value must
2346
- # be up to 40 characters and follow RFC-1123 (https://tools.ietf.org/html/
2347
- # rfc1123) format.
2341
+ # location and will return a 409 if the cluster already exists. (https://tools.
2342
+ # ietf.org/html/rfc1123) format.
2348
2343
  # Corresponds to the JSON property `vmwareClusterId`
2349
2344
  # @return [String]
2350
2345
  attr_accessor :vmware_cluster_id
@@ -2753,6 +2748,43 @@ module Google
2753
2748
  end
2754
2749
  end
2755
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
+
2756
2788
  # NodeTaint applied to every Kubernetes node in a node pool. Kubernetes taints
2757
2789
  # can be used together with tolerations to control how workloads are scheduled
2758
2790
  # to your nodes. Node taints are permanent.
@@ -2875,6 +2907,11 @@ module Google
2875
2907
  # @return [String]
2876
2908
  attr_accessor :end_time
2877
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
+
2878
2915
  # Output only. Identifies whether the user has requested cancellation of the
2879
2916
  # operation. Operations that have successfully been cancelled have [Operation.
2880
2917
  # error] value with a [google.rpc.Status.code] of 1, corresponding to `Code.
@@ -2914,6 +2951,7 @@ module Google
2914
2951
  @control_plane_disconnected = args[:control_plane_disconnected] if args.key?(:control_plane_disconnected)
2915
2952
  @create_time = args[:create_time] if args.key?(:create_time)
2916
2953
  @end_time = args[:end_time] if args.key?(:end_time)
2954
+ @progress = args[:progress] if args.key?(:progress)
2917
2955
  @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
2918
2956
  @status_message = args[:status_message] if args.key?(:status_message)
2919
2957
  @target = args[:target] if args.key?(:target)
@@ -2922,6 +2960,68 @@ module Google
2922
2960
  end
2923
2961
  end
2924
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
+
2925
3025
  # An Identity and Access Management (IAM) policy, which specifies access
2926
3026
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2927
3027
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -4332,6 +4432,11 @@ module Google
4332
4432
  # @return [String]
4333
4433
  attr_accessor :datastore
4334
4434
 
4435
+ # The Vsphere storage policy used by the control plane Node.
4436
+ # Corresponds to the JSON property `storagePolicyName`
4437
+ # @return [String]
4438
+ attr_accessor :storage_policy_name
4439
+
4335
4440
  def initialize(**args)
4336
4441
  update!(**args)
4337
4442
  end
@@ -4339,6 +4444,7 @@ module Google
4339
4444
  # Update properties of this object
4340
4445
  def update!(**args)
4341
4446
  @datastore = args[:datastore] if args.key?(:datastore)
4447
+ @storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
4342
4448
  end
4343
4449
  end
4344
4450
 
@@ -5031,6 +5137,11 @@ module Google
5031
5137
  # @return [String]
5032
5138
  attr_accessor :resource_pool
5033
5139
 
5140
+ # The name of the vCenter storage policy for the user cluster.
5141
+ # Corresponds to the JSON property `storagePolicyName`
5142
+ # @return [String]
5143
+ attr_accessor :storage_policy_name
5144
+
5034
5145
  def initialize(**args)
5035
5146
  update!(**args)
5036
5147
  end
@@ -5044,6 +5155,7 @@ module Google
5044
5155
  @datastore = args[:datastore] if args.key?(:datastore)
5045
5156
  @folder = args[:folder] if args.key?(:folder)
5046
5157
  @resource_pool = args[:resource_pool] if args.key?(:resource_pool)
5158
+ @storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
5047
5159
  end
5048
5160
  end
5049
5161
 
@@ -5119,6 +5231,11 @@ module Google
5119
5231
  # @return [String]
5120
5232
  attr_accessor :datastore
5121
5233
 
5234
+ # The name of the vCenter storage policy. Inherited from the user cluster.
5235
+ # Corresponds to the JSON property `storagePolicyName`
5236
+ # @return [String]
5237
+ attr_accessor :storage_policy_name
5238
+
5122
5239
  # Tags to apply to VMs.
5123
5240
  # Corresponds to the JSON property `tags`
5124
5241
  # @return [Array<Google::Apis::GkeonpremV1::VmwareVsphereTag>]
@@ -5131,6 +5248,7 @@ module Google
5131
5248
  # Update properties of this object
5132
5249
  def update!(**args)
5133
5250
  @datastore = args[:datastore] if args.key?(:datastore)
5251
+ @storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
5134
5252
  @tags = args[:tags] if args.key?(:tags)
5135
5253
  end
5136
5254
  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.4.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 = "20230607"
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
@@ -2063,6 +2113,7 @@ module Google
2063
2113
  # @private
2064
2114
  class Representation < Google::Apis::Core::JsonRepresentation
2065
2115
  property :datastore, as: 'datastore'
2116
+ property :storage_policy_name, as: 'storagePolicyName'
2066
2117
  end
2067
2118
  end
2068
2119
 
@@ -2253,6 +2304,7 @@ module Google
2253
2304
  property :datastore, as: 'datastore'
2254
2305
  property :folder, as: 'folder'
2255
2306
  property :resource_pool, as: 'resourcePool'
2307
+ property :storage_policy_name, as: 'storagePolicyName'
2256
2308
  end
2257
2309
  end
2258
2310
 
@@ -2277,6 +2329,7 @@ module Google
2277
2329
  # @private
2278
2330
  class Representation < Google::Apis::Core::JsonRepresentation
2279
2331
  property :datastore, as: 'datastore'
2332
+ property :storage_policy_name, as: 'storagePolicyName'
2280
2333
  collection :tags, as: 'tags', class: Google::Apis::GkeonpremV1::VmwareVsphereTag, decorator: Google::Apis::GkeonpremV1::VmwareVsphereTag::Representation
2281
2334
 
2282
2335
  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.4.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-11 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.4.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: []