Class: Google::Apis::ApigeeregistryV1::TagApiSpecRevisionRequest
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeregistryV1::TagApiSpecRevisionRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigeeregistry_v1/classes.rb,
lib/google/apis/apigeeregistry_v1/representations.rb,
lib/google/apis/apigeeregistry_v1/representations.rb
Overview
Request message for TagApiSpecRevision.
Instance Attribute Summary collapse
-
#tag ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TagApiSpecRevisionRequest
constructor
A new instance of TagApiSpecRevisionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TagApiSpecRevisionRequest
Returns a new instance of TagApiSpecRevisionRequest.
1505 1506 1507 |
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 1505 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tag ⇒ String
Required. The tag to apply. The tag should be at most 40 characters, and match
a-z
3,39`.
Corresponds to the JSON property
tag`
1503 1504 1505 |
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 1503 def tag @tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1510 1511 1512 |
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 1510 def update!(**args) @tag = args[:tag] if args.key?(:tag) end |