Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AccessSet

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

Set action. For example, "Set" : "name" : "target.name", "success" : true, " value" : "default"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1AccessSet

Returns a new instance of GoogleCloudApigeeV1AccessSet.



181
182
183
# File 'generated/google/apis/apigee_v1/classes.rb', line 181

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


168
169
170
# File 'generated/google/apis/apigee_v1/classes.rb', line 168

def name
  @name
end

#successBoolean Also known as: success?

Corresponds to the JSON property success

Returns:

  • (Boolean)


173
174
175
# File 'generated/google/apis/apigee_v1/classes.rb', line 173

def success
  @success
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


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

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



186
187
188
189
190
# File 'generated/google/apis/apigee_v1/classes.rb', line 186

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