google-apis-cloudidentity_v1 0.30.0 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1784,6 +1784,508 @@ module Google
1784
1784
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1785
1785
  execute_or_queue_command(command, &block)
1786
1786
  end
1787
+
1788
+ # Creates an InboundSamlSsoProfile for a customer.
1789
+ # @param [Google::Apis::CloudidentityV1::InboundSamlSsoProfile] inbound_saml_sso_profile_object
1790
+ # @param [String] fields
1791
+ # Selector specifying which fields to include in a partial response.
1792
+ # @param [String] quota_user
1793
+ # Available to use for quota purposes for server-side applications. Can be any
1794
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1795
+ # @param [Google::Apis::RequestOptions] options
1796
+ # Request-specific options
1797
+ #
1798
+ # @yield [result, err] Result & error if block supplied
1799
+ # @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
1800
+ # @yieldparam err [StandardError] error object if request failed
1801
+ #
1802
+ # @return [Google::Apis::CloudidentityV1::Operation]
1803
+ #
1804
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1805
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1806
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1807
+ def create_inbound_saml_sso_profile(inbound_saml_sso_profile_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1808
+ command = make_simple_command(:post, 'v1/inboundSamlSsoProfiles', options)
1809
+ command.request_representation = Google::Apis::CloudidentityV1::InboundSamlSsoProfile::Representation
1810
+ command.request_object = inbound_saml_sso_profile_object
1811
+ command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
1812
+ command.response_class = Google::Apis::CloudidentityV1::Operation
1813
+ command.query['fields'] = fields unless fields.nil?
1814
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1815
+ execute_or_queue_command(command, &block)
1816
+ end
1817
+
1818
+ # Deletes an InboundSamlSsoProfile.
1819
+ # @param [String] name
1820
+ # Required. The [resource name](https://cloud.google.com/apis/design/
1821
+ # resource_names) of the InboundSamlSsoProfile to delete. Format: `
1822
+ # inboundSamlSsoProfiles/`sso_profile_id``
1823
+ # @param [String] fields
1824
+ # Selector specifying which fields to include in a partial response.
1825
+ # @param [String] quota_user
1826
+ # Available to use for quota purposes for server-side applications. Can be any
1827
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1828
+ # @param [Google::Apis::RequestOptions] options
1829
+ # Request-specific options
1830
+ #
1831
+ # @yield [result, err] Result & error if block supplied
1832
+ # @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
1833
+ # @yieldparam err [StandardError] error object if request failed
1834
+ #
1835
+ # @return [Google::Apis::CloudidentityV1::Operation]
1836
+ #
1837
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1838
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1839
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1840
+ def delete_inbound_saml_sso_profile(name, fields: nil, quota_user: nil, options: nil, &block)
1841
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1842
+ command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
1843
+ command.response_class = Google::Apis::CloudidentityV1::Operation
1844
+ command.params['name'] = name unless name.nil?
1845
+ command.query['fields'] = fields unless fields.nil?
1846
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1847
+ execute_or_queue_command(command, &block)
1848
+ end
1849
+
1850
+ # Gets an InboundSamlSsoProfile.
1851
+ # @param [String] name
1852
+ # Required. The [resource name](https://cloud.google.com/apis/design/
1853
+ # resource_names) of the InboundSamlSsoProfile to get. Format: `
1854
+ # inboundSamlSsoProfiles/`sso_profile_id``
1855
+ # @param [String] fields
1856
+ # Selector specifying which fields to include in a partial response.
1857
+ # @param [String] quota_user
1858
+ # Available to use for quota purposes for server-side applications. Can be any
1859
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1860
+ # @param [Google::Apis::RequestOptions] options
1861
+ # Request-specific options
1862
+ #
1863
+ # @yield [result, err] Result & error if block supplied
1864
+ # @yieldparam result [Google::Apis::CloudidentityV1::InboundSamlSsoProfile] parsed result object
1865
+ # @yieldparam err [StandardError] error object if request failed
1866
+ #
1867
+ # @return [Google::Apis::CloudidentityV1::InboundSamlSsoProfile]
1868
+ #
1869
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1870
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1871
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1872
+ def get_inbound_saml_sso_profile(name, fields: nil, quota_user: nil, options: nil, &block)
1873
+ command = make_simple_command(:get, 'v1/{+name}', options)
1874
+ command.response_representation = Google::Apis::CloudidentityV1::InboundSamlSsoProfile::Representation
1875
+ command.response_class = Google::Apis::CloudidentityV1::InboundSamlSsoProfile
1876
+ command.params['name'] = name unless name.nil?
1877
+ command.query['fields'] = fields unless fields.nil?
1878
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1879
+ execute_or_queue_command(command, &block)
1880
+ end
1881
+
1882
+ # Lists InboundSamlSsoProfiles for a customer.
1883
+ # @param [String] filter
1884
+ # A [Common Expression Language](https://github.com/google/cel-spec) expression
1885
+ # to filter the results. The only currently-supported filter is filtering by
1886
+ # customer. For example: `customer=="customers/C0123abc"`. Omitting the filter
1887
+ # or specifying a filter of `customer=="customers/my_customer"` will return the
1888
+ # profiles for the customer that the caller (authenticated user) belongs to.
1889
+ # @param [Fixnum] page_size
1890
+ # The maximum number of InboundSamlSsoProfiles to return. The service may return
1891
+ # fewer than this value. If omitted (or defaulted to zero) the server will use a
1892
+ # sensible default. This default may change over time. The maximum allowed value
1893
+ # is 100. Requests with page_size greater than that will be silently interpreted
1894
+ # as having this maximum value.
1895
+ # @param [String] page_token
1896
+ # A page token, received from a previous `ListInboundSamlSsoProfiles` call.
1897
+ # Provide this to retrieve the subsequent page. When paginating, all other
1898
+ # parameters provided to `ListInboundSamlSsoProfiles` must match the call that
1899
+ # provided the page token.
1900
+ # @param [String] fields
1901
+ # Selector specifying which fields to include in a partial response.
1902
+ # @param [String] quota_user
1903
+ # Available to use for quota purposes for server-side applications. Can be any
1904
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1905
+ # @param [Google::Apis::RequestOptions] options
1906
+ # Request-specific options
1907
+ #
1908
+ # @yield [result, err] Result & error if block supplied
1909
+ # @yieldparam result [Google::Apis::CloudidentityV1::ListInboundSamlSsoProfilesResponse] parsed result object
1910
+ # @yieldparam err [StandardError] error object if request failed
1911
+ #
1912
+ # @return [Google::Apis::CloudidentityV1::ListInboundSamlSsoProfilesResponse]
1913
+ #
1914
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1915
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1916
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1917
+ def list_inbound_saml_sso_profiles(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1918
+ command = make_simple_command(:get, 'v1/inboundSamlSsoProfiles', options)
1919
+ command.response_representation = Google::Apis::CloudidentityV1::ListInboundSamlSsoProfilesResponse::Representation
1920
+ command.response_class = Google::Apis::CloudidentityV1::ListInboundSamlSsoProfilesResponse
1921
+ command.query['filter'] = filter unless filter.nil?
1922
+ command.query['pageSize'] = page_size unless page_size.nil?
1923
+ command.query['pageToken'] = page_token unless page_token.nil?
1924
+ command.query['fields'] = fields unless fields.nil?
1925
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1926
+ execute_or_queue_command(command, &block)
1927
+ end
1928
+
1929
+ # Updates an InboundSamlSsoProfile.
1930
+ # @param [String] name
1931
+ # Output only. [Resource name](https://cloud.google.com/apis/design/
1932
+ # resource_names) of the SAML SSO profile.
1933
+ # @param [Google::Apis::CloudidentityV1::InboundSamlSsoProfile] inbound_saml_sso_profile_object
1934
+ # @param [String] update_mask
1935
+ # Required. The list of fields to be updated.
1936
+ # @param [String] fields
1937
+ # Selector specifying which fields to include in a partial response.
1938
+ # @param [String] quota_user
1939
+ # Available to use for quota purposes for server-side applications. Can be any
1940
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1941
+ # @param [Google::Apis::RequestOptions] options
1942
+ # Request-specific options
1943
+ #
1944
+ # @yield [result, err] Result & error if block supplied
1945
+ # @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
1946
+ # @yieldparam err [StandardError] error object if request failed
1947
+ #
1948
+ # @return [Google::Apis::CloudidentityV1::Operation]
1949
+ #
1950
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1951
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1952
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1953
+ def patch_inbound_saml_sso_profile(name, inbound_saml_sso_profile_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1954
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1955
+ command.request_representation = Google::Apis::CloudidentityV1::InboundSamlSsoProfile::Representation
1956
+ command.request_object = inbound_saml_sso_profile_object
1957
+ command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
1958
+ command.response_class = Google::Apis::CloudidentityV1::Operation
1959
+ command.params['name'] = name unless name.nil?
1960
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1961
+ command.query['fields'] = fields unless fields.nil?
1962
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1963
+ execute_or_queue_command(command, &block)
1964
+ end
1965
+
1966
+ # Adds an IdpCredential. Up to 2 credentials are allowed.
1967
+ # @param [String] parent
1968
+ # Required. The InboundSamlSsoProfile that owns the IdpCredential. Format: `
1969
+ # inboundSamlSsoProfiles/`sso_profile_id``
1970
+ # @param [Google::Apis::CloudidentityV1::AddIdpCredentialRequest] add_idp_credential_request_object
1971
+ # @param [String] fields
1972
+ # Selector specifying which fields to include in a partial response.
1973
+ # @param [String] quota_user
1974
+ # Available to use for quota purposes for server-side applications. Can be any
1975
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1976
+ # @param [Google::Apis::RequestOptions] options
1977
+ # Request-specific options
1978
+ #
1979
+ # @yield [result, err] Result & error if block supplied
1980
+ # @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
1981
+ # @yieldparam err [StandardError] error object if request failed
1982
+ #
1983
+ # @return [Google::Apis::CloudidentityV1::Operation]
1984
+ #
1985
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1986
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1987
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1988
+ def add_idp_credential(parent, add_idp_credential_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1989
+ command = make_simple_command(:post, 'v1/{+parent}/idpCredentials:add', options)
1990
+ command.request_representation = Google::Apis::CloudidentityV1::AddIdpCredentialRequest::Representation
1991
+ command.request_object = add_idp_credential_request_object
1992
+ command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
1993
+ command.response_class = Google::Apis::CloudidentityV1::Operation
1994
+ command.params['parent'] = parent unless parent.nil?
1995
+ command.query['fields'] = fields unless fields.nil?
1996
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1997
+ execute_or_queue_command(command, &block)
1998
+ end
1999
+
2000
+ # Deletes an IdpCredential.
2001
+ # @param [String] name
2002
+ # Required. The [resource name](https://cloud.google.com/apis/design/
2003
+ # resource_names) of the IdpCredential to delete. Format: `
2004
+ # inboundSamlSsoProfiles/`sso_profile_id`/idpCredentials/`idp_credential_id``
2005
+ # @param [String] fields
2006
+ # Selector specifying which fields to include in a partial response.
2007
+ # @param [String] quota_user
2008
+ # Available to use for quota purposes for server-side applications. Can be any
2009
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2010
+ # @param [Google::Apis::RequestOptions] options
2011
+ # Request-specific options
2012
+ #
2013
+ # @yield [result, err] Result & error if block supplied
2014
+ # @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
2015
+ # @yieldparam err [StandardError] error object if request failed
2016
+ #
2017
+ # @return [Google::Apis::CloudidentityV1::Operation]
2018
+ #
2019
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2020
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2021
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2022
+ def delete_inbound_saml_sso_profile_idp_credential(name, fields: nil, quota_user: nil, options: nil, &block)
2023
+ command = make_simple_command(:delete, 'v1/{+name}', options)
2024
+ command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
2025
+ command.response_class = Google::Apis::CloudidentityV1::Operation
2026
+ command.params['name'] = name unless name.nil?
2027
+ command.query['fields'] = fields unless fields.nil?
2028
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2029
+ execute_or_queue_command(command, &block)
2030
+ end
2031
+
2032
+ # Gets an IdpCredential.
2033
+ # @param [String] name
2034
+ # Required. The [resource name](https://cloud.google.com/apis/design/
2035
+ # resource_names) of the IdpCredential to retrieve. Format: `
2036
+ # inboundSamlSsoProfiles/`sso_profile_id`/idpCredentials/`idp_credential_id``
2037
+ # @param [String] fields
2038
+ # Selector specifying which fields to include in a partial response.
2039
+ # @param [String] quota_user
2040
+ # Available to use for quota purposes for server-side applications. Can be any
2041
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2042
+ # @param [Google::Apis::RequestOptions] options
2043
+ # Request-specific options
2044
+ #
2045
+ # @yield [result, err] Result & error if block supplied
2046
+ # @yieldparam result [Google::Apis::CloudidentityV1::IdpCredential] parsed result object
2047
+ # @yieldparam err [StandardError] error object if request failed
2048
+ #
2049
+ # @return [Google::Apis::CloudidentityV1::IdpCredential]
2050
+ #
2051
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2052
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2053
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2054
+ def get_inbound_saml_sso_profile_idp_credential(name, fields: nil, quota_user: nil, options: nil, &block)
2055
+ command = make_simple_command(:get, 'v1/{+name}', options)
2056
+ command.response_representation = Google::Apis::CloudidentityV1::IdpCredential::Representation
2057
+ command.response_class = Google::Apis::CloudidentityV1::IdpCredential
2058
+ command.params['name'] = name unless name.nil?
2059
+ command.query['fields'] = fields unless fields.nil?
2060
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2061
+ execute_or_queue_command(command, &block)
2062
+ end
2063
+
2064
+ # Returns a list of IdpCredentials in an InboundSamlSsoProfile.
2065
+ # @param [String] parent
2066
+ # Required. The parent, which owns this collection of `IdpCredential`s. Format: `
2067
+ # inboundSamlSsoProfiles/`sso_profile_id``
2068
+ # @param [Fixnum] page_size
2069
+ # The maximum number of `IdpCredential`s to return. The service may return fewer
2070
+ # than this value.
2071
+ # @param [String] page_token
2072
+ # A page token, received from a previous `ListIdpCredentials` call. Provide this
2073
+ # to retrieve the subsequent page. When paginating, all other parameters
2074
+ # provided to `ListIdpCredentials` must match the call that provided the page
2075
+ # token.
2076
+ # @param [String] fields
2077
+ # Selector specifying which fields to include in a partial response.
2078
+ # @param [String] quota_user
2079
+ # Available to use for quota purposes for server-side applications. Can be any
2080
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2081
+ # @param [Google::Apis::RequestOptions] options
2082
+ # Request-specific options
2083
+ #
2084
+ # @yield [result, err] Result & error if block supplied
2085
+ # @yieldparam result [Google::Apis::CloudidentityV1::ListIdpCredentialsResponse] parsed result object
2086
+ # @yieldparam err [StandardError] error object if request failed
2087
+ #
2088
+ # @return [Google::Apis::CloudidentityV1::ListIdpCredentialsResponse]
2089
+ #
2090
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2091
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2092
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2093
+ def list_inbound_saml_sso_profile_idp_credentials(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2094
+ command = make_simple_command(:get, 'v1/{+parent}/idpCredentials', options)
2095
+ command.response_representation = Google::Apis::CloudidentityV1::ListIdpCredentialsResponse::Representation
2096
+ command.response_class = Google::Apis::CloudidentityV1::ListIdpCredentialsResponse
2097
+ command.params['parent'] = parent unless parent.nil?
2098
+ command.query['pageSize'] = page_size unless page_size.nil?
2099
+ command.query['pageToken'] = page_token unless page_token.nil?
2100
+ command.query['fields'] = fields unless fields.nil?
2101
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2102
+ execute_or_queue_command(command, &block)
2103
+ end
2104
+
2105
+ # Creates an InboundSsoAssignment for users and devices in a `Customer` under a
2106
+ # given `Group` or `OrgUnit`.
2107
+ # @param [Google::Apis::CloudidentityV1::InboundSsoAssignment] inbound_sso_assignment_object
2108
+ # @param [String] fields
2109
+ # Selector specifying which fields to include in a partial response.
2110
+ # @param [String] quota_user
2111
+ # Available to use for quota purposes for server-side applications. Can be any
2112
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2113
+ # @param [Google::Apis::RequestOptions] options
2114
+ # Request-specific options
2115
+ #
2116
+ # @yield [result, err] Result & error if block supplied
2117
+ # @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
2118
+ # @yieldparam err [StandardError] error object if request failed
2119
+ #
2120
+ # @return [Google::Apis::CloudidentityV1::Operation]
2121
+ #
2122
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2123
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2124
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2125
+ def create_inbound_sso_assignment(inbound_sso_assignment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2126
+ command = make_simple_command(:post, 'v1/inboundSsoAssignments', options)
2127
+ command.request_representation = Google::Apis::CloudidentityV1::InboundSsoAssignment::Representation
2128
+ command.request_object = inbound_sso_assignment_object
2129
+ command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
2130
+ command.response_class = Google::Apis::CloudidentityV1::Operation
2131
+ command.query['fields'] = fields unless fields.nil?
2132
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2133
+ execute_or_queue_command(command, &block)
2134
+ end
2135
+
2136
+ # Deletes an InboundSsoAssignment. To disable SSO, Create (or Update) an
2137
+ # assignment that has `sso_mode` == `SSO_OFF`.
2138
+ # @param [String] name
2139
+ # Required. The [resource name](https://cloud.google.com/apis/design/
2140
+ # resource_names) of the InboundSsoAssignment to delete. Format: `
2141
+ # inboundSsoAssignments/`assignment``
2142
+ # @param [String] fields
2143
+ # Selector specifying which fields to include in a partial response.
2144
+ # @param [String] quota_user
2145
+ # Available to use for quota purposes for server-side applications. Can be any
2146
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2147
+ # @param [Google::Apis::RequestOptions] options
2148
+ # Request-specific options
2149
+ #
2150
+ # @yield [result, err] Result & error if block supplied
2151
+ # @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
2152
+ # @yieldparam err [StandardError] error object if request failed
2153
+ #
2154
+ # @return [Google::Apis::CloudidentityV1::Operation]
2155
+ #
2156
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2157
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2158
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2159
+ def delete_inbound_sso_assignment(name, fields: nil, quota_user: nil, options: nil, &block)
2160
+ command = make_simple_command(:delete, 'v1/{+name}', options)
2161
+ command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
2162
+ command.response_class = Google::Apis::CloudidentityV1::Operation
2163
+ command.params['name'] = name unless name.nil?
2164
+ command.query['fields'] = fields unless fields.nil?
2165
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2166
+ execute_or_queue_command(command, &block)
2167
+ end
2168
+
2169
+ # Gets an InboundSsoAssignment.
2170
+ # @param [String] name
2171
+ # Required. The [resource name](https://cloud.google.com/apis/design/
2172
+ # resource_names) of the InboundSsoAssignment to fetch. Format: `
2173
+ # inboundSsoAssignments/`assignment``
2174
+ # @param [String] fields
2175
+ # Selector specifying which fields to include in a partial response.
2176
+ # @param [String] quota_user
2177
+ # Available to use for quota purposes for server-side applications. Can be any
2178
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2179
+ # @param [Google::Apis::RequestOptions] options
2180
+ # Request-specific options
2181
+ #
2182
+ # @yield [result, err] Result & error if block supplied
2183
+ # @yieldparam result [Google::Apis::CloudidentityV1::InboundSsoAssignment] parsed result object
2184
+ # @yieldparam err [StandardError] error object if request failed
2185
+ #
2186
+ # @return [Google::Apis::CloudidentityV1::InboundSsoAssignment]
2187
+ #
2188
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2189
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2190
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2191
+ def get_inbound_sso_assignment(name, fields: nil, quota_user: nil, options: nil, &block)
2192
+ command = make_simple_command(:get, 'v1/{+name}', options)
2193
+ command.response_representation = Google::Apis::CloudidentityV1::InboundSsoAssignment::Representation
2194
+ command.response_class = Google::Apis::CloudidentityV1::InboundSsoAssignment
2195
+ command.params['name'] = name unless name.nil?
2196
+ command.query['fields'] = fields unless fields.nil?
2197
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2198
+ execute_or_queue_command(command, &block)
2199
+ end
2200
+
2201
+ # Lists the InboundSsoAssignments for a `Customer`.
2202
+ # @param [String] filter
2203
+ # A CEL expression to filter the results. The only currently-supported filter is
2204
+ # filtering by customer. For example: `customer==customers/C0123abc`. Omitting
2205
+ # the filter or specifying a filter of `customer==customers/my_customer` will
2206
+ # return the assignments for the customer that the caller (authenticated user)
2207
+ # belongs to.
2208
+ # @param [Fixnum] page_size
2209
+ # The maximum number of assignments to return. The service may return fewer than
2210
+ # this value. If omitted (or defaulted to zero) the server will use a sensible
2211
+ # default. This default may change over time. The maximum allowed value is 100,
2212
+ # though requests with page_size greater than that will be silently interpreted
2213
+ # as having this maximum value. This may increase in the futue.
2214
+ # @param [String] page_token
2215
+ # A page token, received from a previous `ListInboundSsoAssignments` call.
2216
+ # Provide this to retrieve the subsequent page. When paginating, all other
2217
+ # parameters provided to `ListInboundSsoAssignments` must match the call that
2218
+ # provided the page token.
2219
+ # @param [String] fields
2220
+ # Selector specifying which fields to include in a partial response.
2221
+ # @param [String] quota_user
2222
+ # Available to use for quota purposes for server-side applications. Can be any
2223
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2224
+ # @param [Google::Apis::RequestOptions] options
2225
+ # Request-specific options
2226
+ #
2227
+ # @yield [result, err] Result & error if block supplied
2228
+ # @yieldparam result [Google::Apis::CloudidentityV1::ListInboundSsoAssignmentsResponse] parsed result object
2229
+ # @yieldparam err [StandardError] error object if request failed
2230
+ #
2231
+ # @return [Google::Apis::CloudidentityV1::ListInboundSsoAssignmentsResponse]
2232
+ #
2233
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2234
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2235
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2236
+ def list_inbound_sso_assignments(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2237
+ command = make_simple_command(:get, 'v1/inboundSsoAssignments', options)
2238
+ command.response_representation = Google::Apis::CloudidentityV1::ListInboundSsoAssignmentsResponse::Representation
2239
+ command.response_class = Google::Apis::CloudidentityV1::ListInboundSsoAssignmentsResponse
2240
+ command.query['filter'] = filter unless filter.nil?
2241
+ command.query['pageSize'] = page_size unless page_size.nil?
2242
+ command.query['pageToken'] = page_token unless page_token.nil?
2243
+ command.query['fields'] = fields unless fields.nil?
2244
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2245
+ execute_or_queue_command(command, &block)
2246
+ end
2247
+
2248
+ # Updates an InboundSsoAssignment. The body of this request is the `
2249
+ # inbound_sso_assignment` field and the `update_mask` is relative to that. For
2250
+ # example: a PATCH to `/v1/inboundSsoAssignments/0abcdefg1234567&update_mask=
2251
+ # rank` with a body of `` "rank": 1 `` moves that (presumably group-targeted)
2252
+ # SSO assignment to the highest priority and shifts any other group-targeted
2253
+ # assignments down in priority.
2254
+ # @param [String] name
2255
+ # Output only. [Resource name](https://cloud.google.com/apis/design/
2256
+ # resource_names) of the Inbound SSO Assignment.
2257
+ # @param [Google::Apis::CloudidentityV1::InboundSsoAssignment] inbound_sso_assignment_object
2258
+ # @param [String] update_mask
2259
+ # Required. The list of fields to be updated.
2260
+ # @param [String] fields
2261
+ # Selector specifying which fields to include in a partial response.
2262
+ # @param [String] quota_user
2263
+ # Available to use for quota purposes for server-side applications. Can be any
2264
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2265
+ # @param [Google::Apis::RequestOptions] options
2266
+ # Request-specific options
2267
+ #
2268
+ # @yield [result, err] Result & error if block supplied
2269
+ # @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
2270
+ # @yieldparam err [StandardError] error object if request failed
2271
+ #
2272
+ # @return [Google::Apis::CloudidentityV1::Operation]
2273
+ #
2274
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2275
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2276
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2277
+ def patch_inbound_sso_assignment(name, inbound_sso_assignment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2278
+ command = make_simple_command(:patch, 'v1/{+name}', options)
2279
+ command.request_representation = Google::Apis::CloudidentityV1::InboundSsoAssignment::Representation
2280
+ command.request_object = inbound_sso_assignment_object
2281
+ command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
2282
+ command.response_class = Google::Apis::CloudidentityV1::Operation
2283
+ command.params['name'] = name unless name.nil?
2284
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2285
+ command.query['fields'] = fields unless fields.nil?
2286
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2287
+ execute_or_queue_command(command, &block)
2288
+ end
1787
2289
 
1788
2290
  protected
1789
2291
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudidentity_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.31.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-01-04 00:00:00.000000000 Z
11
+ date: 2023-01-22 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1/v0.31.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudidentity_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Identity API V1