Class: Google::Apis::AdminDirectoryV1::AppAccessCollections
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::AppAccessCollections
- 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
-
#blocked_api_access_buckets ⇒ Array<String>
List of blocked api access buckets.
-
#enforce_settings_for_android_drive ⇒ Boolean
(also: #enforce_settings_for_android_drive?)
Boolean to indicate whether to enforce app access settings on Android Drive or not.
-
#error_message ⇒ String
Error message provided by the Admin that will be shown to the user when an app is blocked.
-
#etag ⇒ String
ETag of the resource.
-
#kind ⇒ String
Identifies the resource as an app access collection.
-
#resource_id ⇒ Fixnum
Unique ID of app access collection.
-
#resource_name ⇒ String
Resource name given by the customer while creating/updating.
-
#trust_domain_owned_apps ⇒ Boolean
(also: #trust_domain_owned_apps?)
Boolean that indicates whether to trust domain owned apps.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppAccessCollections
constructor
A new instance of AppAccessCollections.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_buckets ⇒ Array<String>
List of blocked api access buckets.
Corresponds to the JSON property blockedApiAccessBuckets
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_drive ⇒ Boolean 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
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_message ⇒ String
Error message provided by the Admin that will be shown to the user when an app
is blocked.
Corresponds to the JSON property errorMessage
119 120 121 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 119 def @error_message end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
124 125 126 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 124 def etag @etag end |
#kind ⇒ String
Identifies the resource as an app access collection. Value: admin#directory#
appaccesscollection
Corresponds to the JSON property kind
130 131 132 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 130 def kind @kind end |
#resource_id ⇒ Fixnum
Unique ID of app access collection. (Readonly)
Corresponds to the JSON property resourceId
135 136 137 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 135 def resource_id @resource_id end |
#resource_name ⇒ String
Resource name given by the customer while creating/updating. Should be unique
under given customer.
Corresponds to the JSON property resourceName
141 142 143 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 141 def resource_name @resource_name end |
#trust_domain_owned_apps ⇒ Boolean Also known as: trust_domain_owned_apps?
Boolean that indicates whether to trust domain owned apps.
Corresponds to the JSON property trustDomainOwnedApps
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 |