Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AccessRemove
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1AccessRemove
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
Remove action. For example, "Remove" : "name" : "target.name", "success" :
true
Instance Attribute Summary collapse
-
#name ⇒ String
Corresponds to the JSON property
name
. -
#success ⇒ Boolean
(also: #success?)
Corresponds to the JSON property
success
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1AccessRemove
constructor
A new instance of GoogleCloudApigeeV1AccessRemove.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1AccessRemove
Returns a new instance of GoogleCloudApigeeV1AccessRemove.
255 256 257 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Corresponds to the JSON property name
247 248 249 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 247 def name @name end |
#success ⇒ Boolean Also known as: success?
Corresponds to the JSON property success
252 253 254 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 252 def success @success end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
260 261 262 263 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 260 def update!(**args) @name = args[:name] if args.key?(:name) @success = args[:success] if args.key?(:success) end |