google-apis-gkehub_v1alpha 0.22.0 → 0.25.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: fd3f6a72758be01bf61ed188052cf74ef6f268d521696cb988c9953a9bd13fd8
4
- data.tar.gz: 56eb089556b893fc38f4ba675685dc46ec4558251e52cc0fac3f3a32edd476c6
3
+ metadata.gz: c6ad462f8bf43c0d9fef84837d1aad595f291117936bd4a763c58390067ddce7
4
+ data.tar.gz: e73452af219d52edb917d7af65dfd3a08cd26585b85507499a85bac2cfdfb5da
5
5
  SHA512:
6
- metadata.gz: 4636ed72c2f0d0d9d2318c46a21f638d4a140f3136b6c8c4736d8a36c0804a22ae989fc54316c152ecd8b964965712b83dd07ae2cf9fe02e072c39d4c86259ef
7
- data.tar.gz: b62e2eda163df67fe8da9d4c817acccd91953802d14b19046febddc268796447a2e028e5e82ce0492c87920aa1f13dfd464f6a6383e96431d0d948f207137911
6
+ metadata.gz: 86f873bb4d0c1803e12ad550ad24741abc33e001fccc60ad5e82b6009cffd578801cbfb36eb227fc4a8ccc1efe99348b99e9ccb3dc1f7ebda7f36942d6695165
7
+ data.tar.gz: ce90241296a27748222eea4358df7ab2b4e5ddcd8107ca18b6c5ca6ec6aa087412a4fd1f1cae37f15632662cae74c2ee813997eb7a86254c12fea833223fe85b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.25.0 (2022-04-09)
4
+
5
+ * Regenerated from discovery document revision 20220401
6
+
7
+ ### v0.24.0 (2022-03-26)
8
+
9
+ * Regenerated from discovery document revision 20220318
10
+
11
+ ### v0.23.0 (2022-03-12)
12
+
13
+ * Regenerated from discovery document revision 20220303
14
+
3
15
  ### v0.22.0 (2022-02-12)
4
16
 
5
17
  * 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)
@@ -1341,8 +1372,7 @@ module Google
1341
1372
  # A generic empty message that you can re-use to avoid defining duplicated empty
1342
1373
  # messages in your APIs. A typical example is to use it as the request or the
1343
1374
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1344
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1345
- # `Empty` is empty JSON object ````.
1375
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1346
1376
  class Empty
1347
1377
  include Google::Apis::Core::Hashable
1348
1378
 
@@ -1839,7 +1869,7 @@ module Google
1839
1869
  # @return [String]
1840
1870
  attr_accessor :client_id
1841
1871
 
1842
- # Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
1872
+ # Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
1843
1873
  # Corresponds to the JSON property `clientSecret`
1844
1874
  # @return [String]
1845
1875
  attr_accessor :client_secret
@@ -2091,6 +2121,32 @@ module Google
2091
2121
  end
2092
2122
  end
2093
2123
 
2124
+ # Response message for the `GkeHub.ListFleetsResponse` method.
2125
+ class ListFleetsResponse
2126
+ include Google::Apis::Core::Hashable
2127
+
2128
+ # The list of matching fleets.
2129
+ # Corresponds to the JSON property `fleets`
2130
+ # @return [Array<Google::Apis::GkehubV1alpha::Fleet>]
2131
+ attr_accessor :fleets
2132
+
2133
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
2134
+ # field is omitted, there are no subsequent pages.
2135
+ # Corresponds to the JSON property `nextPageToken`
2136
+ # @return [String]
2137
+ attr_accessor :next_page_token
2138
+
2139
+ def initialize(**args)
2140
+ update!(**args)
2141
+ end
2142
+
2143
+ # Update properties of this object
2144
+ def update!(**args)
2145
+ @fleets = args[:fleets] if args.key?(:fleets)
2146
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2147
+ end
2148
+ end
2149
+
2094
2150
  # The response message for Locations.ListLocations.
2095
2151
  class ListLocationsResponse
2096
2152
  include Google::Apis::Core::Hashable
@@ -2872,75 +2928,8 @@ module Google
2872
2928
  end
2873
2929
  end
2874
2930
 
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
2931
  # Configuration for Policy Controller
2943
- class PolicyControllerPolicyControllerHubConfig
2932
+ class PolicyControllerHubConfig
2944
2933
  include Google::Apis::Core::Hashable
2945
2934
 
2946
2935
  # Sets the interval for Policy Controller Audit Scans (in seconds). When set to
@@ -3004,7 +2993,7 @@ module Google
3004
2993
  end
3005
2994
 
3006
2995
  # State of the Policy Controller.
3007
- class PolicyControllerPolicyControllerHubState
2996
+ class PolicyControllerHubState
3008
2997
  include Google::Apis::Core::Hashable
3009
2998
 
3010
2999
  # Map from deployment name to deployment state. Example deployments are
@@ -3016,7 +3005,7 @@ module Google
3016
3005
 
3017
3006
  # The build version of Gatekeeper that Policy Controller is using.
3018
3007
  # Corresponds to the JSON property `version`
3019
- # @return [Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubVersion]
3008
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerHubVersion]
3020
3009
  attr_accessor :version
3021
3010
 
3022
3011
  def initialize(**args)
@@ -3031,7 +3020,7 @@ module Google
3031
3020
  end
3032
3021
 
3033
3022
  # The build version of Gatekeeper that Policy Controller is using.
3034
- class PolicyControllerPolicyControllerHubVersion
3023
+ class PolicyControllerHubVersion
3035
3024
  include Google::Apis::Core::Hashable
3036
3025
 
3037
3026
  # The gatekeeper image tag that is composed of ACM version, git tag, build
@@ -3050,6 +3039,73 @@ module Google
3050
3039
  end
3051
3040
  end
3052
3041
 
3042
+ # **Policy Controller**: Configuration for a single cluster. Intended to
3043
+ # parallel the PolicyController CR.
3044
+ class PolicyControllerMembershipSpec
3045
+ include Google::Apis::Core::Hashable
3046
+
3047
+ # Configuration for Policy Controller
3048
+ # Corresponds to the JSON property `policyControllerHubConfig`
3049
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerHubConfig]
3050
+ attr_accessor :policy_controller_hub_config
3051
+
3052
+ # Version of Policy Controller installed.
3053
+ # Corresponds to the JSON property `version`
3054
+ # @return [String]
3055
+ attr_accessor :version
3056
+
3057
+ def initialize(**args)
3058
+ update!(**args)
3059
+ end
3060
+
3061
+ # Update properties of this object
3062
+ def update!(**args)
3063
+ @policy_controller_hub_config = args[:policy_controller_hub_config] if args.key?(:policy_controller_hub_config)
3064
+ @version = args[:version] if args.key?(:version)
3065
+ end
3066
+ end
3067
+
3068
+ # **Policy Controller**: State for a single cluster.
3069
+ class PolicyControllerMembershipState
3070
+ include Google::Apis::Core::Hashable
3071
+
3072
+ # The user-defined name for the cluster used by ClusterSelectors to group
3073
+ # clusters together. This should match Membership's membership_name, unless the
3074
+ # user installed PC on the cluster manually prior to enabling the PC hub feature.
3075
+ # Unique within a Policy Controller installation.
3076
+ # Corresponds to the JSON property `clusterName`
3077
+ # @return [String]
3078
+ attr_accessor :cluster_name
3079
+
3080
+ # **Policy Controller**: Configuration for a single cluster. Intended to
3081
+ # parallel the PolicyController CR.
3082
+ # Corresponds to the JSON property `membershipSpec`
3083
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec]
3084
+ attr_accessor :membership_spec
3085
+
3086
+ # State of the Policy Controller.
3087
+ # Corresponds to the JSON property `policyControllerHubState`
3088
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerHubState]
3089
+ attr_accessor :policy_controller_hub_state
3090
+
3091
+ # The lifecycle state Policy Controller is in.
3092
+ # Corresponds to the JSON property `state`
3093
+ # @return [String]
3094
+ attr_accessor :state
3095
+
3096
+ def initialize(**args)
3097
+ update!(**args)
3098
+ end
3099
+
3100
+ # Update properties of this object
3101
+ def update!(**args)
3102
+ @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
3103
+ @membership_spec = args[:membership_spec] if args.key?(:membership_spec)
3104
+ @policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
3105
+ @state = args[:state] if args.key?(:state)
3106
+ end
3107
+ end
3108
+
3053
3109
  # The config specifying which default library templates to install.
3054
3110
  class PolicyControllerTemplateLibraryConfig
3055
3111
  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.25.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 = "20220401"
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.
@@ -84,8 +121,8 @@ module Google
84
121
  # The resource that owns the locations collection, if applicable.
85
122
  # @param [String] filter
86
123
  # A filter to narrow down results to a preferred subset. The filtering language
87
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
88
- # AIP-160](https://google.aip.dev/160).
124
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
125
+ # in [AIP-160](https://google.aip.dev/160).
89
126
  # @param [Fixnum] page_size
90
127
  # The maximum number of results to return. If not set, the service selects a
91
128
  # default.
@@ -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.25.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-04-11 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.25.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: []