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.



7060
7061
7062
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7060

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



7047
7048
7049
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7047

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)


7052
7053
7054
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7052

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)


7058
7059
7060
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7058

def view_url
  @view_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7065
7066
7067
7068
7069
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7065

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