google-apis-gkehub_v1alpha 0.20.0 → 0.23.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: e3b1c05248dfe6e28c6b48270f02731628af5172f5d0867cb95afb211b601bb4
4
- data.tar.gz: 34c096cc35735c9149ef1f1262f70e2c22354842d1a5d5e65c6822ff2ecda9a0
3
+ metadata.gz: c797269f2d0dc31b4ec3f3168ded8954fc3b9fec0b76e7a9af2daf0429cbc511
4
+ data.tar.gz: 5584f3c19977e4c5c6e8da5453d6f01dde7268e8836a5cf1876033d22cf5fb74
5
5
  SHA512:
6
- metadata.gz: f296213edb6a18448f2ae17361121b43390855447df670e7423c8e10188a0b703652df9f32c832b327833393c3672a312f670f8fcbf268532bad7cf4be05bb90
7
- data.tar.gz: 65372d02a7f551b0c6daa006a7216f13d9350c62e872c878a2e53db0b87d68d5d56bb7daf044ed7ae17d7c8878ba5adb40e73f15a078423801e32df655850f3a
6
+ metadata.gz: 72be84fc15c498efe396e68585f13bafb577011de78a20b4d11a08c68726316eedb1bcb81b7d23789126289c96fcf72cb79ae615e685e52afba1f8d0e08e9598
7
+ data.tar.gz: fc2bbea3aad1adeb7e9abec5aa80ce75e22b6b906af3e6d02577f82e2c2c0e24f05c54d0c55b00a538e069c9d810c36d7adfc4e842423351a700319ca05dc8b4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.23.0 (2022-03-12)
4
+
5
+ * Regenerated from discovery document revision 20220303
6
+
7
+ ### v0.22.0 (2022-02-12)
8
+
9
+ * Regenerated from discovery document revision 20220204
10
+
11
+ ### v0.21.0 (2022-02-05)
12
+
13
+ * Regenerated from discovery document revision 20220128
14
+
3
15
  ### v0.20.0 (2022-01-30)
4
16
 
5
17
  * Regenerated from discovery document revision 20220122
@@ -22,6 +22,25 @@ module Google
22
22
  module Apis
23
23
  module GkehubV1alpha
24
24
 
25
+ # **Anthos Observability**: Spec
26
+ class AnthosObservabilityFeatureSpec
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # **Anthosobservability**: Per-Membership Feature spec.
30
+ # Corresponds to the JSON property `defaultMembershipSpec`
31
+ # @return [Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec]
32
+ attr_accessor :default_membership_spec
33
+
34
+ def initialize(**args)
35
+ update!(**args)
36
+ end
37
+
38
+ # Update properties of this object
39
+ def update!(**args)
40
+ @default_membership_spec = args[:default_membership_spec] if args.key?(:default_membership_spec)
41
+ end
42
+ end
43
+
25
44
  # **Anthosobservability**: Per-Membership Feature spec.
26
45
  class AnthosObservabilityMembershipSpec
27
46
  include Google::Apis::Core::Hashable
@@ -41,6 +60,11 @@ module Google
41
60
  attr_accessor :enable_stackdriver_on_applications
42
61
  alias_method :enable_stackdriver_on_applications?, :enable_stackdriver_on_applications
43
62
 
63
+ # the version of stackdriver operator used by this feature
64
+ # Corresponds to the JSON property `version`
65
+ # @return [String]
66
+ attr_accessor :version
67
+
44
68
  def initialize(**args)
45
69
  update!(**args)
46
70
  end
@@ -49,6 +73,7 @@ module Google
49
73
  def update!(**args)
50
74
  @do_not_optimize_metrics = args[:do_not_optimize_metrics] if args.key?(:do_not_optimize_metrics)
51
75
  @enable_stackdriver_on_applications = args[:enable_stackdriver_on_applications] if args.key?(:enable_stackdriver_on_applications)
76
+ @version = args[:version] if args.key?(:version)
52
77
  end
53
78
  end
54
79
 
@@ -345,6 +370,11 @@ module Google
345
370
  class CommonFeatureSpec
346
371
  include Google::Apis::Core::Hashable
347
372
 
373
+ # **Anthos Observability**: Spec
374
+ # Corresponds to the JSON property `anthosobservability`
375
+ # @return [Google::Apis::GkehubV1alpha::AnthosObservabilityFeatureSpec]
376
+ attr_accessor :anthosobservability
377
+
348
378
  # Spec for App Dev Experience Feature.
349
379
  # Corresponds to the JSON property `appdevexperience`
350
380
  # @return [Google::Apis::GkehubV1alpha::AppDevExperienceFeatureSpec]
@@ -361,15 +391,23 @@ module Google
361
391
  # @return [Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec]
362
392
  attr_accessor :multiclusteringress
363
393
 
394
+ # **Workload Certificate**: The Hub-wide input for the WorkloadCertificate
395
+ # feature.
396
+ # Corresponds to the JSON property `workloadcertificate`
397
+ # @return [Google::Apis::GkehubV1alpha::FeatureSpec]
398
+ attr_accessor :workloadcertificate
399
+
364
400
  def initialize(**args)
365
401
  update!(**args)
366
402
  end
367
403
 
368
404
  # Update properties of this object
369
405
  def update!(**args)
406
+ @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
370
407
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
371
408
  @cloudauditlogging = args[:cloudauditlogging] if args.key?(:cloudauditlogging)
372
409
  @multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
410
+ @workloadcertificate = args[:workloadcertificate] if args.key?(:workloadcertificate)
373
411
  end
374
412
  end
375
413
 
@@ -1514,6 +1552,33 @@ module Google
1514
1552
  end
1515
1553
  end
1516
1554
 
1555
+ # **Workload Certificate**: The Hub-wide input for the WorkloadCertificate
1556
+ # feature.
1557
+ class FeatureSpec
1558
+ include Google::Apis::Core::Hashable
1559
+
1560
+ # **Workload Certificate**: The membership-specific input for
1561
+ # WorkloadCertificate feature.
1562
+ # Corresponds to the JSON property `defaultConfig`
1563
+ # @return [Google::Apis::GkehubV1alpha::MembershipSpec]
1564
+ attr_accessor :default_config
1565
+
1566
+ # Immutable. Specifies CA configuration.
1567
+ # Corresponds to the JSON property `provisionGoogleCa`
1568
+ # @return [String]
1569
+ attr_accessor :provision_google_ca
1570
+
1571
+ def initialize(**args)
1572
+ update!(**args)
1573
+ end
1574
+
1575
+ # Update properties of this object
1576
+ def update!(**args)
1577
+ @default_config = args[:default_config] if args.key?(:default_config)
1578
+ @provision_google_ca = args[:provision_google_ca] if args.key?(:provision_google_ca)
1579
+ end
1580
+ end
1581
+
1517
1582
  # FeatureState describes the high-level state of a Feature. It may be used to
1518
1583
  # describe a Feature's state at the environ-level, or per-membershop, depending
1519
1584
  # on the context.
@@ -1805,6 +1870,11 @@ module Google
1805
1870
  # @return [String]
1806
1871
  attr_accessor :client_id
1807
1872
 
1873
+ # Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
1874
+ # Corresponds to the JSON property `clientSecret`
1875
+ # @return [String]
1876
+ attr_accessor :client_secret
1877
+
1808
1878
  # Flag to denote if reverse proxy is used to connect to auth provider. This flag
1809
1879
  # should be set to true when provider is not reachable by Google Cloud Console.
1810
1880
  # Corresponds to the JSON property `deployCloudConsoleProxy`
@@ -1812,6 +1882,12 @@ module Google
1812
1882
  attr_accessor :deploy_cloud_console_proxy
1813
1883
  alias_method :deploy_cloud_console_proxy?, :deploy_cloud_console_proxy
1814
1884
 
1885
+ # Output only. Encrypted OIDC Client secret
1886
+ # Corresponds to the JSON property `encryptedClientSecret`
1887
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1888
+ # @return [String]
1889
+ attr_accessor :encrypted_client_secret
1890
+
1815
1891
  # Comma-separated list of key-value pairs.
1816
1892
  # Corresponds to the JSON property `extraParams`
1817
1893
  # @return [String]
@@ -1862,7 +1938,9 @@ module Google
1862
1938
  def update!(**args)
1863
1939
  @certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
1864
1940
  @client_id = args[:client_id] if args.key?(:client_id)
1941
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
1865
1942
  @deploy_cloud_console_proxy = args[:deploy_cloud_console_proxy] if args.key?(:deploy_cloud_console_proxy)
1943
+ @encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
1866
1944
  @extra_params = args[:extra_params] if args.key?(:extra_params)
1867
1945
  @group_prefix = args[:group_prefix] if args.key?(:group_prefix)
1868
1946
  @groups_claim = args[:groups_claim] if args.key?(:groups_claim)
@@ -2044,6 +2122,32 @@ module Google
2044
2122
  end
2045
2123
  end
2046
2124
 
2125
+ # Response message for the `GkeHub.ListFleetsResponse` method.
2126
+ class ListFleetsResponse
2127
+ include Google::Apis::Core::Hashable
2128
+
2129
+ # The list of matching fleets.
2130
+ # Corresponds to the JSON property `fleets`
2131
+ # @return [Array<Google::Apis::GkehubV1alpha::Fleet>]
2132
+ attr_accessor :fleets
2133
+
2134
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
2135
+ # field is omitted, there are no subsequent pages.
2136
+ # Corresponds to the JSON property `nextPageToken`
2137
+ # @return [String]
2138
+ attr_accessor :next_page_token
2139
+
2140
+ def initialize(**args)
2141
+ update!(**args)
2142
+ end
2143
+
2144
+ # Update properties of this object
2145
+ def update!(**args)
2146
+ @fleets = args[:fleets] if args.key?(:fleets)
2147
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2148
+ end
2149
+ end
2150
+
2047
2151
  # The response message for Locations.ListLocations.
2048
2152
  class ListLocationsResponse
2049
2153
  include Google::Apis::Core::Hashable
@@ -2364,9 +2468,15 @@ module Google
2364
2468
  # **Policy Controller**: Configuration for a single cluster. Intended to
2365
2469
  # parallel the PolicyController CR.
2366
2470
  # Corresponds to the JSON property `policycontroller`
2367
- # @return [Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec]
2471
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec]
2368
2472
  attr_accessor :policycontroller
2369
2473
 
2474
+ # **Workload Certificate**: The membership-specific input for
2475
+ # WorkloadCertificate feature.
2476
+ # Corresponds to the JSON property `workloadcertificate`
2477
+ # @return [Google::Apis::GkehubV1alpha::MembershipSpec]
2478
+ attr_accessor :workloadcertificate
2479
+
2370
2480
  def initialize(**args)
2371
2481
  update!(**args)
2372
2482
  end
@@ -2379,6 +2489,7 @@ module Google
2379
2489
  @identityservice = args[:identityservice] if args.key?(:identityservice)
2380
2490
  @mesh = args[:mesh] if args.key?(:mesh)
2381
2491
  @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
2492
+ @workloadcertificate = args[:workloadcertificate] if args.key?(:workloadcertificate)
2382
2493
  end
2383
2494
  end
2384
2495
 
@@ -2409,7 +2520,7 @@ module Google
2409
2520
 
2410
2521
  # **Policy Controller**: State for a single cluster.
2411
2522
  # Corresponds to the JSON property `policycontroller`
2412
- # @return [Google::Apis::GkehubV1alpha::PolicycontrollerMembershipState]
2523
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipState]
2413
2524
  attr_accessor :policycontroller
2414
2525
 
2415
2526
  # **Service Mesh**: State for a single Membership, as analyzed by the Service
@@ -2441,6 +2552,26 @@ module Google
2441
2552
  end
2442
2553
  end
2443
2554
 
2555
+ # **Workload Certificate**: The membership-specific input for
2556
+ # WorkloadCertificate feature.
2557
+ class MembershipSpec
2558
+ include Google::Apis::Core::Hashable
2559
+
2560
+ # Specifies workload certificate management.
2561
+ # Corresponds to the JSON property `certificateManagement`
2562
+ # @return [String]
2563
+ attr_accessor :certificate_management
2564
+
2565
+ def initialize(**args)
2566
+ update!(**args)
2567
+ end
2568
+
2569
+ # Update properties of this object
2570
+ def update!(**args)
2571
+ @certificate_management = args[:certificate_management] if args.key?(:certificate_management)
2572
+ end
2573
+ end
2574
+
2444
2575
  # MembershipState describes the state of a Membership resource.
2445
2576
  class MembershipState
2446
2577
  include Google::Apis::Core::Hashable
@@ -2798,75 +2929,8 @@ module Google
2798
2929
  end
2799
2930
  end
2800
2931
 
2801
- # **Policy Controller**: Configuration for a single cluster. Intended to
2802
- # parallel the PolicyController CR.
2803
- class PolicycontrollerMembershipSpec
2804
- include Google::Apis::Core::Hashable
2805
-
2806
- # Configuration for Policy Controller
2807
- # Corresponds to the JSON property `policyControllerHubConfig`
2808
- # @return [Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubConfig]
2809
- attr_accessor :policy_controller_hub_config
2810
-
2811
- # Version of Policy Controller installed.
2812
- # Corresponds to the JSON property `version`
2813
- # @return [String]
2814
- attr_accessor :version
2815
-
2816
- def initialize(**args)
2817
- update!(**args)
2818
- end
2819
-
2820
- # Update properties of this object
2821
- def update!(**args)
2822
- @policy_controller_hub_config = args[:policy_controller_hub_config] if args.key?(:policy_controller_hub_config)
2823
- @version = args[:version] if args.key?(:version)
2824
- end
2825
- end
2826
-
2827
- # **Policy Controller**: State for a single cluster.
2828
- class PolicycontrollerMembershipState
2829
- include Google::Apis::Core::Hashable
2830
-
2831
- # The user-defined name for the cluster used by ClusterSelectors to group
2832
- # clusters together. This should match Membership's membership_name, unless the
2833
- # user installed PC on the cluster manually prior to enabling the PC hub feature.
2834
- # Unique within a Policy Controller installation.
2835
- # Corresponds to the JSON property `clusterName`
2836
- # @return [String]
2837
- attr_accessor :cluster_name
2838
-
2839
- # **Policy Controller**: Configuration for a single cluster. Intended to
2840
- # parallel the PolicyController CR.
2841
- # Corresponds to the JSON property `membershipSpec`
2842
- # @return [Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec]
2843
- attr_accessor :membership_spec
2844
-
2845
- # State of the Policy Controller.
2846
- # Corresponds to the JSON property `policyControllerHubState`
2847
- # @return [Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubState]
2848
- attr_accessor :policy_controller_hub_state
2849
-
2850
- # The lifecycle state Policy Controller is in.
2851
- # Corresponds to the JSON property `state`
2852
- # @return [String]
2853
- attr_accessor :state
2854
-
2855
- def initialize(**args)
2856
- update!(**args)
2857
- end
2858
-
2859
- # Update properties of this object
2860
- def update!(**args)
2861
- @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
2862
- @membership_spec = args[:membership_spec] if args.key?(:membership_spec)
2863
- @policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
2864
- @state = args[:state] if args.key?(:state)
2865
- end
2866
- end
2867
-
2868
2932
  # Configuration for Policy Controller
2869
- class PolicycontrollerPolicyControllerHubConfig
2933
+ class PolicyControllerHubConfig
2870
2934
  include Google::Apis::Core::Hashable
2871
2935
 
2872
2936
  # Sets the interval for Policy Controller Audit Scans (in seconds). When set to
@@ -2910,7 +2974,7 @@ module Google
2910
2974
 
2911
2975
  # The config specifying which default library templates to install.
2912
2976
  # Corresponds to the JSON property `templateLibraryConfig`
2913
- # @return [Google::Apis::GkehubV1alpha::PolicycontrollerTemplateLibraryConfig]
2977
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig]
2914
2978
  attr_accessor :template_library_config
2915
2979
 
2916
2980
  def initialize(**args)
@@ -2930,7 +2994,7 @@ module Google
2930
2994
  end
2931
2995
 
2932
2996
  # State of the Policy Controller.
2933
- class PolicycontrollerPolicyControllerHubState
2997
+ class PolicyControllerHubState
2934
2998
  include Google::Apis::Core::Hashable
2935
2999
 
2936
3000
  # Map from deployment name to deployment state. Example deployments are
@@ -2942,7 +3006,7 @@ module Google
2942
3006
 
2943
3007
  # The build version of Gatekeeper that Policy Controller is using.
2944
3008
  # Corresponds to the JSON property `version`
2945
- # @return [Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubVersion]
3009
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerHubVersion]
2946
3010
  attr_accessor :version
2947
3011
 
2948
3012
  def initialize(**args)
@@ -2957,7 +3021,7 @@ module Google
2957
3021
  end
2958
3022
 
2959
3023
  # The build version of Gatekeeper that Policy Controller is using.
2960
- class PolicycontrollerPolicyControllerHubVersion
3024
+ class PolicyControllerHubVersion
2961
3025
  include Google::Apis::Core::Hashable
2962
3026
 
2963
3027
  # The gatekeeper image tag that is composed of ACM version, git tag, build
@@ -2976,8 +3040,75 @@ module Google
2976
3040
  end
2977
3041
  end
2978
3042
 
3043
+ # **Policy Controller**: Configuration for a single cluster. Intended to
3044
+ # parallel the PolicyController CR.
3045
+ class PolicyControllerMembershipSpec
3046
+ include Google::Apis::Core::Hashable
3047
+
3048
+ # Configuration for Policy Controller
3049
+ # Corresponds to the JSON property `policyControllerHubConfig`
3050
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerHubConfig]
3051
+ attr_accessor :policy_controller_hub_config
3052
+
3053
+ # Version of Policy Controller installed.
3054
+ # Corresponds to the JSON property `version`
3055
+ # @return [String]
3056
+ attr_accessor :version
3057
+
3058
+ def initialize(**args)
3059
+ update!(**args)
3060
+ end
3061
+
3062
+ # Update properties of this object
3063
+ def update!(**args)
3064
+ @policy_controller_hub_config = args[:policy_controller_hub_config] if args.key?(:policy_controller_hub_config)
3065
+ @version = args[:version] if args.key?(:version)
3066
+ end
3067
+ end
3068
+
3069
+ # **Policy Controller**: State for a single cluster.
3070
+ class PolicyControllerMembershipState
3071
+ include Google::Apis::Core::Hashable
3072
+
3073
+ # The user-defined name for the cluster used by ClusterSelectors to group
3074
+ # clusters together. This should match Membership's membership_name, unless the
3075
+ # user installed PC on the cluster manually prior to enabling the PC hub feature.
3076
+ # Unique within a Policy Controller installation.
3077
+ # Corresponds to the JSON property `clusterName`
3078
+ # @return [String]
3079
+ attr_accessor :cluster_name
3080
+
3081
+ # **Policy Controller**: Configuration for a single cluster. Intended to
3082
+ # parallel the PolicyController CR.
3083
+ # Corresponds to the JSON property `membershipSpec`
3084
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec]
3085
+ attr_accessor :membership_spec
3086
+
3087
+ # State of the Policy Controller.
3088
+ # Corresponds to the JSON property `policyControllerHubState`
3089
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerHubState]
3090
+ attr_accessor :policy_controller_hub_state
3091
+
3092
+ # The lifecycle state Policy Controller is in.
3093
+ # Corresponds to the JSON property `state`
3094
+ # @return [String]
3095
+ attr_accessor :state
3096
+
3097
+ def initialize(**args)
3098
+ update!(**args)
3099
+ end
3100
+
3101
+ # Update properties of this object
3102
+ def update!(**args)
3103
+ @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
3104
+ @membership_spec = args[:membership_spec] if args.key?(:membership_spec)
3105
+ @policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
3106
+ @state = args[:state] if args.key?(:state)
3107
+ end
3108
+ end
3109
+
2979
3110
  # The config specifying which default library templates to install.
2980
- class PolicycontrollerTemplateLibraryConfig
3111
+ class PolicyControllerTemplateLibraryConfig
2981
3112
  include Google::Apis::Core::Hashable
2982
3113
 
2983
3114
  # Whether the standard template library should be installed or not.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1alpha
18
18
  # Version of the google-apis-gkehub_v1alpha gem
19
- GEM_VERSION = "0.20.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220122"
25
+ REVISION = "20220303"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module GkehubV1alpha
24
24
 
25
+ class AnthosObservabilityFeatureSpec
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AnthosObservabilityMembershipSpec
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -274,6 +280,12 @@ module Google
274
280
  include Google::Apis::Core::JsonObjectSupport
275
281
  end
276
282
 
283
+ class FeatureSpec
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
277
289
  class FeatureState
278
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
291
 
@@ -352,6 +364,12 @@ module Google
352
364
  include Google::Apis::Core::JsonObjectSupport
353
365
  end
354
366
 
367
+ class ListFleetsResponse
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
355
373
  class ListLocationsResponse
356
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
375
 
@@ -400,6 +418,12 @@ module Google
400
418
  include Google::Apis::Core::JsonObjectSupport
401
419
  end
402
420
 
421
+ class MembershipSpec
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
403
427
  class MembershipState
404
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
429
 
@@ -448,37 +472,37 @@ module Google
448
472
  include Google::Apis::Core::JsonObjectSupport
449
473
  end
450
474
 
451
- class PolicycontrollerMembershipSpec
475
+ class PolicyControllerHubConfig
452
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
477
 
454
478
  include Google::Apis::Core::JsonObjectSupport
455
479
  end
456
480
 
457
- class PolicycontrollerMembershipState
481
+ class PolicyControllerHubState
458
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
483
 
460
484
  include Google::Apis::Core::JsonObjectSupport
461
485
  end
462
486
 
463
- class PolicycontrollerPolicyControllerHubConfig
487
+ class PolicyControllerHubVersion
464
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
489
 
466
490
  include Google::Apis::Core::JsonObjectSupport
467
491
  end
468
492
 
469
- class PolicycontrollerPolicyControllerHubState
493
+ class PolicyControllerMembershipSpec
470
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
495
 
472
496
  include Google::Apis::Core::JsonObjectSupport
473
497
  end
474
498
 
475
- class PolicycontrollerPolicyControllerHubVersion
499
+ class PolicyControllerMembershipState
476
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
501
 
478
502
  include Google::Apis::Core::JsonObjectSupport
479
503
  end
480
504
 
481
- class PolicycontrollerTemplateLibraryConfig
505
+ class PolicyControllerTemplateLibraryConfig
482
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
507
 
484
508
  include Google::Apis::Core::JsonObjectSupport
@@ -574,11 +598,20 @@ module Google
574
598
  include Google::Apis::Core::JsonObjectSupport
575
599
  end
576
600
 
601
+ class AnthosObservabilityFeatureSpec
602
+ # @private
603
+ class Representation < Google::Apis::Core::JsonRepresentation
604
+ property :default_membership_spec, as: 'defaultMembershipSpec', class: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec::Representation
605
+
606
+ end
607
+ end
608
+
577
609
  class AnthosObservabilityMembershipSpec
578
610
  # @private
579
611
  class Representation < Google::Apis::Core::JsonRepresentation
580
612
  property :do_not_optimize_metrics, as: 'doNotOptimizeMetrics'
581
613
  property :enable_stackdriver_on_applications, as: 'enableStackdriverOnApplications'
614
+ property :version, as: 'version'
582
615
  end
583
616
  end
584
617
 
@@ -657,12 +690,16 @@ module Google
657
690
  class CommonFeatureSpec
658
691
  # @private
659
692
  class Representation < Google::Apis::Core::JsonRepresentation
693
+ property :anthosobservability, as: 'anthosobservability', class: Google::Apis::GkehubV1alpha::AnthosObservabilityFeatureSpec, decorator: Google::Apis::GkehubV1alpha::AnthosObservabilityFeatureSpec::Representation
694
+
660
695
  property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1alpha::AppDevExperienceFeatureSpec, decorator: Google::Apis::GkehubV1alpha::AppDevExperienceFeatureSpec::Representation
661
696
 
662
697
  property :cloudauditlogging, as: 'cloudauditlogging', class: Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec, decorator: Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec::Representation
663
698
 
664
699
  property :multiclusteringress, as: 'multiclusteringress', class: Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec, decorator: Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec::Representation
665
700
 
701
+ property :workloadcertificate, as: 'workloadcertificate', class: Google::Apis::GkehubV1alpha::FeatureSpec, decorator: Google::Apis::GkehubV1alpha::FeatureSpec::Representation
702
+
666
703
  end
667
704
  end
668
705
 
@@ -993,6 +1030,15 @@ module Google
993
1030
  end
994
1031
  end
995
1032
 
1033
+ class FeatureSpec
1034
+ # @private
1035
+ class Representation < Google::Apis::Core::JsonRepresentation
1036
+ property :default_config, as: 'defaultConfig', class: Google::Apis::GkehubV1alpha::MembershipSpec, decorator: Google::Apis::GkehubV1alpha::MembershipSpec::Representation
1037
+
1038
+ property :provision_google_ca, as: 'provisionGoogleCa'
1039
+ end
1040
+ end
1041
+
996
1042
  class FeatureState
997
1043
  # @private
998
1044
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1074,7 +1120,9 @@ module Google
1074
1120
  class Representation < Google::Apis::Core::JsonRepresentation
1075
1121
  property :certificate_authority_data, as: 'certificateAuthorityData'
1076
1122
  property :client_id, as: 'clientId'
1123
+ property :client_secret, as: 'clientSecret'
1077
1124
  property :deploy_cloud_console_proxy, as: 'deployCloudConsoleProxy'
1125
+ property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
1078
1126
  property :extra_params, as: 'extraParams'
1079
1127
  property :group_prefix, as: 'groupPrefix'
1080
1128
  property :groups_claim, as: 'groupsClaim'
@@ -1130,6 +1178,15 @@ module Google
1130
1178
  end
1131
1179
  end
1132
1180
 
1181
+ class ListFleetsResponse
1182
+ # @private
1183
+ class Representation < Google::Apis::Core::JsonRepresentation
1184
+ collection :fleets, as: 'fleets', class: Google::Apis::GkehubV1alpha::Fleet, decorator: Google::Apis::GkehubV1alpha::Fleet::Representation
1185
+
1186
+ property :next_page_token, as: 'nextPageToken'
1187
+ end
1188
+ end
1189
+
1133
1190
  class ListLocationsResponse
1134
1191
  # @private
1135
1192
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1221,7 +1278,9 @@ module Google
1221
1278
 
1222
1279
  property :mesh, as: 'mesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec::Representation
1223
1280
 
1224
- property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec::Representation
1281
+ property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec::Representation
1282
+
1283
+ property :workloadcertificate, as: 'workloadcertificate', class: Google::Apis::GkehubV1alpha::MembershipSpec, decorator: Google::Apis::GkehubV1alpha::MembershipSpec::Representation
1225
1284
 
1226
1285
  end
1227
1286
  end
@@ -1237,7 +1296,7 @@ module Google
1237
1296
 
1238
1297
  property :metering, as: 'metering', class: Google::Apis::GkehubV1alpha::MeteringMembershipState, decorator: Google::Apis::GkehubV1alpha::MeteringMembershipState::Representation
1239
1298
 
1240
- property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipState, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipState::Representation
1299
+ property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipState::Representation
1241
1300
 
1242
1301
  property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState::Representation
1243
1302
 
@@ -1246,6 +1305,13 @@ module Google
1246
1305
  end
1247
1306
  end
1248
1307
 
1308
+ class MembershipSpec
1309
+ # @private
1310
+ class Representation < Google::Apis::Core::JsonRepresentation
1311
+ property :certificate_management, as: 'certificateManagement'
1312
+ end
1313
+ end
1314
+
1249
1315
  class MembershipState
1250
1316
  # @private
1251
1317
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1323,58 +1389,58 @@ module Google
1323
1389
  end
1324
1390
  end
1325
1391
 
1326
- class PolicycontrollerMembershipSpec
1392
+ class PolicyControllerHubConfig
1327
1393
  # @private
1328
1394
  class Representation < Google::Apis::Core::JsonRepresentation
1329
- property :policy_controller_hub_config, as: 'policyControllerHubConfig', class: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubConfig, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubConfig::Representation
1395
+ property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
1396
+ collection :exemptable_namespaces, as: 'exemptableNamespaces'
1397
+ property :install_spec, as: 'installSpec'
1398
+ property :log_denies_enabled, as: 'logDeniesEnabled'
1399
+ property :mutation_enabled, as: 'mutationEnabled'
1400
+ property :referential_rules_enabled, as: 'referentialRulesEnabled'
1401
+ property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig::Representation
1330
1402
 
1331
- property :version, as: 'version'
1332
1403
  end
1333
1404
  end
1334
1405
 
1335
- class PolicycontrollerMembershipState
1406
+ class PolicyControllerHubState
1336
1407
  # @private
1337
1408
  class Representation < Google::Apis::Core::JsonRepresentation
1338
- property :cluster_name, as: 'clusterName'
1339
- property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec::Representation
1340
-
1341
- property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubState, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubState::Representation
1409
+ hash :deployment_states, as: 'deploymentStates'
1410
+ property :version, as: 'version', class: Google::Apis::GkehubV1alpha::PolicyControllerHubVersion, decorator: Google::Apis::GkehubV1alpha::PolicyControllerHubVersion::Representation
1342
1411
 
1343
- property :state, as: 'state'
1344
1412
  end
1345
1413
  end
1346
1414
 
1347
- class PolicycontrollerPolicyControllerHubConfig
1415
+ class PolicyControllerHubVersion
1348
1416
  # @private
1349
1417
  class Representation < Google::Apis::Core::JsonRepresentation
1350
- property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
1351
- collection :exemptable_namespaces, as: 'exemptableNamespaces'
1352
- property :install_spec, as: 'installSpec'
1353
- property :log_denies_enabled, as: 'logDeniesEnabled'
1354
- property :mutation_enabled, as: 'mutationEnabled'
1355
- property :referential_rules_enabled, as: 'referentialRulesEnabled'
1356
- property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicycontrollerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerTemplateLibraryConfig::Representation
1357
-
1418
+ property :version, as: 'version'
1358
1419
  end
1359
1420
  end
1360
1421
 
1361
- class PolicycontrollerPolicyControllerHubState
1422
+ class PolicyControllerMembershipSpec
1362
1423
  # @private
1363
1424
  class Representation < Google::Apis::Core::JsonRepresentation
1364
- hash :deployment_states, as: 'deploymentStates'
1365
- property :version, as: 'version', class: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubVersion, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubVersion::Representation
1425
+ property :policy_controller_hub_config, as: 'policyControllerHubConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerHubConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerHubConfig::Representation
1366
1426
 
1427
+ property :version, as: 'version'
1367
1428
  end
1368
1429
  end
1369
1430
 
1370
- class PolicycontrollerPolicyControllerHubVersion
1431
+ class PolicyControllerMembershipState
1371
1432
  # @private
1372
1433
  class Representation < Google::Apis::Core::JsonRepresentation
1373
- property :version, as: 'version'
1434
+ property :cluster_name, as: 'clusterName'
1435
+ property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec::Representation
1436
+
1437
+ property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1alpha::PolicyControllerHubState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerHubState::Representation
1438
+
1439
+ property :state, as: 'state'
1374
1440
  end
1375
1441
  end
1376
1442
 
1377
- class PolicycontrollerTemplateLibraryConfig
1443
+ class PolicyControllerTemplateLibraryConfig
1378
1444
  # @private
1379
1445
  class Representation < Google::Apis::Core::JsonRepresentation
1380
1446
  property :included, as: 'included'
@@ -49,6 +49,43 @@ module Google
49
49
  @batch_path = 'batch'
50
50
  end
51
51
 
52
+ # Returns all fleets within an organization or a project that the caller has
53
+ # access to.
54
+ # @param [String] parent
55
+ # Required. The organization or project to list for Fleets under, in the format `
56
+ # organizations/*/locations/*` or `projects/*/locations/*`.
57
+ # @param [String] page_token
58
+ # A page token, received from a previous `ListFleets` call. Provide this to
59
+ # retrieve the subsequent page. When paginating, all other parameters provided
60
+ # to `ListFleets` must match the call that provided the page token.
61
+ # @param [String] fields
62
+ # Selector specifying which fields to include in a partial response.
63
+ # @param [String] quota_user
64
+ # Available to use for quota purposes for server-side applications. Can be any
65
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
66
+ # @param [Google::Apis::RequestOptions] options
67
+ # Request-specific options
68
+ #
69
+ # @yield [result, err] Result & error if block supplied
70
+ # @yieldparam result [Google::Apis::GkehubV1alpha::ListFleetsResponse] parsed result object
71
+ # @yieldparam err [StandardError] error object if request failed
72
+ #
73
+ # @return [Google::Apis::GkehubV1alpha::ListFleetsResponse]
74
+ #
75
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
76
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
77
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
78
+ def list_organization_location_fleets(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
79
+ command = make_simple_command(:get, 'v1alpha/{+parent}/fleets', options)
80
+ command.response_representation = Google::Apis::GkehubV1alpha::ListFleetsResponse::Representation
81
+ command.response_class = Google::Apis::GkehubV1alpha::ListFleetsResponse
82
+ command.params['parent'] = parent unless parent.nil?
83
+ command.query['pageToken'] = page_token unless page_token.nil?
84
+ command.query['fields'] = fields unless fields.nil?
85
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
86
+ execute_or_queue_command(command, &block)
87
+ end
88
+
52
89
  # Gets information about a location.
53
90
  # @param [String] name
54
91
  # Resource name for the location.
@@ -564,6 +601,43 @@ module Google
564
601
  execute_or_queue_command(command, &block)
565
602
  end
566
603
 
604
+ # Returns all fleets within an organization or a project that the caller has
605
+ # access to.
606
+ # @param [String] parent
607
+ # Required. The organization or project to list for Fleets under, in the format `
608
+ # organizations/*/locations/*` or `projects/*/locations/*`.
609
+ # @param [String] page_token
610
+ # A page token, received from a previous `ListFleets` call. Provide this to
611
+ # retrieve the subsequent page. When paginating, all other parameters provided
612
+ # to `ListFleets` must match the call that provided the page token.
613
+ # @param [String] fields
614
+ # Selector specifying which fields to include in a partial response.
615
+ # @param [String] quota_user
616
+ # Available to use for quota purposes for server-side applications. Can be any
617
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
618
+ # @param [Google::Apis::RequestOptions] options
619
+ # Request-specific options
620
+ #
621
+ # @yield [result, err] Result & error if block supplied
622
+ # @yieldparam result [Google::Apis::GkehubV1alpha::ListFleetsResponse] parsed result object
623
+ # @yieldparam err [StandardError] error object if request failed
624
+ #
625
+ # @return [Google::Apis::GkehubV1alpha::ListFleetsResponse]
626
+ #
627
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
628
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
629
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
630
+ def list_project_location_fleets(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
631
+ command = make_simple_command(:get, 'v1alpha/{+parent}/fleets', options)
632
+ command.response_representation = Google::Apis::GkehubV1alpha::ListFleetsResponse::Representation
633
+ command.response_class = Google::Apis::GkehubV1alpha::ListFleetsResponse
634
+ command.params['parent'] = parent unless parent.nil?
635
+ command.query['pageToken'] = page_token unless page_token.nil?
636
+ command.query['fields'] = fields unless fields.nil?
637
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
638
+ execute_or_queue_command(command, &block)
639
+ end
640
+
567
641
  # Updates a fleet.
568
642
  # @param [String] name
569
643
  # Output only. The full, unique resource name of this fleet in the format of `
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.23.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: 2022-01-31 00:00:00.000000000 Z
11
+ date: 2022-03-14 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-gkehub_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.23.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []