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.



7009
7010
7011
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7009

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



6996
6997
6998
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6996

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)


7001
7002
7003
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7001

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)


7007
7008
7009
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7007

def view_url
  @view_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7014
7015
7016
7017
7018
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7014

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