google-apis-gkehub_v1 0.48.0 → 0.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/gkehub_v1/classes.rb +168 -53
- data/lib/google/apis/gkehub_v1/gem_version.rb +2 -2
- data/lib/google/apis/gkehub_v1/representations.rb +67 -17
- data/lib/google/apis/gkehub_v1/service.rb +255 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f53b550096d6977d0e598c408599faa1cf4887ce81bebc4f841068bec9dfc329
|
4
|
+
data.tar.gz: 1faba506e9a10e8b5295a1dd34618b9c05a4a4f3805b5baed82f73dad94d0920
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c15648a3d8e5cce2881ad6a6b533c38180043914cb8623fcbab0f8083d7f64cd7c938db56b7e5a35443f48336f7988e5d89cce1737acf236f68a84f8d27bc79d
|
7
|
+
data.tar.gz: 16880f164b10f98ce47f7d430caaef556ac7a50f9d122fe8c2506a9d25d20a52c136f5436276cd4cb6e2dc7b389d3484fe6f85e53cea9a20e8f2a1c12a9da127
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1
|
2
2
|
|
3
|
+
### v0.50.0 (2023-06-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230620
|
6
|
+
|
7
|
+
### v0.49.0 (2023-06-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230609
|
10
|
+
|
3
11
|
### v0.48.0 (2023-06-11)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230606
|
@@ -381,11 +381,9 @@ 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
|
385
|
-
# will be
|
386
|
-
#
|
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).
|
384
|
+
# set to false, all other ConfigSync fields will be ignored, ConfigSync
|
385
|
+
# resources will be deleted. If omitted, ConfigSync resources will be managed
|
386
|
+
# depends on the presence of the git or oci field.
|
389
387
|
# Corresponds to the JSON property `enabled`
|
390
388
|
# @return [Boolean]
|
391
389
|
attr_accessor :enabled
|
@@ -396,17 +394,12 @@ module Google
|
|
396
394
|
# @return [Google::Apis::GkehubV1::ConfigManagementGitConfig]
|
397
395
|
attr_accessor :git
|
398
396
|
|
399
|
-
#
|
400
|
-
#
|
401
|
-
# @return [Google::Apis::GkehubV1::ConfigManagementManaged]
|
402
|
-
attr_accessor :managed
|
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
|
397
|
+
# The Email of the Google Cloud Service Account (GSA) used for exporting Config
|
398
|
+
# Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
|
406
399
|
# enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
|
407
400
|
# metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
|
408
401
|
# namespace `config-management-monitoring` should be binded to the GSA. This
|
409
|
-
# field is required when
|
402
|
+
# field is required when automatic Feature management is enabled.
|
410
403
|
# Corresponds to the JSON property `metricsGcpServiceAccountEmail`
|
411
404
|
# @return [String]
|
412
405
|
attr_accessor :metrics_gcp_service_account_email
|
@@ -430,6 +423,14 @@ module Google
|
|
430
423
|
# @return [String]
|
431
424
|
attr_accessor :source_format
|
432
425
|
|
426
|
+
# Set to true to stop syncing configs for a single cluster when automatic
|
427
|
+
# Feature management is enabled. Default to false. The field will be ignored
|
428
|
+
# when automatic Feature management is disabled.
|
429
|
+
# Corresponds to the JSON property `stopSyncing`
|
430
|
+
# @return [Boolean]
|
431
|
+
attr_accessor :stop_syncing
|
432
|
+
alias_method :stop_syncing?, :stop_syncing
|
433
|
+
|
433
434
|
def initialize(**args)
|
434
435
|
update!(**args)
|
435
436
|
end
|
@@ -439,11 +440,11 @@ module Google
|
|
439
440
|
@allow_vertical_scale = args[:allow_vertical_scale] if args.key?(:allow_vertical_scale)
|
440
441
|
@enabled = args[:enabled] if args.key?(:enabled)
|
441
442
|
@git = args[:git] if args.key?(:git)
|
442
|
-
@managed = args[:managed] if args.key?(:managed)
|
443
443
|
@metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
|
444
444
|
@oci = args[:oci] if args.key?(:oci)
|
445
445
|
@prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
|
446
446
|
@source_format = args[:source_format] if args.key?(:source_format)
|
447
|
+
@stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
|
447
448
|
end
|
448
449
|
end
|
449
450
|
|
@@ -685,7 +686,7 @@ module Google
|
|
685
686
|
class ConfigManagementGitConfig
|
686
687
|
include Google::Apis::Core::Hashable
|
687
688
|
|
688
|
-
# The
|
689
|
+
# The Google Cloud Service Account Email used for auth when secret_type is
|
689
690
|
# gcpServiceAccount.
|
690
691
|
# Corresponds to the JSON property `gcpServiceAccountEmail`
|
691
692
|
# @return [String]
|
@@ -905,36 +906,6 @@ module Google
|
|
905
906
|
end
|
906
907
|
end
|
907
908
|
|
908
|
-
# Configuration for Managed Config Sync.
|
909
|
-
class ConfigManagementManaged
|
910
|
-
include Google::Apis::Core::Hashable
|
911
|
-
|
912
|
-
# Set to true to enable Managed Config Sync. Defaults to false which disables
|
913
|
-
# Managed Config Sync. Setting this field to true when configSync.enabled is
|
914
|
-
# false is invalid.
|
915
|
-
# Corresponds to the JSON property `enabled`
|
916
|
-
# @return [Boolean]
|
917
|
-
attr_accessor :enabled
|
918
|
-
alias_method :enabled?, :enabled
|
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
|
-
|
927
|
-
def initialize(**args)
|
928
|
-
update!(**args)
|
929
|
-
end
|
930
|
-
|
931
|
-
# Update properties of this object
|
932
|
-
def update!(**args)
|
933
|
-
@enabled = args[:enabled] if args.key?(:enabled)
|
934
|
-
@stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
|
935
|
-
end
|
936
|
-
end
|
937
|
-
|
938
909
|
# **Anthos Config Management**: Configuration for a single cluster. Intended to
|
939
910
|
# parallel the ConfigManagement CR.
|
940
911
|
class ConfigManagementMembershipSpec
|
@@ -960,6 +931,11 @@ module Google
|
|
960
931
|
# @return [Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig]
|
961
932
|
attr_accessor :hierarchy_controller
|
962
933
|
|
934
|
+
# Enables automatic Feature management.
|
935
|
+
# Corresponds to the JSON property `management`
|
936
|
+
# @return [String]
|
937
|
+
attr_accessor :management
|
938
|
+
|
963
939
|
# Configuration for Policy Controller
|
964
940
|
# Corresponds to the JSON property `policyController`
|
965
941
|
# @return [Google::Apis::GkehubV1::ConfigManagementPolicyController]
|
@@ -979,6 +955,7 @@ module Google
|
|
979
955
|
@cluster = args[:cluster] if args.key?(:cluster)
|
980
956
|
@config_sync = args[:config_sync] if args.key?(:config_sync)
|
981
957
|
@hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
|
958
|
+
@management = args[:management] if args.key?(:management)
|
982
959
|
@policy_controller = args[:policy_controller] if args.key?(:policy_controller)
|
983
960
|
@version = args[:version] if args.key?(:version)
|
984
961
|
end
|
@@ -1039,7 +1016,7 @@ module Google
|
|
1039
1016
|
class ConfigManagementOciConfig
|
1040
1017
|
include Google::Apis::Core::Hashable
|
1041
1018
|
|
1042
|
-
# The
|
1019
|
+
# The Google Cloud Service Account Email used for auth when secret_type is
|
1043
1020
|
# gcpServiceAccount.
|
1044
1021
|
# Corresponds to the JSON property `gcpServiceAccountEmail`
|
1045
1022
|
# @return [String]
|
@@ -1168,6 +1145,11 @@ module Google
|
|
1168
1145
|
attr_accessor :template_library_installed
|
1169
1146
|
alias_method :template_library_installed?, :template_library_installed
|
1170
1147
|
|
1148
|
+
# Output only. Last time this membership spec was updated.
|
1149
|
+
# Corresponds to the JSON property `updateTime`
|
1150
|
+
# @return [String]
|
1151
|
+
attr_accessor :update_time
|
1152
|
+
|
1171
1153
|
def initialize(**args)
|
1172
1154
|
update!(**args)
|
1173
1155
|
end
|
@@ -1182,6 +1164,7 @@ module Google
|
|
1182
1164
|
@mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
|
1183
1165
|
@referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
|
1184
1166
|
@template_library_installed = args[:template_library_installed] if args.key?(:template_library_installed)
|
1167
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1185
1168
|
end
|
1186
1169
|
end
|
1187
1170
|
|
@@ -1189,6 +1172,11 @@ module Google
|
|
1189
1172
|
class ConfigManagementPolicyControllerMigration
|
1190
1173
|
include Google::Apis::Core::Hashable
|
1191
1174
|
|
1175
|
+
# Last time this membership spec was copied to PoCo feature.
|
1176
|
+
# Corresponds to the JSON property `copyTime`
|
1177
|
+
# @return [String]
|
1178
|
+
attr_accessor :copy_time
|
1179
|
+
|
1192
1180
|
# Stage of the migration.
|
1193
1181
|
# Corresponds to the JSON property `stage`
|
1194
1182
|
# @return [String]
|
@@ -1200,6 +1188,7 @@ module Google
|
|
1200
1188
|
|
1201
1189
|
# Update properties of this object
|
1202
1190
|
def update!(**args)
|
1191
|
+
@copy_time = args[:copy_time] if args.key?(:copy_time)
|
1203
1192
|
@stage = args[:stage] if args.key?(:stage)
|
1204
1193
|
end
|
1205
1194
|
end
|
@@ -1662,6 +1651,87 @@ module Google
|
|
1662
1651
|
end
|
1663
1652
|
end
|
1664
1653
|
|
1654
|
+
# Fleet contains the Fleet-wide metadata and configuration.
|
1655
|
+
class Fleet
|
1656
|
+
include Google::Apis::Core::Hashable
|
1657
|
+
|
1658
|
+
# Output only. When the Fleet was created.
|
1659
|
+
# Corresponds to the JSON property `createTime`
|
1660
|
+
# @return [String]
|
1661
|
+
attr_accessor :create_time
|
1662
|
+
|
1663
|
+
# Output only. When the Fleet was deleted.
|
1664
|
+
# Corresponds to the JSON property `deleteTime`
|
1665
|
+
# @return [String]
|
1666
|
+
attr_accessor :delete_time
|
1667
|
+
|
1668
|
+
# Optional. A user-assigned display name of the Fleet. When present, it must be
|
1669
|
+
# between 4 to 30 characters. Allowed characters are: lowercase and uppercase
|
1670
|
+
# letters, numbers, hyphen, single-quote, double-quote, space, and exclamation
|
1671
|
+
# point. Example: `Production Fleet`
|
1672
|
+
# Corresponds to the JSON property `displayName`
|
1673
|
+
# @return [String]
|
1674
|
+
attr_accessor :display_name
|
1675
|
+
|
1676
|
+
# Output only. The full, unique resource name of this fleet in the format of `
|
1677
|
+
# projects/`project`/locations/`location`/fleets/`fleet``. Each Google Cloud
|
1678
|
+
# project can have at most one fleet resource, named "default".
|
1679
|
+
# Corresponds to the JSON property `name`
|
1680
|
+
# @return [String]
|
1681
|
+
attr_accessor :name
|
1682
|
+
|
1683
|
+
# FleetLifecycleState describes the state of a Fleet resource.
|
1684
|
+
# Corresponds to the JSON property `state`
|
1685
|
+
# @return [Google::Apis::GkehubV1::FleetLifecycleState]
|
1686
|
+
attr_accessor :state
|
1687
|
+
|
1688
|
+
# Output only. Google-generated UUID for this resource. This is unique across
|
1689
|
+
# all Fleet resources. If a Fleet resource is deleted and another resource with
|
1690
|
+
# the same name is created, it gets a different uid.
|
1691
|
+
# Corresponds to the JSON property `uid`
|
1692
|
+
# @return [String]
|
1693
|
+
attr_accessor :uid
|
1694
|
+
|
1695
|
+
# Output only. When the Fleet was last updated.
|
1696
|
+
# Corresponds to the JSON property `updateTime`
|
1697
|
+
# @return [String]
|
1698
|
+
attr_accessor :update_time
|
1699
|
+
|
1700
|
+
def initialize(**args)
|
1701
|
+
update!(**args)
|
1702
|
+
end
|
1703
|
+
|
1704
|
+
# Update properties of this object
|
1705
|
+
def update!(**args)
|
1706
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1707
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
1708
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1709
|
+
@name = args[:name] if args.key?(:name)
|
1710
|
+
@state = args[:state] if args.key?(:state)
|
1711
|
+
@uid = args[:uid] if args.key?(:uid)
|
1712
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1713
|
+
end
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
# FleetLifecycleState describes the state of a Fleet resource.
|
1717
|
+
class FleetLifecycleState
|
1718
|
+
include Google::Apis::Core::Hashable
|
1719
|
+
|
1720
|
+
# Output only. The current state of the Fleet resource.
|
1721
|
+
# Corresponds to the JSON property `code`
|
1722
|
+
# @return [String]
|
1723
|
+
attr_accessor :code
|
1724
|
+
|
1725
|
+
def initialize(**args)
|
1726
|
+
update!(**args)
|
1727
|
+
end
|
1728
|
+
|
1729
|
+
# Update properties of this object
|
1730
|
+
def update!(**args)
|
1731
|
+
@code = args[:code] if args.key?(:code)
|
1732
|
+
end
|
1733
|
+
end
|
1734
|
+
|
1665
1735
|
# **Fleet Observability**: The Hub-wide input for the FleetObservability feature.
|
1666
1736
|
class FleetObservabilityFeatureSpec
|
1667
1737
|
include Google::Apis::Core::Hashable
|
@@ -2213,6 +2283,33 @@ module Google
|
|
2213
2283
|
end
|
2214
2284
|
end
|
2215
2285
|
|
2286
|
+
# Response message for the `GkeHub.ListFleetsResponse` method.
|
2287
|
+
class ListFleetsResponse
|
2288
|
+
include Google::Apis::Core::Hashable
|
2289
|
+
|
2290
|
+
# The list of matching fleets.
|
2291
|
+
# Corresponds to the JSON property `fleets`
|
2292
|
+
# @return [Array<Google::Apis::GkehubV1::Fleet>]
|
2293
|
+
attr_accessor :fleets
|
2294
|
+
|
2295
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
2296
|
+
# field is omitted, there are no subsequent pages. The token is only valid for
|
2297
|
+
# 1h.
|
2298
|
+
# Corresponds to the JSON property `nextPageToken`
|
2299
|
+
# @return [String]
|
2300
|
+
attr_accessor :next_page_token
|
2301
|
+
|
2302
|
+
def initialize(**args)
|
2303
|
+
update!(**args)
|
2304
|
+
end
|
2305
|
+
|
2306
|
+
# Update properties of this object
|
2307
|
+
def update!(**args)
|
2308
|
+
@fleets = args[:fleets] if args.key?(:fleets)
|
2309
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2310
|
+
end
|
2311
|
+
end
|
2312
|
+
|
2216
2313
|
# The response message for Locations.ListLocations.
|
2217
2314
|
class ListLocationsResponse
|
2218
2315
|
include Google::Apis::Core::Hashable
|
@@ -2670,12 +2767,6 @@ module Google
|
|
2670
2767
|
# @return [Google::Apis::GkehubV1::ConfigManagementMembershipSpec]
|
2671
2768
|
attr_accessor :configmanagement
|
2672
2769
|
|
2673
|
-
# True if value of `feature_spec` was inherited from a fleet-level default.
|
2674
|
-
# Corresponds to the JSON property `fleetInherited`
|
2675
|
-
# @return [Boolean]
|
2676
|
-
attr_accessor :fleet_inherited
|
2677
|
-
alias_method :fleet_inherited?, :fleet_inherited
|
2678
|
-
|
2679
2770
|
# **FleetObservability**: The membership-specific input for FleetObservability
|
2680
2771
|
# feature.
|
2681
2772
|
# Corresponds to the JSON property `fleetobservability`
|
@@ -2692,6 +2783,11 @@ module Google
|
|
2692
2783
|
# @return [Google::Apis::GkehubV1::ServiceMeshMembershipSpec]
|
2693
2784
|
attr_accessor :mesh
|
2694
2785
|
|
2786
|
+
# Origin defines where this MembershipFeatureSpec originated from.
|
2787
|
+
# Corresponds to the JSON property `origin`
|
2788
|
+
# @return [Google::Apis::GkehubV1::Origin]
|
2789
|
+
attr_accessor :origin
|
2790
|
+
|
2695
2791
|
def initialize(**args)
|
2696
2792
|
update!(**args)
|
2697
2793
|
end
|
@@ -2699,10 +2795,10 @@ module Google
|
|
2699
2795
|
# Update properties of this object
|
2700
2796
|
def update!(**args)
|
2701
2797
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
2702
|
-
@fleet_inherited = args[:fleet_inherited] if args.key?(:fleet_inherited)
|
2703
2798
|
@fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
|
2704
2799
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
2705
2800
|
@mesh = args[:mesh] if args.key?(:mesh)
|
2801
|
+
@origin = args[:origin] if args.key?(:origin)
|
2706
2802
|
end
|
2707
2803
|
end
|
2708
2804
|
|
@@ -3048,6 +3144,25 @@ module Google
|
|
3048
3144
|
end
|
3049
3145
|
end
|
3050
3146
|
|
3147
|
+
# Origin defines where this MembershipFeatureSpec originated from.
|
3148
|
+
class Origin
|
3149
|
+
include Google::Apis::Core::Hashable
|
3150
|
+
|
3151
|
+
# Type specifies which type of origin is set.
|
3152
|
+
# Corresponds to the JSON property `type`
|
3153
|
+
# @return [String]
|
3154
|
+
attr_accessor :type
|
3155
|
+
|
3156
|
+
def initialize(**args)
|
3157
|
+
update!(**args)
|
3158
|
+
end
|
3159
|
+
|
3160
|
+
# Update properties of this object
|
3161
|
+
def update!(**args)
|
3162
|
+
@type = args[:type] if args.key?(:type)
|
3163
|
+
end
|
3164
|
+
end
|
3165
|
+
|
3051
3166
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3052
3167
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
3053
3168
|
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
@@ -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.50.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 = "20230620"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -172,12 +172,6 @@ module Google
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
-
class ConfigManagementManaged
|
176
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
-
|
178
|
-
include Google::Apis::Core::JsonObjectSupport
|
179
|
-
end
|
180
|
-
|
181
175
|
class ConfigManagementMembershipSpec
|
182
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
177
|
|
@@ -286,6 +280,18 @@ module Google
|
|
286
280
|
include Google::Apis::Core::JsonObjectSupport
|
287
281
|
end
|
288
282
|
|
283
|
+
class Fleet
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class FleetLifecycleState
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
289
295
|
class FleetObservabilityFeatureSpec
|
290
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
297
|
|
@@ -382,6 +388,12 @@ module Google
|
|
382
388
|
include Google::Apis::Core::JsonObjectSupport
|
383
389
|
end
|
384
390
|
|
391
|
+
class ListFleetsResponse
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
385
397
|
class ListLocationsResponse
|
386
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
399
|
|
@@ -496,6 +508,12 @@ module Google
|
|
496
508
|
include Google::Apis::Core::JsonObjectSupport
|
497
509
|
end
|
498
510
|
|
511
|
+
class Origin
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
499
517
|
class Policy
|
500
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
519
|
|
@@ -699,13 +717,12 @@ module Google
|
|
699
717
|
property :enabled, as: 'enabled'
|
700
718
|
property :git, as: 'git', class: Google::Apis::GkehubV1::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1::ConfigManagementGitConfig::Representation
|
701
719
|
|
702
|
-
property :managed, as: 'managed', class: Google::Apis::GkehubV1::ConfigManagementManaged, decorator: Google::Apis::GkehubV1::ConfigManagementManaged::Representation
|
703
|
-
|
704
720
|
property :metrics_gcp_service_account_email, as: 'metricsGcpServiceAccountEmail'
|
705
721
|
property :oci, as: 'oci', class: Google::Apis::GkehubV1::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1::ConfigManagementOciConfig::Representation
|
706
722
|
|
707
723
|
property :prevent_drift, as: 'preventDrift'
|
708
724
|
property :source_format, as: 'sourceFormat'
|
725
|
+
property :stop_syncing, as: 'stopSyncing'
|
709
726
|
end
|
710
727
|
end
|
711
728
|
|
@@ -841,14 +858,6 @@ module Google
|
|
841
858
|
end
|
842
859
|
end
|
843
860
|
|
844
|
-
class ConfigManagementManaged
|
845
|
-
# @private
|
846
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
847
|
-
property :enabled, as: 'enabled'
|
848
|
-
property :stop_syncing, as: 'stopSyncing'
|
849
|
-
end
|
850
|
-
end
|
851
|
-
|
852
861
|
class ConfigManagementMembershipSpec
|
853
862
|
# @private
|
854
863
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -857,6 +866,7 @@ module Google
|
|
857
866
|
|
858
867
|
property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig::Representation
|
859
868
|
|
869
|
+
property :management, as: 'management'
|
860
870
|
property :policy_controller, as: 'policyController', class: Google::Apis::GkehubV1::ConfigManagementPolicyController, decorator: Google::Apis::GkehubV1::ConfigManagementPolicyController::Representation
|
861
871
|
|
862
872
|
property :version, as: 'version'
|
@@ -913,12 +923,14 @@ module Google
|
|
913
923
|
property :mutation_enabled, as: 'mutationEnabled'
|
914
924
|
property :referential_rules_enabled, as: 'referentialRulesEnabled'
|
915
925
|
property :template_library_installed, as: 'templateLibraryInstalled'
|
926
|
+
property :update_time, as: 'updateTime'
|
916
927
|
end
|
917
928
|
end
|
918
929
|
|
919
930
|
class ConfigManagementPolicyControllerMigration
|
920
931
|
# @private
|
921
932
|
class Representation < Google::Apis::Core::JsonRepresentation
|
933
|
+
property :copy_time, as: 'copyTime'
|
922
934
|
property :stage, as: 'stage'
|
923
935
|
end
|
924
936
|
end
|
@@ -1048,6 +1060,27 @@ module Google
|
|
1048
1060
|
end
|
1049
1061
|
end
|
1050
1062
|
|
1063
|
+
class Fleet
|
1064
|
+
# @private
|
1065
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1066
|
+
property :create_time, as: 'createTime'
|
1067
|
+
property :delete_time, as: 'deleteTime'
|
1068
|
+
property :display_name, as: 'displayName'
|
1069
|
+
property :name, as: 'name'
|
1070
|
+
property :state, as: 'state', class: Google::Apis::GkehubV1::FleetLifecycleState, decorator: Google::Apis::GkehubV1::FleetLifecycleState::Representation
|
1071
|
+
|
1072
|
+
property :uid, as: 'uid'
|
1073
|
+
property :update_time, as: 'updateTime'
|
1074
|
+
end
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
class FleetLifecycleState
|
1078
|
+
# @private
|
1079
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1080
|
+
property :code, as: 'code'
|
1081
|
+
end
|
1082
|
+
end
|
1083
|
+
|
1051
1084
|
class FleetObservabilityFeatureSpec
|
1052
1085
|
# @private
|
1053
1086
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1202,6 +1235,15 @@ module Google
|
|
1202
1235
|
end
|
1203
1236
|
end
|
1204
1237
|
|
1238
|
+
class ListFleetsResponse
|
1239
|
+
# @private
|
1240
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1241
|
+
collection :fleets, as: 'fleets', class: Google::Apis::GkehubV1::Fleet, decorator: Google::Apis::GkehubV1::Fleet::Representation
|
1242
|
+
|
1243
|
+
property :next_page_token, as: 'nextPageToken'
|
1244
|
+
end
|
1245
|
+
end
|
1246
|
+
|
1205
1247
|
class ListLocationsResponse
|
1206
1248
|
# @private
|
1207
1249
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1330,13 +1372,14 @@ module Google
|
|
1330
1372
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1331
1373
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1::ConfigManagementMembershipSpec::Representation
|
1332
1374
|
|
1333
|
-
property :fleet_inherited, as: 'fleetInherited'
|
1334
1375
|
property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1::FleetObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1::FleetObservabilityMembershipSpec::Representation
|
1335
1376
|
|
1336
1377
|
property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1::IdentityServiceMembershipSpec::Representation
|
1337
1378
|
|
1338
1379
|
property :mesh, as: 'mesh', class: Google::Apis::GkehubV1::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1::ServiceMeshMembershipSpec::Representation
|
1339
1380
|
|
1381
|
+
property :origin, as: 'origin', class: Google::Apis::GkehubV1::Origin, decorator: Google::Apis::GkehubV1::Origin::Representation
|
1382
|
+
|
1340
1383
|
end
|
1341
1384
|
end
|
1342
1385
|
|
@@ -1426,6 +1469,13 @@ module Google
|
|
1426
1469
|
end
|
1427
1470
|
end
|
1428
1471
|
|
1472
|
+
class Origin
|
1473
|
+
# @private
|
1474
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1475
|
+
property :type, as: 'type'
|
1476
|
+
end
|
1477
|
+
end
|
1478
|
+
|
1429
1479
|
class Policy
|
1430
1480
|
# @private
|
1431
1481
|
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.50.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-06-
|
11
|
+
date: 2023-06-25 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.50.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: []
|