google-apis-gkehub_v1alpha 0.22.0 → 0.23.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: fd3f6a72758be01bf61ed188052cf74ef6f268d521696cb988c9953a9bd13fd8
4
- data.tar.gz: 56eb089556b893fc38f4ba675685dc46ec4558251e52cc0fac3f3a32edd476c6
3
+ metadata.gz: c797269f2d0dc31b4ec3f3168ded8954fc3b9fec0b76e7a9af2daf0429cbc511
4
+ data.tar.gz: 5584f3c19977e4c5c6e8da5453d6f01dde7268e8836a5cf1876033d22cf5fb74
5
5
  SHA512:
6
- metadata.gz: 4636ed72c2f0d0d9d2318c46a21f638d4a140f3136b6c8c4736d8a36c0804a22ae989fc54316c152ecd8b964965712b83dd07ae2cf9fe02e072c39d4c86259ef
7
- data.tar.gz: b62e2eda163df67fe8da9d4c817acccd91953802d14b19046febddc268796447a2e028e5e82ce0492c87920aa1f13dfd464f6a6383e96431d0d948f207137911
6
+ metadata.gz: 72be84fc15c498efe396e68585f13bafb577011de78a20b4d11a08c68726316eedb1bcb81b7d23789126289c96fcf72cb79ae615e685e52afba1f8d0e08e9598
7
+ data.tar.gz: fc2bbea3aad1adeb7e9abec5aa80ce75e22b6b906af3e6d02577f82e2c2c0e24f05c54d0c55b00a538e069c9d810c36d7adfc4e842423351a700319ca05dc8b4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.22.0 (2022-02-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20220204
@@ -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]
@@ -373,6 +403,7 @@ module Google
373
403
 
374
404
  # Update properties of this object
375
405
  def update!(**args)
406
+ @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
376
407
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
377
408
  @cloudauditlogging = args[:cloudauditlogging] if args.key?(:cloudauditlogging)
378
409
  @multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
@@ -2091,6 +2122,32 @@ module Google
2091
2122
  end
2092
2123
  end
2093
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
+
2094
2151
  # The response message for Locations.ListLocations.
2095
2152
  class ListLocationsResponse
2096
2153
  include Google::Apis::Core::Hashable
@@ -2872,75 +2929,8 @@ module Google
2872
2929
  end
2873
2930
  end
2874
2931
 
2875
- # **Policy Controller**: Configuration for a single cluster. Intended to
2876
- # parallel the PolicyController CR.
2877
- class PolicyControllerMembershipSpec
2878
- include Google::Apis::Core::Hashable
2879
-
2880
- # Configuration for Policy Controller
2881
- # Corresponds to the JSON property `policyControllerHubConfig`
2882
- # @return [Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubConfig]
2883
- attr_accessor :policy_controller_hub_config
2884
-
2885
- # Version of Policy Controller installed.
2886
- # Corresponds to the JSON property `version`
2887
- # @return [String]
2888
- attr_accessor :version
2889
-
2890
- def initialize(**args)
2891
- update!(**args)
2892
- end
2893
-
2894
- # Update properties of this object
2895
- def update!(**args)
2896
- @policy_controller_hub_config = args[:policy_controller_hub_config] if args.key?(:policy_controller_hub_config)
2897
- @version = args[:version] if args.key?(:version)
2898
- end
2899
- end
2900
-
2901
- # **Policy Controller**: State for a single cluster.
2902
- class PolicyControllerMembershipState
2903
- include Google::Apis::Core::Hashable
2904
-
2905
- # The user-defined name for the cluster used by ClusterSelectors to group
2906
- # clusters together. This should match Membership's membership_name, unless the
2907
- # user installed PC on the cluster manually prior to enabling the PC hub feature.
2908
- # Unique within a Policy Controller installation.
2909
- # Corresponds to the JSON property `clusterName`
2910
- # @return [String]
2911
- attr_accessor :cluster_name
2912
-
2913
- # **Policy Controller**: Configuration for a single cluster. Intended to
2914
- # parallel the PolicyController CR.
2915
- # Corresponds to the JSON property `membershipSpec`
2916
- # @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec]
2917
- attr_accessor :membership_spec
2918
-
2919
- # State of the Policy Controller.
2920
- # Corresponds to the JSON property `policyControllerHubState`
2921
- # @return [Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubState]
2922
- attr_accessor :policy_controller_hub_state
2923
-
2924
- # The lifecycle state Policy Controller is in.
2925
- # Corresponds to the JSON property `state`
2926
- # @return [String]
2927
- attr_accessor :state
2928
-
2929
- def initialize(**args)
2930
- update!(**args)
2931
- end
2932
-
2933
- # Update properties of this object
2934
- def update!(**args)
2935
- @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
2936
- @membership_spec = args[:membership_spec] if args.key?(:membership_spec)
2937
- @policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
2938
- @state = args[:state] if args.key?(:state)
2939
- end
2940
- end
2941
-
2942
2932
  # Configuration for Policy Controller
2943
- class PolicyControllerPolicyControllerHubConfig
2933
+ class PolicyControllerHubConfig
2944
2934
  include Google::Apis::Core::Hashable
2945
2935
 
2946
2936
  # Sets the interval for Policy Controller Audit Scans (in seconds). When set to
@@ -3004,7 +2994,7 @@ module Google
3004
2994
  end
3005
2995
 
3006
2996
  # State of the Policy Controller.
3007
- class PolicyControllerPolicyControllerHubState
2997
+ class PolicyControllerHubState
3008
2998
  include Google::Apis::Core::Hashable
3009
2999
 
3010
3000
  # Map from deployment name to deployment state. Example deployments are
@@ -3016,7 +3006,7 @@ module Google
3016
3006
 
3017
3007
  # The build version of Gatekeeper that Policy Controller is using.
3018
3008
  # Corresponds to the JSON property `version`
3019
- # @return [Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubVersion]
3009
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerHubVersion]
3020
3010
  attr_accessor :version
3021
3011
 
3022
3012
  def initialize(**args)
@@ -3031,7 +3021,7 @@ module Google
3031
3021
  end
3032
3022
 
3033
3023
  # The build version of Gatekeeper that Policy Controller is using.
3034
- class PolicyControllerPolicyControllerHubVersion
3024
+ class PolicyControllerHubVersion
3035
3025
  include Google::Apis::Core::Hashable
3036
3026
 
3037
3027
  # The gatekeeper image tag that is composed of ACM version, git tag, build
@@ -3050,6 +3040,73 @@ module Google
3050
3040
  end
3051
3041
  end
3052
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
+
3053
3110
  # The config specifying which default library templates to install.
3054
3111
  class PolicyControllerTemplateLibraryConfig
3055
3112
  include Google::Apis::Core::Hashable
@@ -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.22.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 = "20220204"
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
 
@@ -358,6 +364,12 @@ module Google
358
364
  include Google::Apis::Core::JsonObjectSupport
359
365
  end
360
366
 
367
+ class ListFleetsResponse
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
361
373
  class ListLocationsResponse
362
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
375
 
@@ -460,31 +472,31 @@ module Google
460
472
  include Google::Apis::Core::JsonObjectSupport
461
473
  end
462
474
 
463
- class PolicyControllerMembershipSpec
475
+ class PolicyControllerHubConfig
464
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
477
 
466
478
  include Google::Apis::Core::JsonObjectSupport
467
479
  end
468
480
 
469
- class PolicyControllerMembershipState
481
+ class PolicyControllerHubState
470
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
483
 
472
484
  include Google::Apis::Core::JsonObjectSupport
473
485
  end
474
486
 
475
- class PolicyControllerPolicyControllerHubConfig
487
+ class PolicyControllerHubVersion
476
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
489
 
478
490
  include Google::Apis::Core::JsonObjectSupport
479
491
  end
480
492
 
481
- class PolicyControllerPolicyControllerHubState
493
+ class PolicyControllerMembershipSpec
482
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
495
 
484
496
  include Google::Apis::Core::JsonObjectSupport
485
497
  end
486
498
 
487
- class PolicyControllerPolicyControllerHubVersion
499
+ class PolicyControllerMembershipState
488
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
501
 
490
502
  include Google::Apis::Core::JsonObjectSupport
@@ -586,11 +598,20 @@ module Google
586
598
  include Google::Apis::Core::JsonObjectSupport
587
599
  end
588
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
+
589
609
  class AnthosObservabilityMembershipSpec
590
610
  # @private
591
611
  class Representation < Google::Apis::Core::JsonRepresentation
592
612
  property :do_not_optimize_metrics, as: 'doNotOptimizeMetrics'
593
613
  property :enable_stackdriver_on_applications, as: 'enableStackdriverOnApplications'
614
+ property :version, as: 'version'
594
615
  end
595
616
  end
596
617
 
@@ -669,6 +690,8 @@ module Google
669
690
  class CommonFeatureSpec
670
691
  # @private
671
692
  class Representation < Google::Apis::Core::JsonRepresentation
693
+ property :anthosobservability, as: 'anthosobservability', class: Google::Apis::GkehubV1alpha::AnthosObservabilityFeatureSpec, decorator: Google::Apis::GkehubV1alpha::AnthosObservabilityFeatureSpec::Representation
694
+
672
695
  property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1alpha::AppDevExperienceFeatureSpec, decorator: Google::Apis::GkehubV1alpha::AppDevExperienceFeatureSpec::Representation
673
696
 
674
697
  property :cloudauditlogging, as: 'cloudauditlogging', class: Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec, decorator: Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec::Representation
@@ -1155,6 +1178,15 @@ module Google
1155
1178
  end
1156
1179
  end
1157
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
+
1158
1190
  class ListLocationsResponse
1159
1191
  # @private
1160
1192
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1357,54 +1389,54 @@ module Google
1357
1389
  end
1358
1390
  end
1359
1391
 
1360
- class PolicyControllerMembershipSpec
1392
+ class PolicyControllerHubConfig
1361
1393
  # @private
1362
1394
  class Representation < Google::Apis::Core::JsonRepresentation
1363
- 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
1364
1402
 
1365
- property :version, as: 'version'
1366
1403
  end
1367
1404
  end
1368
1405
 
1369
- class PolicyControllerMembershipState
1406
+ class PolicyControllerHubState
1370
1407
  # @private
1371
1408
  class Representation < Google::Apis::Core::JsonRepresentation
1372
- property :cluster_name, as: 'clusterName'
1373
- property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec::Representation
1374
-
1375
- 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
1376
1411
 
1377
- property :state, as: 'state'
1378
1412
  end
1379
1413
  end
1380
1414
 
1381
- class PolicyControllerPolicyControllerHubConfig
1415
+ class PolicyControllerHubVersion
1382
1416
  # @private
1383
1417
  class Representation < Google::Apis::Core::JsonRepresentation
1384
- property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
1385
- collection :exemptable_namespaces, as: 'exemptableNamespaces'
1386
- property :install_spec, as: 'installSpec'
1387
- property :log_denies_enabled, as: 'logDeniesEnabled'
1388
- property :mutation_enabled, as: 'mutationEnabled'
1389
- property :referential_rules_enabled, as: 'referentialRulesEnabled'
1390
- property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig::Representation
1391
-
1418
+ property :version, as: 'version'
1392
1419
  end
1393
1420
  end
1394
1421
 
1395
- class PolicyControllerPolicyControllerHubState
1422
+ class PolicyControllerMembershipSpec
1396
1423
  # @private
1397
1424
  class Representation < Google::Apis::Core::JsonRepresentation
1398
- hash :deployment_states, as: 'deploymentStates'
1399
- 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
1400
1426
 
1427
+ property :version, as: 'version'
1401
1428
  end
1402
1429
  end
1403
1430
 
1404
- class PolicyControllerPolicyControllerHubVersion
1431
+ class PolicyControllerMembershipState
1405
1432
  # @private
1406
1433
  class Representation < Google::Apis::Core::JsonRepresentation
1407
- 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'
1408
1440
  end
1409
1441
  end
1410
1442
 
@@ -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.22.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-02-14 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.22.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: []