google-apis-gkehub_v1 0.47.0 → 0.49.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03f6db70fd45a6fbf82a9c6b9d9ccc0c76ff2d7f3e31ec6fc07e0a8343d203d9
|
4
|
+
data.tar.gz: 6f20742f100cea7857d8feb546142ba961befa38912e03681dacca7490dd0667
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12f3fdd4186b3bd1649c18ae801a6738dd2c020bd4e29b1b873c3a225d85ff6cc646774056bba64d2fbdba16a519f55727ee7deb725594ee0c03230b7bae4bf8
|
7
|
+
data.tar.gz: 366a71ccae50e36fd1df1e5c158819e837f575c235b351569498737a1bdba44d796356fab242f251d53c626c46420bc4f5ca6902440089d5468d69e8a2ab66ca
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1
|
2
2
|
|
3
|
+
### v0.49.0 (2023-06-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230609
|
6
|
+
|
7
|
+
### v0.48.0 (2023-06-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230606
|
10
|
+
|
3
11
|
### v0.47.0 (2023-05-21)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230515
|
@@ -381,9 +381,11 @@ module Google
|
|
381
381
|
|
382
382
|
# Enables the installation of ConfigSync. If set to true, ConfigSync resources
|
383
383
|
# will be created and the other ConfigSync fields will be applied if exist. If
|
384
|
-
# set to false, all other ConfigSync fields
|
385
|
-
#
|
386
|
-
#
|
384
|
+
# set to false and Managed Config Sync is disabled, all other ConfigSync fields
|
385
|
+
# will be ignored, ConfigSync resources will be deleted. Setting this field to
|
386
|
+
# false while enabling Managed Config Sync is invalid. If omitted, ConfigSync
|
387
|
+
# resources will be managed if: * the git or oci field is present; or * Managed
|
388
|
+
# Config Sync is enabled (i.e., managed.enabled is true).
|
387
389
|
# Corresponds to the JSON property `enabled`
|
388
390
|
# @return [Boolean]
|
389
391
|
attr_accessor :enabled
|
@@ -399,6 +401,16 @@ module Google
|
|
399
401
|
# @return [Google::Apis::GkehubV1::ConfigManagementManaged]
|
400
402
|
attr_accessor :managed
|
401
403
|
|
404
|
+
# The Email of the GCP Service Account (GSA) used for exporting Config Sync
|
405
|
+
# metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
|
406
|
+
# enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
|
407
|
+
# metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
|
408
|
+
# namespace `config-management-monitoring` should be binded to the GSA. This
|
409
|
+
# field is required when Managed Config Sync is enabled.
|
410
|
+
# Corresponds to the JSON property `metricsGcpServiceAccountEmail`
|
411
|
+
# @return [String]
|
412
|
+
attr_accessor :metrics_gcp_service_account_email
|
413
|
+
|
402
414
|
# OCI repo configuration for a single cluster
|
403
415
|
# Corresponds to the JSON property `oci`
|
404
416
|
# @return [Google::Apis::GkehubV1::ConfigManagementOciConfig]
|
@@ -428,6 +440,7 @@ module Google
|
|
428
440
|
@enabled = args[:enabled] if args.key?(:enabled)
|
429
441
|
@git = args[:git] if args.key?(:git)
|
430
442
|
@managed = args[:managed] if args.key?(:managed)
|
443
|
+
@metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
|
431
444
|
@oci = args[:oci] if args.key?(:oci)
|
432
445
|
@prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
|
433
446
|
@source_format = args[:source_format] if args.key?(:source_format)
|
@@ -489,6 +502,25 @@ module Google
|
|
489
502
|
end
|
490
503
|
end
|
491
504
|
|
505
|
+
# Errors pertaining to the installation of Config Sync
|
506
|
+
class ConfigManagementConfigSyncError
|
507
|
+
include Google::Apis::Core::Hashable
|
508
|
+
|
509
|
+
# A string representing the user facing error message
|
510
|
+
# Corresponds to the JSON property `errorMessage`
|
511
|
+
# @return [String]
|
512
|
+
attr_accessor :error_message
|
513
|
+
|
514
|
+
def initialize(**args)
|
515
|
+
update!(**args)
|
516
|
+
end
|
517
|
+
|
518
|
+
# Update properties of this object
|
519
|
+
def update!(**args)
|
520
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
492
524
|
# State information for ConfigSync
|
493
525
|
class ConfigManagementConfigSyncState
|
494
526
|
include Google::Apis::Core::Hashable
|
@@ -498,6 +530,11 @@ module Google
|
|
498
530
|
# @return [Google::Apis::GkehubV1::ConfigManagementConfigSyncDeploymentState]
|
499
531
|
attr_accessor :deployment_state
|
500
532
|
|
533
|
+
# Errors pertaining to the installation of Config Sync.
|
534
|
+
# Corresponds to the JSON property `errors`
|
535
|
+
# @return [Array<Google::Apis::GkehubV1::ConfigManagementConfigSyncError>]
|
536
|
+
attr_accessor :errors
|
537
|
+
|
501
538
|
# State indicating an ACM's progress syncing configurations to a cluster
|
502
539
|
# Corresponds to the JSON property `syncState`
|
503
540
|
# @return [Google::Apis::GkehubV1::ConfigManagementSyncState]
|
@@ -515,6 +552,7 @@ module Google
|
|
515
552
|
# Update properties of this object
|
516
553
|
def update!(**args)
|
517
554
|
@deployment_state = args[:deployment_state] if args.key?(:deployment_state)
|
555
|
+
@errors = args[:errors] if args.key?(:errors)
|
518
556
|
@sync_state = args[:sync_state] if args.key?(:sync_state)
|
519
557
|
@version = args[:version] if args.key?(:version)
|
520
558
|
end
|
@@ -872,12 +910,20 @@ module Google
|
|
872
910
|
include Google::Apis::Core::Hashable
|
873
911
|
|
874
912
|
# Set to true to enable Managed Config Sync. Defaults to false which disables
|
875
|
-
# Managed Config Sync.
|
913
|
+
# Managed Config Sync. Setting this field to true when configSync.enabled is
|
914
|
+
# false is invalid.
|
876
915
|
# Corresponds to the JSON property `enabled`
|
877
916
|
# @return [Boolean]
|
878
917
|
attr_accessor :enabled
|
879
918
|
alias_method :enabled?, :enabled
|
880
919
|
|
920
|
+
# Set to true to stop syncing configs for a single cluster. Default to false. If
|
921
|
+
# set to true, Managed Config Sync will not upgrade Config Sync.
|
922
|
+
# Corresponds to the JSON property `stopSyncing`
|
923
|
+
# @return [Boolean]
|
924
|
+
attr_accessor :stop_syncing
|
925
|
+
alias_method :stop_syncing?, :stop_syncing
|
926
|
+
|
881
927
|
def initialize(**args)
|
882
928
|
update!(**args)
|
883
929
|
end
|
@@ -885,6 +931,7 @@ module Google
|
|
885
931
|
# Update properties of this object
|
886
932
|
def update!(**args)
|
887
933
|
@enabled = args[:enabled] if args.key?(:enabled)
|
934
|
+
@stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
|
888
935
|
end
|
889
936
|
end
|
890
937
|
|
@@ -893,6 +940,16 @@ module Google
|
|
893
940
|
class ConfigManagementMembershipSpec
|
894
941
|
include Google::Apis::Core::Hashable
|
895
942
|
|
943
|
+
# The user-specified cluster name used by Config Sync cluster-name-selector
|
944
|
+
# annotation or ClusterSelector, for applying configs to only a subset of
|
945
|
+
# clusters. Omit this field if the cluster's fleet membership name is used by
|
946
|
+
# Config Sync cluster-name-selector annotation or ClusterSelector. Set this
|
947
|
+
# field if a name different from the cluster's fleet membership name is used by
|
948
|
+
# Config Sync cluster-name-selector annotation or ClusterSelector.
|
949
|
+
# Corresponds to the JSON property `cluster`
|
950
|
+
# @return [String]
|
951
|
+
attr_accessor :cluster
|
952
|
+
|
896
953
|
# Configuration for Config Sync
|
897
954
|
# Corresponds to the JSON property `configSync`
|
898
955
|
# @return [Google::Apis::GkehubV1::ConfigManagementConfigSync]
|
@@ -919,6 +976,7 @@ module Google
|
|
919
976
|
|
920
977
|
# Update properties of this object
|
921
978
|
def update!(**args)
|
979
|
+
@cluster = args[:cluster] if args.key?(:cluster)
|
922
980
|
@config_sync = args[:config_sync] if args.key?(:config_sync)
|
923
981
|
@hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
|
924
982
|
@policy_controller = args[:policy_controller] if args.key?(:policy_controller)
|
@@ -930,10 +988,8 @@ module Google
|
|
930
988
|
class ConfigManagementMembershipState
|
931
989
|
include Google::Apis::Core::Hashable
|
932
990
|
|
933
|
-
#
|
934
|
-
#
|
935
|
-
# user installed ACM on the cluster manually prior to enabling the ACM hub
|
936
|
-
# feature. Unique within a Anthos Config Management installation.
|
991
|
+
# This field is set to the `cluster_name` field of the Membership Spec if it is
|
992
|
+
# not empty. Otherwise, it is set to the cluster's fleet membership name.
|
937
993
|
# Corresponds to the JSON property `clusterName`
|
938
994
|
# @return [String]
|
939
995
|
attr_accessor :cluster_name
|
@@ -1112,6 +1168,11 @@ module Google
|
|
1112
1168
|
attr_accessor :template_library_installed
|
1113
1169
|
alias_method :template_library_installed?, :template_library_installed
|
1114
1170
|
|
1171
|
+
# Output only. Last time this membership spec was updated.
|
1172
|
+
# Corresponds to the JSON property `updateTime`
|
1173
|
+
# @return [String]
|
1174
|
+
attr_accessor :update_time
|
1175
|
+
|
1115
1176
|
def initialize(**args)
|
1116
1177
|
update!(**args)
|
1117
1178
|
end
|
@@ -1126,6 +1187,7 @@ module Google
|
|
1126
1187
|
@mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
|
1127
1188
|
@referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
|
1128
1189
|
@template_library_installed = args[:template_library_installed] if args.key?(:template_library_installed)
|
1190
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1129
1191
|
end
|
1130
1192
|
end
|
1131
1193
|
|
@@ -1133,6 +1195,11 @@ module Google
|
|
1133
1195
|
class ConfigManagementPolicyControllerMigration
|
1134
1196
|
include Google::Apis::Core::Hashable
|
1135
1197
|
|
1198
|
+
# Last time this membership spec was copied to PoCo feature.
|
1199
|
+
# Corresponds to the JSON property `copyTime`
|
1200
|
+
# @return [String]
|
1201
|
+
attr_accessor :copy_time
|
1202
|
+
|
1136
1203
|
# Stage of the migration.
|
1137
1204
|
# Corresponds to the JSON property `stage`
|
1138
1205
|
# @return [String]
|
@@ -1144,6 +1211,7 @@ module Google
|
|
1144
1211
|
|
1145
1212
|
# Update properties of this object
|
1146
1213
|
def update!(**args)
|
1214
|
+
@copy_time = args[:copy_time] if args.key?(:copy_time)
|
1147
1215
|
@stage = args[:stage] if args.key?(:stage)
|
1148
1216
|
end
|
1149
1217
|
end
|
@@ -1606,6 +1674,87 @@ module Google
|
|
1606
1674
|
end
|
1607
1675
|
end
|
1608
1676
|
|
1677
|
+
# Fleet contains the Fleet-wide metadata and configuration.
|
1678
|
+
class Fleet
|
1679
|
+
include Google::Apis::Core::Hashable
|
1680
|
+
|
1681
|
+
# Output only. When the Fleet was created.
|
1682
|
+
# Corresponds to the JSON property `createTime`
|
1683
|
+
# @return [String]
|
1684
|
+
attr_accessor :create_time
|
1685
|
+
|
1686
|
+
# Output only. When the Fleet was deleted.
|
1687
|
+
# Corresponds to the JSON property `deleteTime`
|
1688
|
+
# @return [String]
|
1689
|
+
attr_accessor :delete_time
|
1690
|
+
|
1691
|
+
# Optional. A user-assigned display name of the Fleet. When present, it must be
|
1692
|
+
# between 4 to 30 characters. Allowed characters are: lowercase and uppercase
|
1693
|
+
# letters, numbers, hyphen, single-quote, double-quote, space, and exclamation
|
1694
|
+
# point. Example: `Production Fleet`
|
1695
|
+
# Corresponds to the JSON property `displayName`
|
1696
|
+
# @return [String]
|
1697
|
+
attr_accessor :display_name
|
1698
|
+
|
1699
|
+
# Output only. The full, unique resource name of this fleet in the format of `
|
1700
|
+
# projects/`project`/locations/`location`/fleets/`fleet``. Each Google Cloud
|
1701
|
+
# project can have at most one fleet resource, named "default".
|
1702
|
+
# Corresponds to the JSON property `name`
|
1703
|
+
# @return [String]
|
1704
|
+
attr_accessor :name
|
1705
|
+
|
1706
|
+
# FleetLifecycleState describes the state of a Fleet resource.
|
1707
|
+
# Corresponds to the JSON property `state`
|
1708
|
+
# @return [Google::Apis::GkehubV1::FleetLifecycleState]
|
1709
|
+
attr_accessor :state
|
1710
|
+
|
1711
|
+
# Output only. Google-generated UUID for this resource. This is unique across
|
1712
|
+
# all Fleet resources. If a Fleet resource is deleted and another resource with
|
1713
|
+
# the same name is created, it gets a different uid.
|
1714
|
+
# Corresponds to the JSON property `uid`
|
1715
|
+
# @return [String]
|
1716
|
+
attr_accessor :uid
|
1717
|
+
|
1718
|
+
# Output only. When the Fleet was last updated.
|
1719
|
+
# Corresponds to the JSON property `updateTime`
|
1720
|
+
# @return [String]
|
1721
|
+
attr_accessor :update_time
|
1722
|
+
|
1723
|
+
def initialize(**args)
|
1724
|
+
update!(**args)
|
1725
|
+
end
|
1726
|
+
|
1727
|
+
# Update properties of this object
|
1728
|
+
def update!(**args)
|
1729
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1730
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
1731
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1732
|
+
@name = args[:name] if args.key?(:name)
|
1733
|
+
@state = args[:state] if args.key?(:state)
|
1734
|
+
@uid = args[:uid] if args.key?(:uid)
|
1735
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1736
|
+
end
|
1737
|
+
end
|
1738
|
+
|
1739
|
+
# FleetLifecycleState describes the state of a Fleet resource.
|
1740
|
+
class FleetLifecycleState
|
1741
|
+
include Google::Apis::Core::Hashable
|
1742
|
+
|
1743
|
+
# Output only. The current state of the Fleet resource.
|
1744
|
+
# Corresponds to the JSON property `code`
|
1745
|
+
# @return [String]
|
1746
|
+
attr_accessor :code
|
1747
|
+
|
1748
|
+
def initialize(**args)
|
1749
|
+
update!(**args)
|
1750
|
+
end
|
1751
|
+
|
1752
|
+
# Update properties of this object
|
1753
|
+
def update!(**args)
|
1754
|
+
@code = args[:code] if args.key?(:code)
|
1755
|
+
end
|
1756
|
+
end
|
1757
|
+
|
1609
1758
|
# **Fleet Observability**: The Hub-wide input for the FleetObservability feature.
|
1610
1759
|
class FleetObservabilityFeatureSpec
|
1611
1760
|
include Google::Apis::Core::Hashable
|
@@ -2157,6 +2306,33 @@ module Google
|
|
2157
2306
|
end
|
2158
2307
|
end
|
2159
2308
|
|
2309
|
+
# Response message for the `GkeHub.ListFleetsResponse` method.
|
2310
|
+
class ListFleetsResponse
|
2311
|
+
include Google::Apis::Core::Hashable
|
2312
|
+
|
2313
|
+
# The list of matching fleets.
|
2314
|
+
# Corresponds to the JSON property `fleets`
|
2315
|
+
# @return [Array<Google::Apis::GkehubV1::Fleet>]
|
2316
|
+
attr_accessor :fleets
|
2317
|
+
|
2318
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
2319
|
+
# field is omitted, there are no subsequent pages. The token is only valid for
|
2320
|
+
# 1h.
|
2321
|
+
# Corresponds to the JSON property `nextPageToken`
|
2322
|
+
# @return [String]
|
2323
|
+
attr_accessor :next_page_token
|
2324
|
+
|
2325
|
+
def initialize(**args)
|
2326
|
+
update!(**args)
|
2327
|
+
end
|
2328
|
+
|
2329
|
+
# Update properties of this object
|
2330
|
+
def update!(**args)
|
2331
|
+
@fleets = args[:fleets] if args.key?(:fleets)
|
2332
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2333
|
+
end
|
2334
|
+
end
|
2335
|
+
|
2160
2336
|
# The response message for Locations.ListLocations.
|
2161
2337
|
class ListLocationsResponse
|
2162
2338
|
include Google::Apis::Core::Hashable
|
@@ -2604,7 +2780,7 @@ module Google
|
|
2604
2780
|
end
|
2605
2781
|
|
2606
2782
|
# MembershipFeatureSpec contains configuration information for a single
|
2607
|
-
# Membership.
|
2783
|
+
# Membership. NOTE: Please use snake case in your feature name.
|
2608
2784
|
class MembershipFeatureSpec
|
2609
2785
|
include Google::Apis::Core::Hashable
|
2610
2786
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1
|
18
18
|
# Version of the google-apis-gkehub_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.49.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230609"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class ConfigManagementConfigSyncError
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class ConfigManagementConfigSyncState
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -280,6 +286,18 @@ module Google
|
|
280
286
|
include Google::Apis::Core::JsonObjectSupport
|
281
287
|
end
|
282
288
|
|
289
|
+
class Fleet
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class FleetLifecycleState
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
283
301
|
class FleetObservabilityFeatureSpec
|
284
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
303
|
|
@@ -376,6 +394,12 @@ module Google
|
|
376
394
|
include Google::Apis::Core::JsonObjectSupport
|
377
395
|
end
|
378
396
|
|
397
|
+
class ListFleetsResponse
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
379
403
|
class ListLocationsResponse
|
380
404
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
405
|
|
@@ -695,6 +719,7 @@ module Google
|
|
695
719
|
|
696
720
|
property :managed, as: 'managed', class: Google::Apis::GkehubV1::ConfigManagementManaged, decorator: Google::Apis::GkehubV1::ConfigManagementManaged::Representation
|
697
721
|
|
722
|
+
property :metrics_gcp_service_account_email, as: 'metricsGcpServiceAccountEmail'
|
698
723
|
property :oci, as: 'oci', class: Google::Apis::GkehubV1::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1::ConfigManagementOciConfig::Representation
|
699
724
|
|
700
725
|
property :prevent_drift, as: 'preventDrift'
|
@@ -715,11 +740,20 @@ module Google
|
|
715
740
|
end
|
716
741
|
end
|
717
742
|
|
743
|
+
class ConfigManagementConfigSyncError
|
744
|
+
# @private
|
745
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
746
|
+
property :error_message, as: 'errorMessage'
|
747
|
+
end
|
748
|
+
end
|
749
|
+
|
718
750
|
class ConfigManagementConfigSyncState
|
719
751
|
# @private
|
720
752
|
class Representation < Google::Apis::Core::JsonRepresentation
|
721
753
|
property :deployment_state, as: 'deploymentState', class: Google::Apis::GkehubV1::ConfigManagementConfigSyncDeploymentState, decorator: Google::Apis::GkehubV1::ConfigManagementConfigSyncDeploymentState::Representation
|
722
754
|
|
755
|
+
collection :errors, as: 'errors', class: Google::Apis::GkehubV1::ConfigManagementConfigSyncError, decorator: Google::Apis::GkehubV1::ConfigManagementConfigSyncError::Representation
|
756
|
+
|
723
757
|
property :sync_state, as: 'syncState', class: Google::Apis::GkehubV1::ConfigManagementSyncState, decorator: Google::Apis::GkehubV1::ConfigManagementSyncState::Representation
|
724
758
|
|
725
759
|
property :version, as: 'version', class: Google::Apis::GkehubV1::ConfigManagementConfigSyncVersion, decorator: Google::Apis::GkehubV1::ConfigManagementConfigSyncVersion::Representation
|
@@ -829,12 +863,14 @@ module Google
|
|
829
863
|
# @private
|
830
864
|
class Representation < Google::Apis::Core::JsonRepresentation
|
831
865
|
property :enabled, as: 'enabled'
|
866
|
+
property :stop_syncing, as: 'stopSyncing'
|
832
867
|
end
|
833
868
|
end
|
834
869
|
|
835
870
|
class ConfigManagementMembershipSpec
|
836
871
|
# @private
|
837
872
|
class Representation < Google::Apis::Core::JsonRepresentation
|
873
|
+
property :cluster, as: 'cluster'
|
838
874
|
property :config_sync, as: 'configSync', class: Google::Apis::GkehubV1::ConfigManagementConfigSync, decorator: Google::Apis::GkehubV1::ConfigManagementConfigSync::Representation
|
839
875
|
|
840
876
|
property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig::Representation
|
@@ -895,12 +931,14 @@ module Google
|
|
895
931
|
property :mutation_enabled, as: 'mutationEnabled'
|
896
932
|
property :referential_rules_enabled, as: 'referentialRulesEnabled'
|
897
933
|
property :template_library_installed, as: 'templateLibraryInstalled'
|
934
|
+
property :update_time, as: 'updateTime'
|
898
935
|
end
|
899
936
|
end
|
900
937
|
|
901
938
|
class ConfigManagementPolicyControllerMigration
|
902
939
|
# @private
|
903
940
|
class Representation < Google::Apis::Core::JsonRepresentation
|
941
|
+
property :copy_time, as: 'copyTime'
|
904
942
|
property :stage, as: 'stage'
|
905
943
|
end
|
906
944
|
end
|
@@ -1030,6 +1068,27 @@ module Google
|
|
1030
1068
|
end
|
1031
1069
|
end
|
1032
1070
|
|
1071
|
+
class Fleet
|
1072
|
+
# @private
|
1073
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1074
|
+
property :create_time, as: 'createTime'
|
1075
|
+
property :delete_time, as: 'deleteTime'
|
1076
|
+
property :display_name, as: 'displayName'
|
1077
|
+
property :name, as: 'name'
|
1078
|
+
property :state, as: 'state', class: Google::Apis::GkehubV1::FleetLifecycleState, decorator: Google::Apis::GkehubV1::FleetLifecycleState::Representation
|
1079
|
+
|
1080
|
+
property :uid, as: 'uid'
|
1081
|
+
property :update_time, as: 'updateTime'
|
1082
|
+
end
|
1083
|
+
end
|
1084
|
+
|
1085
|
+
class FleetLifecycleState
|
1086
|
+
# @private
|
1087
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1088
|
+
property :code, as: 'code'
|
1089
|
+
end
|
1090
|
+
end
|
1091
|
+
|
1033
1092
|
class FleetObservabilityFeatureSpec
|
1034
1093
|
# @private
|
1035
1094
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1184,6 +1243,15 @@ module Google
|
|
1184
1243
|
end
|
1185
1244
|
end
|
1186
1245
|
|
1246
|
+
class ListFleetsResponse
|
1247
|
+
# @private
|
1248
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1249
|
+
collection :fleets, as: 'fleets', class: Google::Apis::GkehubV1::Fleet, decorator: Google::Apis::GkehubV1::Fleet::Representation
|
1250
|
+
|
1251
|
+
property :next_page_token, as: 'nextPageToken'
|
1252
|
+
end
|
1253
|
+
end
|
1254
|
+
|
1187
1255
|
class ListLocationsResponse
|
1188
1256
|
# @private
|
1189
1257
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -49,6 +49,48 @@ 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 [Fixnum] page_size
|
58
|
+
# Optional. The maximum number of fleets to return. The service may return fewer
|
59
|
+
# than this value. If unspecified, at most 200 fleets will be returned. The
|
60
|
+
# maximum value is 1000; values above 1000 will be coerced to 1000.
|
61
|
+
# @param [String] page_token
|
62
|
+
# Optional. A page token, received from a previous `ListFleets` call. Provide
|
63
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
64
|
+
# provided to `ListFleets` must match the call that provided the page token.
|
65
|
+
# @param [String] fields
|
66
|
+
# Selector specifying which fields to include in a partial response.
|
67
|
+
# @param [String] quota_user
|
68
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
69
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
70
|
+
# @param [Google::Apis::RequestOptions] options
|
71
|
+
# Request-specific options
|
72
|
+
#
|
73
|
+
# @yield [result, err] Result & error if block supplied
|
74
|
+
# @yieldparam result [Google::Apis::GkehubV1::ListFleetsResponse] parsed result object
|
75
|
+
# @yieldparam err [StandardError] error object if request failed
|
76
|
+
#
|
77
|
+
# @return [Google::Apis::GkehubV1::ListFleetsResponse]
|
78
|
+
#
|
79
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
80
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
81
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
82
|
+
def list_organization_location_fleets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
83
|
+
command = make_simple_command(:get, 'v1/{+parent}/fleets', options)
|
84
|
+
command.response_representation = Google::Apis::GkehubV1::ListFleetsResponse::Representation
|
85
|
+
command.response_class = Google::Apis::GkehubV1::ListFleetsResponse
|
86
|
+
command.params['parent'] = parent unless parent.nil?
|
87
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
88
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
89
|
+
command.query['fields'] = fields unless fields.nil?
|
90
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
91
|
+
execute_or_queue_command(command, &block)
|
92
|
+
end
|
93
|
+
|
52
94
|
# Gets information about a location.
|
53
95
|
# @param [String] name
|
54
96
|
# Resource name for the location.
|
@@ -471,6 +513,182 @@ module Google
|
|
471
513
|
execute_or_queue_command(command, &block)
|
472
514
|
end
|
473
515
|
|
516
|
+
# Creates a fleet.
|
517
|
+
# @param [String] parent
|
518
|
+
# Required. The parent (project and location) where the Fleet will be created.
|
519
|
+
# Specified in the format `projects/*/locations/*`.
|
520
|
+
# @param [Google::Apis::GkehubV1::Fleet] fleet_object
|
521
|
+
# @param [String] fields
|
522
|
+
# Selector specifying which fields to include in a partial response.
|
523
|
+
# @param [String] quota_user
|
524
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
525
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
526
|
+
# @param [Google::Apis::RequestOptions] options
|
527
|
+
# Request-specific options
|
528
|
+
#
|
529
|
+
# @yield [result, err] Result & error if block supplied
|
530
|
+
# @yieldparam result [Google::Apis::GkehubV1::Operation] parsed result object
|
531
|
+
# @yieldparam err [StandardError] error object if request failed
|
532
|
+
#
|
533
|
+
# @return [Google::Apis::GkehubV1::Operation]
|
534
|
+
#
|
535
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
536
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
537
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
538
|
+
def create_project_location_fleet(parent, fleet_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
539
|
+
command = make_simple_command(:post, 'v1/{+parent}/fleets', options)
|
540
|
+
command.request_representation = Google::Apis::GkehubV1::Fleet::Representation
|
541
|
+
command.request_object = fleet_object
|
542
|
+
command.response_representation = Google::Apis::GkehubV1::Operation::Representation
|
543
|
+
command.response_class = Google::Apis::GkehubV1::Operation
|
544
|
+
command.params['parent'] = parent unless parent.nil?
|
545
|
+
command.query['fields'] = fields unless fields.nil?
|
546
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
547
|
+
execute_or_queue_command(command, &block)
|
548
|
+
end
|
549
|
+
|
550
|
+
# Removes a Fleet. There must be no memberships remaining in the Fleet.
|
551
|
+
# @param [String] name
|
552
|
+
# Required. The Fleet resource name in the format `projects/*/locations/*/fleets/
|
553
|
+
# *`.
|
554
|
+
# @param [String] fields
|
555
|
+
# Selector specifying which fields to include in a partial response.
|
556
|
+
# @param [String] quota_user
|
557
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
558
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
559
|
+
# @param [Google::Apis::RequestOptions] options
|
560
|
+
# Request-specific options
|
561
|
+
#
|
562
|
+
# @yield [result, err] Result & error if block supplied
|
563
|
+
# @yieldparam result [Google::Apis::GkehubV1::Operation] parsed result object
|
564
|
+
# @yieldparam err [StandardError] error object if request failed
|
565
|
+
#
|
566
|
+
# @return [Google::Apis::GkehubV1::Operation]
|
567
|
+
#
|
568
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
569
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
570
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
571
|
+
def delete_project_location_fleet(name, fields: nil, quota_user: nil, options: nil, &block)
|
572
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
573
|
+
command.response_representation = Google::Apis::GkehubV1::Operation::Representation
|
574
|
+
command.response_class = Google::Apis::GkehubV1::Operation
|
575
|
+
command.params['name'] = name unless name.nil?
|
576
|
+
command.query['fields'] = fields unless fields.nil?
|
577
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
578
|
+
execute_or_queue_command(command, &block)
|
579
|
+
end
|
580
|
+
|
581
|
+
# Returns the details of a fleet.
|
582
|
+
# @param [String] name
|
583
|
+
# Required. The Fleet resource name in the format `projects/*/locations/*/fleets/
|
584
|
+
# *`.
|
585
|
+
# @param [String] fields
|
586
|
+
# Selector specifying which fields to include in a partial response.
|
587
|
+
# @param [String] quota_user
|
588
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
589
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
590
|
+
# @param [Google::Apis::RequestOptions] options
|
591
|
+
# Request-specific options
|
592
|
+
#
|
593
|
+
# @yield [result, err] Result & error if block supplied
|
594
|
+
# @yieldparam result [Google::Apis::GkehubV1::Fleet] parsed result object
|
595
|
+
# @yieldparam err [StandardError] error object if request failed
|
596
|
+
#
|
597
|
+
# @return [Google::Apis::GkehubV1::Fleet]
|
598
|
+
#
|
599
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
600
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
601
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
602
|
+
def get_project_location_fleet(name, fields: nil, quota_user: nil, options: nil, &block)
|
603
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
604
|
+
command.response_representation = Google::Apis::GkehubV1::Fleet::Representation
|
605
|
+
command.response_class = Google::Apis::GkehubV1::Fleet
|
606
|
+
command.params['name'] = name unless name.nil?
|
607
|
+
command.query['fields'] = fields unless fields.nil?
|
608
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
609
|
+
execute_or_queue_command(command, &block)
|
610
|
+
end
|
611
|
+
|
612
|
+
# Returns all fleets within an organization or a project that the caller has
|
613
|
+
# access to.
|
614
|
+
# @param [String] parent
|
615
|
+
# Required. The organization or project to list for Fleets under, in the format `
|
616
|
+
# organizations/*/locations/*` or `projects/*/locations/*`.
|
617
|
+
# @param [Fixnum] page_size
|
618
|
+
# Optional. The maximum number of fleets to return. The service may return fewer
|
619
|
+
# than this value. If unspecified, at most 200 fleets will be returned. The
|
620
|
+
# maximum value is 1000; values above 1000 will be coerced to 1000.
|
621
|
+
# @param [String] page_token
|
622
|
+
# Optional. A page token, received from a previous `ListFleets` call. Provide
|
623
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
624
|
+
# provided to `ListFleets` must match the call that provided the page token.
|
625
|
+
# @param [String] fields
|
626
|
+
# Selector specifying which fields to include in a partial response.
|
627
|
+
# @param [String] quota_user
|
628
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
629
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
630
|
+
# @param [Google::Apis::RequestOptions] options
|
631
|
+
# Request-specific options
|
632
|
+
#
|
633
|
+
# @yield [result, err] Result & error if block supplied
|
634
|
+
# @yieldparam result [Google::Apis::GkehubV1::ListFleetsResponse] parsed result object
|
635
|
+
# @yieldparam err [StandardError] error object if request failed
|
636
|
+
#
|
637
|
+
# @return [Google::Apis::GkehubV1::ListFleetsResponse]
|
638
|
+
#
|
639
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
640
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
641
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
642
|
+
def list_project_location_fleets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
643
|
+
command = make_simple_command(:get, 'v1/{+parent}/fleets', options)
|
644
|
+
command.response_representation = Google::Apis::GkehubV1::ListFleetsResponse::Representation
|
645
|
+
command.response_class = Google::Apis::GkehubV1::ListFleetsResponse
|
646
|
+
command.params['parent'] = parent unless parent.nil?
|
647
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
648
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
649
|
+
command.query['fields'] = fields unless fields.nil?
|
650
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
651
|
+
execute_or_queue_command(command, &block)
|
652
|
+
end
|
653
|
+
|
654
|
+
# Updates a fleet.
|
655
|
+
# @param [String] name
|
656
|
+
# Output only. The full, unique resource name of this fleet in the format of `
|
657
|
+
# projects/`project`/locations/`location`/fleets/`fleet``. Each Google Cloud
|
658
|
+
# project can have at most one fleet resource, named "default".
|
659
|
+
# @param [Google::Apis::GkehubV1::Fleet] fleet_object
|
660
|
+
# @param [String] update_mask
|
661
|
+
# Required. The fields to be updated;
|
662
|
+
# @param [String] fields
|
663
|
+
# Selector specifying which fields to include in a partial response.
|
664
|
+
# @param [String] quota_user
|
665
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
666
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
667
|
+
# @param [Google::Apis::RequestOptions] options
|
668
|
+
# Request-specific options
|
669
|
+
#
|
670
|
+
# @yield [result, err] Result & error if block supplied
|
671
|
+
# @yieldparam result [Google::Apis::GkehubV1::Operation] parsed result object
|
672
|
+
# @yieldparam err [StandardError] error object if request failed
|
673
|
+
#
|
674
|
+
# @return [Google::Apis::GkehubV1::Operation]
|
675
|
+
#
|
676
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
677
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
678
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
679
|
+
def patch_project_location_fleet(name, fleet_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
680
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
681
|
+
command.request_representation = Google::Apis::GkehubV1::Fleet::Representation
|
682
|
+
command.request_object = fleet_object
|
683
|
+
command.response_representation = Google::Apis::GkehubV1::Operation::Representation
|
684
|
+
command.response_class = Google::Apis::GkehubV1::Operation
|
685
|
+
command.params['name'] = name unless name.nil?
|
686
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
687
|
+
command.query['fields'] = fields unless fields.nil?
|
688
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
689
|
+
execute_or_queue_command(command, &block)
|
690
|
+
end
|
691
|
+
|
474
692
|
# Creates a new Membership. **This is currently only supported for GKE clusters
|
475
693
|
# on Google Cloud**. To register other clusters, follow the instructions at
|
476
694
|
# https://cloud.google.com/anthos/multicluster-management/connect/registering-a-
|
@@ -1402,6 +1620,43 @@ module Google
|
|
1402
1620
|
execute_or_queue_command(command, &block)
|
1403
1621
|
end
|
1404
1622
|
|
1623
|
+
# Updates a scopes.
|
1624
|
+
# @param [String] name
|
1625
|
+
# The resource name for the scope `projects/`project`/locations/`location`/
|
1626
|
+
# scopes/`scope``
|
1627
|
+
# @param [Google::Apis::GkehubV1::Scope] scope_object
|
1628
|
+
# @param [String] update_mask
|
1629
|
+
# Required. The fields to be updated.
|
1630
|
+
# @param [String] fields
|
1631
|
+
# Selector specifying which fields to include in a partial response.
|
1632
|
+
# @param [String] quota_user
|
1633
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1634
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1635
|
+
# @param [Google::Apis::RequestOptions] options
|
1636
|
+
# Request-specific options
|
1637
|
+
#
|
1638
|
+
# @yield [result, err] Result & error if block supplied
|
1639
|
+
# @yieldparam result [Google::Apis::GkehubV1::Operation] parsed result object
|
1640
|
+
# @yieldparam err [StandardError] error object if request failed
|
1641
|
+
#
|
1642
|
+
# @return [Google::Apis::GkehubV1::Operation]
|
1643
|
+
#
|
1644
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1645
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1646
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1647
|
+
def patch_project_location_scope(name, scope_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1648
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1649
|
+
command.request_representation = Google::Apis::GkehubV1::Scope::Representation
|
1650
|
+
command.request_object = scope_object
|
1651
|
+
command.response_representation = Google::Apis::GkehubV1::Operation::Representation
|
1652
|
+
command.response_class = Google::Apis::GkehubV1::Operation
|
1653
|
+
command.params['name'] = name unless name.nil?
|
1654
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1655
|
+
command.query['fields'] = fields unless fields.nil?
|
1656
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1657
|
+
execute_or_queue_command(command, &block)
|
1658
|
+
end
|
1659
|
+
|
1405
1660
|
# Sets the access control policy on the specified resource. Replaces any
|
1406
1661
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1407
1662
|
# PERMISSION_DENIED` errors.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.49.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-18 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.49.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|