Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Access

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1Access

Returns a new instance of GoogleCloudApigeeV1Access.



216
217
218
# File 'lib/google/apis/apigee_v1/classes.rb', line 216

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

Instance Attribute Details

#getGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1AccessGet

Get action. For example, "Get" : "name" : "target.name", "value" : "default" Corresponds to the JSON property Get



202
203
204
# File 'lib/google/apis/apigee_v1/classes.rb', line 202

def get
  @get
end

#removeGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1AccessRemove

Remove action. For example, "Remove" : "name" : "target.name", "success" : true Corresponds to the JSON property Remove



208
209
210
# File 'lib/google/apis/apigee_v1/classes.rb', line 208

def remove
  @remove
end

#setGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1AccessSet

Set action. For example, "Set" : "name" : "target.name", "success" : true, " value" : "default" Corresponds to the JSON property Set



214
215
216
# File 'lib/google/apis/apigee_v1/classes.rb', line 214

def set
  @set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



221
222
223
224
225
# File 'lib/google/apis/apigee_v1/classes.rb', line 221

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