Class: Google::Apis::AndroidmanagementV1::TermsAndConditions
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::TermsAndConditions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb
Overview
A terms and conditions page to be accepted during provisioning.
Instance Attribute Summary collapse
-
#content ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info.
-
#header ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TermsAndConditions
constructor
A new instance of TermsAndConditions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TermsAndConditions
Returns a new instance of TermsAndConditions.
5969 5970 5971 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5969 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info. The maximum message length is
4096 characters.
Corresponds to the JSON property content
5961 5962 5963 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5961 def content @content end |
#header ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info. The maximum message length is
4096 characters.
Corresponds to the JSON property header
5967 5968 5969 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5967 def header @header end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5974 5975 5976 5977 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5974 def update!(**args) @content = args[:content] if args.key?(:content) @header = args[:header] if args.key?(:header) end |