Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AccessSet
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1AccessSet
- 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
Overview
Set action. For example, "Set" : "name" : "target.name", "success" : true, "
value" : "default"
Instance Attribute Summary collapse
-
#name ⇒ String
Corresponds to the JSON property
name
. -
#success ⇒ Boolean
(also: #success?)
Corresponds to the JSON property
success
. -
#value ⇒ String
Corresponds to the JSON property
value
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1AccessSet
constructor
A new instance of GoogleCloudApigeeV1AccessSet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1AccessSet
Returns a new instance of GoogleCloudApigeeV1AccessSet.
287 288 289 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 287 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Corresponds to the JSON property name
274 275 276 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 274 def name @name end |
#success ⇒ Boolean Also known as: success?
Corresponds to the JSON property success
279 280 281 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 279 def success @success end |
#value ⇒ String
Corresponds to the JSON property value
285 286 287 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 285 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
292 293 294 295 296 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 292 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 |