class Google::Apis::AndroidmanagementV1::Enterprise

The configuration applied to an enterprise.

Attributes

app_auto_approval_enabled[RW]

Deprecated and unused. Corresponds to the JSON property `appAutoApprovalEnabled` @return [Boolean]

app_auto_approval_enabled?[RW]

Deprecated and unused. Corresponds to the JSON property `appAutoApprovalEnabled` @return [Boolean]

contact_info[RW]

Contact details for managed Google Play enterprises. Corresponds to the JSON property `contactInfo` @return [Google::Apis::AndroidmanagementV1::ContactInfo]

enabled_notification_types[RW]

The types of Google Pub/Sub notifications enabled for the enterprise. Corresponds to the JSON property `enabledNotificationTypes` @return [Array<String>]

enterprise_display_name[RW]

The name of the enterprise displayed to users. Corresponds to the JSON property `enterpriseDisplayName` @return [String]

name[RW]

The name of the enterprise which is generated by the server during creation, in the form enterprises/`enterpriseId`. Corresponds to the JSON property `name` @return [String]

primary_color[RW]

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` @return [Fixnum]

pubsub_topic[RW]

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` @return [String]

signin_details[RW]

Sign-in details of the enterprise. Corresponds to the JSON property `signinDetails` @return [Array<Google::Apis::AndroidmanagementV1::SigninDetail>]

terms_and_conditions[RW]

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` @return [Array<Google::Apis::AndroidmanagementV1::TermsAndConditions>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidmanagement_v1/classes.rb, line 1431
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidmanagement_v1/classes.rb, line 1436
def update!(**args)
  @app_auto_approval_enabled = args[:app_auto_approval_enabled] if args.key?(:app_auto_approval_enabled)
  @contact_info = args[:contact_info] if args.key?(:contact_info)
  @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