Class: Google::Apis::CloudsearchV1::AclFixStatus

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Overview

The message reconstructed based on information in the response of / PermissionFixOptionsService.Query (or the Apiary API that wraps it). Indicates the ability of the requester to change the access to the Drive file for the room roster or the DM members. Used in GetMessagePreviewMetadataResponse only.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AclFixStatus

Returns a new instance of AclFixStatus.



148
149
150
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 148

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

Instance Attribute Details

#fixabilityString

Corresponds to the JSON property fixability

Returns:

  • (String)


129
130
131
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 129

def fixability
  @fixability
end

#fixable_email_addressArray<String>

List of recipient email addresses for which access can be granted. This field contains the same email addresses from the GetMessagePreviewMetadata request if all recipients can be successfully added to the ACL as determined by Drive ACL Fixer. For now, the field is non-empty if and only if the "fixability" value is "CAN_FIX". Corresponds to the JSON property fixableEmailAddress

Returns:

  • (Array<String>)


138
139
140
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 138

def fixable_email_address
  @fixable_email_address
end

#out_of_domain_warning_email_addressArray<String>

List of recipient email addresses for which an out-of-domain-sharing warning must be shown, stating that these email addresses are not in the Google Apps organization that the requested item belong to. Empty if all recipients are in the same Google Apps organization. Corresponds to the JSON property outOfDomainWarningEmailAddress

Returns:

  • (Array<String>)


146
147
148
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 146

def out_of_domain_warning_email_address
  @out_of_domain_warning_email_address
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



153
154
155
156
157
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 153

def update!(**args)
  @fixability = args[:fixability] if args.key?(:fixability)
  @fixable_email_address = args[:fixable_email_address] if args.key?(:fixable_email_address)
  @out_of_domain_warning_email_address = args[:out_of_domain_warning_email_address] if args.key?(:out_of_domain_warning_email_address)
end