Class: Google::Apis::AndroidmanagementV1::Enterprise

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

The configuration applied to an enterprise.

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) ⇒ Enterprise

Returns a new instance of Enterprise



1053
1054
1055
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1053

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

Instance Attribute Details

#app_auto_approval_enabledBoolean Also known as: app_auto_approval_enabled?

Deprecated and unused. Corresponds to the JSON property appAutoApprovalEnabled

Returns:

  • (Boolean)


1002
1003
1004
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1002

def app_auto_approval_enabled
  @app_auto_approval_enabled
end

#enabled_notification_typesArray<String>

The types of Google Pub/Sub notifications enabled for the enterprise. Corresponds to the JSON property enabledNotificationTypes

Returns:

  • (Array<String>)


1008
1009
1010
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1008

def enabled_notification_types
  @enabled_notification_types
end

#enterprise_display_nameString

The name of the enterprise displayed to users. Corresponds to the JSON property enterpriseDisplayName

Returns:

  • (String)


1013
1014
1015
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1013

def enterprise_display_name
  @enterprise_display_name
end

#logoGoogle::Apis::AndroidmanagementV1::ExternalData

Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash. Corresponds to the JSON property logo



1019
1020
1021
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1019

def 
  @logo
end

#nameString

The name of the enterprise which is generated by the server during creation, in the form enterprises/enterpriseId. Corresponds to the JSON property name

Returns:

  • (String)


1025
1026
1027
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1025

def name
  @name
end

#primary_colorFixnum

A color in RGB format that indicates the predominant color to display in the device management app UI. The color components are stored as follows: (red << 16) | (green << 8) | blue, where the value of each component is between 0 and 255, inclusive. Corresponds to the JSON property primaryColor

Returns:

  • (Fixnum)


1033
1034
1035
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1033

def primary_color
  @primary_color
end

#pubsub_topicString

The topic that Cloud Pub/Sub notifications are published to, in the form projects/project/topics/topic. This field is only required if Pub/Sub notifications are enabled. Corresponds to the JSON property pubsubTopic

Returns:

  • (String)


1040
1041
1042
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1040

def pubsub_topic
  @pubsub_topic
end

#signin_detailsArray<Google::Apis::AndroidmanagementV1::SigninDetail>

Sign-in details of the enterprise. Maximum of 1 SigninDetail is supported. Corresponds to the JSON property signinDetails



1045
1046
1047
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1045

def 
  @signin_details
end

#terms_and_conditionsArray<Google::Apis::AndroidmanagementV1::TermsAndConditions>

Terms and conditions that must be accepted when provisioning a device for this enterprise. A page of terms is generated for each value in this list. Corresponds to the JSON property termsAndConditions



1051
1052
1053
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1051

def terms_and_conditions
  @terms_and_conditions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1058

def update!(**args)
  @app_auto_approval_enabled = args[:app_auto_approval_enabled] if args.key?(:app_auto_approval_enabled)
  @enabled_notification_types = args[:enabled_notification_types] if args.key?(:enabled_notification_types)
  @enterprise_display_name = args[:enterprise_display_name] if args.key?(:enterprise_display_name)
  @logo = args[:logo] if args.key?(:logo)
  @name = args[:name] if args.key?(:name)
  @primary_color = args[:primary_color] if args.key?(:primary_color)
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
  @signin_details = args[:signin_details] if args.key?(:signin_details)
  @terms_and_conditions = args[:terms_and_conditions] if args.key?(:terms_and_conditions)
end