Class: Google::Apis::ApigeeregistryV1::TagApiDeploymentRevisionRequest

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 TagApiDeploymentRevision.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TagApiDeploymentRevisionRequest

Returns a new instance of TagApiDeploymentRevisionRequest.



1418
1419
1420
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 1418

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)


1416
1417
1418
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 1416

def tag
  @tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1423
1424
1425
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 1423

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