Class: Google::Apis::ApimV1alpha::TagAction
- Inherits:
-
Object
- Object
- Google::Apis::ApimV1alpha::TagAction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apim_v1alpha/classes.rb,
lib/google/apis/apim_v1alpha/representations.rb,
lib/google/apis/apim_v1alpha/representations.rb
Overview
Message for edit tag action
Instance Attribute Summary collapse
-
#action ⇒ String
Required.
-
#tag ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TagAction
constructor
A new instance of TagAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TagAction
Returns a new instance of TagAction.
994 995 996 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 994 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Required. Action to be applied
Corresponds to the JSON property action
987 988 989 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 987 def action @action end |
#tag ⇒ String
Required. Tag to be added or removed
Corresponds to the JSON property tag
992 993 994 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 992 def tag @tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
999 1000 1001 1002 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 999 def update!(**args) @action = args[:action] if args.key?(:action) @tag = args[:tag] if args.key?(:tag) end |