Class: Google::Apis::CloudsearchV1::SearchItemsByViewUrlRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchItemsByViewUrlRequest

Returns a new instance of SearchItemsByViewUrlRequest.



17432
17433
17434
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17432

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#debug_optionsGoogle::Apis::CloudsearchV1::DebugOptions

Shared request debug options for all cloudsearch RPC methods. Corresponds to the JSON property debugOptions



17419
17420
17421
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17419

def debug_options
  @debug_options
end

#page_tokenString

The next_page_token value returned from a previous request, if any. Corresponds to the JSON property pageToken

Returns:

  • (String)


17424
17425
17426
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17424

def page_token
  @page_token
end

#view_urlString

Specify the full view URL to find the corresponding item. The maximum length is 2048 characters. Corresponds to the JSON property viewUrl

Returns:

  • (String)


17430
17431
17432
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17430

def view_url
  @view_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17437
17438
17439
17440
17441
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17437

def update!(**args)
  @debug_options = args[:debug_options] if args.key?(:debug_options)
  @page_token = args[:page_token] if args.key?(:page_token)
  @view_url = args[:view_url] if args.key?(:view_url)
end