google-apis-gkehub_v1 0.46.0 → 0.47.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: 5b6112330324c606691954a0efbe5d7e94af76273be14a6728a847aae7e02976
4
- data.tar.gz: 17c9baa87a06a22b3c67102edabdbde3ba00b53233d622db45edca1253f56916
3
+ metadata.gz: 792cb66049a7832e52851dfdf2b4a9e03bad07e41b76cf2919543bf7fca8f35f
4
+ data.tar.gz: 9a8aa2b7383925a7f40d88b0c32815cd279e4cbcb7e6757e43fb019045eecf6f
5
5
  SHA512:
6
- metadata.gz: dddac301519c3a604907e55f0e015a2f06c94570cb1274ed92104531d7fc38ab60d9c68f356e43958c28fd8f1eb356234f30abfd1fe0446e5cbc428cf7b4246f
7
- data.tar.gz: dfbbffeddb2a28c09e757b4286c2b110c7158688001bb159e03988a9df57f58a8ee6841abb64550595f98c687c7840bd0193e14d5b9ebc857080a780d0465dfb
6
+ metadata.gz: 49204d7ca10d6a52e2fdec13d74c7eda82fbe18983e8edae544d57bc523ac58b839e38326c61fc39dd0785086eed72c7a354f387b786bd6508316dd26ea7af64
7
+ data.tar.gz: f5eb180104a3d54b52cf297414a7106130d6f34a49471f5b37b4083c0fca100f01118ffcfd8d1bfc55fe3ef70889bfebe166a9c571179f9834dd55ae2fe50a0e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.47.0 (2023-05-21)
4
+
5
+ * Regenerated from discovery document revision 20230515
6
+
3
7
  ### v0.46.0 (2023-04-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20230424
@@ -330,8 +330,7 @@ module Google
330
330
  # @return [Google::Apis::GkehubV1::AppDevExperienceFeatureState]
331
331
  attr_accessor :appdevexperience
332
332
 
333
- # **FleetObservability**: An empty state left as an example Hub-wide Feature
334
- # state.
333
+ # **FleetObservability**: Hub-wide Feature for FleetObservability feature. state.
335
334
  # Corresponds to the JSON property `fleetobservability`
336
335
  # @return [Google::Apis::GkehubV1::FleetObservabilityFeatureState]
337
336
  attr_accessor :fleetobservability
@@ -1620,8 +1619,7 @@ module Google
1620
1619
  end
1621
1620
  end
1622
1621
 
1623
- # **FleetObservability**: An empty state left as an example Hub-wide Feature
1624
- # state.
1622
+ # **FleetObservability**: Hub-wide Feature for FleetObservability feature. state.
1625
1623
  class FleetObservabilityFeatureState
1626
1624
  include Google::Apis::Core::Hashable
1627
1625
 
@@ -1648,8 +1646,8 @@ module Google
1648
1646
  end
1649
1647
  end
1650
1648
 
1651
- # **FleetObservability**: An empty state left as an example membership-specific
1652
- # Feature state.
1649
+ # **FleetObservability**: Membership-specific Feature state for
1650
+ # fleetobservability.
1653
1651
  class FleetObservabilityMembershipState
1654
1652
  include Google::Apis::Core::Hashable
1655
1653
 
@@ -2480,7 +2478,7 @@ module Google
2480
2478
  # @return [String]
2481
2479
  attr_accessor :name
2482
2480
 
2483
- # A Workspace resource name in the format `projects/*/locations/*/scopes/*`.
2481
+ # A Scope resource name in the format `projects/*/locations/*/scopes/*`.
2484
2482
  # Corresponds to the JSON property `scope`
2485
2483
  # @return [String]
2486
2484
  attr_accessor :scope
@@ -2667,8 +2665,8 @@ module Google
2667
2665
  # @return [Google::Apis::GkehubV1::ConfigManagementMembershipState]
2668
2666
  attr_accessor :configmanagement
2669
2667
 
2670
- # **FleetObservability**: An empty state left as an example membership-specific
2671
- # Feature state.
2668
+ # **FleetObservability**: Membership-specific Feature state for
2669
+ # fleetobservability.
2672
2670
  # Corresponds to the JSON property `fleetobservability`
2673
2671
  # @return [Google::Apis::GkehubV1::FleetObservabilityMembershipState]
2674
2672
  attr_accessor :fleetobservability
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1
18
18
  # Version of the google-apis-gkehub_v1 gem
19
- GEM_VERSION = "0.46.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 = "20230424"
25
+ REVISION = "20230515"
26
26
  end
27
27
  end
28
28
  end
@@ -996,6 +996,9 @@ module Google
996
996
  # @param [String] parent
997
997
  # Required. The parent Membership for which the MembershipBindings will be
998
998
  # listed. Specified in the format `projects/*/locations/*/memberships/*`.
999
+ # @param [String] filter
1000
+ # Optional. Lists MembershipBindings that match the filter expression, following
1001
+ # the syntax outlined in https://google.aip.dev/160.
999
1002
  # @param [Fixnum] page_size
1000
1003
  # Optional. When requesting a 'page' of resources, `page_size` specifies number
1001
1004
  # of resources to return. If unspecified or set to 0, all resources will be
@@ -1021,11 +1024,12 @@ module Google
1021
1024
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1022
1025
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1023
1026
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1024
- def list_project_location_membership_bindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1027
+ def list_project_location_membership_bindings(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1025
1028
  command = make_simple_command(:get, 'v1/{+parent}/bindings', options)
1026
1029
  command.response_representation = Google::Apis::GkehubV1::ListMembershipBindingsResponse::Representation
1027
1030
  command.response_class = Google::Apis::GkehubV1::ListMembershipBindingsResponse
1028
1031
  command.params['parent'] = parent unless parent.nil?
1032
+ command.query['filter'] = filter unless filter.nil?
1029
1033
  command.query['pageSize'] = page_size unless page_size.nil?
1030
1034
  command.query['pageToken'] = page_token unless page_token.nil?
1031
1035
  command.query['fields'] = fields unless fields.nil?
@@ -1313,6 +1317,51 @@ module Google
1313
1317
  execute_or_queue_command(command, &block)
1314
1318
  end
1315
1319
 
1320
+ # Gets the access control policy for a resource. Returns an empty policy if the
1321
+ # resource exists and does not have a policy set.
1322
+ # @param [String] resource
1323
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
1324
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1325
+ # appropriate value for this field.
1326
+ # @param [Fixnum] options_requested_policy_version
1327
+ # Optional. The maximum policy version that will be used to format the policy.
1328
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1329
+ # rejected. Requests for policies with any conditional role bindings must
1330
+ # specify version 3. Policies with no conditional role bindings may specify any
1331
+ # valid value or leave the field unset. The policy in the response might use the
1332
+ # policy version that you specified, or it might use a lower policy version. For
1333
+ # example, if you specify version 3, but the policy has no conditional role
1334
+ # bindings, the response uses version 1. To learn which resources support
1335
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1336
+ # google.com/iam/help/conditions/resource-policies).
1337
+ # @param [String] fields
1338
+ # Selector specifying which fields to include in a partial response.
1339
+ # @param [String] quota_user
1340
+ # Available to use for quota purposes for server-side applications. Can be any
1341
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1342
+ # @param [Google::Apis::RequestOptions] options
1343
+ # Request-specific options
1344
+ #
1345
+ # @yield [result, err] Result & error if block supplied
1346
+ # @yieldparam result [Google::Apis::GkehubV1::Policy] parsed result object
1347
+ # @yieldparam err [StandardError] error object if request failed
1348
+ #
1349
+ # @return [Google::Apis::GkehubV1::Policy]
1350
+ #
1351
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1352
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1353
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1354
+ def get_project_location_scope_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
1355
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
1356
+ command.response_representation = Google::Apis::GkehubV1::Policy::Representation
1357
+ command.response_class = Google::Apis::GkehubV1::Policy
1358
+ command.params['resource'] = resource unless resource.nil?
1359
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
1360
+ command.query['fields'] = fields unless fields.nil?
1361
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1362
+ execute_or_queue_command(command, &block)
1363
+ end
1364
+
1316
1365
  # Lists Scopes.
1317
1366
  # @param [String] parent
1318
1367
  # Required. The parent (project and location) where the Scope will be listed.
@@ -1352,6 +1401,82 @@ module Google
1352
1401
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1353
1402
  execute_or_queue_command(command, &block)
1354
1403
  end
1404
+
1405
+ # Sets the access control policy on the specified resource. Replaces any
1406
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1407
+ # PERMISSION_DENIED` errors.
1408
+ # @param [String] resource
1409
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
1410
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1411
+ # appropriate value for this field.
1412
+ # @param [Google::Apis::GkehubV1::SetIamPolicyRequest] set_iam_policy_request_object
1413
+ # @param [String] fields
1414
+ # Selector specifying which fields to include in a partial response.
1415
+ # @param [String] quota_user
1416
+ # Available to use for quota purposes for server-side applications. Can be any
1417
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1418
+ # @param [Google::Apis::RequestOptions] options
1419
+ # Request-specific options
1420
+ #
1421
+ # @yield [result, err] Result & error if block supplied
1422
+ # @yieldparam result [Google::Apis::GkehubV1::Policy] parsed result object
1423
+ # @yieldparam err [StandardError] error object if request failed
1424
+ #
1425
+ # @return [Google::Apis::GkehubV1::Policy]
1426
+ #
1427
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1428
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1429
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1430
+ def set_scope_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1431
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
1432
+ command.request_representation = Google::Apis::GkehubV1::SetIamPolicyRequest::Representation
1433
+ command.request_object = set_iam_policy_request_object
1434
+ command.response_representation = Google::Apis::GkehubV1::Policy::Representation
1435
+ command.response_class = Google::Apis::GkehubV1::Policy
1436
+ command.params['resource'] = resource unless resource.nil?
1437
+ command.query['fields'] = fields unless fields.nil?
1438
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1439
+ execute_or_queue_command(command, &block)
1440
+ end
1441
+
1442
+ # Returns permissions that a caller has on the specified resource. If the
1443
+ # resource does not exist, this will return an empty set of permissions, not a `
1444
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
1445
+ # permission-aware UIs and command-line tools, not for authorization checking.
1446
+ # This operation may "fail open" without warning.
1447
+ # @param [String] resource
1448
+ # REQUIRED: The resource for which the policy detail is being requested. See [
1449
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
1450
+ # appropriate value for this field.
1451
+ # @param [Google::Apis::GkehubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
1452
+ # @param [String] fields
1453
+ # Selector specifying which fields to include in a partial response.
1454
+ # @param [String] quota_user
1455
+ # Available to use for quota purposes for server-side applications. Can be any
1456
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1457
+ # @param [Google::Apis::RequestOptions] options
1458
+ # Request-specific options
1459
+ #
1460
+ # @yield [result, err] Result & error if block supplied
1461
+ # @yieldparam result [Google::Apis::GkehubV1::TestIamPermissionsResponse] parsed result object
1462
+ # @yieldparam err [StandardError] error object if request failed
1463
+ #
1464
+ # @return [Google::Apis::GkehubV1::TestIamPermissionsResponse]
1465
+ #
1466
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1467
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1468
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1469
+ def test_scope_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1470
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
1471
+ command.request_representation = Google::Apis::GkehubV1::TestIamPermissionsRequest::Representation
1472
+ command.request_object = test_iam_permissions_request_object
1473
+ command.response_representation = Google::Apis::GkehubV1::TestIamPermissionsResponse::Representation
1474
+ command.response_class = Google::Apis::GkehubV1::TestIamPermissionsResponse
1475
+ command.params['resource'] = resource unless resource.nil?
1476
+ command.query['fields'] = fields unless fields.nil?
1477
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1478
+ execute_or_queue_command(command, &block)
1479
+ end
1355
1480
 
1356
1481
  protected
1357
1482
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.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-30 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.46.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.47.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1
63
63
  post_install_message:
64
64
  rdoc_options: []