Class: Google::Apis::CloudsearchV1::SafeUrlProto
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::SafeUrlProto
- 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
-
#private_do_not_access_or_else_safe_url_wrapped_value ⇒ String
IMPORTANT: Never set or read this field, even from tests, it is private.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SafeUrlProto
constructor
A new instance of SafeUrlProto.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SafeUrlProto
Returns a new instance of SafeUrlProto.
17072 17073 17074 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17072 def initialize(**args) update!(**args) end |
Instance Attribute Details
#private_do_not_access_or_else_safe_url_wrapped_value ⇒ String
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
17070 17071 17072 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17070 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
17077 17078 17079 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17077 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 |