google-apis-gkehub_v1beta 0.46.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: 61e362ae4c32ce3fb6c2df104da443062c8abe3bb770a80eab9a8e27b771433d
4
- data.tar.gz: 07e70183345d22808f9a93a3e8eeeac01156aec403d382df88ffac5fd153f3e2
3
+ metadata.gz: e9002a4044b34b80f3e1f863911ffffc92d4b0489b90ad3480aa0566e7883ad7
4
+ data.tar.gz: 79d66e1d1781e05d5cc75997f89e7576562214b5de6f422d697df2965c869d1c
5
5
  SHA512:
6
- metadata.gz: d54c805227d726ad6af077de600e71b12e0b2f3e3cc0fbb06d904aaf867708291dc9bbec8fddef36e28b4e30ccddcd34f2a83aefe0c40972c515e33d1216fe3c
7
- data.tar.gz: ca2fc1698ffc3979930fad809ecbce21c2f0fe4717d3b53f5ef16f5642f1bbe90f92241994f8cfd62c935e3a5caa49b370169db232d427070af9e9a4bf1068c8
6
+ metadata.gz: 62db8ae1910d84856651cdca3fd142657e99d5b9f30bdc059fb9d348a19225ef677add9a3d85e495e34f05ecd6bd024a4669926d669aa7af0df76b581af8677f
7
+ data.tar.gz: 1e115d5911d3add84c3ad7c553f2c3e36e86654284c3e95ae31bf5f69789d1a733a8d3e0c8262d6ba31aed758a15168b63b4e907adc4a24f36231be8e43b8474
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.46.0 (2023-04-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20230424
@@ -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
@@ -1726,8 +1725,7 @@ module Google
1726
1725
  end
1727
1726
  end
1728
1727
 
1729
- # **FleetObservability**: An empty state left as an example Hub-wide Feature
1730
- # state.
1728
+ # **FleetObservability**: Hub-wide Feature for FleetObservability feature. state.
1731
1729
  class FleetObservabilityFeatureState
1732
1730
  include Google::Apis::Core::Hashable
1733
1731
 
@@ -1779,8 +1777,8 @@ module Google
1779
1777
  end
1780
1778
  end
1781
1779
 
1782
- # **FleetObservability**: An empty state left as an example membership-specific
1783
- # Feature state.
1780
+ # **FleetObservability**: Membership-specific Feature state for
1781
+ # fleetobservability.
1784
1782
  class FleetObservabilityMembershipState
1785
1783
  include Google::Apis::Core::Hashable
1786
1784
 
@@ -2406,7 +2404,7 @@ module Google
2406
2404
  # @return [String]
2407
2405
  attr_accessor :name
2408
2406
 
2409
- # A Workspace resource name in the format `projects/*/locations/*/scopes/*`.
2407
+ # A Scope resource name in the format `projects/*/locations/*/scopes/*`.
2410
2408
  # Corresponds to the JSON property `scope`
2411
2409
  # @return [String]
2412
2410
  attr_accessor :scope
@@ -2545,8 +2543,8 @@ module Google
2545
2543
  # @return [Google::Apis::GkehubV1beta::ConfigManagementMembershipState]
2546
2544
  attr_accessor :configmanagement
2547
2545
 
2548
- # **FleetObservability**: An empty state left as an example membership-specific
2549
- # Feature state.
2546
+ # **FleetObservability**: Membership-specific Feature state for
2547
+ # fleetobservability.
2550
2548
  # Corresponds to the JSON property `fleetobservability`
2551
2549
  # @return [Google::Apis::GkehubV1beta::FleetObservabilityMembershipState]
2552
2550
  attr_accessor :fleetobservability
@@ -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.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
@@ -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.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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.46.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: []