Class: Google::Apis::CloudsearchV1::SafeUrlProto

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

Overview

Message containing a string that is safe to use in URL contexts in DOM APIs and HTML documents, where the URL context does not refer to a resource that loads code.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SafeUrlProto

Returns a new instance of SafeUrlProto.



6753
6754
6755
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6753

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

Instance Attribute Details

#private_do_not_access_or_else_safe_url_wrapped_valueString

IMPORTANT: Never set or read this field, even from tests, it is private. See documentation at the top of .proto file for programming language packages with which to create or read this message. Corresponds to the JSON property privateDoNotAccessOrElseSafeUrlWrappedValue

Returns:

  • (String)


6751
6752
6753
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6751

def private_do_not_access_or_else_safe_url_wrapped_value
  @private_do_not_access_or_else_safe_url_wrapped_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6758
6759
6760
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6758

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