Class: Google::Apis::ApigeeregistryV1::TagApiSpecRevisionRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#tagString

Required. The tag to apply. The tag should be at most 40 characters, and match a-z3,39`. Corresponds to the JSON propertytag`

Returns:

  • (String)


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