google-apis-gkehub_v1beta 0.63.0 → 0.64.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -1481,9 +1481,9 @@ module Google
|
|
1481
1481
|
# Updates a Membership RBACRoleBinding.
|
1482
1482
|
# @param [String] name
|
1483
1483
|
# The resource name for the rbacrolebinding `projects/`project`/locations/`
|
1484
|
-
# location`/
|
1485
|
-
#
|
1486
|
-
#
|
1484
|
+
# location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
|
1485
|
+
# project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
|
1486
|
+
# rbacrolebinding``
|
1487
1487
|
# @param [Google::Apis::GkehubV1beta::RbacRoleBinding] rbac_role_binding_object
|
1488
1488
|
# @param [String] update_mask
|
1489
1489
|
# Required. The fields to be updated.
|
@@ -1517,369 +1517,6 @@ module Google
|
|
1517
1517
|
execute_or_queue_command(command, &block)
|
1518
1518
|
end
|
1519
1519
|
|
1520
|
-
# Creates a fleet namespace.
|
1521
|
-
# @param [String] parent
|
1522
|
-
# Required. The parent (project and location) where the Namespace will be
|
1523
|
-
# created. Specified in the format `projects/*/locations/*`.
|
1524
|
-
# @param [Google::Apis::GkehubV1beta::Namespace] namespace_object
|
1525
|
-
# @param [String] namespace_id
|
1526
|
-
# Required. Client chosen ID for the Namespace. `namespace_id` must be a valid
|
1527
|
-
# RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must
|
1528
|
-
# consist of lower case alphanumeric characters or `-` 3. It must start and end
|
1529
|
-
# with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([
|
1530
|
-
# -a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
|
1531
|
-
# @param [String] fields
|
1532
|
-
# Selector specifying which fields to include in a partial response.
|
1533
|
-
# @param [String] quota_user
|
1534
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1535
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1536
|
-
# @param [Google::Apis::RequestOptions] options
|
1537
|
-
# Request-specific options
|
1538
|
-
#
|
1539
|
-
# @yield [result, err] Result & error if block supplied
|
1540
|
-
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
1541
|
-
# @yieldparam err [StandardError] error object if request failed
|
1542
|
-
#
|
1543
|
-
# @return [Google::Apis::GkehubV1beta::Operation]
|
1544
|
-
#
|
1545
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1546
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1547
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1548
|
-
def create_project_location_namespace(parent, namespace_object = nil, namespace_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1549
|
-
command = make_simple_command(:post, 'v1beta/{+parent}/namespaces', options)
|
1550
|
-
command.request_representation = Google::Apis::GkehubV1beta::Namespace::Representation
|
1551
|
-
command.request_object = namespace_object
|
1552
|
-
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
1553
|
-
command.response_class = Google::Apis::GkehubV1beta::Operation
|
1554
|
-
command.params['parent'] = parent unless parent.nil?
|
1555
|
-
command.query['namespaceId'] = namespace_id unless namespace_id.nil?
|
1556
|
-
command.query['fields'] = fields unless fields.nil?
|
1557
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1558
|
-
execute_or_queue_command(command, &block)
|
1559
|
-
end
|
1560
|
-
|
1561
|
-
# Deletes a fleet namespace.
|
1562
|
-
# @param [String] name
|
1563
|
-
# Required. The Namespace resource name in the format `projects/*/locations/*/
|
1564
|
-
# namespaces/*`.
|
1565
|
-
# @param [String] fields
|
1566
|
-
# Selector specifying which fields to include in a partial response.
|
1567
|
-
# @param [String] quota_user
|
1568
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1569
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1570
|
-
# @param [Google::Apis::RequestOptions] options
|
1571
|
-
# Request-specific options
|
1572
|
-
#
|
1573
|
-
# @yield [result, err] Result & error if block supplied
|
1574
|
-
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
1575
|
-
# @yieldparam err [StandardError] error object if request failed
|
1576
|
-
#
|
1577
|
-
# @return [Google::Apis::GkehubV1beta::Operation]
|
1578
|
-
#
|
1579
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1580
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1581
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1582
|
-
def delete_project_location_namespace(name, fields: nil, quota_user: nil, options: nil, &block)
|
1583
|
-
command = make_simple_command(:delete, 'v1beta/{+name}', options)
|
1584
|
-
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
1585
|
-
command.response_class = Google::Apis::GkehubV1beta::Operation
|
1586
|
-
command.params['name'] = name unless name.nil?
|
1587
|
-
command.query['fields'] = fields unless fields.nil?
|
1588
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1589
|
-
execute_or_queue_command(command, &block)
|
1590
|
-
end
|
1591
|
-
|
1592
|
-
# Returns the details of a fleet namespace.
|
1593
|
-
# @param [String] name
|
1594
|
-
# Required. The Namespace resource name in the format `projects/*/locations/*/
|
1595
|
-
# namespaces/*`.
|
1596
|
-
# @param [String] fields
|
1597
|
-
# Selector specifying which fields to include in a partial response.
|
1598
|
-
# @param [String] quota_user
|
1599
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1600
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1601
|
-
# @param [Google::Apis::RequestOptions] options
|
1602
|
-
# Request-specific options
|
1603
|
-
#
|
1604
|
-
# @yield [result, err] Result & error if block supplied
|
1605
|
-
# @yieldparam result [Google::Apis::GkehubV1beta::Namespace] parsed result object
|
1606
|
-
# @yieldparam err [StandardError] error object if request failed
|
1607
|
-
#
|
1608
|
-
# @return [Google::Apis::GkehubV1beta::Namespace]
|
1609
|
-
#
|
1610
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1611
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1612
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1613
|
-
def get_project_location_namespace(name, fields: nil, quota_user: nil, options: nil, &block)
|
1614
|
-
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
1615
|
-
command.response_representation = Google::Apis::GkehubV1beta::Namespace::Representation
|
1616
|
-
command.response_class = Google::Apis::GkehubV1beta::Namespace
|
1617
|
-
command.params['name'] = name unless name.nil?
|
1618
|
-
command.query['fields'] = fields unless fields.nil?
|
1619
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1620
|
-
execute_or_queue_command(command, &block)
|
1621
|
-
end
|
1622
|
-
|
1623
|
-
# Lists fleet namespaces.
|
1624
|
-
# @param [String] parent
|
1625
|
-
# Required. The parent (project and location) where the Features will be listed.
|
1626
|
-
# Specified in the format `projects/*/locations/*`.
|
1627
|
-
# @param [Fixnum] page_size
|
1628
|
-
# Optional. When requesting a 'page' of resources, `page_size` specifies number
|
1629
|
-
# of resources to return. If unspecified or set to 0, all resources will be
|
1630
|
-
# returned.
|
1631
|
-
# @param [String] page_token
|
1632
|
-
# Optional. Token returned by previous call to `ListFeatures` which specifies
|
1633
|
-
# the position in the list from where to continue listing the resources.
|
1634
|
-
# @param [String] fields
|
1635
|
-
# Selector specifying which fields to include in a partial response.
|
1636
|
-
# @param [String] quota_user
|
1637
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1638
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1639
|
-
# @param [Google::Apis::RequestOptions] options
|
1640
|
-
# Request-specific options
|
1641
|
-
#
|
1642
|
-
# @yield [result, err] Result & error if block supplied
|
1643
|
-
# @yieldparam result [Google::Apis::GkehubV1beta::ListNamespacesResponse] parsed result object
|
1644
|
-
# @yieldparam err [StandardError] error object if request failed
|
1645
|
-
#
|
1646
|
-
# @return [Google::Apis::GkehubV1beta::ListNamespacesResponse]
|
1647
|
-
#
|
1648
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1649
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1650
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1651
|
-
def list_project_location_namespaces(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1652
|
-
command = make_simple_command(:get, 'v1beta/{+parent}/namespaces', options)
|
1653
|
-
command.response_representation = Google::Apis::GkehubV1beta::ListNamespacesResponse::Representation
|
1654
|
-
command.response_class = Google::Apis::GkehubV1beta::ListNamespacesResponse
|
1655
|
-
command.params['parent'] = parent unless parent.nil?
|
1656
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1657
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1658
|
-
command.query['fields'] = fields unless fields.nil?
|
1659
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1660
|
-
execute_or_queue_command(command, &block)
|
1661
|
-
end
|
1662
|
-
|
1663
|
-
# Updates a fleet namespace.
|
1664
|
-
# @param [String] name
|
1665
|
-
# The resource name for the namespace `projects/`project`/locations/`location`/
|
1666
|
-
# namespaces/`namespace``
|
1667
|
-
# @param [Google::Apis::GkehubV1beta::Namespace] namespace_object
|
1668
|
-
# @param [String] update_mask
|
1669
|
-
# Required. The fields to be updated.
|
1670
|
-
# @param [String] fields
|
1671
|
-
# Selector specifying which fields to include in a partial response.
|
1672
|
-
# @param [String] quota_user
|
1673
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1674
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1675
|
-
# @param [Google::Apis::RequestOptions] options
|
1676
|
-
# Request-specific options
|
1677
|
-
#
|
1678
|
-
# @yield [result, err] Result & error if block supplied
|
1679
|
-
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
1680
|
-
# @yieldparam err [StandardError] error object if request failed
|
1681
|
-
#
|
1682
|
-
# @return [Google::Apis::GkehubV1beta::Operation]
|
1683
|
-
#
|
1684
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1685
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1686
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1687
|
-
def patch_project_location_namespace(name, namespace_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1688
|
-
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
1689
|
-
command.request_representation = Google::Apis::GkehubV1beta::Namespace::Representation
|
1690
|
-
command.request_object = namespace_object
|
1691
|
-
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
1692
|
-
command.response_class = Google::Apis::GkehubV1beta::Operation
|
1693
|
-
command.params['name'] = name unless name.nil?
|
1694
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1695
|
-
command.query['fields'] = fields unless fields.nil?
|
1696
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1697
|
-
execute_or_queue_command(command, &block)
|
1698
|
-
end
|
1699
|
-
|
1700
|
-
# Creates a RBACRoleBinding.
|
1701
|
-
# @param [String] parent
|
1702
|
-
# Required. The parent (project and location) where the RBACRoleBinding will be
|
1703
|
-
# created. Specified in the format `projects/*/locations/*/namespaces/*`.
|
1704
|
-
# @param [Google::Apis::GkehubV1beta::RbacRoleBinding] rbac_role_binding_object
|
1705
|
-
# @param [String] rbacrolebinding_id
|
1706
|
-
# Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
|
1707
|
-
# be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
|
1708
|
-
# It must consist of lower case alphanumeric characters or `-` 3. It must start
|
1709
|
-
# and end with an alphanumeric character Which can be expressed as the regex: `[
|
1710
|
-
# a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
|
1711
|
-
# @param [String] fields
|
1712
|
-
# Selector specifying which fields to include in a partial response.
|
1713
|
-
# @param [String] quota_user
|
1714
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1715
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1716
|
-
# @param [Google::Apis::RequestOptions] options
|
1717
|
-
# Request-specific options
|
1718
|
-
#
|
1719
|
-
# @yield [result, err] Result & error if block supplied
|
1720
|
-
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
1721
|
-
# @yieldparam err [StandardError] error object if request failed
|
1722
|
-
#
|
1723
|
-
# @return [Google::Apis::GkehubV1beta::Operation]
|
1724
|
-
#
|
1725
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1726
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1727
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1728
|
-
def create_project_location_namespace_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1729
|
-
command = make_simple_command(:post, 'v1beta/{+parent}/rbacrolebindings', options)
|
1730
|
-
command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
|
1731
|
-
command.request_object = rbac_role_binding_object
|
1732
|
-
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
1733
|
-
command.response_class = Google::Apis::GkehubV1beta::Operation
|
1734
|
-
command.params['parent'] = parent unless parent.nil?
|
1735
|
-
command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
|
1736
|
-
command.query['fields'] = fields unless fields.nil?
|
1737
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1738
|
-
execute_or_queue_command(command, &block)
|
1739
|
-
end
|
1740
|
-
|
1741
|
-
# Deletes a RBACRoleBinding.
|
1742
|
-
# @param [String] name
|
1743
|
-
# Required. The RBACRoleBinding resource name in the format `projects/*/
|
1744
|
-
# locations/*/namespaces/*/rbacrolebindings/*`.
|
1745
|
-
# @param [String] fields
|
1746
|
-
# Selector specifying which fields to include in a partial response.
|
1747
|
-
# @param [String] quota_user
|
1748
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1749
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1750
|
-
# @param [Google::Apis::RequestOptions] options
|
1751
|
-
# Request-specific options
|
1752
|
-
#
|
1753
|
-
# @yield [result, err] Result & error if block supplied
|
1754
|
-
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
1755
|
-
# @yieldparam err [StandardError] error object if request failed
|
1756
|
-
#
|
1757
|
-
# @return [Google::Apis::GkehubV1beta::Operation]
|
1758
|
-
#
|
1759
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1760
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1761
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1762
|
-
def delete_project_location_namespace_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
|
1763
|
-
command = make_simple_command(:delete, 'v1beta/{+name}', options)
|
1764
|
-
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
1765
|
-
command.response_class = Google::Apis::GkehubV1beta::Operation
|
1766
|
-
command.params['name'] = name unless name.nil?
|
1767
|
-
command.query['fields'] = fields unless fields.nil?
|
1768
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1769
|
-
execute_or_queue_command(command, &block)
|
1770
|
-
end
|
1771
|
-
|
1772
|
-
# Returns the details of a RBACRoleBinding.
|
1773
|
-
# @param [String] name
|
1774
|
-
# Required. The RBACRoleBinding resource name in the format `projects/*/
|
1775
|
-
# locations/*/namespaces/*/rbacrolebindings/*`.
|
1776
|
-
# @param [String] fields
|
1777
|
-
# Selector specifying which fields to include in a partial response.
|
1778
|
-
# @param [String] quota_user
|
1779
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1780
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1781
|
-
# @param [Google::Apis::RequestOptions] options
|
1782
|
-
# Request-specific options
|
1783
|
-
#
|
1784
|
-
# @yield [result, err] Result & error if block supplied
|
1785
|
-
# @yieldparam result [Google::Apis::GkehubV1beta::RbacRoleBinding] parsed result object
|
1786
|
-
# @yieldparam err [StandardError] error object if request failed
|
1787
|
-
#
|
1788
|
-
# @return [Google::Apis::GkehubV1beta::RbacRoleBinding]
|
1789
|
-
#
|
1790
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1791
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1792
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1793
|
-
def get_project_location_namespace_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
|
1794
|
-
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
1795
|
-
command.response_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
|
1796
|
-
command.response_class = Google::Apis::GkehubV1beta::RbacRoleBinding
|
1797
|
-
command.params['name'] = name unless name.nil?
|
1798
|
-
command.query['fields'] = fields unless fields.nil?
|
1799
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1800
|
-
execute_or_queue_command(command, &block)
|
1801
|
-
end
|
1802
|
-
|
1803
|
-
# Lists RBACRoleBinding.
|
1804
|
-
# @param [String] parent
|
1805
|
-
# Required. The parent (project and location) where the Features will be listed.
|
1806
|
-
# Specified in the format `projects/*/locations/*/namespaces/*`.
|
1807
|
-
# @param [Fixnum] page_size
|
1808
|
-
# Optional. When requesting a 'page' of resources, `page_size` specifies number
|
1809
|
-
# of resources to return. If unspecified or set to 0, all resources will be
|
1810
|
-
# returned.
|
1811
|
-
# @param [String] page_token
|
1812
|
-
# Optional. Token returned by previous call to `ListRBACRoleBindings` which
|
1813
|
-
# specifies the position in the list from where to continue listing the
|
1814
|
-
# resources.
|
1815
|
-
# @param [String] fields
|
1816
|
-
# Selector specifying which fields to include in a partial response.
|
1817
|
-
# @param [String] quota_user
|
1818
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1819
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1820
|
-
# @param [Google::Apis::RequestOptions] options
|
1821
|
-
# Request-specific options
|
1822
|
-
#
|
1823
|
-
# @yield [result, err] Result & error if block supplied
|
1824
|
-
# @yieldparam result [Google::Apis::GkehubV1beta::ListRbacRoleBindingsResponse] parsed result object
|
1825
|
-
# @yieldparam err [StandardError] error object if request failed
|
1826
|
-
#
|
1827
|
-
# @return [Google::Apis::GkehubV1beta::ListRbacRoleBindingsResponse]
|
1828
|
-
#
|
1829
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1830
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1831
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1832
|
-
def list_project_location_namespace_rbacrolebindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1833
|
-
command = make_simple_command(:get, 'v1beta/{+parent}/rbacrolebindings', options)
|
1834
|
-
command.response_representation = Google::Apis::GkehubV1beta::ListRbacRoleBindingsResponse::Representation
|
1835
|
-
command.response_class = Google::Apis::GkehubV1beta::ListRbacRoleBindingsResponse
|
1836
|
-
command.params['parent'] = parent unless parent.nil?
|
1837
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1838
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1839
|
-
command.query['fields'] = fields unless fields.nil?
|
1840
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1841
|
-
execute_or_queue_command(command, &block)
|
1842
|
-
end
|
1843
|
-
|
1844
|
-
# Updates a RBACRoleBinding.
|
1845
|
-
# @param [String] name
|
1846
|
-
# The resource name for the rbacrolebinding `projects/`project`/locations/`
|
1847
|
-
# location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
|
1848
|
-
# projects/`project`/locations/`location`/memberships/`membership`/
|
1849
|
-
# rbacrolebindings/`rbacrolebinding``
|
1850
|
-
# @param [Google::Apis::GkehubV1beta::RbacRoleBinding] rbac_role_binding_object
|
1851
|
-
# @param [String] update_mask
|
1852
|
-
# Required. The fields to be updated.
|
1853
|
-
# @param [String] fields
|
1854
|
-
# Selector specifying which fields to include in a partial response.
|
1855
|
-
# @param [String] quota_user
|
1856
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1857
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1858
|
-
# @param [Google::Apis::RequestOptions] options
|
1859
|
-
# Request-specific options
|
1860
|
-
#
|
1861
|
-
# @yield [result, err] Result & error if block supplied
|
1862
|
-
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
1863
|
-
# @yieldparam err [StandardError] error object if request failed
|
1864
|
-
#
|
1865
|
-
# @return [Google::Apis::GkehubV1beta::Operation]
|
1866
|
-
#
|
1867
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1868
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1869
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1870
|
-
def patch_project_location_namespace_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1871
|
-
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
1872
|
-
command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
|
1873
|
-
command.request_object = rbac_role_binding_object
|
1874
|
-
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
1875
|
-
command.response_class = Google::Apis::GkehubV1beta::Operation
|
1876
|
-
command.params['name'] = name unless name.nil?
|
1877
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1878
|
-
command.query['fields'] = fields unless fields.nil?
|
1879
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1880
|
-
execute_or_queue_command(command, &block)
|
1881
|
-
end
|
1882
|
-
|
1883
1520
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1884
1521
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1885
1522
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -2648,9 +2285,9 @@ module Google
|
|
2648
2285
|
# Updates a Scope RBACRoleBinding.
|
2649
2286
|
# @param [String] name
|
2650
2287
|
# The resource name for the rbacrolebinding `projects/`project`/locations/`
|
2651
|
-
# location`/
|
2652
|
-
#
|
2653
|
-
#
|
2288
|
+
# location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
|
2289
|
+
# project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
|
2290
|
+
# rbacrolebinding``
|
2654
2291
|
# @param [Google::Apis::GkehubV1beta::RbacRoleBinding] rbac_role_binding_object
|
2655
2292
|
# @param [String] update_mask
|
2656
2293
|
# Required. The fields to be updated.
|
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.
|
4
|
+
version: 0.64.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-11-
|
11
|
+
date: 2023-11-19 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.64.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: []
|