google-apis-gkehub_v1beta 0.45.0 → 0.47.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: 37578fc6050e3518c58bed140244c763777f6a90cd758b93567101f2bb5ccee1
4
- data.tar.gz: ad384fbab9f29fc374a9a3dd3a2711cd57b931a3d99016c3704724eb2d5319ec
3
+ metadata.gz: e9002a4044b34b80f3e1f863911ffffc92d4b0489b90ad3480aa0566e7883ad7
4
+ data.tar.gz: 79d66e1d1781e05d5cc75997f89e7576562214b5de6f422d697df2965c869d1c
5
5
  SHA512:
6
- metadata.gz: 324babeb03f8c6bd0726f6670b932756309adc7c85d922cb1017e1de3d35b16b4d60d418a79e7722f72b94368b498d7af1d6316a645efe89a1f3058c57e5cc12
7
- data.tar.gz: 551a82e89b6b0af3b1a1b1de1578904b0e32adf2a36e7890120439c35097346321f468c3c4d7935de36d4443ed0df7584b8b41f4dc06043764b1de6ebb0ec044
6
+ metadata.gz: 62db8ae1910d84856651cdca3fd142657e99d5b9f30bdc059fb9d348a19225ef677add9a3d85e495e34f05ecd6bd024a4669926d669aa7af0df76b581af8677f
7
+ data.tar.gz: 1e115d5911d3add84c3ad7c553f2c3e36e86654284c3e95ae31bf5f69789d1a733a8d3e0c8262d6ba31aed758a15168b63b4e907adc4a24f36231be8e43b8474
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.47.0 (2023-05-21)
4
+
5
+ * Regenerated from discovery document revision 20230515
6
+
7
+ ### v0.46.0 (2023-04-30)
8
+
9
+ * Regenerated from discovery document revision 20230424
10
+
3
11
  ### v0.45.0 (2023-04-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20230414
@@ -315,8 +315,7 @@ module Google
315
315
  # @return [Google::Apis::GkehubV1beta::AppDevExperienceFeatureState]
316
316
  attr_accessor :appdevexperience
317
317
 
318
- # **FleetObservability**: An empty state left as an example Hub-wide Feature
319
- # state.
318
+ # **FleetObservability**: Hub-wide Feature for FleetObservability feature. state.
320
319
  # Corresponds to the JSON property `fleetobservability`
321
320
  # @return [Google::Apis::GkehubV1beta::FleetObservabilityFeatureState]
322
321
  attr_accessor :fleetobservability
@@ -1469,7 +1468,7 @@ module Google
1469
1468
  # @return [Google::Apis::GkehubV1beta::CommonFleetDefaultMemberConfigSpec]
1470
1469
  attr_accessor :fleet_default_member_config
1471
1470
 
1472
- # GCP labels for this Feature.
1471
+ # Labels for this Feature.
1473
1472
  # Corresponds to the JSON property `labels`
1474
1473
  # @return [Hash<String,String>]
1475
1474
  attr_accessor :labels
@@ -1649,8 +1648,8 @@ module Google
1649
1648
  attr_accessor :display_name
1650
1649
 
1651
1650
  # Output only. The full, unique resource name of this fleet in the format of `
1652
- # projects/`project`/locations/`location`/fleets/`fleet``. Each GCP project can
1653
- # have at most one fleet resource, named "default".
1651
+ # projects/`project`/locations/`location`/fleets/`fleet``. Each Google Cloud
1652
+ # project can have at most one fleet resource, named "default".
1654
1653
  # Corresponds to the JSON property `name`
1655
1654
  # @return [String]
1656
1655
  attr_accessor :name
@@ -1711,17 +1710,22 @@ module Google
1711
1710
  class FleetObservabilityFeatureSpec
1712
1711
  include Google::Apis::Core::Hashable
1713
1712
 
1713
+ # LoggingConfig defines the configuration for different types of logs.
1714
+ # Corresponds to the JSON property `loggingConfig`
1715
+ # @return [Google::Apis::GkehubV1beta::FleetObservabilityLoggingConfig]
1716
+ attr_accessor :logging_config
1717
+
1714
1718
  def initialize(**args)
1715
1719
  update!(**args)
1716
1720
  end
1717
1721
 
1718
1722
  # Update properties of this object
1719
1723
  def update!(**args)
1724
+ @logging_config = args[:logging_config] if args.key?(:logging_config)
1720
1725
  end
1721
1726
  end
1722
1727
 
1723
- # **FleetObservability**: An empty state left as an example Hub-wide Feature
1724
- # state.
1728
+ # **FleetObservability**: Hub-wide Feature for FleetObservability feature. state.
1725
1729
  class FleetObservabilityFeatureState
1726
1730
  include Google::Apis::Core::Hashable
1727
1731
 
@@ -1734,6 +1738,31 @@ module Google
1734
1738
  end
1735
1739
  end
1736
1740
 
1741
+ # LoggingConfig defines the configuration for different types of logs.
1742
+ class FleetObservabilityLoggingConfig
1743
+ include Google::Apis::Core::Hashable
1744
+
1745
+ # RoutingConfig configures the behaviour of fleet logging feature.
1746
+ # Corresponds to the JSON property `defaultConfig`
1747
+ # @return [Google::Apis::GkehubV1beta::FleetObservabilityRoutingConfig]
1748
+ attr_accessor :default_config
1749
+
1750
+ # RoutingConfig configures the behaviour of fleet logging feature.
1751
+ # Corresponds to the JSON property `fleetScopeLogsConfig`
1752
+ # @return [Google::Apis::GkehubV1beta::FleetObservabilityRoutingConfig]
1753
+ attr_accessor :fleet_scope_logs_config
1754
+
1755
+ def initialize(**args)
1756
+ update!(**args)
1757
+ end
1758
+
1759
+ # Update properties of this object
1760
+ def update!(**args)
1761
+ @default_config = args[:default_config] if args.key?(:default_config)
1762
+ @fleet_scope_logs_config = args[:fleet_scope_logs_config] if args.key?(:fleet_scope_logs_config)
1763
+ end
1764
+ end
1765
+
1737
1766
  # **FleetObservability**: The membership-specific input for FleetObservability
1738
1767
  # feature.
1739
1768
  class FleetObservabilityMembershipSpec
@@ -1748,8 +1777,8 @@ module Google
1748
1777
  end
1749
1778
  end
1750
1779
 
1751
- # **FleetObservability**: An empty state left as an example membership-specific
1752
- # Feature state.
1780
+ # **FleetObservability**: Membership-specific Feature state for
1781
+ # fleetobservability.
1753
1782
  class FleetObservabilityMembershipState
1754
1783
  include Google::Apis::Core::Hashable
1755
1784
 
@@ -1762,6 +1791,25 @@ module Google
1762
1791
  end
1763
1792
  end
1764
1793
 
1794
+ # RoutingConfig configures the behaviour of fleet logging feature.
1795
+ class FleetObservabilityRoutingConfig
1796
+ include Google::Apis::Core::Hashable
1797
+
1798
+ # mode configures the logs routing mode.
1799
+ # Corresponds to the JSON property `mode`
1800
+ # @return [String]
1801
+ attr_accessor :mode
1802
+
1803
+ def initialize(**args)
1804
+ update!(**args)
1805
+ end
1806
+
1807
+ # Update properties of this object
1808
+ def update!(**args)
1809
+ @mode = args[:mode] if args.key?(:mode)
1810
+ end
1811
+ end
1812
+
1765
1813
  # The `Status` type defines a logical error model that is suitable for different
1766
1814
  # programming environments, including REST APIs and RPC APIs. It is used by [
1767
1815
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -2281,7 +2329,7 @@ module Google
2281
2329
  end
2282
2330
  end
2283
2331
 
2284
- # A resource that represents Google Cloud Platform location.
2332
+ # A resource that represents a Google Cloud location.
2285
2333
  class Location
2286
2334
  include Google::Apis::Core::Hashable
2287
2335
 
@@ -2356,7 +2404,7 @@ module Google
2356
2404
  # @return [String]
2357
2405
  attr_accessor :name
2358
2406
 
2359
- # A Workspace resource name in the format `projects/*/locations/*/scopes/*`.
2407
+ # A Scope resource name in the format `projects/*/locations/*/scopes/*`.
2360
2408
  # Corresponds to the JSON property `scope`
2361
2409
  # @return [String]
2362
2410
  attr_accessor :scope
@@ -2495,8 +2543,8 @@ module Google
2495
2543
  # @return [Google::Apis::GkehubV1beta::ConfigManagementMembershipState]
2496
2544
  attr_accessor :configmanagement
2497
2545
 
2498
- # **FleetObservability**: An empty state left as an example membership-specific
2499
- # Feature state.
2546
+ # **FleetObservability**: Membership-specific Feature state for
2547
+ # fleetobservability.
2500
2548
  # Corresponds to the JSON property `fleetobservability`
2501
2549
  # @return [Google::Apis::GkehubV1beta::FleetObservabilityMembershipState]
2502
2550
  attr_accessor :fleetobservability
@@ -2924,14 +2972,12 @@ module Google
2924
2972
  class PolicyControllerBundleInstallSpec
2925
2973
  include Google::Apis::Core::Hashable
2926
2974
 
2927
- # the set of namespaces to be exempted from the bundle TODO (b/271878194):
2928
- # Decrement this
2975
+ # the set of namespaces to be exempted from the bundle
2929
2976
  # Corresponds to the JSON property `exemptedNamespaces`
2930
2977
  # @return [Array<String>]
2931
2978
  attr_accessor :exempted_namespaces
2932
2979
 
2933
- # Management specifies how the bundle will be managed by the controller. TODO (b/
2934
- # 271878194): Remove this
2980
+ # Management specifies how the bundle will be managed by the controller.
2935
2981
  # Corresponds to the JSON property `management`
2936
2982
  # @return [String]
2937
2983
  attr_accessor :management
@@ -2963,7 +3009,7 @@ module Google
2963
3009
  # @return [Fixnum]
2964
3010
  attr_accessor :constraint_violation_limit
2965
3011
 
2966
- # Map of deployment configs to deployments (admission”, audit”, mutation).
3012
+ # Map of deployment configs to deployments ("admission", "audit", "mutation').
2967
3013
  # Corresponds to the JSON property `deploymentConfigs`
2968
3014
  # @return [Hash<String,Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerDeploymentConfig>]
2969
3015
  attr_accessor :deployment_configs
@@ -3076,7 +3122,7 @@ module Google
3076
3122
  attr_accessor :component_states
3077
3123
 
3078
3124
  # The state of the template library and any bundles included in the chosen
3079
- # version of the manifest TODO (b/271878194): Remove this
3125
+ # version of the manifest
3080
3126
  # Corresponds to the JSON property `contentStates`
3081
3127
  # @return [Hash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>]
3082
3128
  attr_accessor :content_states
@@ -3297,15 +3343,14 @@ module Google
3297
3343
  class PolicyControllerTemplateLibraryConfig
3298
3344
  include Google::Apis::Core::Hashable
3299
3345
 
3300
- # Whether the standard template library should be installed or not. TODO (b/
3301
- # 271878194): Remove this
3346
+ # Whether the standard template library should be installed or not.
3302
3347
  # Corresponds to the JSON property `included`
3303
3348
  # @return [Boolean]
3304
3349
  attr_accessor :included
3305
3350
  alias_method :included?, :included
3306
3351
 
3307
3352
  # Configures the manner in which the template library is installed on the
3308
- # cluster. TODO (b/271878194): Decrement this
3353
+ # cluster.
3309
3354
  # Corresponds to the JSON property `installation`
3310
3355
  # @return [String]
3311
3356
  attr_accessor :installation
@@ -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.45.0"
19
+ GEM_VERSION = "0.47.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 = "20230414"
25
+ REVISION = "20230515"
26
26
  end
27
27
  end
28
28
  end
@@ -310,6 +310,12 @@ module Google
310
310
  include Google::Apis::Core::JsonObjectSupport
311
311
  end
312
312
 
313
+ class FleetObservabilityLoggingConfig
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
313
319
  class FleetObservabilityMembershipSpec
314
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
321
 
@@ -322,6 +328,12 @@ module Google
322
328
  include Google::Apis::Core::JsonObjectSupport
323
329
  end
324
330
 
331
+ class FleetObservabilityRoutingConfig
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
325
337
  class GoogleRpcStatus
326
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
339
 
@@ -1141,6 +1153,8 @@ module Google
1141
1153
  class FleetObservabilityFeatureSpec
1142
1154
  # @private
1143
1155
  class Representation < Google::Apis::Core::JsonRepresentation
1156
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::GkehubV1beta::FleetObservabilityLoggingConfig, decorator: Google::Apis::GkehubV1beta::FleetObservabilityLoggingConfig::Representation
1157
+
1144
1158
  end
1145
1159
  end
1146
1160
 
@@ -1150,6 +1164,16 @@ module Google
1150
1164
  end
1151
1165
  end
1152
1166
 
1167
+ class FleetObservabilityLoggingConfig
1168
+ # @private
1169
+ class Representation < Google::Apis::Core::JsonRepresentation
1170
+ property :default_config, as: 'defaultConfig', class: Google::Apis::GkehubV1beta::FleetObservabilityRoutingConfig, decorator: Google::Apis::GkehubV1beta::FleetObservabilityRoutingConfig::Representation
1171
+
1172
+ property :fleet_scope_logs_config, as: 'fleetScopeLogsConfig', class: Google::Apis::GkehubV1beta::FleetObservabilityRoutingConfig, decorator: Google::Apis::GkehubV1beta::FleetObservabilityRoutingConfig::Representation
1173
+
1174
+ end
1175
+ end
1176
+
1153
1177
  class FleetObservabilityMembershipSpec
1154
1178
  # @private
1155
1179
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1162,6 +1186,13 @@ module Google
1162
1186
  end
1163
1187
  end
1164
1188
 
1189
+ class FleetObservabilityRoutingConfig
1190
+ # @private
1191
+ class Representation < Google::Apis::Core::JsonRepresentation
1192
+ property :mode, as: 'mode'
1193
+ end
1194
+ end
1195
+
1165
1196
  class GoogleRpcStatus
1166
1197
  # @private
1167
1198
  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 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::GkehubV1beta::Fleet] fleet_object
660
660
  # @param [String] update_mask
661
661
  # Required. The fields to be updated;
@@ -913,6 +913,9 @@ module Google
913
913
  # @param [String] parent
914
914
  # Required. The parent Membership for which the MembershipBindings will be
915
915
  # listed. Specified in the format `projects/*/locations/*/memberships/*`.
916
+ # @param [String] filter
917
+ # Optional. Lists MembershipBindings that match the filter expression, following
918
+ # the syntax outlined in https://google.aip.dev/160.
916
919
  # @param [Fixnum] page_size
917
920
  # Optional. When requesting a 'page' of resources, `page_size` specifies number
918
921
  # of resources to return. If unspecified or set to 0, all resources will be
@@ -938,11 +941,12 @@ module Google
938
941
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
939
942
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
940
943
  # @raise [Google::Apis::AuthorizationError] Authorization is required
941
- def list_project_location_membership_bindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
944
+ def list_project_location_membership_bindings(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
942
945
  command = make_simple_command(:get, 'v1beta/{+parent}/bindings', options)
943
946
  command.response_representation = Google::Apis::GkehubV1beta::ListMembershipBindingsResponse::Representation
944
947
  command.response_class = Google::Apis::GkehubV1beta::ListMembershipBindingsResponse
945
948
  command.params['parent'] = parent unless parent.nil?
949
+ command.query['filter'] = filter unless filter.nil?
946
950
  command.query['pageSize'] = page_size unless page_size.nil?
947
951
  command.query['pageToken'] = page_token unless page_token.nil?
948
952
  command.query['fields'] = fields unless fields.nil?
@@ -1593,6 +1597,51 @@ module Google
1593
1597
  execute_or_queue_command(command, &block)
1594
1598
  end
1595
1599
 
1600
+ # Gets the access control policy for a resource. Returns an empty policy if the
1601
+ # resource exists and does not have a policy set.
1602
+ # @param [String] resource
1603
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
1604
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1605
+ # appropriate value for this field.
1606
+ # @param [Fixnum] options_requested_policy_version
1607
+ # Optional. The maximum policy version that will be used to format the policy.
1608
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1609
+ # rejected. Requests for policies with any conditional role bindings must
1610
+ # specify version 3. Policies with no conditional role bindings may specify any
1611
+ # valid value or leave the field unset. The policy in the response might use the
1612
+ # policy version that you specified, or it might use a lower policy version. For
1613
+ # example, if you specify version 3, but the policy has no conditional role
1614
+ # bindings, the response uses version 1. To learn which resources support
1615
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1616
+ # google.com/iam/help/conditions/resource-policies).
1617
+ # @param [String] fields
1618
+ # Selector specifying which fields to include in a partial response.
1619
+ # @param [String] quota_user
1620
+ # Available to use for quota purposes for server-side applications. Can be any
1621
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1622
+ # @param [Google::Apis::RequestOptions] options
1623
+ # Request-specific options
1624
+ #
1625
+ # @yield [result, err] Result & error if block supplied
1626
+ # @yieldparam result [Google::Apis::GkehubV1beta::Policy] parsed result object
1627
+ # @yieldparam err [StandardError] error object if request failed
1628
+ #
1629
+ # @return [Google::Apis::GkehubV1beta::Policy]
1630
+ #
1631
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1632
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1633
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1634
+ def get_project_location_scope_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
1635
+ command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', options)
1636
+ command.response_representation = Google::Apis::GkehubV1beta::Policy::Representation
1637
+ command.response_class = Google::Apis::GkehubV1beta::Policy
1638
+ command.params['resource'] = resource unless resource.nil?
1639
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
1640
+ command.query['fields'] = fields unless fields.nil?
1641
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1642
+ execute_or_queue_command(command, &block)
1643
+ end
1644
+
1596
1645
  # Lists Scopes.
1597
1646
  # @param [String] parent
1598
1647
  # Required. The parent (project and location) where the Scope will be listed.
@@ -1669,6 +1718,82 @@ module Google
1669
1718
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1670
1719
  execute_or_queue_command(command, &block)
1671
1720
  end
1721
+
1722
+ # Sets the access control policy on the specified resource. Replaces any
1723
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1724
+ # PERMISSION_DENIED` errors.
1725
+ # @param [String] resource
1726
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
1727
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1728
+ # appropriate value for this field.
1729
+ # @param [Google::Apis::GkehubV1beta::SetIamPolicyRequest] set_iam_policy_request_object
1730
+ # @param [String] fields
1731
+ # Selector specifying which fields to include in a partial response.
1732
+ # @param [String] quota_user
1733
+ # Available to use for quota purposes for server-side applications. Can be any
1734
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1735
+ # @param [Google::Apis::RequestOptions] options
1736
+ # Request-specific options
1737
+ #
1738
+ # @yield [result, err] Result & error if block supplied
1739
+ # @yieldparam result [Google::Apis::GkehubV1beta::Policy] parsed result object
1740
+ # @yieldparam err [StandardError] error object if request failed
1741
+ #
1742
+ # @return [Google::Apis::GkehubV1beta::Policy]
1743
+ #
1744
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1745
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1746
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1747
+ def set_scope_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1748
+ command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', options)
1749
+ command.request_representation = Google::Apis::GkehubV1beta::SetIamPolicyRequest::Representation
1750
+ command.request_object = set_iam_policy_request_object
1751
+ command.response_representation = Google::Apis::GkehubV1beta::Policy::Representation
1752
+ command.response_class = Google::Apis::GkehubV1beta::Policy
1753
+ command.params['resource'] = resource unless resource.nil?
1754
+ command.query['fields'] = fields unless fields.nil?
1755
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1756
+ execute_or_queue_command(command, &block)
1757
+ end
1758
+
1759
+ # Returns permissions that a caller has on the specified resource. If the
1760
+ # resource does not exist, this will return an empty set of permissions, not a `
1761
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
1762
+ # permission-aware UIs and command-line tools, not for authorization checking.
1763
+ # This operation may "fail open" without warning.
1764
+ # @param [String] resource
1765
+ # REQUIRED: The resource for which the policy detail is being requested. See [
1766
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
1767
+ # appropriate value for this field.
1768
+ # @param [Google::Apis::GkehubV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
1769
+ # @param [String] fields
1770
+ # Selector specifying which fields to include in a partial response.
1771
+ # @param [String] quota_user
1772
+ # Available to use for quota purposes for server-side applications. Can be any
1773
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1774
+ # @param [Google::Apis::RequestOptions] options
1775
+ # Request-specific options
1776
+ #
1777
+ # @yield [result, err] Result & error if block supplied
1778
+ # @yieldparam result [Google::Apis::GkehubV1beta::TestIamPermissionsResponse] parsed result object
1779
+ # @yieldparam err [StandardError] error object if request failed
1780
+ #
1781
+ # @return [Google::Apis::GkehubV1beta::TestIamPermissionsResponse]
1782
+ #
1783
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1784
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1785
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1786
+ def test_scope_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1787
+ command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', options)
1788
+ command.request_representation = Google::Apis::GkehubV1beta::TestIamPermissionsRequest::Representation
1789
+ command.request_object = test_iam_permissions_request_object
1790
+ command.response_representation = Google::Apis::GkehubV1beta::TestIamPermissionsResponse::Representation
1791
+ command.response_class = Google::Apis::GkehubV1beta::TestIamPermissionsResponse
1792
+ command.params['resource'] = resource unless resource.nil?
1793
+ command.query['fields'] = fields unless fields.nil?
1794
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1795
+ execute_or_queue_command(command, &block)
1796
+ end
1672
1797
 
1673
1798
  protected
1674
1799
 
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.45.0
4
+ version: 0.47.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-23 00:00:00.000000000 Z
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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.45.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.47.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: []