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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidmanagement_v1/classes.rb,
generated/google/apis/androidmanagement_v1/representations.rb,
generated/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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TermsAndConditions

Returns a new instance of TermsAndConditions



2810
2811
2812
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2810

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



2802
2803
2804
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2802

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



2808
2809
2810
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2808

def header
  @header
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2815
2816
2817
2818
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2815

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