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

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

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) ⇒ GoogleCloudApigeeV1Access

Returns a new instance of GoogleCloudApigeeV1Access.


95
96
97
# File 'generated/google/apis/apigee_v1/classes.rb', line 95

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


81
82
83
# File 'generated/google/apis/apigee_v1/classes.rb', line 81

def get
  @get
end

#removeGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1AccessRemove

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


87
88
89
# File 'generated/google/apis/apigee_v1/classes.rb', line 87

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


93
94
95
# File 'generated/google/apis/apigee_v1/classes.rb', line 93

def set
  @set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


100
101
102
103
104
# File 'generated/google/apis/apigee_v1/classes.rb', line 100

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