google-apis-gkehub_v1 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: 85d40dacbb3896cdc60701b9617f9963823f4a08144a2041c7933524066bbf61
4
- data.tar.gz: a172670db91eb885076a91a5b8f2ebb04f779fadcbf850681e7e0a8cce2b0d15
3
+ metadata.gz: 792cb66049a7832e52851dfdf2b4a9e03bad07e41b76cf2919543bf7fca8f35f
4
+ data.tar.gz: 9a8aa2b7383925a7f40d88b0c32815cd279e4cbcb7e6757e43fb019045eecf6f
5
5
  SHA512:
6
- metadata.gz: 69a546189ccfca836f4ef8d0d0c7911c8db81ef31a29947845925c62e0c218257ff4353f2305a8e54a6802c4d0ae7dd953a60ea1e1ce30fd0ea81523b7dba2dc
7
- data.tar.gz: 105e7aa21d11165750f1fcc0adf0b9a33837201c688dd33409015ac954852d6c8b24f3cd4954d653628607fd9ec389399df7de126bb3243b48816e12f72b6a6f
6
+ metadata.gz: 49204d7ca10d6a52e2fdec13d74c7eda82fbe18983e8edae544d57bc523ac58b839e38326c61fc39dd0785086eed72c7a354f387b786bd6508316dd26ea7af64
7
+ data.tar.gz: f5eb180104a3d54b52cf297414a7106130d6f34a49471f5b37b4083c0fca100f01118ffcfd8d1bfc55fe3ef70889bfebe166a9c571179f9834dd55ae2fe50a0e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
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
@@ -58,9 +58,9 @@ module Google
58
58
  class ApplianceCluster
59
59
  include Google::Apis::Core::Hashable
60
60
 
61
- # Immutable. Self-link of the GCP resource for the Appliance Cluster. For
62
- # example: //transferappliance.googleapis.com/projects/my-project/locations/us-
63
- # west1-a/appliances/my-appliance
61
+ # Immutable. Self-link of the Google Cloud resource for the Appliance Cluster.
62
+ # For example: //transferappliance.googleapis.com/projects/my-project/locations/
63
+ # us-west1-a/appliances/my-appliance
64
64
  # Corresponds to the JSON property `resourceLink`
65
65
  # @return [String]
66
66
  attr_accessor :resource_link
@@ -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
@@ -1343,9 +1342,9 @@ module Google
1343
1342
  class EdgeCluster
1344
1343
  include Google::Apis::Core::Hashable
1345
1344
 
1346
- # Immutable. Self-link of the GCP resource for the Edge Cluster. For example: //
1347
- # edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/
1348
- # my-cluster
1345
+ # Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For
1346
+ # example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-
1347
+ # a/clusters/my-cluster
1349
1348
  # Corresponds to the JSON property `resourceLink`
1350
1349
  # @return [String]
1351
1350
  attr_accessor :resource_link
@@ -1450,7 +1449,7 @@ module Google
1450
1449
  # @return [Google::Apis::GkehubV1::CommonFleetDefaultMemberConfigSpec]
1451
1450
  attr_accessor :fleet_default_member_config
1452
1451
 
1453
- # GCP labels for this Feature.
1452
+ # Labels for this Feature.
1454
1453
  # Corresponds to the JSON property `labels`
1455
1454
  # @return [Hash<String,String>]
1456
1455
  attr_accessor :labels
@@ -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
 
@@ -1694,9 +1692,9 @@ module Google
1694
1692
  attr_accessor :cluster_missing
1695
1693
  alias_method :cluster_missing?, :cluster_missing
1696
1694
 
1697
- # Immutable. Self-link of the GCP resource for the GKE cluster. For example: //
1698
- # container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-
1699
- # cluster Zonal clusters are also supported.
1695
+ # Immutable. Self-link of the Google Cloud resource for the GKE cluster. For
1696
+ # example: //container.googleapis.com/projects/my-project/locations/us-west1-a/
1697
+ # clusters/my-cluster Zonal clusters are also supported.
1700
1698
  # Corresponds to the JSON property `resourceLink`
1701
1699
  # @return [String]
1702
1700
  attr_accessor :resource_link
@@ -2295,7 +2293,7 @@ module Google
2295
2293
  end
2296
2294
  end
2297
2295
 
2298
- # A resource that represents Google Cloud Platform location.
2296
+ # A resource that represents a Google Cloud location.
2299
2297
  class Location
2300
2298
  include Google::Apis::Core::Hashable
2301
2299
 
@@ -2383,7 +2381,7 @@ module Google
2383
2381
  # @return [String]
2384
2382
  attr_accessor :external_id
2385
2383
 
2386
- # Optional. GCP labels for this membership.
2384
+ # Optional. Labels for this membership.
2387
2385
  # Corresponds to the JSON property `labels`
2388
2386
  # @return [Hash<String,String>]
2389
2387
  attr_accessor :labels
@@ -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
@@ -2788,11 +2786,12 @@ module Google
2788
2786
  attr_accessor :cluster_missing
2789
2787
  alias_method :cluster_missing?, :cluster_missing
2790
2788
 
2791
- # Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For
2792
- # example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-
2793
- # a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/
2794
- # locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/
2795
- # projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
2789
+ # Immutable. Self-link of the Google Cloud resource for the GKE Multi-Cloud
2790
+ # cluster. For example: //gkemulticloud.googleapis.com/projects/my-project/
2791
+ # locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/
2792
+ # projects/my-project/locations/us-west1-a/azureClusters/my-cluster //
2793
+ # gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/
2794
+ # attachedClusters/my-cluster
2796
2795
  # Corresponds to the JSON property `resourceLink`
2797
2796
  # @return [String]
2798
2797
  attr_accessor :resource_link
@@ -2851,9 +2850,9 @@ module Google
2851
2850
  # @return [String]
2852
2851
  attr_accessor :cluster_type
2853
2852
 
2854
- # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
2855
- # example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/
2856
- # vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
2853
+ # Immutable. Self-link of the Google Cloud resource for the GKE On-Prem cluster.
2854
+ # For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-
2855
+ # a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
2857
2856
  # locations/us-west1-a/bareMetalClusters/my-cluster
2858
2857
  # Corresponds to the JSON property `resourceLink`
2859
2858
  # @return [String]
@@ -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.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
@@ -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.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.45.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: []