google-apis-gkehub_v1alpha 0.52.0 → 0.54.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: 025c1ac5d7f6f21ae2dc26a921769af5431bd1bc529222c9f5328c45d5a2a270
|
4
|
+
data.tar.gz: 615e8acdbe5066d186b407ccc47d79a960ee81d3729c7b2bcb8618bf677419cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c65da49425d31a1afc8cffe72ce3dbb83cf1f9cb0507671a4cf27aa13d3080c015a12f78222d07a9ea9894a80f8063325c8c79a8ba35110c7cba22f0ae6f67c
|
7
|
+
data.tar.gz: 39bd15b86e24f7ebdf71dc2400168b7b2277db347fb0da12b5d2e201dc8d0736d446f86f0f1fa8a39dcde45e530d76465bd1683416bd276a02a9da56d08e5f21
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1alpha
|
2
2
|
|
3
|
+
### v0.54.0 (2023-05-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230515
|
6
|
+
|
7
|
+
### v0.53.0 (2023-04-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230424
|
10
|
+
|
3
11
|
### v0.52.0 (2023-04-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230414
|
@@ -112,9 +112,9 @@ module Google
|
|
112
112
|
class ApplianceCluster
|
113
113
|
include Google::Apis::Core::Hashable
|
114
114
|
|
115
|
-
# Immutable. Self-link of the
|
116
|
-
# example: //transferappliance.googleapis.com/projects/my-project/locations/
|
117
|
-
# west1-a/appliances/my-appliance
|
115
|
+
# Immutable. Self-link of the Google Cloud resource for the Appliance Cluster.
|
116
|
+
# For example: //transferappliance.googleapis.com/projects/my-project/locations/
|
117
|
+
# us-west1-a/appliances/my-appliance
|
118
118
|
# Corresponds to the JSON property `resourceLink`
|
119
119
|
# @return [String]
|
120
120
|
attr_accessor :resource_link
|
@@ -451,8 +451,7 @@ module Google
|
|
451
451
|
# @return [Google::Apis::GkehubV1alpha::AppDevExperienceFeatureState]
|
452
452
|
attr_accessor :appdevexperience
|
453
453
|
|
454
|
-
# **FleetObservability**:
|
455
|
-
# state.
|
454
|
+
# **FleetObservability**: Hub-wide Feature for FleetObservability feature. state.
|
456
455
|
# Corresponds to the JSON property `fleetobservability`
|
457
456
|
# @return [Google::Apis::GkehubV1alpha::FleetObservabilityFeatureState]
|
458
457
|
attr_accessor :fleetobservability
|
@@ -1553,9 +1552,9 @@ module Google
|
|
1553
1552
|
class EdgeCluster
|
1554
1553
|
include Google::Apis::Core::Hashable
|
1555
1554
|
|
1556
|
-
# Immutable. Self-link of the
|
1557
|
-
# edgecontainer.googleapis.com/projects/my-project/locations/us-west1-
|
1558
|
-
# my-cluster
|
1555
|
+
# Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For
|
1556
|
+
# example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-
|
1557
|
+
# a/clusters/my-cluster
|
1559
1558
|
# Corresponds to the JSON property `resourceLink`
|
1560
1559
|
# @return [String]
|
1561
1560
|
attr_accessor :resource_link
|
@@ -1660,7 +1659,7 @@ module Google
|
|
1660
1659
|
# @return [Google::Apis::GkehubV1alpha::CommonFleetDefaultMemberConfigSpec]
|
1661
1660
|
attr_accessor :fleet_default_member_config
|
1662
1661
|
|
1663
|
-
#
|
1662
|
+
# Labels for this Feature.
|
1664
1663
|
# Corresponds to the JSON property `labels`
|
1665
1664
|
# @return [Hash<String,String>]
|
1666
1665
|
attr_accessor :labels
|
@@ -1867,8 +1866,8 @@ module Google
|
|
1867
1866
|
attr_accessor :display_name
|
1868
1867
|
|
1869
1868
|
# Output only. The full, unique resource name of this fleet in the format of `
|
1870
|
-
# projects/`project`/locations/`location`/fleets/`fleet``. Each
|
1871
|
-
# have at most one fleet resource, named "default".
|
1869
|
+
# projects/`project`/locations/`location`/fleets/`fleet``. Each Google Cloud
|
1870
|
+
# project can have at most one fleet resource, named "default".
|
1872
1871
|
# Corresponds to the JSON property `name`
|
1873
1872
|
# @return [String]
|
1874
1873
|
attr_accessor :name
|
@@ -1929,17 +1928,22 @@ module Google
|
|
1929
1928
|
class FleetObservabilityFeatureSpec
|
1930
1929
|
include Google::Apis::Core::Hashable
|
1931
1930
|
|
1931
|
+
# LoggingConfig defines the configuration for different types of logs.
|
1932
|
+
# Corresponds to the JSON property `loggingConfig`
|
1933
|
+
# @return [Google::Apis::GkehubV1alpha::FleetObservabilityLoggingConfig]
|
1934
|
+
attr_accessor :logging_config
|
1935
|
+
|
1932
1936
|
def initialize(**args)
|
1933
1937
|
update!(**args)
|
1934
1938
|
end
|
1935
1939
|
|
1936
1940
|
# Update properties of this object
|
1937
1941
|
def update!(**args)
|
1942
|
+
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
1938
1943
|
end
|
1939
1944
|
end
|
1940
1945
|
|
1941
|
-
# **FleetObservability**:
|
1942
|
-
# state.
|
1946
|
+
# **FleetObservability**: Hub-wide Feature for FleetObservability feature. state.
|
1943
1947
|
class FleetObservabilityFeatureState
|
1944
1948
|
include Google::Apis::Core::Hashable
|
1945
1949
|
|
@@ -1952,6 +1956,31 @@ module Google
|
|
1952
1956
|
end
|
1953
1957
|
end
|
1954
1958
|
|
1959
|
+
# LoggingConfig defines the configuration for different types of logs.
|
1960
|
+
class FleetObservabilityLoggingConfig
|
1961
|
+
include Google::Apis::Core::Hashable
|
1962
|
+
|
1963
|
+
# RoutingConfig configures the behaviour of fleet logging feature.
|
1964
|
+
# Corresponds to the JSON property `defaultConfig`
|
1965
|
+
# @return [Google::Apis::GkehubV1alpha::FleetObservabilityRoutingConfig]
|
1966
|
+
attr_accessor :default_config
|
1967
|
+
|
1968
|
+
# RoutingConfig configures the behaviour of fleet logging feature.
|
1969
|
+
# Corresponds to the JSON property `fleetScopeLogsConfig`
|
1970
|
+
# @return [Google::Apis::GkehubV1alpha::FleetObservabilityRoutingConfig]
|
1971
|
+
attr_accessor :fleet_scope_logs_config
|
1972
|
+
|
1973
|
+
def initialize(**args)
|
1974
|
+
update!(**args)
|
1975
|
+
end
|
1976
|
+
|
1977
|
+
# Update properties of this object
|
1978
|
+
def update!(**args)
|
1979
|
+
@default_config = args[:default_config] if args.key?(:default_config)
|
1980
|
+
@fleet_scope_logs_config = args[:fleet_scope_logs_config] if args.key?(:fleet_scope_logs_config)
|
1981
|
+
end
|
1982
|
+
end
|
1983
|
+
|
1955
1984
|
# **FleetObservability**: The membership-specific input for FleetObservability
|
1956
1985
|
# feature.
|
1957
1986
|
class FleetObservabilityMembershipSpec
|
@@ -1966,8 +1995,8 @@ module Google
|
|
1966
1995
|
end
|
1967
1996
|
end
|
1968
1997
|
|
1969
|
-
# **FleetObservability**:
|
1970
|
-
#
|
1998
|
+
# **FleetObservability**: Membership-specific Feature state for
|
1999
|
+
# fleetobservability.
|
1971
2000
|
class FleetObservabilityMembershipState
|
1972
2001
|
include Google::Apis::Core::Hashable
|
1973
2002
|
|
@@ -1980,6 +2009,25 @@ module Google
|
|
1980
2009
|
end
|
1981
2010
|
end
|
1982
2011
|
|
2012
|
+
# RoutingConfig configures the behaviour of fleet logging feature.
|
2013
|
+
class FleetObservabilityRoutingConfig
|
2014
|
+
include Google::Apis::Core::Hashable
|
2015
|
+
|
2016
|
+
# mode configures the logs routing mode.
|
2017
|
+
# Corresponds to the JSON property `mode`
|
2018
|
+
# @return [String]
|
2019
|
+
attr_accessor :mode
|
2020
|
+
|
2021
|
+
def initialize(**args)
|
2022
|
+
update!(**args)
|
2023
|
+
end
|
2024
|
+
|
2025
|
+
# Update properties of this object
|
2026
|
+
def update!(**args)
|
2027
|
+
@mode = args[:mode] if args.key?(:mode)
|
2028
|
+
end
|
2029
|
+
end
|
2030
|
+
|
1983
2031
|
# GenerateConnectManifestResponse contains manifest information for installing/
|
1984
2032
|
# upgrading a Connect agent.
|
1985
2033
|
class GenerateConnectManifestResponse
|
@@ -2012,9 +2060,9 @@ module Google
|
|
2012
2060
|
attr_accessor :cluster_missing
|
2013
2061
|
alias_method :cluster_missing?, :cluster_missing
|
2014
2062
|
|
2015
|
-
# Immutable. Self-link of the
|
2016
|
-
# container.googleapis.com/projects/my-project/locations/us-west1-a/
|
2017
|
-
# cluster Zonal clusters are also supported.
|
2063
|
+
# Immutable. Self-link of the Google Cloud resource for the GKE cluster. For
|
2064
|
+
# example: //container.googleapis.com/projects/my-project/locations/us-west1-a/
|
2065
|
+
# clusters/my-cluster Zonal clusters are also supported.
|
2018
2066
|
# Corresponds to the JSON property `resourceLink`
|
2019
2067
|
# @return [String]
|
2020
2068
|
attr_accessor :resource_link
|
@@ -2726,7 +2774,7 @@ module Google
|
|
2726
2774
|
end
|
2727
2775
|
end
|
2728
2776
|
|
2729
|
-
# A resource that represents Google Cloud
|
2777
|
+
# A resource that represents a Google Cloud location.
|
2730
2778
|
class Location
|
2731
2779
|
include Google::Apis::Core::Hashable
|
2732
2780
|
|
@@ -2814,7 +2862,7 @@ module Google
|
|
2814
2862
|
# @return [String]
|
2815
2863
|
attr_accessor :external_id
|
2816
2864
|
|
2817
|
-
# Optional.
|
2865
|
+
# Optional. Labels for this membership.
|
2818
2866
|
# Corresponds to the JSON property `labels`
|
2819
2867
|
# @return [Hash<String,String>]
|
2820
2868
|
attr_accessor :labels
|
@@ -2911,7 +2959,7 @@ module Google
|
|
2911
2959
|
# @return [String]
|
2912
2960
|
attr_accessor :name
|
2913
2961
|
|
2914
|
-
# A
|
2962
|
+
# A Scope resource name in the format `projects/*/locations/*/scopes/*`.
|
2915
2963
|
# Corresponds to the JSON property `scope`
|
2916
2964
|
# @return [String]
|
2917
2965
|
attr_accessor :scope
|
@@ -3124,8 +3172,8 @@ module Google
|
|
3124
3172
|
# @return [Google::Apis::GkehubV1alpha::ConfigManagementMembershipState]
|
3125
3173
|
attr_accessor :configmanagement
|
3126
3174
|
|
3127
|
-
# **FleetObservability**:
|
3128
|
-
#
|
3175
|
+
# **FleetObservability**: Membership-specific Feature state for
|
3176
|
+
# fleetobservability.
|
3129
3177
|
# Corresponds to the JSON property `fleetobservability`
|
3130
3178
|
# @return [Google::Apis::GkehubV1alpha::FleetObservabilityMembershipState]
|
3131
3179
|
attr_accessor :fleetobservability
|
@@ -3304,11 +3352,12 @@ module Google
|
|
3304
3352
|
attr_accessor :cluster_missing
|
3305
3353
|
alias_method :cluster_missing?, :cluster_missing
|
3306
3354
|
|
3307
|
-
# Immutable. Self-link of the
|
3308
|
-
# example: //gkemulticloud.googleapis.com/projects/my-project/
|
3309
|
-
# a/awsClusters/my-cluster //gkemulticloud.googleapis.com/
|
3310
|
-
# locations/us-west1-a/azureClusters/my-cluster //
|
3311
|
-
# projects/my-project/locations/us-west1-a/
|
3355
|
+
# Immutable. Self-link of the Google Cloud resource for the GKE Multi-Cloud
|
3356
|
+
# cluster. For example: //gkemulticloud.googleapis.com/projects/my-project/
|
3357
|
+
# locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/
|
3358
|
+
# projects/my-project/locations/us-west1-a/azureClusters/my-cluster //
|
3359
|
+
# gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/
|
3360
|
+
# attachedClusters/my-cluster
|
3312
3361
|
# Corresponds to the JSON property `resourceLink`
|
3313
3362
|
# @return [String]
|
3314
3363
|
attr_accessor :resource_link
|
@@ -3451,9 +3500,9 @@ module Google
|
|
3451
3500
|
# @return [String]
|
3452
3501
|
attr_accessor :cluster_type
|
3453
3502
|
|
3454
|
-
# Immutable. Self-link of the
|
3455
|
-
# example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-
|
3456
|
-
# vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
|
3503
|
+
# Immutable. Self-link of the Google Cloud resource for the GKE On-Prem cluster.
|
3504
|
+
# For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-
|
3505
|
+
# a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
|
3457
3506
|
# locations/us-west1-a/bareMetalClusters/my-cluster
|
3458
3507
|
# Corresponds to the JSON property `resourceLink`
|
3459
3508
|
# @return [String]
|
@@ -3693,14 +3742,12 @@ module Google
|
|
3693
3742
|
class PolicyControllerBundleInstallSpec
|
3694
3743
|
include Google::Apis::Core::Hashable
|
3695
3744
|
|
3696
|
-
# the set of namespaces to be exempted from the bundle
|
3697
|
-
# Decrement this
|
3745
|
+
# the set of namespaces to be exempted from the bundle
|
3698
3746
|
# Corresponds to the JSON property `exemptedNamespaces`
|
3699
3747
|
# @return [Array<String>]
|
3700
3748
|
attr_accessor :exempted_namespaces
|
3701
3749
|
|
3702
|
-
# Management specifies how the bundle will be managed by the controller.
|
3703
|
-
# 271878194): Remove this
|
3750
|
+
# Management specifies how the bundle will be managed by the controller.
|
3704
3751
|
# Corresponds to the JSON property `management`
|
3705
3752
|
# @return [String]
|
3706
3753
|
attr_accessor :management
|
@@ -3732,7 +3779,7 @@ module Google
|
|
3732
3779
|
# @return [Fixnum]
|
3733
3780
|
attr_accessor :constraint_violation_limit
|
3734
3781
|
|
3735
|
-
# Map of deployment configs to deployments (
|
3782
|
+
# Map of deployment configs to deployments ("admission", "audit", "mutation').
|
3736
3783
|
# Corresponds to the JSON property `deploymentConfigs`
|
3737
3784
|
# @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerDeploymentConfig>]
|
3738
3785
|
attr_accessor :deployment_configs
|
@@ -3845,7 +3892,7 @@ module Google
|
|
3845
3892
|
attr_accessor :component_states
|
3846
3893
|
|
3847
3894
|
# The state of the template library and any bundles included in the chosen
|
3848
|
-
# version of the manifest
|
3895
|
+
# version of the manifest
|
3849
3896
|
# Corresponds to the JSON property `contentStates`
|
3850
3897
|
# @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
|
3851
3898
|
attr_accessor :content_states
|
@@ -4066,15 +4113,14 @@ module Google
|
|
4066
4113
|
class PolicyControllerTemplateLibraryConfig
|
4067
4114
|
include Google::Apis::Core::Hashable
|
4068
4115
|
|
4069
|
-
# Whether the standard template library should be installed or not.
|
4070
|
-
# 271878194): Remove this
|
4116
|
+
# Whether the standard template library should be installed or not.
|
4071
4117
|
# Corresponds to the JSON property `included`
|
4072
4118
|
# @return [Boolean]
|
4073
4119
|
attr_accessor :included
|
4074
4120
|
alias_method :included?, :included
|
4075
4121
|
|
4076
4122
|
# Configures the manner in which the template library is installed on the
|
4077
|
-
# cluster.
|
4123
|
+
# cluster.
|
4078
4124
|
# Corresponds to the JSON property `installation`
|
4079
4125
|
# @return [String]
|
4080
4126
|
attr_accessor :installation
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1alpha
|
18
18
|
# Version of the google-apis-gkehub_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.54.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 = "20230515"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -352,6 +352,12 @@ module Google
|
|
352
352
|
include Google::Apis::Core::JsonObjectSupport
|
353
353
|
end
|
354
354
|
|
355
|
+
class FleetObservabilityLoggingConfig
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
355
361
|
class FleetObservabilityMembershipSpec
|
356
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
363
|
|
@@ -364,6 +370,12 @@ module Google
|
|
364
370
|
include Google::Apis::Core::JsonObjectSupport
|
365
371
|
end
|
366
372
|
|
373
|
+
class FleetObservabilityRoutingConfig
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
367
379
|
class GenerateConnectManifestResponse
|
368
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
381
|
|
@@ -1378,6 +1390,8 @@ module Google
|
|
1378
1390
|
class FleetObservabilityFeatureSpec
|
1379
1391
|
# @private
|
1380
1392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1393
|
+
property :logging_config, as: 'loggingConfig', class: Google::Apis::GkehubV1alpha::FleetObservabilityLoggingConfig, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityLoggingConfig::Representation
|
1394
|
+
|
1381
1395
|
end
|
1382
1396
|
end
|
1383
1397
|
|
@@ -1387,6 +1401,16 @@ module Google
|
|
1387
1401
|
end
|
1388
1402
|
end
|
1389
1403
|
|
1404
|
+
class FleetObservabilityLoggingConfig
|
1405
|
+
# @private
|
1406
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1407
|
+
property :default_config, as: 'defaultConfig', class: Google::Apis::GkehubV1alpha::FleetObservabilityRoutingConfig, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityRoutingConfig::Representation
|
1408
|
+
|
1409
|
+
property :fleet_scope_logs_config, as: 'fleetScopeLogsConfig', class: Google::Apis::GkehubV1alpha::FleetObservabilityRoutingConfig, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityRoutingConfig::Representation
|
1410
|
+
|
1411
|
+
end
|
1412
|
+
end
|
1413
|
+
|
1390
1414
|
class FleetObservabilityMembershipSpec
|
1391
1415
|
# @private
|
1392
1416
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1399,6 +1423,13 @@ module Google
|
|
1399
1423
|
end
|
1400
1424
|
end
|
1401
1425
|
|
1426
|
+
class FleetObservabilityRoutingConfig
|
1427
|
+
# @private
|
1428
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1429
|
+
property :mode, as: 'mode'
|
1430
|
+
end
|
1431
|
+
end
|
1432
|
+
|
1402
1433
|
class GenerateConnectManifestResponse
|
1403
1434
|
# @private
|
1404
1435
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -654,8 +654,8 @@ module Google
|
|
654
654
|
# Updates a fleet.
|
655
655
|
# @param [String] name
|
656
656
|
# Output only. The full, unique resource name of this fleet in the format of `
|
657
|
-
# projects/`project`/locations/`location`/fleets/`fleet``. Each
|
658
|
-
# have at most one fleet resource, named "default".
|
657
|
+
# projects/`project`/locations/`location`/fleets/`fleet``. Each Google Cloud
|
658
|
+
# project can have at most one fleet resource, named "default".
|
659
659
|
# @param [Google::Apis::GkehubV1alpha::Fleet] fleet_object
|
660
660
|
# @param [String] update_mask
|
661
661
|
# Required. The fields to be updated;
|
@@ -1299,6 +1299,9 @@ module Google
|
|
1299
1299
|
# @param [String] parent
|
1300
1300
|
# Required. The parent Membership for which the MembershipBindings will be
|
1301
1301
|
# listed. Specified in the format `projects/*/locations/*/memberships/*`.
|
1302
|
+
# @param [String] filter
|
1303
|
+
# Optional. Lists MembershipBindings that match the filter expression, following
|
1304
|
+
# the syntax outlined in https://google.aip.dev/160.
|
1302
1305
|
# @param [Fixnum] page_size
|
1303
1306
|
# Optional. When requesting a 'page' of resources, `page_size` specifies number
|
1304
1307
|
# of resources to return. If unspecified or set to 0, all resources will be
|
@@ -1324,11 +1327,12 @@ module Google
|
|
1324
1327
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1325
1328
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1326
1329
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1327
|
-
def list_project_location_membership_bindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1330
|
+
def list_project_location_membership_bindings(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1328
1331
|
command = make_simple_command(:get, 'v1alpha/{+parent}/bindings', options)
|
1329
1332
|
command.response_representation = Google::Apis::GkehubV1alpha::ListMembershipBindingsResponse::Representation
|
1330
1333
|
command.response_class = Google::Apis::GkehubV1alpha::ListMembershipBindingsResponse
|
1331
1334
|
command.params['parent'] = parent unless parent.nil?
|
1335
|
+
command.query['filter'] = filter unless filter.nil?
|
1332
1336
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1333
1337
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1334
1338
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1979,6 +1983,51 @@ module Google
|
|
1979
1983
|
execute_or_queue_command(command, &block)
|
1980
1984
|
end
|
1981
1985
|
|
1986
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1987
|
+
# resource exists and does not have a policy set.
|
1988
|
+
# @param [String] resource
|
1989
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1990
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1991
|
+
# appropriate value for this field.
|
1992
|
+
# @param [Fixnum] options_requested_policy_version
|
1993
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1994
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1995
|
+
# rejected. Requests for policies with any conditional role bindings must
|
1996
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
1997
|
+
# valid value or leave the field unset. The policy in the response might use the
|
1998
|
+
# policy version that you specified, or it might use a lower policy version. For
|
1999
|
+
# example, if you specify version 3, but the policy has no conditional role
|
2000
|
+
# bindings, the response uses version 1. To learn which resources support
|
2001
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2002
|
+
# google.com/iam/help/conditions/resource-policies).
|
2003
|
+
# @param [String] fields
|
2004
|
+
# Selector specifying which fields to include in a partial response.
|
2005
|
+
# @param [String] quota_user
|
2006
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2007
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2008
|
+
# @param [Google::Apis::RequestOptions] options
|
2009
|
+
# Request-specific options
|
2010
|
+
#
|
2011
|
+
# @yield [result, err] Result & error if block supplied
|
2012
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Policy] parsed result object
|
2013
|
+
# @yieldparam err [StandardError] error object if request failed
|
2014
|
+
#
|
2015
|
+
# @return [Google::Apis::GkehubV1alpha::Policy]
|
2016
|
+
#
|
2017
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2018
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2019
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2020
|
+
def get_project_location_scope_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2021
|
+
command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
|
2022
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Policy::Representation
|
2023
|
+
command.response_class = Google::Apis::GkehubV1alpha::Policy
|
2024
|
+
command.params['resource'] = resource unless resource.nil?
|
2025
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2026
|
+
command.query['fields'] = fields unless fields.nil?
|
2027
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2028
|
+
execute_or_queue_command(command, &block)
|
2029
|
+
end
|
2030
|
+
|
1982
2031
|
# Lists Scopes.
|
1983
2032
|
# @param [String] parent
|
1984
2033
|
# Required. The parent (project and location) where the Scope will be listed.
|
@@ -2055,6 +2104,82 @@ module Google
|
|
2055
2104
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2056
2105
|
execute_or_queue_command(command, &block)
|
2057
2106
|
end
|
2107
|
+
|
2108
|
+
# Sets the access control policy on the specified resource. Replaces any
|
2109
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
2110
|
+
# PERMISSION_DENIED` errors.
|
2111
|
+
# @param [String] resource
|
2112
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
2113
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2114
|
+
# appropriate value for this field.
|
2115
|
+
# @param [Google::Apis::GkehubV1alpha::SetIamPolicyRequest] set_iam_policy_request_object
|
2116
|
+
# @param [String] fields
|
2117
|
+
# Selector specifying which fields to include in a partial response.
|
2118
|
+
# @param [String] quota_user
|
2119
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2120
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2121
|
+
# @param [Google::Apis::RequestOptions] options
|
2122
|
+
# Request-specific options
|
2123
|
+
#
|
2124
|
+
# @yield [result, err] Result & error if block supplied
|
2125
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Policy] parsed result object
|
2126
|
+
# @yieldparam err [StandardError] error object if request failed
|
2127
|
+
#
|
2128
|
+
# @return [Google::Apis::GkehubV1alpha::Policy]
|
2129
|
+
#
|
2130
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2131
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2132
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2133
|
+
def set_scope_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2134
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
|
2135
|
+
command.request_representation = Google::Apis::GkehubV1alpha::SetIamPolicyRequest::Representation
|
2136
|
+
command.request_object = set_iam_policy_request_object
|
2137
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Policy::Representation
|
2138
|
+
command.response_class = Google::Apis::GkehubV1alpha::Policy
|
2139
|
+
command.params['resource'] = resource unless resource.nil?
|
2140
|
+
command.query['fields'] = fields unless fields.nil?
|
2141
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2142
|
+
execute_or_queue_command(command, &block)
|
2143
|
+
end
|
2144
|
+
|
2145
|
+
# Returns permissions that a caller has on the specified resource. If the
|
2146
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
2147
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
2148
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
2149
|
+
# This operation may "fail open" without warning.
|
2150
|
+
# @param [String] resource
|
2151
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2152
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
2153
|
+
# appropriate value for this field.
|
2154
|
+
# @param [Google::Apis::GkehubV1alpha::TestIamPermissionsRequest] test_iam_permissions_request_object
|
2155
|
+
# @param [String] fields
|
2156
|
+
# Selector specifying which fields to include in a partial response.
|
2157
|
+
# @param [String] quota_user
|
2158
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2159
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2160
|
+
# @param [Google::Apis::RequestOptions] options
|
2161
|
+
# Request-specific options
|
2162
|
+
#
|
2163
|
+
# @yield [result, err] Result & error if block supplied
|
2164
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::TestIamPermissionsResponse] parsed result object
|
2165
|
+
# @yieldparam err [StandardError] error object if request failed
|
2166
|
+
#
|
2167
|
+
# @return [Google::Apis::GkehubV1alpha::TestIamPermissionsResponse]
|
2168
|
+
#
|
2169
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2170
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2171
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2172
|
+
def test_scope_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2173
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
|
2174
|
+
command.request_representation = Google::Apis::GkehubV1alpha::TestIamPermissionsRequest::Representation
|
2175
|
+
command.request_object = test_iam_permissions_request_object
|
2176
|
+
command.response_representation = Google::Apis::GkehubV1alpha::TestIamPermissionsResponse::Representation
|
2177
|
+
command.response_class = Google::Apis::GkehubV1alpha::TestIamPermissionsResponse
|
2178
|
+
command.params['resource'] = resource unless resource.nil?
|
2179
|
+
command.query['fields'] = fields unless fields.nil?
|
2180
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2181
|
+
execute_or_queue_command(command, &block)
|
2182
|
+
end
|
2058
2183
|
|
2059
2184
|
protected
|
2060
2185
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.54.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-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.54.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|