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

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

The configuration applied to an enterprise.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Enterprise

Returns a new instance of Enterprise.



2283
2284
2285
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2283

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)


2221
2222
2223
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2221

def app_auto_approval_enabled
  @app_auto_approval_enabled
end

#contact_infoGoogle::Apis::AndroidmanagementV1::ContactInfo

Contact details for managed Google Play enterprises. Corresponds to the JSON property contactInfo



2227
2228
2229
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2227

def contact_info
  @contact_info
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>)


2232
2233
2234
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2232

def enabled_notification_types
  @enabled_notification_types
end

#enterprise_display_nameString

The name of the enterprise displayed to users. This field has a maximum length of 100 characters. Corresponds to the JSON property enterpriseDisplayName

Returns:

  • (String)


2238
2239
2240
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2238

def enterprise_display_name
  @enterprise_display_name
end

#google_authentication_settingsGoogle::Apis::AndroidmanagementV1::GoogleAuthenticationSettings

Contains settings for Google-provided user authentication. Corresponds to the JSON property googleAuthenticationSettings



2243
2244
2245
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2243

def google_authentication_settings
  @google_authentication_settings
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



2249
2250
2251
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2249

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)


2255
2256
2257
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2255

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)


2263
2264
2265
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2263

def primary_color
  @primary_color
end

#pubsub_topicString

The topic which 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)


2270
2271
2272
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2270

def pubsub_topic
  @pubsub_topic
end

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

Sign-in details of the enterprise. Corresponds to the JSON property signinDetails



2275
2276
2277
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2275

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



2281
2282
2283
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2281

def terms_and_conditions
  @terms_and_conditions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2288

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)
  @google_authentication_settings = args[:google_authentication_settings] if args.key?(:google_authentication_settings)
  @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