Class: Google::Apis::CloudsearchV1::CheckAccessResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::CheckAccessResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#has_access ⇒ Boolean
(also: #has_access?)
Returns true if principal has access.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckAccessResponse
constructor
A new instance of CheckAccessResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CheckAccessResponse
Returns a new instance of CheckAccessResponse.
84 85 86 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 84 def initialize(**args) update!(**args) end |
Instance Attribute Details
#has_access ⇒ Boolean Also known as: has_access?
Returns true if principal has access. Returns false otherwise.
Corresponds to the JSON property hasAccess
81 82 83 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 81 def has_access @has_access end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
89 90 91 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 89 def update!(**args) @has_access = args[:has_access] if args.key?(:has_access) end |