Class: Google::Apis::AndroidmanagementV1::TermsAndConditions

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TermsAndConditions

Returns a new instance of TermsAndConditions.



4281
4282
4283
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4281

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#contentGoogle::Apis::AndroidmanagementV1::UserFacingMessage

Provides a user-facing message with locale info. The maximum message length is 4096 characters. Corresponds to the JSON property content



4273
4274
4275
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4273

def content
  @content
end

#headerGoogle::Apis::AndroidmanagementV1::UserFacingMessage

Provides a user-facing message with locale info. The maximum message length is 4096 characters. Corresponds to the JSON property header



4279
4280
4281
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4279

def header
  @header
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4286
4287
4288
4289
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4286

def update!(**args)
  @content = args[:content] if args.key?(:content)
  @header = args[:header] if args.key?(:header)
end