Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AccessRemove

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1AccessRemove

Returns a new instance of GoogleCloudApigeeV1AccessRemove.



194
195
196
# File 'lib/google/apis/apigee_v1/classes.rb', line 194

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


186
187
188
# File 'lib/google/apis/apigee_v1/classes.rb', line 186

def name
  @name
end

#successBoolean Also known as: success?

Corresponds to the JSON property success

Returns:

  • (Boolean)


191
192
193
# File 'lib/google/apis/apigee_v1/classes.rb', line 191

def success
  @success
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



199
200
201
202
# File 'lib/google/apis/apigee_v1/classes.rb', line 199

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