generated/google/apis/cloudidentity_v1beta1/service.rb
def lookup_group_membership(parent, member_key_id: nil, member_key_namespace: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:get, 'v1beta1/{+parent}/memberships:lookup', options)
          command.response_representation = Google::Apis::CloudidentityV1beta1::LookupMembershipNameResponse::Representation
          command.response_class = Google::Apis::CloudidentityV1beta1::LookupMembershipNameResponse
          command.params['parent'] = parent unless parent.nil?
          command.query['memberKey.id'] = member_key_id unless member_key_id.nil?
          command.query['memberKey.namespace'] = member_key_namespace unless member_key_namespace.nil?
          command.query['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
# Looks up [resource
# name](https://cloud.google.com/apis/design/resource_names) of a Membership
# within a Group by member's EntityKey.
# @param [String] parent
#   [Resource name](https://cloud.google.com/apis/design/resource_names) of the
#   Group to lookup Membership within.
#   Format: `groups/`group_id``, where `group_id` is the unique id assigned to
#   the Group.
# @param [String] member_key_id
#   The id of the entity within the given namespace. The id must be unique
#   within its namespace.
# @param [String] member_key_namespace
#   Namespaces provide isolation for ids, i.e an id only needs to be unique
#   within its namespace.
#   Namespaces are currently only created as part of IdentitySource creation
#   from Admin Console. A namespace `"identitysources/`identity_source_id`"` is
#   created corresponding to every Identity Source `identity_source_id`.
# @param [String] fields
#   Selector specifying which fields to include in a partial response.
# @param [String] quota_user
#   Available to use for quota purposes for server-side applications. Can be any
#   arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
#   Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::CloudidentityV1beta1::LookupMembershipNameResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudidentityV1beta1::LookupMembershipNameResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
Looks up [resource
name] of a Membership
within a Group by member's EntityKey.
Looks up [ resource name ] of a Membership within a Group by member ' s EntityKey .
def lookup_group_membership(parent, member_key_id: nil, member_key_namespace: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:get, 'v1beta1/{+parent}/memberships:lookup', options)
          command.response_representation = Google::Apis::CloudidentityV1beta1::LookupMembershipNameResponse::Representation
          command.response_class = Google::Apis::CloudidentityV1beta1::LookupMembershipNameResponse
          command.params['parent'] = parent unless parent.nil?
          command.query['memberKey.id'] = member_key_id unless member_key_id.nil?
          command.query['memberKey.namespace'] = member_key_namespace unless member_key_namespace.nil?
          command.query['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
def lookup_group_membership ( parent , member_key_id : nil , member_key_namespace : nil , fields : nil , quota_user : nil , options : nil , & block ) command = make_simple_command ( :get , 'v1beta1/{+parent}/memberships:lookup' , options ) command . response_representation = Google :: Apis :: CloudidentityV1beta1 :: LookupMembershipNameResponse :: Representation command . response_class = Google :: Apis :: CloudidentityV1beta1 :: LookupMembershipNameResponse command . params [ 'parent' ] = parent unless parent . nil? command . query [ 'memberKey.id' ] = member_key_id unless member_key_id . nil? command . query [ 'memberKey.namespace' ] = member_key_namespace unless member_key_namespace . nil? command . query [ 'fields' ] = fields unless fields . nil? command . query [ 'quotaUser' ] = quota_user unless quota_user . nil? execute_or_queue_command ( command , & block ) end
Looks up [resource
name](https://cloud.google.com/apis/design/resource_names) of a Membership
within a Group by member's EntityKey.
Looks up [ resource name ] ( https : // cloud . google . com / apis / design / resource_names ) of a Membership within a Group by member ' s EntityKey .
None
Google::Apis::CloudidentityV1beta1::LookupMembershipNameResponse
[Google::Apis::ServerError] An error occurred on the server and the request can be retried
[ Google :: Apis :: ServerError ] An error occurred on the server and the request can be retried
[Google::Apis::ClientError] The request is invalid and should not be retried without modification
[ Google :: Apis :: ClientError ] The request is invalid and should not be retried without modification
[Google::Apis::AuthorizationError] Authorization is required
[ Google :: Apis :: AuthorizationError ] Authorization is required
parent
member_key_id
member_key_namespace
fields
quota_user
options
block
options Request-specific options
options Request - specific options
]
Result & error if block supplied
Result & error if block supplied
result
parsed result object
parsed result object
err
error object if request failed
error object if request failed