Class: Google::Apis::CloudsearchV1::TrustedResourceUrlProto
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::TrustedResourceUrlProto
- 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 all URL contexts in DOM APIs and HTML documents; even where the referred-to resource is interpreted as code, e.g., as the src of a script element.
Instance Attribute Summary collapse
-
#private_do_not_access_or_else_trusted_resource_url_wrapped_value ⇒ String
IMPORTANT: Never set or read this field, even from tests, it is private.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TrustedResourceUrlProto
constructor
A new instance of TrustedResourceUrlProto.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TrustedResourceUrlProto
Returns a new instance of TrustedResourceUrlProto.
16860 16861 16862 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16860 def initialize(**args) update!(**args) end |
Instance Attribute Details
#private_do_not_access_or_else_trusted_resource_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 privateDoNotAccessOrElseTrustedResourceUrlWrappedValue
16858 16859 16860 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16858 def private_do_not_access_or_else_trusted_resource_url_wrapped_value @private_do_not_access_or_else_trusted_resource_url_wrapped_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16865 16866 16867 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16865 def update!(**args) @private_do_not_access_or_else_trusted_resource_url_wrapped_value = args[:private_do_not_access_or_else_trusted_resource_url_wrapped_value] if args.key?(:private_do_not_access_or_else_trusted_resource_url_wrapped_value) end |