Class: Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaPolicyFragment
- Inherits:
-
Object
- Object
- Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaPolicyFragment
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/checks_v1alpha/classes.rb,
lib/google/apis/checks_v1alpha/representations.rb,
lib/google/apis/checks_v1alpha/representations.rb
Overview
Information about a policy fragment.
Instance Attribute Summary collapse
-
#html_content ⇒ String
HTML content.
-
#source_uri ⇒ String
Policy URL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChecksReportV1alphaPolicyFragment
constructor
A new instance of GoogleChecksReportV1alphaPolicyFragment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChecksReportV1alphaPolicyFragment
Returns a new instance of GoogleChecksReportV1alphaPolicyFragment.
1033 1034 1035 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1033 def initialize(**args) update!(**args) end |
Instance Attribute Details
#html_content ⇒ String
HTML content.
Corresponds to the JSON property htmlContent
1026 1027 1028 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1026 def html_content @html_content end |
#source_uri ⇒ String
Policy URL.
Corresponds to the JSON property sourceUri
1031 1032 1033 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1031 def source_uri @source_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1038 1039 1040 1041 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1038 def update!(**args) @html_content = args[:html_content] if args.key?(:html_content) @source_uri = args[:source_uri] if args.key?(:source_uri) end |