Class: Google::Apis::AdminDirectoryV1::AppAccessCollections

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/google/apis/admin_directory_v1/representations.rb

Overview

JSON template for App Access Collections Resource object in Directory API.

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

Returns a new instance of AppAccessCollections



149
150
151
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 149

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

Instance Attribute Details

#blocked_api_access_bucketsArray<String>

List of blocked api access buckets. Corresponds to the JSON property blockedApiAccessBuckets

Returns:

  • (Array<String>)


106
107
108
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 106

def blocked_api_access_buckets
  @blocked_api_access_buckets
end

#enforce_settings_for_android_driveBoolean Also known as: enforce_settings_for_android_drive?

Boolean to indicate whether to enforce app access settings on Android Drive or not. Corresponds to the JSON property enforceSettingsForAndroidDrive

Returns:

  • (Boolean)


112
113
114
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 112

def enforce_settings_for_android_drive
  @enforce_settings_for_android_drive
end

#error_messageString

Error message provided by the Admin that will be shown to the user when an app is blocked. Corresponds to the JSON property errorMessage

Returns:

  • (String)


119
120
121
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 119

def error_message
  @error_message
end

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


124
125
126
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 124

def etag
  @etag
end

#kindString

Identifies the resource as an app access collection. Value: admin#directory# appaccesscollection Corresponds to the JSON property kind

Returns:

  • (String)


130
131
132
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 130

def kind
  @kind
end

#resource_idFixnum

Unique ID of app access collection. (Readonly) Corresponds to the JSON property resourceId

Returns:

  • (Fixnum)


135
136
137
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 135

def resource_id
  @resource_id
end

#resource_nameString

Resource name given by the customer while creating/updating. Should be unique under given customer. Corresponds to the JSON property resourceName

Returns:

  • (String)


141
142
143
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 141

def resource_name
  @resource_name
end

#trust_domain_owned_appsBoolean Also known as: trust_domain_owned_apps?

Boolean that indicates whether to trust domain owned apps. Corresponds to the JSON property trustDomainOwnedApps

Returns:

  • (Boolean)


146
147
148
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 146

def trust_domain_owned_apps
  @trust_domain_owned_apps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



154
155
156
157
158
159
160
161
162
163
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 154

def update!(**args)
  @blocked_api_access_buckets = args[:blocked_api_access_buckets] if args.key?(:blocked_api_access_buckets)
  @enforce_settings_for_android_drive = args[:enforce_settings_for_android_drive] if args.key?(:enforce_settings_for_android_drive)
  @error_message = args[:error_message] if args.key?(:error_message)
  @etag = args[:etag] if args.key?(:etag)
  @kind = args[:kind] if args.key?(:kind)
  @resource_id = args[:resource_id] if args.key?(:resource_id)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
  @trust_domain_owned_apps = args[:trust_domain_owned_apps] if args.key?(:trust_domain_owned_apps)
end