google-apis-cloudidentity_v1beta1 0.32.0 → 0.33.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1659,6 +1659,508 @@ module Google
1659
1659
  execute_or_queue_command(command, &block)
1660
1660
  end
1661
1661
 
1662
+ # Creates an InboundSamlSsoProfile for a customer.
1663
+ # @param [Google::Apis::CloudidentityV1beta1::InboundSamlSsoProfile] inbound_saml_sso_profile_object
1664
+ # @param [String] fields
1665
+ # Selector specifying which fields to include in a partial response.
1666
+ # @param [String] quota_user
1667
+ # Available to use for quota purposes for server-side applications. Can be any
1668
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1669
+ # @param [Google::Apis::RequestOptions] options
1670
+ # Request-specific options
1671
+ #
1672
+ # @yield [result, err] Result & error if block supplied
1673
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
1674
+ # @yieldparam err [StandardError] error object if request failed
1675
+ #
1676
+ # @return [Google::Apis::CloudidentityV1beta1::Operation]
1677
+ #
1678
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1679
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1680
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1681
+ def create_inbound_saml_sso_profile(inbound_saml_sso_profile_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1682
+ command = make_simple_command(:post, 'v1beta1/inboundSamlSsoProfiles', options)
1683
+ command.request_representation = Google::Apis::CloudidentityV1beta1::InboundSamlSsoProfile::Representation
1684
+ command.request_object = inbound_saml_sso_profile_object
1685
+ command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
1686
+ command.response_class = Google::Apis::CloudidentityV1beta1::Operation
1687
+ command.query['fields'] = fields unless fields.nil?
1688
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1689
+ execute_or_queue_command(command, &block)
1690
+ end
1691
+
1692
+ # Deletes an InboundSamlSsoProfile.
1693
+ # @param [String] name
1694
+ # Required. The [resource name](https://cloud.google.com/apis/design/
1695
+ # resource_names) of the InboundSamlSsoProfile to delete. Format: `
1696
+ # inboundSamlSsoProfiles/`sso_profile_id``
1697
+ # @param [String] fields
1698
+ # Selector specifying which fields to include in a partial response.
1699
+ # @param [String] quota_user
1700
+ # Available to use for quota purposes for server-side applications. Can be any
1701
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1702
+ # @param [Google::Apis::RequestOptions] options
1703
+ # Request-specific options
1704
+ #
1705
+ # @yield [result, err] Result & error if block supplied
1706
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
1707
+ # @yieldparam err [StandardError] error object if request failed
1708
+ #
1709
+ # @return [Google::Apis::CloudidentityV1beta1::Operation]
1710
+ #
1711
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1712
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1713
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1714
+ def delete_inbound_saml_sso_profile(name, fields: nil, quota_user: nil, options: nil, &block)
1715
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
1716
+ command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
1717
+ command.response_class = Google::Apis::CloudidentityV1beta1::Operation
1718
+ command.params['name'] = name unless name.nil?
1719
+ command.query['fields'] = fields unless fields.nil?
1720
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1721
+ execute_or_queue_command(command, &block)
1722
+ end
1723
+
1724
+ # Gets an InboundSamlSsoProfile.
1725
+ # @param [String] name
1726
+ # Required. The [resource name](https://cloud.google.com/apis/design/
1727
+ # resource_names) of the InboundSamlSsoProfile to get. Format: `
1728
+ # inboundSamlSsoProfiles/`sso_profile_id``
1729
+ # @param [String] fields
1730
+ # Selector specifying which fields to include in a partial response.
1731
+ # @param [String] quota_user
1732
+ # Available to use for quota purposes for server-side applications. Can be any
1733
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1734
+ # @param [Google::Apis::RequestOptions] options
1735
+ # Request-specific options
1736
+ #
1737
+ # @yield [result, err] Result & error if block supplied
1738
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::InboundSamlSsoProfile] parsed result object
1739
+ # @yieldparam err [StandardError] error object if request failed
1740
+ #
1741
+ # @return [Google::Apis::CloudidentityV1beta1::InboundSamlSsoProfile]
1742
+ #
1743
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1744
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1745
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1746
+ def get_inbound_saml_sso_profile(name, fields: nil, quota_user: nil, options: nil, &block)
1747
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
1748
+ command.response_representation = Google::Apis::CloudidentityV1beta1::InboundSamlSsoProfile::Representation
1749
+ command.response_class = Google::Apis::CloudidentityV1beta1::InboundSamlSsoProfile
1750
+ command.params['name'] = name unless name.nil?
1751
+ command.query['fields'] = fields unless fields.nil?
1752
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1753
+ execute_or_queue_command(command, &block)
1754
+ end
1755
+
1756
+ # Lists InboundSamlSsoProfiles for a customer.
1757
+ # @param [String] filter
1758
+ # A CEL expression to filter the results. The only currently-supported filter is
1759
+ # filtering by customer. For example: `customer==customers/C0123abc`. Omitting
1760
+ # the filter or specifying a filter of `customer==customers/my_customer` will
1761
+ # return the profiles for the customer that the caller (authenticated user)
1762
+ # belongs to.
1763
+ # @param [Fixnum] page_size
1764
+ # The maximum number of InboundSamlSsoProfiles to return. The service may return
1765
+ # fewer than this value. If omitted (or defaulted to zero) the server will use a
1766
+ # sensible default. This default may change over time. The maximum allowed value
1767
+ # is 100, though requests with page_size greater than that will be silently
1768
+ # interpreted as having this maximum value. This may increase in the futue.
1769
+ # @param [String] page_token
1770
+ # A page token, received from a previous `ListInboundSamlSsoProfiles` call.
1771
+ # Provide this to retrieve the subsequent page. When paginating, all other
1772
+ # parameters provided to `ListInboundSamlSsoProfiles` must match the call that
1773
+ # provided the page token.
1774
+ # @param [String] fields
1775
+ # Selector specifying which fields to include in a partial response.
1776
+ # @param [String] quota_user
1777
+ # Available to use for quota purposes for server-side applications. Can be any
1778
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1779
+ # @param [Google::Apis::RequestOptions] options
1780
+ # Request-specific options
1781
+ #
1782
+ # @yield [result, err] Result & error if block supplied
1783
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::ListInboundSamlSsoProfilesResponse] parsed result object
1784
+ # @yieldparam err [StandardError] error object if request failed
1785
+ #
1786
+ # @return [Google::Apis::CloudidentityV1beta1::ListInboundSamlSsoProfilesResponse]
1787
+ #
1788
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1789
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1790
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1791
+ def list_inbound_saml_sso_profiles(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1792
+ command = make_simple_command(:get, 'v1beta1/inboundSamlSsoProfiles', options)
1793
+ command.response_representation = Google::Apis::CloudidentityV1beta1::ListInboundSamlSsoProfilesResponse::Representation
1794
+ command.response_class = Google::Apis::CloudidentityV1beta1::ListInboundSamlSsoProfilesResponse
1795
+ command.query['filter'] = filter unless filter.nil?
1796
+ command.query['pageSize'] = page_size unless page_size.nil?
1797
+ command.query['pageToken'] = page_token unless page_token.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
+ # Updates an InboundSamlSsoProfile.
1804
+ # @param [String] name
1805
+ # Output only. [Resource name](https://cloud.google.com/apis/design/
1806
+ # resource_names) of the SAML SSO profile.
1807
+ # @param [Google::Apis::CloudidentityV1beta1::InboundSamlSsoProfile] inbound_saml_sso_profile_object
1808
+ # @param [String] update_mask
1809
+ # Required. The list of fields to be updated.
1810
+ # @param [String] fields
1811
+ # Selector specifying which fields to include in a partial response.
1812
+ # @param [String] quota_user
1813
+ # Available to use for quota purposes for server-side applications. Can be any
1814
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1815
+ # @param [Google::Apis::RequestOptions] options
1816
+ # Request-specific options
1817
+ #
1818
+ # @yield [result, err] Result & error if block supplied
1819
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
1820
+ # @yieldparam err [StandardError] error object if request failed
1821
+ #
1822
+ # @return [Google::Apis::CloudidentityV1beta1::Operation]
1823
+ #
1824
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1825
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1826
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1827
+ def patch_inbound_saml_sso_profile(name, inbound_saml_sso_profile_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1828
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
1829
+ command.request_representation = Google::Apis::CloudidentityV1beta1::InboundSamlSsoProfile::Representation
1830
+ command.request_object = inbound_saml_sso_profile_object
1831
+ command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
1832
+ command.response_class = Google::Apis::CloudidentityV1beta1::Operation
1833
+ command.params['name'] = name unless name.nil?
1834
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1835
+ command.query['fields'] = fields unless fields.nil?
1836
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1837
+ execute_or_queue_command(command, &block)
1838
+ end
1839
+
1840
+ # Adds an IdpCredential. Up to 2 credentials are allowed.
1841
+ # @param [String] parent
1842
+ # Required. The InboundSamlSsoProfile that owns the IdpCredential. Format: `
1843
+ # inboundSamlSsoProfiles/`sso_profile_id``
1844
+ # @param [Google::Apis::CloudidentityV1beta1::AddIdpCredentialRequest] add_idp_credential_request_object
1845
+ # @param [String] fields
1846
+ # Selector specifying which fields to include in a partial response.
1847
+ # @param [String] quota_user
1848
+ # Available to use for quota purposes for server-side applications. Can be any
1849
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1850
+ # @param [Google::Apis::RequestOptions] options
1851
+ # Request-specific options
1852
+ #
1853
+ # @yield [result, err] Result & error if block supplied
1854
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
1855
+ # @yieldparam err [StandardError] error object if request failed
1856
+ #
1857
+ # @return [Google::Apis::CloudidentityV1beta1::Operation]
1858
+ #
1859
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1860
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1861
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1862
+ def add_idp_credential(parent, add_idp_credential_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1863
+ command = make_simple_command(:post, 'v1beta1/{+parent}/idpCredentials:add', options)
1864
+ command.request_representation = Google::Apis::CloudidentityV1beta1::AddIdpCredentialRequest::Representation
1865
+ command.request_object = add_idp_credential_request_object
1866
+ command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
1867
+ command.response_class = Google::Apis::CloudidentityV1beta1::Operation
1868
+ command.params['parent'] = parent unless parent.nil?
1869
+ command.query['fields'] = fields unless fields.nil?
1870
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1871
+ execute_or_queue_command(command, &block)
1872
+ end
1873
+
1874
+ # Deletes an IdpCredential.
1875
+ # @param [String] name
1876
+ # Required. The [resource name](https://cloud.google.com/apis/design/
1877
+ # resource_names) of the IdpCredential to delete. Format: `
1878
+ # inboundSamlSsoProfiles/`sso_profile_id`/idpCredentials/`idp_credential_id``
1879
+ # @param [String] fields
1880
+ # Selector specifying which fields to include in a partial response.
1881
+ # @param [String] quota_user
1882
+ # Available to use for quota purposes for server-side applications. Can be any
1883
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1884
+ # @param [Google::Apis::RequestOptions] options
1885
+ # Request-specific options
1886
+ #
1887
+ # @yield [result, err] Result & error if block supplied
1888
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
1889
+ # @yieldparam err [StandardError] error object if request failed
1890
+ #
1891
+ # @return [Google::Apis::CloudidentityV1beta1::Operation]
1892
+ #
1893
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1894
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1895
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1896
+ def delete_inbound_saml_sso_profile_idp_credential(name, fields: nil, quota_user: nil, options: nil, &block)
1897
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
1898
+ command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
1899
+ command.response_class = Google::Apis::CloudidentityV1beta1::Operation
1900
+ command.params['name'] = name unless name.nil?
1901
+ command.query['fields'] = fields unless fields.nil?
1902
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1903
+ execute_or_queue_command(command, &block)
1904
+ end
1905
+
1906
+ # Gets an IdpCredential.
1907
+ # @param [String] name
1908
+ # Required. The [resource name](https://cloud.google.com/apis/design/
1909
+ # resource_names) of the IdpCredential to retrieve. Format: `
1910
+ # inboundSamlSsoProfiles/`sso_profile_id`/idpCredentials/`idp_credential_id``
1911
+ # @param [String] fields
1912
+ # Selector specifying which fields to include in a partial response.
1913
+ # @param [String] quota_user
1914
+ # Available to use for quota purposes for server-side applications. Can be any
1915
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1916
+ # @param [Google::Apis::RequestOptions] options
1917
+ # Request-specific options
1918
+ #
1919
+ # @yield [result, err] Result & error if block supplied
1920
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::IdpCredential] parsed result object
1921
+ # @yieldparam err [StandardError] error object if request failed
1922
+ #
1923
+ # @return [Google::Apis::CloudidentityV1beta1::IdpCredential]
1924
+ #
1925
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1926
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1927
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1928
+ def get_inbound_saml_sso_profile_idp_credential(name, fields: nil, quota_user: nil, options: nil, &block)
1929
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
1930
+ command.response_representation = Google::Apis::CloudidentityV1beta1::IdpCredential::Representation
1931
+ command.response_class = Google::Apis::CloudidentityV1beta1::IdpCredential
1932
+ command.params['name'] = name unless name.nil?
1933
+ command.query['fields'] = fields unless fields.nil?
1934
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1935
+ execute_or_queue_command(command, &block)
1936
+ end
1937
+
1938
+ # Returns a list of IdpCredentials in an InboundSamlSsoProfile.
1939
+ # @param [String] parent
1940
+ # Required. The parent, which owns this collection of `IdpCredential`s. Format: `
1941
+ # inboundSamlSsoProfiles/`sso_profile_id``
1942
+ # @param [Fixnum] page_size
1943
+ # The maximum number of `IdpCredential`s to return. The service may return fewer
1944
+ # than this value.
1945
+ # @param [String] page_token
1946
+ # A page token, received from a previous `ListIdpCredentials` call. Provide this
1947
+ # to retrieve the subsequent page. When paginating, all other parameters
1948
+ # provided to `ListIdpCredentials` must match the call that provided the page
1949
+ # token.
1950
+ # @param [String] fields
1951
+ # Selector specifying which fields to include in a partial response.
1952
+ # @param [String] quota_user
1953
+ # Available to use for quota purposes for server-side applications. Can be any
1954
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1955
+ # @param [Google::Apis::RequestOptions] options
1956
+ # Request-specific options
1957
+ #
1958
+ # @yield [result, err] Result & error if block supplied
1959
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::ListIdpCredentialsResponse] parsed result object
1960
+ # @yieldparam err [StandardError] error object if request failed
1961
+ #
1962
+ # @return [Google::Apis::CloudidentityV1beta1::ListIdpCredentialsResponse]
1963
+ #
1964
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1965
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1966
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1967
+ def list_inbound_saml_sso_profile_idp_credentials(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1968
+ command = make_simple_command(:get, 'v1beta1/{+parent}/idpCredentials', options)
1969
+ command.response_representation = Google::Apis::CloudidentityV1beta1::ListIdpCredentialsResponse::Representation
1970
+ command.response_class = Google::Apis::CloudidentityV1beta1::ListIdpCredentialsResponse
1971
+ command.params['parent'] = parent unless parent.nil?
1972
+ command.query['pageSize'] = page_size unless page_size.nil?
1973
+ command.query['pageToken'] = page_token unless page_token.nil?
1974
+ command.query['fields'] = fields unless fields.nil?
1975
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1976
+ execute_or_queue_command(command, &block)
1977
+ end
1978
+
1979
+ # Creates an InboundSsoAssignment for users and devices in a `Customer` under a
1980
+ # given `Group` or `OrgUnit`.
1981
+ # @param [Google::Apis::CloudidentityV1beta1::InboundSsoAssignment] inbound_sso_assignment_object
1982
+ # @param [String] fields
1983
+ # Selector specifying which fields to include in a partial response.
1984
+ # @param [String] quota_user
1985
+ # Available to use for quota purposes for server-side applications. Can be any
1986
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1987
+ # @param [Google::Apis::RequestOptions] options
1988
+ # Request-specific options
1989
+ #
1990
+ # @yield [result, err] Result & error if block supplied
1991
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
1992
+ # @yieldparam err [StandardError] error object if request failed
1993
+ #
1994
+ # @return [Google::Apis::CloudidentityV1beta1::Operation]
1995
+ #
1996
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1997
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1998
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1999
+ def create_inbound_sso_assignment(inbound_sso_assignment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2000
+ command = make_simple_command(:post, 'v1beta1/inboundSsoAssignments', options)
2001
+ command.request_representation = Google::Apis::CloudidentityV1beta1::InboundSsoAssignment::Representation
2002
+ command.request_object = inbound_sso_assignment_object
2003
+ command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
2004
+ command.response_class = Google::Apis::CloudidentityV1beta1::Operation
2005
+ command.query['fields'] = fields unless fields.nil?
2006
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2007
+ execute_or_queue_command(command, &block)
2008
+ end
2009
+
2010
+ # Deletes an InboundSsoAssignment. To disable SSO, Create (or Update) an
2011
+ # assignment that has `sso_mode` == `SSO_OFF`.
2012
+ # @param [String] name
2013
+ # Required. The [resource name](https://cloud.google.com/apis/design/
2014
+ # resource_names) of the InboundSsoAssignment to delete. Format: `
2015
+ # inboundSsoAssignments/`assignment``
2016
+ # @param [String] fields
2017
+ # Selector specifying which fields to include in a partial response.
2018
+ # @param [String] quota_user
2019
+ # Available to use for quota purposes for server-side applications. Can be any
2020
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2021
+ # @param [Google::Apis::RequestOptions] options
2022
+ # Request-specific options
2023
+ #
2024
+ # @yield [result, err] Result & error if block supplied
2025
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
2026
+ # @yieldparam err [StandardError] error object if request failed
2027
+ #
2028
+ # @return [Google::Apis::CloudidentityV1beta1::Operation]
2029
+ #
2030
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2031
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2032
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2033
+ def delete_inbound_sso_assignment(name, fields: nil, quota_user: nil, options: nil, &block)
2034
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
2035
+ command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
2036
+ command.response_class = Google::Apis::CloudidentityV1beta1::Operation
2037
+ command.params['name'] = name unless name.nil?
2038
+ command.query['fields'] = fields unless fields.nil?
2039
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2040
+ execute_or_queue_command(command, &block)
2041
+ end
2042
+
2043
+ # Gets an InboundSsoAssignment.
2044
+ # @param [String] name
2045
+ # Required. The [resource name](https://cloud.google.com/apis/design/
2046
+ # resource_names) of the InboundSsoAssignment to fetch. Format: `
2047
+ # inboundSsoAssignments/`assignment``
2048
+ # @param [String] fields
2049
+ # Selector specifying which fields to include in a partial response.
2050
+ # @param [String] quota_user
2051
+ # Available to use for quota purposes for server-side applications. Can be any
2052
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2053
+ # @param [Google::Apis::RequestOptions] options
2054
+ # Request-specific options
2055
+ #
2056
+ # @yield [result, err] Result & error if block supplied
2057
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::InboundSsoAssignment] parsed result object
2058
+ # @yieldparam err [StandardError] error object if request failed
2059
+ #
2060
+ # @return [Google::Apis::CloudidentityV1beta1::InboundSsoAssignment]
2061
+ #
2062
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2063
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2064
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2065
+ def get_inbound_sso_assignment(name, fields: nil, quota_user: nil, options: nil, &block)
2066
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
2067
+ command.response_representation = Google::Apis::CloudidentityV1beta1::InboundSsoAssignment::Representation
2068
+ command.response_class = Google::Apis::CloudidentityV1beta1::InboundSsoAssignment
2069
+ command.params['name'] = name unless name.nil?
2070
+ command.query['fields'] = fields unless fields.nil?
2071
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2072
+ execute_or_queue_command(command, &block)
2073
+ end
2074
+
2075
+ # Lists the InboundSsoAssignments for a `Customer`.
2076
+ # @param [String] filter
2077
+ # A CEL expression to filter the results. The only currently-supported filter is
2078
+ # filtering by customer. For example: `customer==customers/C0123abc`. Omitting
2079
+ # the filter or specifying a filter of `customer==customers/my_customer` will
2080
+ # return the assignments for the customer that the caller (authenticated user)
2081
+ # belongs to.
2082
+ # @param [Fixnum] page_size
2083
+ # The maximum number of assignments to return. The service may return fewer than
2084
+ # this value. If omitted (or defaulted to zero) the server will use a sensible
2085
+ # default. This default may change over time. The maximum allowed value is 100,
2086
+ # though requests with page_size greater than that will be silently interpreted
2087
+ # as having this maximum value. This may increase in the futue.
2088
+ # @param [String] page_token
2089
+ # A page token, received from a previous `ListInboundSsoAssignments` call.
2090
+ # Provide this to retrieve the subsequent page. When paginating, all other
2091
+ # parameters provided to `ListInboundSsoAssignments` must match the call that
2092
+ # provided the page token.
2093
+ # @param [String] fields
2094
+ # Selector specifying which fields to include in a partial response.
2095
+ # @param [String] quota_user
2096
+ # Available to use for quota purposes for server-side applications. Can be any
2097
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2098
+ # @param [Google::Apis::RequestOptions] options
2099
+ # Request-specific options
2100
+ #
2101
+ # @yield [result, err] Result & error if block supplied
2102
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::ListInboundSsoAssignmentsResponse] parsed result object
2103
+ # @yieldparam err [StandardError] error object if request failed
2104
+ #
2105
+ # @return [Google::Apis::CloudidentityV1beta1::ListInboundSsoAssignmentsResponse]
2106
+ #
2107
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2108
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2109
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2110
+ def list_inbound_sso_assignments(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2111
+ command = make_simple_command(:get, 'v1beta1/inboundSsoAssignments', options)
2112
+ command.response_representation = Google::Apis::CloudidentityV1beta1::ListInboundSsoAssignmentsResponse::Representation
2113
+ command.response_class = Google::Apis::CloudidentityV1beta1::ListInboundSsoAssignmentsResponse
2114
+ command.query['filter'] = filter unless filter.nil?
2115
+ command.query['pageSize'] = page_size unless page_size.nil?
2116
+ command.query['pageToken'] = page_token unless page_token.nil?
2117
+ command.query['fields'] = fields unless fields.nil?
2118
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2119
+ execute_or_queue_command(command, &block)
2120
+ end
2121
+
2122
+ # Updates an InboundSsoAssignment. The body of this request is the `
2123
+ # inbound_sso_assignment` field and the `update_mask` is relative to that. For
2124
+ # example: a PATCH to `/v1beta1/inboundSsoAssignments/0abcdefg1234567&
2125
+ # update_mask=rank` with a body of `` "rank": 1 `` moves that (presumably group-
2126
+ # targeted) SSO assignment to the highest priority and shifts any other group-
2127
+ # targeted assignments down in priority.
2128
+ # @param [String] name
2129
+ # Output only. [Resource name](https://cloud.google.com/apis/design/
2130
+ # resource_names) of the Inbound SSO Assignment.
2131
+ # @param [Google::Apis::CloudidentityV1beta1::InboundSsoAssignment] inbound_sso_assignment_object
2132
+ # @param [String] update_mask
2133
+ # Required. The list of fields to be updated.
2134
+ # @param [String] fields
2135
+ # Selector specifying which fields to include in a partial response.
2136
+ # @param [String] quota_user
2137
+ # Available to use for quota purposes for server-side applications. Can be any
2138
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2139
+ # @param [Google::Apis::RequestOptions] options
2140
+ # Request-specific options
2141
+ #
2142
+ # @yield [result, err] Result & error if block supplied
2143
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
2144
+ # @yieldparam err [StandardError] error object if request failed
2145
+ #
2146
+ # @return [Google::Apis::CloudidentityV1beta1::Operation]
2147
+ #
2148
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2149
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2150
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2151
+ def patch_inbound_sso_assignment(name, inbound_sso_assignment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2152
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
2153
+ command.request_representation = Google::Apis::CloudidentityV1beta1::InboundSsoAssignment::Representation
2154
+ command.request_object = inbound_sso_assignment_object
2155
+ command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
2156
+ command.response_class = Google::Apis::CloudidentityV1beta1::Operation
2157
+ command.params['name'] = name unless name.nil?
2158
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2159
+ command.query['fields'] = fields unless fields.nil?
2160
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2161
+ execute_or_queue_command(command, &block)
2162
+ end
2163
+
1662
2164
  # List OrgMembership resources in an OrgUnit treated as 'parent'. Parent format:
1663
2165
  # orgUnits/`$orgUnitId` where `$orgUnitId` is the `orgUnitId` from the [Admin
1664
2166
  # SDK `OrgUnit` resource](https://developers.google.com/admin-sdk/directory/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudidentity_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.33.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: 2022-09-26 00:00:00.000000000 Z
11
+ date: 2022-10-03 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-cloudidentity_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.33.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudidentity_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []