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.
1578 1579 1580 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1578 def initialize(**args) update!(**args) end |
Instance Attribute Details
#html_content ⇒ String
HTML content.
Corresponds to the JSON property htmlContent
1571 1572 1573 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1571 def html_content @html_content end |
#source_uri ⇒ String
Policy URL.
Corresponds to the JSON property sourceUri
1576 1577 1578 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1576 def source_uri @source_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1583 1584 1585 1586 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1583 def update!(**args) @html_content = args[:html_content] if args.key?(:html_content) @source_uri = args[:source_uri] if args.key?(:source_uri) end |