google-apis-gkehub_v1beta 0.49.0 → 0.51.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: 6f0698c84a56bf557bc84a1542e8a34c70b09dbede18a46394c909c09130397a
|
4
|
+
data.tar.gz: a699c24b2f318e2b236b3d858cafd394af82469078da79b75144ab555c2ce571
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b867bfd71409afd340ae37ebdb86b2bd68132d8aca432fd986f1bd363b491e171708594974b57b5ecf28ffa81079d69e874867716127c02576bcd6b80b7e60b7
|
7
|
+
data.tar.gz: 9c0afd46aa845874f7a3963441d461d667cae2f6c7c8d941eb0dca1b5ce27c730c6a128f3ade76cc3ddb20a7ea7724ed856b06fc82e02a24d3c1fa3e7fd3dd9b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1beta
|
2
2
|
|
3
|
+
### v0.51.0 (2023-07-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230627
|
6
|
+
|
7
|
+
### v0.50.0 (2023-06-25)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230620
|
10
|
+
|
3
11
|
### v0.49.0 (2023-06-18)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230609
|
@@ -436,11 +436,9 @@ module Google
|
|
436
436
|
|
437
437
|
# Enables the installation of ConfigSync. If set to true, ConfigSync resources
|
438
438
|
# will be created and the other ConfigSync fields will be applied if exist. If
|
439
|
-
# set to false
|
440
|
-
# will be
|
441
|
-
#
|
442
|
-
# resources will be managed if: * the git or oci field is present; or * Managed
|
443
|
-
# Config Sync is enabled (i.e., managed.enabled is true).
|
439
|
+
# set to false, all other ConfigSync fields will be ignored, ConfigSync
|
440
|
+
# resources will be deleted. If omitted, ConfigSync resources will be managed
|
441
|
+
# depends on the presence of the git or oci field.
|
444
442
|
# Corresponds to the JSON property `enabled`
|
445
443
|
# @return [Boolean]
|
446
444
|
attr_accessor :enabled
|
@@ -451,17 +449,12 @@ module Google
|
|
451
449
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementGitConfig]
|
452
450
|
attr_accessor :git
|
453
451
|
|
454
|
-
#
|
455
|
-
#
|
456
|
-
# @return [Google::Apis::GkehubV1beta::ConfigManagementManaged]
|
457
|
-
attr_accessor :managed
|
458
|
-
|
459
|
-
# The Email of the GCP Service Account (GSA) used for exporting Config Sync
|
460
|
-
# metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
|
452
|
+
# The Email of the Google Cloud Service Account (GSA) used for exporting Config
|
453
|
+
# Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
|
461
454
|
# enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
|
462
455
|
# metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
|
463
456
|
# namespace `config-management-monitoring` should be binded to the GSA. This
|
464
|
-
# field is required when
|
457
|
+
# field is required when automatic Feature management is enabled.
|
465
458
|
# Corresponds to the JSON property `metricsGcpServiceAccountEmail`
|
466
459
|
# @return [String]
|
467
460
|
attr_accessor :metrics_gcp_service_account_email
|
@@ -485,6 +478,14 @@ module Google
|
|
485
478
|
# @return [String]
|
486
479
|
attr_accessor :source_format
|
487
480
|
|
481
|
+
# Set to true to stop syncing configs for a single cluster when automatic
|
482
|
+
# Feature management is enabled. Default to false. The field will be ignored
|
483
|
+
# when automatic Feature management is disabled.
|
484
|
+
# Corresponds to the JSON property `stopSyncing`
|
485
|
+
# @return [Boolean]
|
486
|
+
attr_accessor :stop_syncing
|
487
|
+
alias_method :stop_syncing?, :stop_syncing
|
488
|
+
|
488
489
|
def initialize(**args)
|
489
490
|
update!(**args)
|
490
491
|
end
|
@@ -494,11 +495,11 @@ module Google
|
|
494
495
|
@allow_vertical_scale = args[:allow_vertical_scale] if args.key?(:allow_vertical_scale)
|
495
496
|
@enabled = args[:enabled] if args.key?(:enabled)
|
496
497
|
@git = args[:git] if args.key?(:git)
|
497
|
-
@managed = args[:managed] if args.key?(:managed)
|
498
498
|
@metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
|
499
499
|
@oci = args[:oci] if args.key?(:oci)
|
500
500
|
@prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
|
501
501
|
@source_format = args[:source_format] if args.key?(:source_format)
|
502
|
+
@stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
|
502
503
|
end
|
503
504
|
end
|
504
505
|
|
@@ -740,7 +741,7 @@ module Google
|
|
740
741
|
class ConfigManagementGitConfig
|
741
742
|
include Google::Apis::Core::Hashable
|
742
743
|
|
743
|
-
# The
|
744
|
+
# The Google Cloud Service Account Email used for auth when secret_type is
|
744
745
|
# gcpServiceAccount.
|
745
746
|
# Corresponds to the JSON property `gcpServiceAccountEmail`
|
746
747
|
# @return [String]
|
@@ -960,36 +961,6 @@ module Google
|
|
960
961
|
end
|
961
962
|
end
|
962
963
|
|
963
|
-
# Configuration for Managed Config Sync.
|
964
|
-
class ConfigManagementManaged
|
965
|
-
include Google::Apis::Core::Hashable
|
966
|
-
|
967
|
-
# Set to true to enable Managed Config Sync. Defaults to false which disables
|
968
|
-
# Managed Config Sync. Setting this field to true when configSync.enabled is
|
969
|
-
# false is invalid.
|
970
|
-
# Corresponds to the JSON property `enabled`
|
971
|
-
# @return [Boolean]
|
972
|
-
attr_accessor :enabled
|
973
|
-
alias_method :enabled?, :enabled
|
974
|
-
|
975
|
-
# Set to true to stop syncing configs for a single cluster. Default to false. If
|
976
|
-
# set to true, Managed Config Sync will not upgrade Config Sync.
|
977
|
-
# Corresponds to the JSON property `stopSyncing`
|
978
|
-
# @return [Boolean]
|
979
|
-
attr_accessor :stop_syncing
|
980
|
-
alias_method :stop_syncing?, :stop_syncing
|
981
|
-
|
982
|
-
def initialize(**args)
|
983
|
-
update!(**args)
|
984
|
-
end
|
985
|
-
|
986
|
-
# Update properties of this object
|
987
|
-
def update!(**args)
|
988
|
-
@enabled = args[:enabled] if args.key?(:enabled)
|
989
|
-
@stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
|
990
|
-
end
|
991
|
-
end
|
992
|
-
|
993
964
|
# **Anthos Config Management**: Configuration for a single cluster. Intended to
|
994
965
|
# parallel the ConfigManagement CR.
|
995
966
|
class ConfigManagementMembershipSpec
|
@@ -1020,6 +991,11 @@ module Google
|
|
1020
991
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementHierarchyControllerConfig]
|
1021
992
|
attr_accessor :hierarchy_controller
|
1022
993
|
|
994
|
+
# Enables automatic Feature management.
|
995
|
+
# Corresponds to the JSON property `management`
|
996
|
+
# @return [String]
|
997
|
+
attr_accessor :management
|
998
|
+
|
1023
999
|
# Configuration for Policy Controller
|
1024
1000
|
# Corresponds to the JSON property `policyController`
|
1025
1001
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementPolicyController]
|
@@ -1040,6 +1016,7 @@ module Google
|
|
1040
1016
|
@cluster = args[:cluster] if args.key?(:cluster)
|
1041
1017
|
@config_sync = args[:config_sync] if args.key?(:config_sync)
|
1042
1018
|
@hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
|
1019
|
+
@management = args[:management] if args.key?(:management)
|
1043
1020
|
@policy_controller = args[:policy_controller] if args.key?(:policy_controller)
|
1044
1021
|
@version = args[:version] if args.key?(:version)
|
1045
1022
|
end
|
@@ -1106,7 +1083,7 @@ module Google
|
|
1106
1083
|
class ConfigManagementOciConfig
|
1107
1084
|
include Google::Apis::Core::Hashable
|
1108
1085
|
|
1109
|
-
# The
|
1086
|
+
# The Google Cloud Service Account Email used for auth when secret_type is
|
1110
1087
|
# gcpServiceAccount.
|
1111
1088
|
# Corresponds to the JSON property `gcpServiceAccountEmail`
|
1112
1089
|
# @return [String]
|
@@ -1774,6 +1751,31 @@ module Google
|
|
1774
1751
|
end
|
1775
1752
|
end
|
1776
1753
|
|
1754
|
+
# All error details of the fleet observability feature.
|
1755
|
+
class FleetObservabilityFeatureError
|
1756
|
+
include Google::Apis::Core::Hashable
|
1757
|
+
|
1758
|
+
# The code of the error.
|
1759
|
+
# Corresponds to the JSON property `code`
|
1760
|
+
# @return [String]
|
1761
|
+
attr_accessor :code
|
1762
|
+
|
1763
|
+
# A human-readable description of the current status.
|
1764
|
+
# Corresponds to the JSON property `description`
|
1765
|
+
# @return [String]
|
1766
|
+
attr_accessor :description
|
1767
|
+
|
1768
|
+
def initialize(**args)
|
1769
|
+
update!(**args)
|
1770
|
+
end
|
1771
|
+
|
1772
|
+
# Update properties of this object
|
1773
|
+
def update!(**args)
|
1774
|
+
@code = args[:code] if args.key?(:code)
|
1775
|
+
@description = args[:description] if args.key?(:description)
|
1776
|
+
end
|
1777
|
+
end
|
1778
|
+
|
1777
1779
|
# **Fleet Observability**: The Hub-wide input for the FleetObservability feature.
|
1778
1780
|
class FleetObservabilityFeatureSpec
|
1779
1781
|
include Google::Apis::Core::Hashable
|
@@ -1797,12 +1799,94 @@ module Google
|
|
1797
1799
|
class FleetObservabilityFeatureState
|
1798
1800
|
include Google::Apis::Core::Hashable
|
1799
1801
|
|
1802
|
+
# Feature state for logging feature.
|
1803
|
+
# Corresponds to the JSON property `logging`
|
1804
|
+
# @return [Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityLoggingState]
|
1805
|
+
attr_accessor :logging
|
1806
|
+
|
1807
|
+
# Feature state for monitoring feature.
|
1808
|
+
# Corresponds to the JSON property `monitoring`
|
1809
|
+
# @return [Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityMonitoringState]
|
1810
|
+
attr_accessor :monitoring
|
1811
|
+
|
1812
|
+
def initialize(**args)
|
1813
|
+
update!(**args)
|
1814
|
+
end
|
1815
|
+
|
1816
|
+
# Update properties of this object
|
1817
|
+
def update!(**args)
|
1818
|
+
@logging = args[:logging] if args.key?(:logging)
|
1819
|
+
@monitoring = args[:monitoring] if args.key?(:monitoring)
|
1820
|
+
end
|
1821
|
+
end
|
1822
|
+
|
1823
|
+
# Base state for fleet observability feature.
|
1824
|
+
class FleetObservabilityFleetObservabilityBaseFeatureState
|
1825
|
+
include Google::Apis::Core::Hashable
|
1826
|
+
|
1827
|
+
# The high-level, machine-readable status of this Feature.
|
1828
|
+
# Corresponds to the JSON property `code`
|
1829
|
+
# @return [String]
|
1830
|
+
attr_accessor :code
|
1831
|
+
|
1832
|
+
# Errors after reconciling the monitoring and logging feature if the code is not
|
1833
|
+
# OK.
|
1834
|
+
# Corresponds to the JSON property `errors`
|
1835
|
+
# @return [Array<Google::Apis::GkehubV1beta::FleetObservabilityFeatureError>]
|
1836
|
+
attr_accessor :errors
|
1837
|
+
|
1800
1838
|
def initialize(**args)
|
1801
1839
|
update!(**args)
|
1802
1840
|
end
|
1803
1841
|
|
1804
1842
|
# Update properties of this object
|
1805
1843
|
def update!(**args)
|
1844
|
+
@code = args[:code] if args.key?(:code)
|
1845
|
+
@errors = args[:errors] if args.key?(:errors)
|
1846
|
+
end
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
# Feature state for logging feature.
|
1850
|
+
class FleetObservabilityFleetObservabilityLoggingState
|
1851
|
+
include Google::Apis::Core::Hashable
|
1852
|
+
|
1853
|
+
# Base state for fleet observability feature.
|
1854
|
+
# Corresponds to the JSON property `defaultLog`
|
1855
|
+
# @return [Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState]
|
1856
|
+
attr_accessor :default_log
|
1857
|
+
|
1858
|
+
# Base state for fleet observability feature.
|
1859
|
+
# Corresponds to the JSON property `scopeLog`
|
1860
|
+
# @return [Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState]
|
1861
|
+
attr_accessor :scope_log
|
1862
|
+
|
1863
|
+
def initialize(**args)
|
1864
|
+
update!(**args)
|
1865
|
+
end
|
1866
|
+
|
1867
|
+
# Update properties of this object
|
1868
|
+
def update!(**args)
|
1869
|
+
@default_log = args[:default_log] if args.key?(:default_log)
|
1870
|
+
@scope_log = args[:scope_log] if args.key?(:scope_log)
|
1871
|
+
end
|
1872
|
+
end
|
1873
|
+
|
1874
|
+
# Feature state for monitoring feature.
|
1875
|
+
class FleetObservabilityFleetObservabilityMonitoringState
|
1876
|
+
include Google::Apis::Core::Hashable
|
1877
|
+
|
1878
|
+
# Base state for fleet observability feature.
|
1879
|
+
# Corresponds to the JSON property `state`
|
1880
|
+
# @return [Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState]
|
1881
|
+
attr_accessor :state
|
1882
|
+
|
1883
|
+
def initialize(**args)
|
1884
|
+
update!(**args)
|
1885
|
+
end
|
1886
|
+
|
1887
|
+
# Update properties of this object
|
1888
|
+
def update!(**args)
|
1889
|
+
@state = args[:state] if args.key?(:state)
|
1806
1890
|
end
|
1807
1891
|
end
|
1808
1892
|
|
@@ -1878,6 +1962,25 @@ module Google
|
|
1878
1962
|
end
|
1879
1963
|
end
|
1880
1964
|
|
1965
|
+
# Response for GenerateRBACRoleBindingYAML.
|
1966
|
+
class GenerateMembershipRbacRoleBindingYamlResponse
|
1967
|
+
include Google::Apis::Core::Hashable
|
1968
|
+
|
1969
|
+
# a yaml text blob including the RBAC policies.
|
1970
|
+
# Corresponds to the JSON property `roleBindingsYaml`
|
1971
|
+
# @return [String]
|
1972
|
+
attr_accessor :role_bindings_yaml
|
1973
|
+
|
1974
|
+
def initialize(**args)
|
1975
|
+
update!(**args)
|
1976
|
+
end
|
1977
|
+
|
1978
|
+
# Update properties of this object
|
1979
|
+
def update!(**args)
|
1980
|
+
@role_bindings_yaml = args[:role_bindings_yaml] if args.key?(:role_bindings_yaml)
|
1981
|
+
end
|
1982
|
+
end
|
1983
|
+
|
1881
1984
|
# The `Status` type defines a logical error model that is suitable for different
|
1882
1985
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1883
1986
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -2293,6 +2396,33 @@ module Google
|
|
2293
2396
|
end
|
2294
2397
|
end
|
2295
2398
|
|
2399
|
+
# List of Membership RBACRoleBindings.
|
2400
|
+
class ListMembershipRbacRoleBindingsResponse
|
2401
|
+
include Google::Apis::Core::Hashable
|
2402
|
+
|
2403
|
+
# A token to request the next page of resources from the `
|
2404
|
+
# ListMembershipRBACRoleBindings` method. The value of an empty string means
|
2405
|
+
# that there are no more resources to return.
|
2406
|
+
# Corresponds to the JSON property `nextPageToken`
|
2407
|
+
# @return [String]
|
2408
|
+
attr_accessor :next_page_token
|
2409
|
+
|
2410
|
+
# The list of Membership RBACRoleBindings.
|
2411
|
+
# Corresponds to the JSON property `rbacrolebindings`
|
2412
|
+
# @return [Array<Google::Apis::GkehubV1beta::RbacRoleBinding>]
|
2413
|
+
attr_accessor :rbacrolebindings
|
2414
|
+
|
2415
|
+
def initialize(**args)
|
2416
|
+
update!(**args)
|
2417
|
+
end
|
2418
|
+
|
2419
|
+
# Update properties of this object
|
2420
|
+
def update!(**args)
|
2421
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2422
|
+
@rbacrolebindings = args[:rbacrolebindings] if args.key?(:rbacrolebindings)
|
2423
|
+
end
|
2424
|
+
end
|
2425
|
+
|
2296
2426
|
# List of fleet namespaces.
|
2297
2427
|
class ListNamespacesResponse
|
2298
2428
|
include Google::Apis::Core::Hashable
|
@@ -2551,12 +2681,6 @@ module Google
|
|
2551
2681
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec]
|
2552
2682
|
attr_accessor :configmanagement
|
2553
2683
|
|
2554
|
-
# True if value of `feature_spec` was inherited from a fleet-level default.
|
2555
|
-
# Corresponds to the JSON property `fleetInherited`
|
2556
|
-
# @return [Boolean]
|
2557
|
-
attr_accessor :fleet_inherited
|
2558
|
-
alias_method :fleet_inherited?, :fleet_inherited
|
2559
|
-
|
2560
2684
|
# **FleetObservability**: The membership-specific input for FleetObservability
|
2561
2685
|
# feature.
|
2562
2686
|
# Corresponds to the JSON property `fleetobservability`
|
@@ -2573,6 +2697,11 @@ module Google
|
|
2573
2697
|
# @return [Google::Apis::GkehubV1beta::ServiceMeshMembershipSpec]
|
2574
2698
|
attr_accessor :mesh
|
2575
2699
|
|
2700
|
+
# Origin defines where this MembershipFeatureSpec originated from.
|
2701
|
+
# Corresponds to the JSON property `origin`
|
2702
|
+
# @return [Google::Apis::GkehubV1beta::Origin]
|
2703
|
+
attr_accessor :origin
|
2704
|
+
|
2576
2705
|
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2577
2706
|
# parallel the PolicyController CR.
|
2578
2707
|
# Corresponds to the JSON property `policycontroller`
|
@@ -2588,10 +2717,10 @@ module Google
|
|
2588
2717
|
@anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
|
2589
2718
|
@cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
|
2590
2719
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
2591
|
-
@fleet_inherited = args[:fleet_inherited] if args.key?(:fleet_inherited)
|
2592
2720
|
@fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
|
2593
2721
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
2594
2722
|
@mesh = args[:mesh] if args.key?(:mesh)
|
2723
|
+
@origin = args[:origin] if args.key?(:origin)
|
2595
2724
|
@policycontroller = args[:policycontroller] if args.key?(:policycontroller)
|
2596
2725
|
end
|
2597
2726
|
end
|
@@ -2940,6 +3069,25 @@ module Google
|
|
2940
3069
|
end
|
2941
3070
|
end
|
2942
3071
|
|
3072
|
+
# Origin defines where this MembershipFeatureSpec originated from.
|
3073
|
+
class Origin
|
3074
|
+
include Google::Apis::Core::Hashable
|
3075
|
+
|
3076
|
+
# Type specifies which type of origin is set.
|
3077
|
+
# Corresponds to the JSON property `type`
|
3078
|
+
# @return [String]
|
3079
|
+
attr_accessor :type
|
3080
|
+
|
3081
|
+
def initialize(**args)
|
3082
|
+
update!(**args)
|
3083
|
+
end
|
3084
|
+
|
3085
|
+
# Update properties of this object
|
3086
|
+
def update!(**args)
|
3087
|
+
@type = args[:type] if args.key?(:type)
|
3088
|
+
end
|
3089
|
+
end
|
3090
|
+
|
2943
3091
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2944
3092
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
2945
3093
|
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
@@ -3040,16 +3188,11 @@ module Google
|
|
3040
3188
|
class PolicyControllerBundleInstallSpec
|
3041
3189
|
include Google::Apis::Core::Hashable
|
3042
3190
|
|
3043
|
-
#
|
3191
|
+
# The set of namespaces to be exempted from the bundle.
|
3044
3192
|
# Corresponds to the JSON property `exemptedNamespaces`
|
3045
3193
|
# @return [Array<String>]
|
3046
3194
|
attr_accessor :exempted_namespaces
|
3047
3195
|
|
3048
|
-
# Management specifies how the bundle will be managed by the controller.
|
3049
|
-
# Corresponds to the JSON property `management`
|
3050
|
-
# @return [String]
|
3051
|
-
attr_accessor :management
|
3052
|
-
|
3053
3196
|
def initialize(**args)
|
3054
3197
|
update!(**args)
|
3055
3198
|
end
|
@@ -3057,7 +3200,6 @@ module Google
|
|
3057
3200
|
# Update properties of this object
|
3058
3201
|
def update!(**args)
|
3059
3202
|
@exempted_namespaces = args[:exempted_namespaces] if args.key?(:exempted_namespaces)
|
3060
|
-
@management = args[:management] if args.key?(:management)
|
3061
3203
|
end
|
3062
3204
|
end
|
3063
3205
|
|
@@ -3128,11 +3270,6 @@ module Google
|
|
3128
3270
|
attr_accessor :referential_rules_enabled
|
3129
3271
|
alias_method :referential_rules_enabled?, :referential_rules_enabled
|
3130
3272
|
|
3131
|
-
# The config specifying which default library templates to install.
|
3132
|
-
# Corresponds to the JSON property `templateLibraryConfig`
|
3133
|
-
# @return [Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig]
|
3134
|
-
attr_accessor :template_library_config
|
3135
|
-
|
3136
3273
|
def initialize(**args)
|
3137
3274
|
update!(**args)
|
3138
3275
|
end
|
@@ -3149,7 +3286,6 @@ module Google
|
|
3149
3286
|
@mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
|
3150
3287
|
@policy_content = args[:policy_content] if args.key?(:policy_content)
|
3151
3288
|
@referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
|
3152
|
-
@template_library_config = args[:template_library_config] if args.key?(:template_library_config)
|
3153
3289
|
end
|
3154
3290
|
end
|
3155
3291
|
|
@@ -3189,12 +3325,6 @@ module Google
|
|
3189
3325
|
# @return [Hash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>]
|
3190
3326
|
attr_accessor :component_states
|
3191
3327
|
|
3192
|
-
# The state of the template library and any bundles included in the chosen
|
3193
|
-
# version of the manifest
|
3194
|
-
# Corresponds to the JSON property `contentStates`
|
3195
|
-
# @return [Hash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>]
|
3196
|
-
attr_accessor :content_states
|
3197
|
-
|
3198
3328
|
# The state of the policy controller policy content
|
3199
3329
|
# Corresponds to the JSON property `policyContentState`
|
3200
3330
|
# @return [Google::Apis::GkehubV1beta::PolicyControllerPolicyContentState]
|
@@ -3213,7 +3343,6 @@ module Google
|
|
3213
3343
|
# Update properties of this object
|
3214
3344
|
def update!(**args)
|
3215
3345
|
@component_states = args[:component_states] if args.key?(:component_states)
|
3216
|
-
@content_states = args[:content_states] if args.key?(:content_states)
|
3217
3346
|
@policy_content_state = args[:policy_content_state] if args.key?(:policy_content_state)
|
3218
3347
|
@state = args[:state] if args.key?(:state)
|
3219
3348
|
end
|
@@ -3334,6 +3463,11 @@ module Google
|
|
3334
3463
|
# @return [Google::Apis::GkehubV1beta::PolicyControllerResourceRequirements]
|
3335
3464
|
attr_accessor :container_resources
|
3336
3465
|
|
3466
|
+
# Pod affinity configuration.
|
3467
|
+
# Corresponds to the JSON property `podAffinity`
|
3468
|
+
# @return [String]
|
3469
|
+
attr_accessor :pod_affinity
|
3470
|
+
|
3337
3471
|
# Pod anti-affinity enablement.
|
3338
3472
|
# Corresponds to the JSON property `podAntiAffinity`
|
3339
3473
|
# @return [Boolean]
|
@@ -3357,6 +3491,7 @@ module Google
|
|
3357
3491
|
# Update properties of this object
|
3358
3492
|
def update!(**args)
|
3359
3493
|
@container_resources = args[:container_resources] if args.key?(:container_resources)
|
3494
|
+
@pod_affinity = args[:pod_affinity] if args.key?(:pod_affinity)
|
3360
3495
|
@pod_anti_affinity = args[:pod_anti_affinity] if args.key?(:pod_anti_affinity)
|
3361
3496
|
@pod_tolerations = args[:pod_tolerations] if args.key?(:pod_tolerations)
|
3362
3497
|
@replica_count = args[:replica_count] if args.key?(:replica_count)
|
@@ -3417,12 +3552,6 @@ module Google
|
|
3417
3552
|
class PolicyControllerTemplateLibraryConfig
|
3418
3553
|
include Google::Apis::Core::Hashable
|
3419
3554
|
|
3420
|
-
# Whether the standard template library should be installed or not.
|
3421
|
-
# Corresponds to the JSON property `included`
|
3422
|
-
# @return [Boolean]
|
3423
|
-
attr_accessor :included
|
3424
|
-
alias_method :included?, :included
|
3425
|
-
|
3426
3555
|
# Configures the manner in which the template library is installed on the
|
3427
3556
|
# cluster.
|
3428
3557
|
# Corresponds to the JSON property `installation`
|
@@ -3435,7 +3564,6 @@ module Google
|
|
3435
3564
|
|
3436
3565
|
# Update properties of this object
|
3437
3566
|
def update!(**args)
|
3438
|
-
@included = args[:included] if args.key?(:included)
|
3439
3567
|
@installation = args[:installation] if args.key?(:installation)
|
3440
3568
|
end
|
3441
3569
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1beta
|
18
18
|
# Version of the google-apis-gkehub_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.51.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 = "20230627"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -190,12 +190,6 @@ module Google
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
191
191
|
end
|
192
192
|
|
193
|
-
class ConfigManagementManaged
|
194
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
-
|
196
|
-
include Google::Apis::Core::JsonObjectSupport
|
197
|
-
end
|
198
|
-
|
199
193
|
class ConfigManagementMembershipSpec
|
200
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
195
|
|
@@ -304,6 +298,12 @@ module Google
|
|
304
298
|
include Google::Apis::Core::JsonObjectSupport
|
305
299
|
end
|
306
300
|
|
301
|
+
class FleetObservabilityFeatureError
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
307
|
class FleetObservabilityFeatureSpec
|
308
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
309
|
|
@@ -316,6 +316,24 @@ module Google
|
|
316
316
|
include Google::Apis::Core::JsonObjectSupport
|
317
317
|
end
|
318
318
|
|
319
|
+
class FleetObservabilityFleetObservabilityBaseFeatureState
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
325
|
+
class FleetObservabilityFleetObservabilityLoggingState
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class FleetObservabilityFleetObservabilityMonitoringState
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
319
337
|
class FleetObservabilityLoggingConfig
|
320
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
339
|
|
@@ -340,6 +358,12 @@ module Google
|
|
340
358
|
include Google::Apis::Core::JsonObjectSupport
|
341
359
|
end
|
342
360
|
|
361
|
+
class GenerateMembershipRbacRoleBindingYamlResponse
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
343
367
|
class GoogleRpcStatus
|
344
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
369
|
|
@@ -406,6 +430,12 @@ module Google
|
|
406
430
|
include Google::Apis::Core::JsonObjectSupport
|
407
431
|
end
|
408
432
|
|
433
|
+
class ListMembershipRbacRoleBindingsResponse
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
409
439
|
class ListNamespacesResponse
|
410
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
441
|
|
@@ -502,6 +532,12 @@ module Google
|
|
502
532
|
include Google::Apis::Core::JsonObjectSupport
|
503
533
|
end
|
504
534
|
|
535
|
+
class Origin
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
505
541
|
class Policy
|
506
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
543
|
|
@@ -810,13 +846,12 @@ module Google
|
|
810
846
|
property :enabled, as: 'enabled'
|
811
847
|
property :git, as: 'git', class: Google::Apis::GkehubV1beta::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementGitConfig::Representation
|
812
848
|
|
813
|
-
property :managed, as: 'managed', class: Google::Apis::GkehubV1beta::ConfigManagementManaged, decorator: Google::Apis::GkehubV1beta::ConfigManagementManaged::Representation
|
814
|
-
|
815
849
|
property :metrics_gcp_service_account_email, as: 'metricsGcpServiceAccountEmail'
|
816
850
|
property :oci, as: 'oci', class: Google::Apis::GkehubV1beta::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementOciConfig::Representation
|
817
851
|
|
818
852
|
property :prevent_drift, as: 'preventDrift'
|
819
853
|
property :source_format, as: 'sourceFormat'
|
854
|
+
property :stop_syncing, as: 'stopSyncing'
|
820
855
|
end
|
821
856
|
end
|
822
857
|
|
@@ -952,14 +987,6 @@ module Google
|
|
952
987
|
end
|
953
988
|
end
|
954
989
|
|
955
|
-
class ConfigManagementManaged
|
956
|
-
# @private
|
957
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
958
|
-
property :enabled, as: 'enabled'
|
959
|
-
property :stop_syncing, as: 'stopSyncing'
|
960
|
-
end
|
961
|
-
end
|
962
|
-
|
963
990
|
class ConfigManagementMembershipSpec
|
964
991
|
# @private
|
965
992
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -970,6 +997,7 @@ module Google
|
|
970
997
|
|
971
998
|
property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1beta::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementHierarchyControllerConfig::Representation
|
972
999
|
|
1000
|
+
property :management, as: 'management'
|
973
1001
|
property :policy_controller, as: 'policyController', class: Google::Apis::GkehubV1beta::ConfigManagementPolicyController, decorator: Google::Apis::GkehubV1beta::ConfigManagementPolicyController::Representation
|
974
1002
|
|
975
1003
|
property :version, as: 'version'
|
@@ -1170,6 +1198,14 @@ module Google
|
|
1170
1198
|
end
|
1171
1199
|
end
|
1172
1200
|
|
1201
|
+
class FleetObservabilityFeatureError
|
1202
|
+
# @private
|
1203
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1204
|
+
property :code, as: 'code'
|
1205
|
+
property :description, as: 'description'
|
1206
|
+
end
|
1207
|
+
end
|
1208
|
+
|
1173
1209
|
class FleetObservabilityFeatureSpec
|
1174
1210
|
# @private
|
1175
1211
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1181,6 +1217,37 @@ module Google
|
|
1181
1217
|
class FleetObservabilityFeatureState
|
1182
1218
|
# @private
|
1183
1219
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1220
|
+
property :logging, as: 'logging', class: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityLoggingState, decorator: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityLoggingState::Representation
|
1221
|
+
|
1222
|
+
property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityMonitoringState, decorator: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityMonitoringState::Representation
|
1223
|
+
|
1224
|
+
end
|
1225
|
+
end
|
1226
|
+
|
1227
|
+
class FleetObservabilityFleetObservabilityBaseFeatureState
|
1228
|
+
# @private
|
1229
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1230
|
+
property :code, as: 'code'
|
1231
|
+
collection :errors, as: 'errors', class: Google::Apis::GkehubV1beta::FleetObservabilityFeatureError, decorator: Google::Apis::GkehubV1beta::FleetObservabilityFeatureError::Representation
|
1232
|
+
|
1233
|
+
end
|
1234
|
+
end
|
1235
|
+
|
1236
|
+
class FleetObservabilityFleetObservabilityLoggingState
|
1237
|
+
# @private
|
1238
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1239
|
+
property :default_log, as: 'defaultLog', class: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
|
1240
|
+
|
1241
|
+
property :scope_log, as: 'scopeLog', class: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
|
1242
|
+
|
1243
|
+
end
|
1244
|
+
end
|
1245
|
+
|
1246
|
+
class FleetObservabilityFleetObservabilityMonitoringState
|
1247
|
+
# @private
|
1248
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1249
|
+
property :state, as: 'state', class: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
|
1250
|
+
|
1184
1251
|
end
|
1185
1252
|
end
|
1186
1253
|
|
@@ -1213,6 +1280,13 @@ module Google
|
|
1213
1280
|
end
|
1214
1281
|
end
|
1215
1282
|
|
1283
|
+
class GenerateMembershipRbacRoleBindingYamlResponse
|
1284
|
+
# @private
|
1285
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1286
|
+
property :role_bindings_yaml, as: 'roleBindingsYaml'
|
1287
|
+
end
|
1288
|
+
end
|
1289
|
+
|
1216
1290
|
class GoogleRpcStatus
|
1217
1291
|
# @private
|
1218
1292
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1329,6 +1403,15 @@ module Google
|
|
1329
1403
|
end
|
1330
1404
|
end
|
1331
1405
|
|
1406
|
+
class ListMembershipRbacRoleBindingsResponse
|
1407
|
+
# @private
|
1408
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1409
|
+
property :next_page_token, as: 'nextPageToken'
|
1410
|
+
collection :rbacrolebindings, as: 'rbacrolebindings', class: Google::Apis::GkehubV1beta::RbacRoleBinding, decorator: Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
|
1411
|
+
|
1412
|
+
end
|
1413
|
+
end
|
1414
|
+
|
1332
1415
|
class ListNamespacesResponse
|
1333
1416
|
# @private
|
1334
1417
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1407,13 +1490,14 @@ module Google
|
|
1407
1490
|
|
1408
1491
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec::Representation
|
1409
1492
|
|
1410
|
-
property :fleet_inherited, as: 'fleetInherited'
|
1411
1493
|
property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1beta::FleetObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1beta::FleetObservabilityMembershipSpec::Representation
|
1412
1494
|
|
1413
1495
|
property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec::Representation
|
1414
1496
|
|
1415
1497
|
property :mesh, as: 'mesh', class: Google::Apis::GkehubV1beta::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1beta::ServiceMeshMembershipSpec::Representation
|
1416
1498
|
|
1499
|
+
property :origin, as: 'origin', class: Google::Apis::GkehubV1beta::Origin, decorator: Google::Apis::GkehubV1beta::Origin::Representation
|
1500
|
+
|
1417
1501
|
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec::Representation
|
1418
1502
|
|
1419
1503
|
end
|
@@ -1511,6 +1595,13 @@ module Google
|
|
1511
1595
|
end
|
1512
1596
|
end
|
1513
1597
|
|
1598
|
+
class Origin
|
1599
|
+
# @private
|
1600
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1601
|
+
property :type, as: 'type'
|
1602
|
+
end
|
1603
|
+
end
|
1604
|
+
|
1514
1605
|
class Policy
|
1515
1606
|
# @private
|
1516
1607
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1527,7 +1618,6 @@ module Google
|
|
1527
1618
|
# @private
|
1528
1619
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1529
1620
|
collection :exempted_namespaces, as: 'exemptedNamespaces'
|
1530
|
-
property :management, as: 'management'
|
1531
1621
|
end
|
1532
1622
|
end
|
1533
1623
|
|
@@ -1547,8 +1637,6 @@ module Google
|
|
1547
1637
|
property :policy_content, as: 'policyContent', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyContentSpec, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyContentSpec::Representation
|
1548
1638
|
|
1549
1639
|
property :referential_rules_enabled, as: 'referentialRulesEnabled'
|
1550
|
-
property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig::Representation
|
1551
|
-
|
1552
1640
|
end
|
1553
1641
|
end
|
1554
1642
|
|
@@ -1566,8 +1654,6 @@ module Google
|
|
1566
1654
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1567
1655
|
hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState::Representation
|
1568
1656
|
|
1569
|
-
hash :content_states, as: 'contentStates', class: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState::Representation
|
1570
|
-
|
1571
1657
|
property :policy_content_state, as: 'policyContentState', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyContentState, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyContentState::Representation
|
1572
1658
|
|
1573
1659
|
property :state, as: 'state'
|
@@ -1616,6 +1702,7 @@ module Google
|
|
1616
1702
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1617
1703
|
property :container_resources, as: 'containerResources', class: Google::Apis::GkehubV1beta::PolicyControllerResourceRequirements, decorator: Google::Apis::GkehubV1beta::PolicyControllerResourceRequirements::Representation
|
1618
1704
|
|
1705
|
+
property :pod_affinity, as: 'podAffinity'
|
1619
1706
|
property :pod_anti_affinity, as: 'podAntiAffinity'
|
1620
1707
|
collection :pod_tolerations, as: 'podTolerations', class: Google::Apis::GkehubV1beta::PolicyControllerToleration, decorator: Google::Apis::GkehubV1beta::PolicyControllerToleration::Representation
|
1621
1708
|
|
@@ -1644,7 +1731,6 @@ module Google
|
|
1644
1731
|
class PolicyControllerTemplateLibraryConfig
|
1645
1732
|
# @private
|
1646
1733
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1647
|
-
property :included, as: 'included'
|
1648
1734
|
property :installation, as: 'installation'
|
1649
1735
|
end
|
1650
1736
|
end
|
@@ -991,6 +991,231 @@ module Google
|
|
991
991
|
execute_or_queue_command(command, &block)
|
992
992
|
end
|
993
993
|
|
994
|
+
# Creates a Membership RBACRoleBinding.
|
995
|
+
# @param [String] parent
|
996
|
+
# Required. The parent (project and location) where the RBACRoleBinding will be
|
997
|
+
# created. Specified in the format `projects/*/locations/*/memberships/*`.
|
998
|
+
# @param [Google::Apis::GkehubV1beta::RbacRoleBinding] rbac_role_binding_object
|
999
|
+
# @param [String] rbacrolebinding_id
|
1000
|
+
# Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
|
1001
|
+
# be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
|
1002
|
+
# It must consist of lower case alphanumeric characters or `-` 3. It must start
|
1003
|
+
# and end with an alphanumeric character Which can be expressed as the regex: `[
|
1004
|
+
# a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
|
1005
|
+
# @param [String] fields
|
1006
|
+
# Selector specifying which fields to include in a partial response.
|
1007
|
+
# @param [String] quota_user
|
1008
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1009
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1010
|
+
# @param [Google::Apis::RequestOptions] options
|
1011
|
+
# Request-specific options
|
1012
|
+
#
|
1013
|
+
# @yield [result, err] Result & error if block supplied
|
1014
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
1015
|
+
# @yieldparam err [StandardError] error object if request failed
|
1016
|
+
#
|
1017
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
1018
|
+
#
|
1019
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1020
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1021
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1022
|
+
def create_project_location_membership_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1023
|
+
command = make_simple_command(:post, 'v1beta/{+parent}/rbacrolebindings', options)
|
1024
|
+
command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
|
1025
|
+
command.request_object = rbac_role_binding_object
|
1026
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
1027
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
1028
|
+
command.params['parent'] = parent unless parent.nil?
|
1029
|
+
command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
|
1030
|
+
command.query['fields'] = fields unless fields.nil?
|
1031
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1032
|
+
execute_or_queue_command(command, &block)
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
# Deletes a Membership RBACRoleBinding.
|
1036
|
+
# @param [String] name
|
1037
|
+
# Required. The RBACRoleBinding resource name in the format `projects/*/
|
1038
|
+
# locations/*/memberships/*/rbacrolebindings/*`.
|
1039
|
+
# @param [String] fields
|
1040
|
+
# Selector specifying which fields to include in a partial response.
|
1041
|
+
# @param [String] quota_user
|
1042
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1043
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1044
|
+
# @param [Google::Apis::RequestOptions] options
|
1045
|
+
# Request-specific options
|
1046
|
+
#
|
1047
|
+
# @yield [result, err] Result & error if block supplied
|
1048
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
1049
|
+
# @yieldparam err [StandardError] error object if request failed
|
1050
|
+
#
|
1051
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
1052
|
+
#
|
1053
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1054
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1055
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1056
|
+
def delete_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
|
1057
|
+
command = make_simple_command(:delete, 'v1beta/{+name}', options)
|
1058
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
1059
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
1060
|
+
command.params['name'] = name unless name.nil?
|
1061
|
+
command.query['fields'] = fields unless fields.nil?
|
1062
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1063
|
+
execute_or_queue_command(command, &block)
|
1064
|
+
end
|
1065
|
+
|
1066
|
+
# Generates a YAML of the RBAC policies for the specified RoleBinding and its
|
1067
|
+
# associated impersonation resources.
|
1068
|
+
# @param [String] parent
|
1069
|
+
# Required. The parent (project and location) where the RBACRoleBinding will be
|
1070
|
+
# created. Specified in the format `projects/*/locations/*/memberships/*`.
|
1071
|
+
# @param [Google::Apis::GkehubV1beta::RbacRoleBinding] rbac_role_binding_object
|
1072
|
+
# @param [String] rbacrolebinding_id
|
1073
|
+
# Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
|
1074
|
+
# be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
|
1075
|
+
# It must consist of lower case alphanumeric characters or `-` 3. It must start
|
1076
|
+
# and end with an alphanumeric character Which can be expressed as the regex: `[
|
1077
|
+
# a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
|
1078
|
+
# @param [String] fields
|
1079
|
+
# Selector specifying which fields to include in a partial response.
|
1080
|
+
# @param [String] quota_user
|
1081
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1082
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1083
|
+
# @param [Google::Apis::RequestOptions] options
|
1084
|
+
# Request-specific options
|
1085
|
+
#
|
1086
|
+
# @yield [result, err] Result & error if block supplied
|
1087
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::GenerateMembershipRbacRoleBindingYamlResponse] parsed result object
|
1088
|
+
# @yieldparam err [StandardError] error object if request failed
|
1089
|
+
#
|
1090
|
+
# @return [Google::Apis::GkehubV1beta::GenerateMembershipRbacRoleBindingYamlResponse]
|
1091
|
+
#
|
1092
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1093
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1094
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1095
|
+
def generate_project_location_membership_rbacrolebinding_membership_rbac_role_binding_yaml(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1096
|
+
command = make_simple_command(:post, 'v1beta/{+parent}/rbacrolebindings:generateMembershipRBACRoleBindingYAML', options)
|
1097
|
+
command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
|
1098
|
+
command.request_object = rbac_role_binding_object
|
1099
|
+
command.response_representation = Google::Apis::GkehubV1beta::GenerateMembershipRbacRoleBindingYamlResponse::Representation
|
1100
|
+
command.response_class = Google::Apis::GkehubV1beta::GenerateMembershipRbacRoleBindingYamlResponse
|
1101
|
+
command.params['parent'] = parent unless parent.nil?
|
1102
|
+
command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
|
1103
|
+
command.query['fields'] = fields unless fields.nil?
|
1104
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1105
|
+
execute_or_queue_command(command, &block)
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
# Returns the details of a Membership RBACRoleBinding.
|
1109
|
+
# @param [String] name
|
1110
|
+
# Required. The RBACRoleBinding resource name in the format `projects/*/
|
1111
|
+
# locations/*/memberships/*/rbacrolebindings/*`.
|
1112
|
+
# @param [String] fields
|
1113
|
+
# Selector specifying which fields to include in a partial response.
|
1114
|
+
# @param [String] quota_user
|
1115
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1116
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1117
|
+
# @param [Google::Apis::RequestOptions] options
|
1118
|
+
# Request-specific options
|
1119
|
+
#
|
1120
|
+
# @yield [result, err] Result & error if block supplied
|
1121
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::RbacRoleBinding] parsed result object
|
1122
|
+
# @yieldparam err [StandardError] error object if request failed
|
1123
|
+
#
|
1124
|
+
# @return [Google::Apis::GkehubV1beta::RbacRoleBinding]
|
1125
|
+
#
|
1126
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1127
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1128
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1129
|
+
def get_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
|
1130
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
1131
|
+
command.response_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
|
1132
|
+
command.response_class = Google::Apis::GkehubV1beta::RbacRoleBinding
|
1133
|
+
command.params['name'] = name unless name.nil?
|
1134
|
+
command.query['fields'] = fields unless fields.nil?
|
1135
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1136
|
+
execute_or_queue_command(command, &block)
|
1137
|
+
end
|
1138
|
+
|
1139
|
+
# Lists all Membership RBACRoleBindings.
|
1140
|
+
# @param [String] parent
|
1141
|
+
# Required. The parent (project and location) where the Features will be listed.
|
1142
|
+
# Specified in the format `projects/*/locations/*/memberships/*`.
|
1143
|
+
# @param [Fixnum] page_size
|
1144
|
+
# Optional. When requesting a 'page' of resources, `page_size` specifies number
|
1145
|
+
# of resources to return. If unspecified or set to 0, all resources will be
|
1146
|
+
# returned.
|
1147
|
+
# @param [String] page_token
|
1148
|
+
# Optional. Token returned by previous call to `ListMembershipRBACRoleBindings`
|
1149
|
+
# which specifies the position in the list from where to continue listing the
|
1150
|
+
# resources.
|
1151
|
+
# @param [String] fields
|
1152
|
+
# Selector specifying which fields to include in a partial response.
|
1153
|
+
# @param [String] quota_user
|
1154
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1155
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1156
|
+
# @param [Google::Apis::RequestOptions] options
|
1157
|
+
# Request-specific options
|
1158
|
+
#
|
1159
|
+
# @yield [result, err] Result & error if block supplied
|
1160
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::ListMembershipRbacRoleBindingsResponse] parsed result object
|
1161
|
+
# @yieldparam err [StandardError] error object if request failed
|
1162
|
+
#
|
1163
|
+
# @return [Google::Apis::GkehubV1beta::ListMembershipRbacRoleBindingsResponse]
|
1164
|
+
#
|
1165
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1166
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1167
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1168
|
+
def list_project_location_membership_rbacrolebindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1169
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/rbacrolebindings', options)
|
1170
|
+
command.response_representation = Google::Apis::GkehubV1beta::ListMembershipRbacRoleBindingsResponse::Representation
|
1171
|
+
command.response_class = Google::Apis::GkehubV1beta::ListMembershipRbacRoleBindingsResponse
|
1172
|
+
command.params['parent'] = parent unless parent.nil?
|
1173
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1174
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1175
|
+
command.query['fields'] = fields unless fields.nil?
|
1176
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1177
|
+
execute_or_queue_command(command, &block)
|
1178
|
+
end
|
1179
|
+
|
1180
|
+
# Updates a Membership RBACRoleBinding.
|
1181
|
+
# @param [String] name
|
1182
|
+
# The resource name for the rbacrolebinding `projects/`project`/locations/`
|
1183
|
+
# location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
|
1184
|
+
# projects/`project`/locations/`location`/memberships/`membership`/
|
1185
|
+
# rbacrolebindings/`rbacrolebinding``
|
1186
|
+
# @param [Google::Apis::GkehubV1beta::RbacRoleBinding] rbac_role_binding_object
|
1187
|
+
# @param [String] update_mask
|
1188
|
+
# Required. The fields to be updated.
|
1189
|
+
# @param [String] fields
|
1190
|
+
# Selector specifying which fields to include in a partial response.
|
1191
|
+
# @param [String] quota_user
|
1192
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1193
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1194
|
+
# @param [Google::Apis::RequestOptions] options
|
1195
|
+
# Request-specific options
|
1196
|
+
#
|
1197
|
+
# @yield [result, err] Result & error if block supplied
|
1198
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
1199
|
+
# @yieldparam err [StandardError] error object if request failed
|
1200
|
+
#
|
1201
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
1202
|
+
#
|
1203
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1204
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1205
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1206
|
+
def patch_project_location_membership_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1207
|
+
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
1208
|
+
command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
|
1209
|
+
command.request_object = rbac_role_binding_object
|
1210
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
1211
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
1212
|
+
command.params['name'] = name unless name.nil?
|
1213
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1214
|
+
command.query['fields'] = fields unless fields.nil?
|
1215
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1216
|
+
execute_or_queue_command(command, &block)
|
1217
|
+
end
|
1218
|
+
|
994
1219
|
# Creates a fleet namespace.
|
995
1220
|
# @param [String] parent
|
996
1221
|
# Required. The parent (project and location) where the Namespace will be
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.51.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-07-02 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_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.51.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|