google-apis-gkehub_v1 0.26.0 → 0.29.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: '090142f9361b6945043b40e8946e433dfae13302facce53273298810d818b642'
4
- data.tar.gz: 44c88d7dcc78edb237cda4fa332720342c511b7ba3fc99b0a65ba7ec0c005dd8
3
+ metadata.gz: fe63ce8712fa27cf6654ee64978faaceb8084ac19af763059dd7d36a81eaa119
4
+ data.tar.gz: 7f21d430977448327a0e74ba7de38015e65f193afdf32ee586aa44fc56e1786f
5
5
  SHA512:
6
- metadata.gz: f2abcff232107b53cd18406706dc2be1ba5d42c8db7b314f76a6e0be7f4cd635e7f8b2b2242d2cd0d62e5eb73cd5c37199dd130cbfd9d1bf471327b37c2b6eb2
7
- data.tar.gz: 07f0453e6035b97d9010ce328a67a8c9982091c0377304374707264d0aba1f4478a7fcc15102707f0a7121aee262ad2d869562703708835598767dccd663c9e6
6
+ metadata.gz: a46738d29c0b7fec8cfa8818dd7062ce1e2136a890941038cb0281bacefecf7164ea982336e3dacf40093de9b8781863c2ddf42e91265e8861835e986c9624db
7
+ data.tar.gz: 822ae3f9113cb0d9591da0a5b7888bd49d926e34a31b2085223f365c3c0f3fc19b5ac60572f5fc49b12aa613188c858e3f2969a97ec59460f0519862298925b3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.29.0 (2022-06-18)
4
+
5
+ * Regenerated from discovery document revision 20220613
6
+ * Regenerated using generator version 0.7.0
7
+
8
+ ### v0.28.0 (2022-06-06)
9
+
10
+ * Regenerated from discovery document revision 20220530
11
+ * Regenerated using generator version 0.5.0
12
+
13
+ ### v0.27.0 (2022-05-16)
14
+
15
+ * Regenerated from discovery document revision 20220505
16
+
3
17
  ### v0.26.0 (2022-05-08)
4
18
 
5
19
  * Regenerated from discovery document revision 20220429
@@ -22,6 +22,129 @@ module Google
22
22
  module Apis
23
23
  module GkehubV1
24
24
 
25
+ # AnthosVMMembershipSpec contains the AnthosVM feature configuration for a
26
+ # membership/cluster.
27
+ class AnthosVmMembershipSpec
28
+ include Google::Apis::Core::Hashable
29
+
30
+ # List of configurations of the Anthos For VM subfeatures that are to be enabled
31
+ # Corresponds to the JSON property `subfeaturesSpec`
32
+ # @return [Array<Google::Apis::GkehubV1::AnthosVmSubFeatureSpec>]
33
+ attr_accessor :subfeatures_spec
34
+
35
+ def initialize(**args)
36
+ update!(**args)
37
+ end
38
+
39
+ # Update properties of this object
40
+ def update!(**args)
41
+ @subfeatures_spec = args[:subfeatures_spec] if args.key?(:subfeatures_spec)
42
+ end
43
+ end
44
+
45
+ # AnthosVMFeatureState contains the state of the AnthosVM feature. It represents
46
+ # the actual state in the cluster, while the AnthosVMMembershipSpec represents
47
+ # the desired state.
48
+ class AnthosVmMembershipState
49
+ include Google::Apis::Core::Hashable
50
+
51
+ # LocalControllerState contains the state of the local controller deployed in
52
+ # the cluster.
53
+ # Corresponds to the JSON property `localControllerState`
54
+ # @return [Google::Apis::GkehubV1::LocalControllerState]
55
+ attr_accessor :local_controller_state
56
+
57
+ # List of AnthosVM subfeature states
58
+ # Corresponds to the JSON property `subfeatureState`
59
+ # @return [Array<Google::Apis::GkehubV1::AnthosVmSubFeatureState>]
60
+ attr_accessor :subfeature_state
61
+
62
+ def initialize(**args)
63
+ update!(**args)
64
+ end
65
+
66
+ # Update properties of this object
67
+ def update!(**args)
68
+ @local_controller_state = args[:local_controller_state] if args.key?(:local_controller_state)
69
+ @subfeature_state = args[:subfeature_state] if args.key?(:subfeature_state)
70
+ end
71
+ end
72
+
73
+ # AnthosVMSubFeatureSpec contains the subfeature configuration for a membership/
74
+ # cluster.
75
+ class AnthosVmSubFeatureSpec
76
+ include Google::Apis::Core::Hashable
77
+
78
+ # Indicates whether the subfeature should be enabled on the cluster or not. If
79
+ # set to true, the subfeature's control plane and resources will be installed in
80
+ # the cluster. If set to false, the oneof spec if present will be ignored and
81
+ # nothing will be installed in the cluster.
82
+ # Corresponds to the JSON property `enabled`
83
+ # @return [Boolean]
84
+ attr_accessor :enabled
85
+ alias_method :enabled?, :enabled
86
+
87
+ # MigrateSpec contains the migrate subfeature configuration.
88
+ # Corresponds to the JSON property `migrateSpec`
89
+ # @return [Google::Apis::GkehubV1::MigrateSpec]
90
+ attr_accessor :migrate_spec
91
+
92
+ # ServiceMeshSpec contains the serviceMesh subfeature configuration.
93
+ # Corresponds to the JSON property `serviceMeshSpec`
94
+ # @return [Google::Apis::GkehubV1::ServiceMeshSpec]
95
+ attr_accessor :service_mesh_spec
96
+
97
+ def initialize(**args)
98
+ update!(**args)
99
+ end
100
+
101
+ # Update properties of this object
102
+ def update!(**args)
103
+ @enabled = args[:enabled] if args.key?(:enabled)
104
+ @migrate_spec = args[:migrate_spec] if args.key?(:migrate_spec)
105
+ @service_mesh_spec = args[:service_mesh_spec] if args.key?(:service_mesh_spec)
106
+ end
107
+ end
108
+
109
+ # AnthosVMSubFeatureState contains the state of the AnthosVM subfeatures.
110
+ class AnthosVmSubFeatureState
111
+ include Google::Apis::Core::Hashable
112
+
113
+ # Description represents human readable description of the subfeature state. If
114
+ # the deployment failed, this should also contain the reason for the failure.
115
+ # Corresponds to the JSON property `description`
116
+ # @return [String]
117
+ attr_accessor :description
118
+
119
+ # InstallationState represents the state of installation of the subfeature in
120
+ # the cluster.
121
+ # Corresponds to the JSON property `installationState`
122
+ # @return [String]
123
+ attr_accessor :installation_state
124
+
125
+ # MigrateState contains the state of Migrate subfeature
126
+ # Corresponds to the JSON property `migrateState`
127
+ # @return [Google::Apis::GkehubV1::MigrateState]
128
+ attr_accessor :migrate_state
129
+
130
+ # ServiceMeshState contains the state of Service Mesh subfeature
131
+ # Corresponds to the JSON property `serviceMeshState`
132
+ # @return [Google::Apis::GkehubV1::ServiceMeshState]
133
+ attr_accessor :service_mesh_state
134
+
135
+ def initialize(**args)
136
+ update!(**args)
137
+ end
138
+
139
+ # Update properties of this object
140
+ def update!(**args)
141
+ @description = args[:description] if args.key?(:description)
142
+ @installation_state = args[:installation_state] if args.key?(:installation_state)
143
+ @migrate_state = args[:migrate_state] if args.key?(:migrate_state)
144
+ @service_mesh_state = args[:service_mesh_state] if args.key?(:service_mesh_state)
145
+ end
146
+ end
147
+
25
148
  # Spec for App Dev Experience Feature.
26
149
  class AppDevExperienceFeatureSpec
27
150
  include Google::Apis::Core::Hashable
@@ -54,6 +177,27 @@ module Google
54
177
  end
55
178
  end
56
179
 
180
+ # ApplianceCluster contains information specific to GDC Edge Appliance Clusters.
181
+ class ApplianceCluster
182
+ include Google::Apis::Core::Hashable
183
+
184
+ # Immutable. Self-link of the GCP resource for the Appliance Cluster. For
185
+ # example: //transferappliance.googleapis.com/projects/my-project/locations/us-
186
+ # west1-a/appliances/my-appliance
187
+ # Corresponds to the JSON property `resourceLink`
188
+ # @return [String]
189
+ attr_accessor :resource_link
190
+
191
+ def initialize(**args)
192
+ update!(**args)
193
+ end
194
+
195
+ # Update properties of this object
196
+ def update!(**args)
197
+ @resource_link = args[:resource_link] if args.key?(:resource_link)
198
+ end
199
+ end
200
+
57
201
  # Specifies the audit configuration for a service. The configuration determines
58
202
  # which permission types are logged, and what identities, if any, are exempted
59
203
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -335,6 +479,11 @@ module Google
335
479
  # @return [Google::Apis::GkehubV1::ConfigManagementGitConfig]
336
480
  attr_accessor :git
337
481
 
482
+ # OCI repo configuration for a single cluster
483
+ # Corresponds to the JSON property `oci`
484
+ # @return [Google::Apis::GkehubV1::ConfigManagementOciConfig]
485
+ attr_accessor :oci
486
+
338
487
  # Set to true to enable the Config Sync admission webhook to prevent drifts. If
339
488
  # set to `false`, disables the Config Sync admission webhook and does not
340
489
  # prevent drifts.
@@ -357,6 +506,7 @@ module Google
357
506
  def update!(**args)
358
507
  @enabled = args[:enabled] if args.key?(:enabled)
359
508
  @git = args[:git] if args.key?(:git)
509
+ @oci = args[:oci] if args.key?(:oci)
360
510
  @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
361
511
  @source_format = args[:source_format] if args.key?(:source_format)
362
512
  end
@@ -880,6 +1030,52 @@ module Google
880
1030
  end
881
1031
  end
882
1032
 
1033
+ # OCI repo configuration for a single cluster
1034
+ class ConfigManagementOciConfig
1035
+ include Google::Apis::Core::Hashable
1036
+
1037
+ # The GCP Service Account Email used for auth when secret_type is
1038
+ # gcpServiceAccount.
1039
+ # Corresponds to the JSON property `gcpServiceAccountEmail`
1040
+ # @return [String]
1041
+ attr_accessor :gcp_service_account_email
1042
+
1043
+ # The absolute path of the directory that contains the local resources. Default:
1044
+ # the root directory of the image.
1045
+ # Corresponds to the JSON property `policyDir`
1046
+ # @return [String]
1047
+ attr_accessor :policy_dir
1048
+
1049
+ # Type of secret configured for access to the Git repo.
1050
+ # Corresponds to the JSON property `secretType`
1051
+ # @return [String]
1052
+ attr_accessor :secret_type
1053
+
1054
+ # The OCI image repository URL for the package to sync from. e.g. `LOCATION-
1055
+ # docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
1056
+ # Corresponds to the JSON property `syncRepo`
1057
+ # @return [String]
1058
+ attr_accessor :sync_repo
1059
+
1060
+ # Period in seconds between consecutive syncs. Default: 15.
1061
+ # Corresponds to the JSON property `syncWaitSecs`
1062
+ # @return [Fixnum]
1063
+ attr_accessor :sync_wait_secs
1064
+
1065
+ def initialize(**args)
1066
+ update!(**args)
1067
+ end
1068
+
1069
+ # Update properties of this object
1070
+ def update!(**args)
1071
+ @gcp_service_account_email = args[:gcp_service_account_email] if args.key?(:gcp_service_account_email)
1072
+ @policy_dir = args[:policy_dir] if args.key?(:policy_dir)
1073
+ @secret_type = args[:secret_type] if args.key?(:secret_type)
1074
+ @sync_repo = args[:sync_repo] if args.key?(:sync_repo)
1075
+ @sync_wait_secs = args[:sync_wait_secs] if args.key?(:sync_wait_secs)
1076
+ end
1077
+ end
1078
+
883
1079
  # State information for an ACM's Operator
884
1080
  class ConfigManagementOperatorState
885
1081
  include Google::Apis::Core::Hashable
@@ -940,6 +1136,13 @@ module Google
940
1136
  attr_accessor :log_denies_enabled
941
1137
  alias_method :log_denies_enabled?, :log_denies_enabled
942
1138
 
1139
+ # PolicyControllerMonitoring specifies the backends Policy Controller should
1140
+ # export metrics to. For example, to specify metrics should be exported to Cloud
1141
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
1142
+ # Corresponds to the JSON property `monitoring`
1143
+ # @return [Google::Apis::GkehubV1::ConfigManagementPolicyControllerMonitoring]
1144
+ attr_accessor :monitoring
1145
+
943
1146
  # Enables the ability to use Constraint Templates that reference to objects
944
1147
  # other than the object currently being evaluated.
945
1148
  # Corresponds to the JSON property `referentialRulesEnabled`
@@ -963,11 +1166,34 @@ module Google
963
1166
  @enabled = args[:enabled] if args.key?(:enabled)
964
1167
  @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
965
1168
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
1169
+ @monitoring = args[:monitoring] if args.key?(:monitoring)
966
1170
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
967
1171
  @template_library_installed = args[:template_library_installed] if args.key?(:template_library_installed)
968
1172
  end
969
1173
  end
970
1174
 
1175
+ # PolicyControllerMonitoring specifies the backends Policy Controller should
1176
+ # export metrics to. For example, to specify metrics should be exported to Cloud
1177
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
1178
+ class ConfigManagementPolicyControllerMonitoring
1179
+ include Google::Apis::Core::Hashable
1180
+
1181
+ # Specifies the list of backends Policy Controller will export to. An empty list
1182
+ # would effectively disable metrics export.
1183
+ # Corresponds to the JSON property `backends`
1184
+ # @return [Array<String>]
1185
+ attr_accessor :backends
1186
+
1187
+ def initialize(**args)
1188
+ update!(**args)
1189
+ end
1190
+
1191
+ # Update properties of this object
1192
+ def update!(**args)
1193
+ @backends = args[:backends] if args.key?(:backends)
1194
+ end
1195
+ end
1196
+
971
1197
  # State for PolicyControllerState.
972
1198
  class ConfigManagementPolicyControllerState
973
1199
  include Google::Apis::Core::Hashable
@@ -1860,6 +2086,34 @@ module Google
1860
2086
  end
1861
2087
  end
1862
2088
 
2089
+ # LocalControllerState contains the state of the local controller deployed in
2090
+ # the cluster.
2091
+ class LocalControllerState
2092
+ include Google::Apis::Core::Hashable
2093
+
2094
+ # Description represents the human readable description of the current state of
2095
+ # the local PE controller
2096
+ # Corresponds to the JSON property `description`
2097
+ # @return [String]
2098
+ attr_accessor :description
2099
+
2100
+ # InstallationState represents the state of deployment of the local PE
2101
+ # controller in the cluster.
2102
+ # Corresponds to the JSON property `installationState`
2103
+ # @return [String]
2104
+ attr_accessor :installation_state
2105
+
2106
+ def initialize(**args)
2107
+ update!(**args)
2108
+ end
2109
+
2110
+ # Update properties of this object
2111
+ def update!(**args)
2112
+ @description = args[:description] if args.key?(:description)
2113
+ @installation_state = args[:installation_state] if args.key?(:installation_state)
2114
+ end
2115
+ end
2116
+
1863
2117
  # A resource that represents Google Cloud Platform location.
1864
2118
  class Location
1865
2119
  include Google::Apis::Core::Hashable
@@ -2015,6 +2269,11 @@ module Google
2015
2269
  class MembershipEndpoint
2016
2270
  include Google::Apis::Core::Hashable
2017
2271
 
2272
+ # ApplianceCluster contains information specific to GDC Edge Appliance Clusters.
2273
+ # Corresponds to the JSON property `applianceCluster`
2274
+ # @return [Google::Apis::GkehubV1::ApplianceCluster]
2275
+ attr_accessor :appliance_cluster
2276
+
2018
2277
  # EdgeCluster contains information specific to Google Edge Clusters.
2019
2278
  # Corresponds to the JSON property `edgeCluster`
2020
2279
  # @return [Google::Apis::GkehubV1::EdgeCluster]
@@ -2054,6 +2313,7 @@ module Google
2054
2313
 
2055
2314
  # Update properties of this object
2056
2315
  def update!(**args)
2316
+ @appliance_cluster = args[:appliance_cluster] if args.key?(:appliance_cluster)
2057
2317
  @edge_cluster = args[:edge_cluster] if args.key?(:edge_cluster)
2058
2318
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
2059
2319
  @kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
@@ -2068,6 +2328,12 @@ module Google
2068
2328
  class MembershipFeatureSpec
2069
2329
  include Google::Apis::Core::Hashable
2070
2330
 
2331
+ # AnthosVMMembershipSpec contains the AnthosVM feature configuration for a
2332
+ # membership/cluster.
2333
+ # Corresponds to the JSON property `anthosvm`
2334
+ # @return [Google::Apis::GkehubV1::AnthosVmMembershipSpec]
2335
+ attr_accessor :anthosvm
2336
+
2071
2337
  # **Anthos Config Management**: Configuration for a single cluster. Intended to
2072
2338
  # parallel the ConfigManagement CR.
2073
2339
  # Corresponds to the JSON property `configmanagement`
@@ -2090,6 +2356,7 @@ module Google
2090
2356
 
2091
2357
  # Update properties of this object
2092
2358
  def update!(**args)
2359
+ @anthosvm = args[:anthosvm] if args.key?(:anthosvm)
2093
2360
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
2094
2361
  @identityservice = args[:identityservice] if args.key?(:identityservice)
2095
2362
  @mesh = args[:mesh] if args.key?(:mesh)
@@ -2101,6 +2368,13 @@ module Google
2101
2368
  class MembershipFeatureState
2102
2369
  include Google::Apis::Core::Hashable
2103
2370
 
2371
+ # AnthosVMFeatureState contains the state of the AnthosVM feature. It represents
2372
+ # the actual state in the cluster, while the AnthosVMMembershipSpec represents
2373
+ # the desired state.
2374
+ # Corresponds to the JSON property `anthosvm`
2375
+ # @return [Google::Apis::GkehubV1::AnthosVmMembershipState]
2376
+ attr_accessor :anthosvm
2377
+
2104
2378
  # State for App Dev Exp Feature.
2105
2379
  # Corresponds to the JSON property `appdevexperience`
2106
2380
  # @return [Google::Apis::GkehubV1::AppDevExperienceFeatureState]
@@ -2135,6 +2409,7 @@ module Google
2135
2409
 
2136
2410
  # Update properties of this object
2137
2411
  def update!(**args)
2412
+ @anthosvm = args[:anthosvm] if args.key?(:anthosvm)
2138
2413
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
2139
2414
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
2140
2415
  @identityservice = args[:identityservice] if args.key?(:identityservice)
@@ -2162,6 +2437,32 @@ module Google
2162
2437
  end
2163
2438
  end
2164
2439
 
2440
+ # MigrateSpec contains the migrate subfeature configuration.
2441
+ class MigrateSpec
2442
+ include Google::Apis::Core::Hashable
2443
+
2444
+ def initialize(**args)
2445
+ update!(**args)
2446
+ end
2447
+
2448
+ # Update properties of this object
2449
+ def update!(**args)
2450
+ end
2451
+ end
2452
+
2453
+ # MigrateState contains the state of Migrate subfeature
2454
+ class MigrateState
2455
+ include Google::Apis::Core::Hashable
2456
+
2457
+ def initialize(**args)
2458
+ update!(**args)
2459
+ end
2460
+
2461
+ # Update properties of this object
2462
+ def update!(**args)
2463
+ end
2464
+ end
2465
+
2165
2466
  # MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
2166
2467
  class MultiCloudCluster
2167
2468
  include Google::Apis::Core::Hashable
@@ -2230,6 +2531,11 @@ module Google
2230
2531
  attr_accessor :cluster_missing
2231
2532
  alias_method :cluster_missing?, :cluster_missing
2232
2533
 
2534
+ # Immutable. The on prem cluster's type.
2535
+ # Corresponds to the JSON property `clusterType`
2536
+ # @return [String]
2537
+ attr_accessor :cluster_type
2538
+
2233
2539
  # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
2234
2540
  # example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/
2235
2541
  # vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
@@ -2246,6 +2552,7 @@ module Google
2246
2552
  def update!(**args)
2247
2553
  @admin_cluster = args[:admin_cluster] if args.key?(:admin_cluster)
2248
2554
  @cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
2555
+ @cluster_type = args[:cluster_type] if args.key?(:cluster_type)
2249
2556
  @resource_link = args[:resource_link] if args.key?(:resource_link)
2250
2557
  end
2251
2558
  end
@@ -2597,6 +2904,32 @@ module Google
2597
2904
  end
2598
2905
  end
2599
2906
 
2907
+ # ServiceMeshSpec contains the serviceMesh subfeature configuration.
2908
+ class ServiceMeshSpec
2909
+ include Google::Apis::Core::Hashable
2910
+
2911
+ def initialize(**args)
2912
+ update!(**args)
2913
+ end
2914
+
2915
+ # Update properties of this object
2916
+ def update!(**args)
2917
+ end
2918
+ end
2919
+
2920
+ # ServiceMeshState contains the state of Service Mesh subfeature
2921
+ class ServiceMeshState
2922
+ include Google::Apis::Core::Hashable
2923
+
2924
+ def initialize(**args)
2925
+ update!(**args)
2926
+ end
2927
+
2928
+ # Update properties of this object
2929
+ def update!(**args)
2930
+ end
2931
+ end
2932
+
2600
2933
  # Structured and human-readable details for a status.
2601
2934
  class ServiceMeshStatusDetails
2602
2935
  include Google::Apis::Core::Hashable
@@ -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.26.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220429"
25
+ REVISION = "20220613"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,30 @@ module Google
22
22
  module Apis
23
23
  module GkehubV1
24
24
 
25
+ class AnthosVmMembershipSpec
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AnthosVmMembershipState
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AnthosVmSubFeatureSpec
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AnthosVmSubFeatureState
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
25
49
  class AppDevExperienceFeatureSpec
26
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
51
 
@@ -34,6 +58,12 @@ module Google
34
58
  include Google::Apis::Core::JsonObjectSupport
35
59
  end
36
60
 
61
+ class ApplianceCluster
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
37
67
  class AuditConfig
38
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
69
 
@@ -166,6 +196,12 @@ module Google
166
196
  include Google::Apis::Core::JsonObjectSupport
167
197
  end
168
198
 
199
+ class ConfigManagementOciConfig
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
169
205
  class ConfigManagementOperatorState
170
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
207
 
@@ -178,6 +214,12 @@ module Google
178
214
  include Google::Apis::Core::JsonObjectSupport
179
215
  end
180
216
 
217
+ class ConfigManagementPolicyControllerMonitoring
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
181
223
  class ConfigManagementPolicyControllerState
182
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
225
 
@@ -322,6 +364,12 @@ module Google
322
364
  include Google::Apis::Core::JsonObjectSupport
323
365
  end
324
366
 
367
+ class LocalControllerState
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
325
373
  class Location
326
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
375
 
@@ -358,6 +406,18 @@ module Google
358
406
  include Google::Apis::Core::JsonObjectSupport
359
407
  end
360
408
 
409
+ class MigrateSpec
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class MigrateState
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
361
421
  class MultiCloudCluster
362
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
423
 
@@ -424,6 +484,18 @@ module Google
424
484
  include Google::Apis::Core::JsonObjectSupport
425
485
  end
426
486
 
487
+ class ServiceMeshSpec
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class ServiceMeshState
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
427
499
  class ServiceMeshStatusDetails
428
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
501
 
@@ -460,6 +532,47 @@ module Google
460
532
  include Google::Apis::Core::JsonObjectSupport
461
533
  end
462
534
 
535
+ class AnthosVmMembershipSpec
536
+ # @private
537
+ class Representation < Google::Apis::Core::JsonRepresentation
538
+ collection :subfeatures_spec, as: 'subfeaturesSpec', class: Google::Apis::GkehubV1::AnthosVmSubFeatureSpec, decorator: Google::Apis::GkehubV1::AnthosVmSubFeatureSpec::Representation
539
+
540
+ end
541
+ end
542
+
543
+ class AnthosVmMembershipState
544
+ # @private
545
+ class Representation < Google::Apis::Core::JsonRepresentation
546
+ property :local_controller_state, as: 'localControllerState', class: Google::Apis::GkehubV1::LocalControllerState, decorator: Google::Apis::GkehubV1::LocalControllerState::Representation
547
+
548
+ collection :subfeature_state, as: 'subfeatureState', class: Google::Apis::GkehubV1::AnthosVmSubFeatureState, decorator: Google::Apis::GkehubV1::AnthosVmSubFeatureState::Representation
549
+
550
+ end
551
+ end
552
+
553
+ class AnthosVmSubFeatureSpec
554
+ # @private
555
+ class Representation < Google::Apis::Core::JsonRepresentation
556
+ property :enabled, as: 'enabled'
557
+ property :migrate_spec, as: 'migrateSpec', class: Google::Apis::GkehubV1::MigrateSpec, decorator: Google::Apis::GkehubV1::MigrateSpec::Representation
558
+
559
+ property :service_mesh_spec, as: 'serviceMeshSpec', class: Google::Apis::GkehubV1::ServiceMeshSpec, decorator: Google::Apis::GkehubV1::ServiceMeshSpec::Representation
560
+
561
+ end
562
+ end
563
+
564
+ class AnthosVmSubFeatureState
565
+ # @private
566
+ class Representation < Google::Apis::Core::JsonRepresentation
567
+ property :description, as: 'description'
568
+ property :installation_state, as: 'installationState'
569
+ property :migrate_state, as: 'migrateState', class: Google::Apis::GkehubV1::MigrateState, decorator: Google::Apis::GkehubV1::MigrateState::Representation
570
+
571
+ property :service_mesh_state, as: 'serviceMeshState', class: Google::Apis::GkehubV1::ServiceMeshState, decorator: Google::Apis::GkehubV1::ServiceMeshState::Representation
572
+
573
+ end
574
+ end
575
+
463
576
  class AppDevExperienceFeatureSpec
464
577
  # @private
465
578
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -474,6 +587,13 @@ module Google
474
587
  end
475
588
  end
476
589
 
590
+ class ApplianceCluster
591
+ # @private
592
+ class Representation < Google::Apis::Core::JsonRepresentation
593
+ property :resource_link, as: 'resourceLink'
594
+ end
595
+ end
596
+
477
597
  class AuditConfig
478
598
  # @private
479
599
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -543,6 +663,8 @@ module Google
543
663
  property :enabled, as: 'enabled'
544
664
  property :git, as: 'git', class: Google::Apis::GkehubV1::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1::ConfigManagementGitConfig::Representation
545
665
 
666
+ property :oci, as: 'oci', class: Google::Apis::GkehubV1::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1::ConfigManagementOciConfig::Representation
667
+
546
668
  property :prevent_drift, as: 'preventDrift'
547
669
  property :source_format, as: 'sourceFormat'
548
670
  end
@@ -700,6 +822,17 @@ module Google
700
822
  end
701
823
  end
702
824
 
825
+ class ConfigManagementOciConfig
826
+ # @private
827
+ class Representation < Google::Apis::Core::JsonRepresentation
828
+ property :gcp_service_account_email, as: 'gcpServiceAccountEmail'
829
+ property :policy_dir, as: 'policyDir'
830
+ property :secret_type, as: 'secretType'
831
+ property :sync_repo, as: 'syncRepo'
832
+ property :sync_wait_secs, :numeric_string => true, as: 'syncWaitSecs'
833
+ end
834
+ end
835
+
703
836
  class ConfigManagementOperatorState
704
837
  # @private
705
838
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -717,11 +850,20 @@ module Google
717
850
  property :enabled, as: 'enabled'
718
851
  collection :exemptable_namespaces, as: 'exemptableNamespaces'
719
852
  property :log_denies_enabled, as: 'logDeniesEnabled'
853
+ property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1::ConfigManagementPolicyControllerMonitoring, decorator: Google::Apis::GkehubV1::ConfigManagementPolicyControllerMonitoring::Representation
854
+
720
855
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
721
856
  property :template_library_installed, as: 'templateLibraryInstalled'
722
857
  end
723
858
  end
724
859
 
860
+ class ConfigManagementPolicyControllerMonitoring
861
+ # @private
862
+ class Representation < Google::Apis::Core::JsonRepresentation
863
+ collection :backends, as: 'backends'
864
+ end
865
+ end
866
+
725
867
  class ConfigManagementPolicyControllerState
726
868
  # @private
727
869
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -967,6 +1109,14 @@ module Google
967
1109
  end
968
1110
  end
969
1111
 
1112
+ class LocalControllerState
1113
+ # @private
1114
+ class Representation < Google::Apis::Core::JsonRepresentation
1115
+ property :description, as: 'description'
1116
+ property :installation_state, as: 'installationState'
1117
+ end
1118
+ end
1119
+
970
1120
  class Location
971
1121
  # @private
972
1122
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1002,6 +1152,8 @@ module Google
1002
1152
  class MembershipEndpoint
1003
1153
  # @private
1004
1154
  class Representation < Google::Apis::Core::JsonRepresentation
1155
+ property :appliance_cluster, as: 'applianceCluster', class: Google::Apis::GkehubV1::ApplianceCluster, decorator: Google::Apis::GkehubV1::ApplianceCluster::Representation
1156
+
1005
1157
  property :edge_cluster, as: 'edgeCluster', class: Google::Apis::GkehubV1::EdgeCluster, decorator: Google::Apis::GkehubV1::EdgeCluster::Representation
1006
1158
 
1007
1159
  property :gke_cluster, as: 'gkeCluster', class: Google::Apis::GkehubV1::GkeCluster, decorator: Google::Apis::GkehubV1::GkeCluster::Representation
@@ -1020,6 +1172,8 @@ module Google
1020
1172
  class MembershipFeatureSpec
1021
1173
  # @private
1022
1174
  class Representation < Google::Apis::Core::JsonRepresentation
1175
+ property :anthosvm, as: 'anthosvm', class: Google::Apis::GkehubV1::AnthosVmMembershipSpec, decorator: Google::Apis::GkehubV1::AnthosVmMembershipSpec::Representation
1176
+
1023
1177
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1::ConfigManagementMembershipSpec::Representation
1024
1178
 
1025
1179
  property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1::IdentityServiceMembershipSpec::Representation
@@ -1032,6 +1186,8 @@ module Google
1032
1186
  class MembershipFeatureState
1033
1187
  # @private
1034
1188
  class Representation < Google::Apis::Core::JsonRepresentation
1189
+ property :anthosvm, as: 'anthosvm', class: Google::Apis::GkehubV1::AnthosVmMembershipState, decorator: Google::Apis::GkehubV1::AnthosVmMembershipState::Representation
1190
+
1035
1191
  property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1::AppDevExperienceFeatureState, decorator: Google::Apis::GkehubV1::AppDevExperienceFeatureState::Representation
1036
1192
 
1037
1193
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1::ConfigManagementMembershipState::Representation
@@ -1052,6 +1208,18 @@ module Google
1052
1208
  end
1053
1209
  end
1054
1210
 
1211
+ class MigrateSpec
1212
+ # @private
1213
+ class Representation < Google::Apis::Core::JsonRepresentation
1214
+ end
1215
+ end
1216
+
1217
+ class MigrateState
1218
+ # @private
1219
+ class Representation < Google::Apis::Core::JsonRepresentation
1220
+ end
1221
+ end
1222
+
1055
1223
  class MultiCloudCluster
1056
1224
  # @private
1057
1225
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1072,6 +1240,7 @@ module Google
1072
1240
  class Representation < Google::Apis::Core::JsonRepresentation
1073
1241
  property :admin_cluster, as: 'adminCluster'
1074
1242
  property :cluster_missing, as: 'clusterMissing'
1243
+ property :cluster_type, as: 'clusterType'
1075
1244
  property :resource_link, as: 'resourceLink'
1076
1245
  end
1077
1246
  end
@@ -1154,6 +1323,18 @@ module Google
1154
1323
  end
1155
1324
  end
1156
1325
 
1326
+ class ServiceMeshSpec
1327
+ # @private
1328
+ class Representation < Google::Apis::Core::JsonRepresentation
1329
+ end
1330
+ end
1331
+
1332
+ class ServiceMeshState
1333
+ # @private
1334
+ class Representation < Google::Apis::Core::JsonRepresentation
1335
+ end
1336
+ end
1337
+
1157
1338
  class ServiceMeshStatusDetails
1158
1339
  # @private
1159
1340
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -253,8 +253,9 @@ module Google
253
253
  # Gets the access control policy for a resource. Returns an empty policy if the
254
254
  # resource exists and does not have a policy set.
255
255
  # @param [String] resource
256
- # REQUIRED: The resource for which the policy is being requested. See the
257
- # operation documentation for the appropriate value for this field.
256
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
257
+ # names](https://cloud.google.com/apis/design/resource_names) for the
258
+ # appropriate value for this field.
258
259
  # @param [Fixnum] options_requested_policy_version
259
260
  # Optional. The maximum policy version that will be used to format the policy.
260
261
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -398,8 +399,9 @@ module Google
398
399
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
399
400
  # PERMISSION_DENIED` errors.
400
401
  # @param [String] resource
401
- # REQUIRED: The resource for which the policy is being specified. See the
402
- # operation documentation for the appropriate value for this field.
402
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
403
+ # names](https://cloud.google.com/apis/design/resource_names) for the
404
+ # appropriate value for this field.
403
405
  # @param [Google::Apis::GkehubV1::SetIamPolicyRequest] set_iam_policy_request_object
404
406
  # @param [String] fields
405
407
  # Selector specifying which fields to include in a partial response.
@@ -436,8 +438,9 @@ module Google
436
438
  # permission-aware UIs and command-line tools, not for authorization checking.
437
439
  # This operation may "fail open" without warning.
438
440
  # @param [String] resource
439
- # REQUIRED: The resource for which the policy detail is being requested. See the
440
- # operation documentation for the appropriate value for this field.
441
+ # REQUIRED: The resource for which the policy detail is being requested. See [
442
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
443
+ # appropriate value for this field.
441
444
  # @param [Google::Apis::GkehubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
442
445
  # @param [String] fields
443
446
  # Selector specifying which fields to include in a partial response.
@@ -665,8 +668,9 @@ module Google
665
668
  # Gets the access control policy for a resource. Returns an empty policy if the
666
669
  # resource exists and does not have a policy set.
667
670
  # @param [String] resource
668
- # REQUIRED: The resource for which the policy is being requested. See the
669
- # operation documentation for the appropriate value for this field.
671
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
672
+ # names](https://cloud.google.com/apis/design/resource_names) for the
673
+ # appropriate value for this field.
670
674
  # @param [Fixnum] options_requested_policy_version
671
675
  # Optional. The maximum policy version that will be used to format the policy.
672
676
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -811,8 +815,9 @@ module Google
811
815
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
812
816
  # PERMISSION_DENIED` errors.
813
817
  # @param [String] resource
814
- # REQUIRED: The resource for which the policy is being specified. See the
815
- # operation documentation for the appropriate value for this field.
818
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
819
+ # names](https://cloud.google.com/apis/design/resource_names) for the
820
+ # appropriate value for this field.
816
821
  # @param [Google::Apis::GkehubV1::SetIamPolicyRequest] set_iam_policy_request_object
817
822
  # @param [String] fields
818
823
  # Selector specifying which fields to include in a partial response.
@@ -849,8 +854,9 @@ module Google
849
854
  # permission-aware UIs and command-line tools, not for authorization checking.
850
855
  # This operation may "fail open" without warning.
851
856
  # @param [String] resource
852
- # REQUIRED: The resource for which the policy detail is being requested. See the
853
- # operation documentation for the appropriate value for this field.
857
+ # REQUIRED: The resource for which the policy detail is being requested. See [
858
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
859
+ # appropriate value for this field.
854
860
  # @param [Google::Apis::GkehubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
855
861
  # @param [String] fields
856
862
  # Selector specifying which fields to include in a partial response.
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.26.0
4
+ version: 0.29.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-05-09 00:00:00.000000000 Z
11
+ date: 2022-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.6'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.6'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.29.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for GKE Hub API V1