Class: Google::Apis::CloudsearchV1::CheckAccessResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CheckAccessResponse

Returns a new instance of CheckAccessResponse.



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

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

Instance Attribute Details

#has_accessBoolean Also known as: has_access?

Returns true if principal has access. Returns false otherwise. Corresponds to the JSON property hasAccess

Returns:

  • (Boolean)


126
127
128
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 126

def has_access
  @has_access
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



134
135
136
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 134

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