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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1AccessRemove

Returns a new instance of GoogleCloudApigeeV1AccessRemove.



178
179
180
# File 'generated/google/apis/apigee_v1/classes.rb', line 178

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


170
171
172
# File 'generated/google/apis/apigee_v1/classes.rb', line 170

def name
  @name
end

#successBoolean Also known as: success?

Corresponds to the JSON property success

Returns:

  • (Boolean)


175
176
177
# File 'generated/google/apis/apigee_v1/classes.rb', line 175

def success
  @success
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



183
184
185
186
# File 'generated/google/apis/apigee_v1/classes.rb', line 183

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