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.



167
168
169
# File 'lib/google/apis/apigee_v1/classes.rb', line 167

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



153
154
155
# File 'lib/google/apis/apigee_v1/classes.rb', line 153

def get
  @get
end

#removeGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1AccessRemove

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



159
160
161
# File 'lib/google/apis/apigee_v1/classes.rb', line 159

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



165
166
167
# File 'lib/google/apis/apigee_v1/classes.rb', line 165

def set
  @set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



172
173
174
175
176
# File 'lib/google/apis/apigee_v1/classes.rb', line 172

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