google-apis-gkehub_v1alpha 0.51.0 → 0.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0cb423d3353a0518533ae850b470440d59ce5ddab4c746aa04bef2f25426f0dd
4
- data.tar.gz: b6a1e7b572c3a502affdac0e75421b38bab1921cdca982371c8e49f4af42bdc1
3
+ metadata.gz: f2098d408e7b245ac99897b2ac39dfa6d66bbf2e7d301ffd5d7bb733d8d2f66e
4
+ data.tar.gz: 8b0459898dad91d90d6f4df00ec73a6537194a007a0a4db1196b181bcb285280
5
5
  SHA512:
6
- metadata.gz: f77509714666bb89eab8139ec09bd86c2db8f408c44cc2f6fa5e320a751a14c80afa0d0681d2b12f4189bb7c3f3c7cdb79c1af29543541f76fecd50649138112
7
- data.tar.gz: 29552d35ec3cd509bd2a054d5ed47562b47295cc9d9f5f07782e0300e110001ec894e0f7ffee18fbfc0aab0f021956fb8591aaf619aa565a790e884f0dc82cdf
6
+ metadata.gz: 857a286fa2951f822209f63c931b1f80891fcdbcaeccb5fa58019cb99f5bb2390f14c5bc15a55c8ef8d808d2f77b88ed8bd048b1f2fd8206be2ffc459cf3b20c
7
+ data.tar.gz: 0bb08022db8d6b6eaf9c12cc16407885b17be015989154ba6430e061c7733c96315b87902e625fc049ad2c75fc56326380449b866d89dda91d044c5427e1cf20
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.53.0 (2023-04-30)
4
+
5
+ * Regenerated from discovery document revision 20230424
6
+
7
+ ### v0.52.0 (2023-04-23)
8
+
9
+ * Regenerated from discovery document revision 20230414
10
+
3
11
  ### v0.51.0 (2023-04-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230407
@@ -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 GCP resource for the Appliance Cluster. For
116
- # example: //transferappliance.googleapis.com/projects/my-project/locations/us-
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
@@ -1553,9 +1553,9 @@ module Google
1553
1553
  class EdgeCluster
1554
1554
  include Google::Apis::Core::Hashable
1555
1555
 
1556
- # Immutable. Self-link of the GCP resource for the Edge Cluster. For example: //
1557
- # edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/
1558
- # my-cluster
1556
+ # Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For
1557
+ # example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-
1558
+ # a/clusters/my-cluster
1559
1559
  # Corresponds to the JSON property `resourceLink`
1560
1560
  # @return [String]
1561
1561
  attr_accessor :resource_link
@@ -1660,7 +1660,7 @@ module Google
1660
1660
  # @return [Google::Apis::GkehubV1alpha::CommonFleetDefaultMemberConfigSpec]
1661
1661
  attr_accessor :fleet_default_member_config
1662
1662
 
1663
- # GCP labels for this Feature.
1663
+ # Labels for this Feature.
1664
1664
  # Corresponds to the JSON property `labels`
1665
1665
  # @return [Hash<String,String>]
1666
1666
  attr_accessor :labels
@@ -1867,8 +1867,8 @@ module Google
1867
1867
  attr_accessor :display_name
1868
1868
 
1869
1869
  # Output only. The full, unique resource name of this fleet in the format of `
1870
- # projects/`project`/locations/`location`/fleets/`fleet``. Each GCP project can
1871
- # have at most one fleet resource, named "default".
1870
+ # projects/`project`/locations/`location`/fleets/`fleet``. Each Google Cloud
1871
+ # project can have at most one fleet resource, named "default".
1872
1872
  # Corresponds to the JSON property `name`
1873
1873
  # @return [String]
1874
1874
  attr_accessor :name
@@ -1929,12 +1929,18 @@ module Google
1929
1929
  class FleetObservabilityFeatureSpec
1930
1930
  include Google::Apis::Core::Hashable
1931
1931
 
1932
+ # LoggingConfig defines the configuration for different types of logs.
1933
+ # Corresponds to the JSON property `loggingConfig`
1934
+ # @return [Google::Apis::GkehubV1alpha::FleetObservabilityLoggingConfig]
1935
+ attr_accessor :logging_config
1936
+
1932
1937
  def initialize(**args)
1933
1938
  update!(**args)
1934
1939
  end
1935
1940
 
1936
1941
  # Update properties of this object
1937
1942
  def update!(**args)
1943
+ @logging_config = args[:logging_config] if args.key?(:logging_config)
1938
1944
  end
1939
1945
  end
1940
1946
 
@@ -1952,6 +1958,31 @@ module Google
1952
1958
  end
1953
1959
  end
1954
1960
 
1961
+ # LoggingConfig defines the configuration for different types of logs.
1962
+ class FleetObservabilityLoggingConfig
1963
+ include Google::Apis::Core::Hashable
1964
+
1965
+ # RoutingConfig configures the behaviour of fleet logging feature.
1966
+ # Corresponds to the JSON property `defaultConfig`
1967
+ # @return [Google::Apis::GkehubV1alpha::FleetObservabilityRoutingConfig]
1968
+ attr_accessor :default_config
1969
+
1970
+ # RoutingConfig configures the behaviour of fleet logging feature.
1971
+ # Corresponds to the JSON property `fleetScopeLogsConfig`
1972
+ # @return [Google::Apis::GkehubV1alpha::FleetObservabilityRoutingConfig]
1973
+ attr_accessor :fleet_scope_logs_config
1974
+
1975
+ def initialize(**args)
1976
+ update!(**args)
1977
+ end
1978
+
1979
+ # Update properties of this object
1980
+ def update!(**args)
1981
+ @default_config = args[:default_config] if args.key?(:default_config)
1982
+ @fleet_scope_logs_config = args[:fleet_scope_logs_config] if args.key?(:fleet_scope_logs_config)
1983
+ end
1984
+ end
1985
+
1955
1986
  # **FleetObservability**: The membership-specific input for FleetObservability
1956
1987
  # feature.
1957
1988
  class FleetObservabilityMembershipSpec
@@ -1980,6 +2011,25 @@ module Google
1980
2011
  end
1981
2012
  end
1982
2013
 
2014
+ # RoutingConfig configures the behaviour of fleet logging feature.
2015
+ class FleetObservabilityRoutingConfig
2016
+ include Google::Apis::Core::Hashable
2017
+
2018
+ # mode configures the logs routing mode.
2019
+ # Corresponds to the JSON property `mode`
2020
+ # @return [String]
2021
+ attr_accessor :mode
2022
+
2023
+ def initialize(**args)
2024
+ update!(**args)
2025
+ end
2026
+
2027
+ # Update properties of this object
2028
+ def update!(**args)
2029
+ @mode = args[:mode] if args.key?(:mode)
2030
+ end
2031
+ end
2032
+
1983
2033
  # GenerateConnectManifestResponse contains manifest information for installing/
1984
2034
  # upgrading a Connect agent.
1985
2035
  class GenerateConnectManifestResponse
@@ -2012,9 +2062,9 @@ module Google
2012
2062
  attr_accessor :cluster_missing
2013
2063
  alias_method :cluster_missing?, :cluster_missing
2014
2064
 
2015
- # Immutable. Self-link of the GCP resource for the GKE cluster. For example: //
2016
- # container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-
2017
- # cluster Zonal clusters are also supported.
2065
+ # Immutable. Self-link of the Google Cloud resource for the GKE cluster. For
2066
+ # example: //container.googleapis.com/projects/my-project/locations/us-west1-a/
2067
+ # clusters/my-cluster Zonal clusters are also supported.
2018
2068
  # Corresponds to the JSON property `resourceLink`
2019
2069
  # @return [String]
2020
2070
  attr_accessor :resource_link
@@ -2726,7 +2776,7 @@ module Google
2726
2776
  end
2727
2777
  end
2728
2778
 
2729
- # A resource that represents Google Cloud Platform location.
2779
+ # A resource that represents a Google Cloud location.
2730
2780
  class Location
2731
2781
  include Google::Apis::Core::Hashable
2732
2782
 
@@ -2814,7 +2864,7 @@ module Google
2814
2864
  # @return [String]
2815
2865
  attr_accessor :external_id
2816
2866
 
2817
- # Optional. GCP labels for this membership.
2867
+ # Optional. Labels for this membership.
2818
2868
  # Corresponds to the JSON property `labels`
2819
2869
  # @return [Hash<String,String>]
2820
2870
  attr_accessor :labels
@@ -3304,11 +3354,12 @@ module Google
3304
3354
  attr_accessor :cluster_missing
3305
3355
  alias_method :cluster_missing?, :cluster_missing
3306
3356
 
3307
- # Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For
3308
- # example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-
3309
- # a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/
3310
- # locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/
3311
- # projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
3357
+ # Immutable. Self-link of the Google Cloud resource for the GKE Multi-Cloud
3358
+ # cluster. For example: //gkemulticloud.googleapis.com/projects/my-project/
3359
+ # locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/
3360
+ # projects/my-project/locations/us-west1-a/azureClusters/my-cluster //
3361
+ # gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/
3362
+ # attachedClusters/my-cluster
3312
3363
  # Corresponds to the JSON property `resourceLink`
3313
3364
  # @return [String]
3314
3365
  attr_accessor :resource_link
@@ -3451,9 +3502,9 @@ module Google
3451
3502
  # @return [String]
3452
3503
  attr_accessor :cluster_type
3453
3504
 
3454
- # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
3455
- # example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/
3456
- # vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
3505
+ # Immutable. Self-link of the Google Cloud resource for the GKE On-Prem cluster.
3506
+ # For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-
3507
+ # a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
3457
3508
  # locations/us-west1-a/bareMetalClusters/my-cluster
3458
3509
  # Corresponds to the JSON property `resourceLink`
3459
3510
  # @return [String]
@@ -3693,14 +3744,12 @@ module Google
3693
3744
  class PolicyControllerBundleInstallSpec
3694
3745
  include Google::Apis::Core::Hashable
3695
3746
 
3696
- # the set of namespaces to be exempted from the bundle TODO (b/271878194):
3697
- # Decrement this
3747
+ # the set of namespaces to be exempted from the bundle
3698
3748
  # Corresponds to the JSON property `exemptedNamespaces`
3699
3749
  # @return [Array<String>]
3700
3750
  attr_accessor :exempted_namespaces
3701
3751
 
3702
- # Management specifies how the bundle will be managed by the controller. TODO (b/
3703
- # 271878194): Remove this
3752
+ # Management specifies how the bundle will be managed by the controller.
3704
3753
  # Corresponds to the JSON property `management`
3705
3754
  # @return [String]
3706
3755
  attr_accessor :management
@@ -3732,7 +3781,7 @@ module Google
3732
3781
  # @return [Fixnum]
3733
3782
  attr_accessor :constraint_violation_limit
3734
3783
 
3735
- # Map of deployment configs to deployments (admission”, audit”, mutation).
3784
+ # Map of deployment configs to deployments ("admission", "audit", "mutation').
3736
3785
  # Corresponds to the JSON property `deploymentConfigs`
3737
3786
  # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerDeploymentConfig>]
3738
3787
  attr_accessor :deployment_configs
@@ -3845,7 +3894,7 @@ module Google
3845
3894
  attr_accessor :component_states
3846
3895
 
3847
3896
  # The state of the template library and any bundles included in the chosen
3848
- # version of the manifest TODO (b/271878194): Remove this
3897
+ # version of the manifest
3849
3898
  # Corresponds to the JSON property `contentStates`
3850
3899
  # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
3851
3900
  attr_accessor :content_states
@@ -4066,15 +4115,14 @@ module Google
4066
4115
  class PolicyControllerTemplateLibraryConfig
4067
4116
  include Google::Apis::Core::Hashable
4068
4117
 
4069
- # Whether the standard template library should be installed or not. TODO (b/
4070
- # 271878194): Remove this
4118
+ # Whether the standard template library should be installed or not.
4071
4119
  # Corresponds to the JSON property `included`
4072
4120
  # @return [Boolean]
4073
4121
  attr_accessor :included
4074
4122
  alias_method :included?, :included
4075
4123
 
4076
4124
  # Configures the manner in which the template library is installed on the
4077
- # cluster. TODO (b/271878194): Decrement this
4125
+ # cluster.
4078
4126
  # Corresponds to the JSON property `installation`
4079
4127
  # @return [String]
4080
4128
  attr_accessor :installation
@@ -4311,6 +4359,12 @@ module Google
4311
4359
  class Scope
4312
4360
  include Google::Apis::Core::Hashable
4313
4361
 
4362
+ # If true, all Memberships in the Fleet bind to this Scope.
4363
+ # Corresponds to the JSON property `allMemberships`
4364
+ # @return [Boolean]
4365
+ attr_accessor :all_memberships
4366
+ alias_method :all_memberships?, :all_memberships
4367
+
4314
4368
  # Output only. When the scope was created.
4315
4369
  # Corresponds to the JSON property `createTime`
4316
4370
  # @return [String]
@@ -4350,6 +4404,7 @@ module Google
4350
4404
 
4351
4405
  # Update properties of this object
4352
4406
  def update!(**args)
4407
+ @all_memberships = args[:all_memberships] if args.key?(:all_memberships)
4353
4408
  @create_time = args[:create_time] if args.key?(:create_time)
4354
4409
  @delete_time = args[:delete_time] if args.key?(:delete_time)
4355
4410
  @name = args[:name] if args.key?(:name)
@@ -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.51.0"
19
+ GEM_VERSION = "0.53.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 = "20230407"
25
+ REVISION = "20230424"
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
@@ -2036,6 +2067,7 @@ module Google
2036
2067
  class Scope
2037
2068
  # @private
2038
2069
  class Representation < Google::Apis::Core::JsonRepresentation
2070
+ property :all_memberships, as: 'allMemberships'
2039
2071
  property :create_time, as: 'createTime'
2040
2072
  property :delete_time, as: 'deleteTime'
2041
2073
  property :name, as: 'name'
@@ -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 GCP project can
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;
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.51.0
4
+ version: 0.53.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-04-16 00:00:00.000000000 Z
11
+ date: 2023-04-30 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.51.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.53.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: []