Module: Google::Apps::Meet::V2beta::SpacesService::Paths

Extended by:
Paths
Included in:
Client, Paths, Rest::Client
Defined in:
lib/google/apps/meet/v2beta/spaces_service/paths.rb

Overview

Path helper methods for the SpacesService API.

Instance Method Summary collapse

Instance Method Details

#conference_record_path(conference_record:) ⇒ ::String

Create a fully-qualified ConferenceRecord resource string.

The resource will be in the following format:

conferenceRecords/{conference_record}

Parameters:

  • conference_record (String)

Returns:

  • (::String)


37
38
39
# File 'lib/google/apps/meet/v2beta/spaces_service/paths.rb', line 37

def conference_record_path conference_record:
  "conferenceRecords/#{conference_record}"
end

#member_path(space:, member:) ⇒ ::String

Create a fully-qualified Member resource string.

The resource will be in the following format:

spaces/{space}/members/{member}

Parameters:

  • space (String)
  • member (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


52
53
54
55
56
# File 'lib/google/apps/meet/v2beta/spaces_service/paths.rb', line 52

def member_path space:, member:
  raise ::ArgumentError, "space cannot contain /" if space.to_s.include? "/"

  "spaces/#{space}/members/#{member}"
end

#space_path(space:) ⇒ ::String

Create a fully-qualified Space resource string.

The resource will be in the following format:

spaces/{space}

Parameters:

  • space (String)

Returns:

  • (::String)


68
69
70
# File 'lib/google/apps/meet/v2beta/spaces_service/paths.rb', line 68

def space_path space:
  "spaces/#{space}"
end