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.



17346
17347
17348
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17346

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



17333
17334
17335
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17333

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)


17338
17339
17340
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17338

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)


17344
17345
17346
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17344

def view_url
  @view_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17351
17352
17353
17354
17355
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17351

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