Class: Google::Apis::ApigeeregistryV1::RollbackApiSpecRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RollbackApiSpecRequest

Returns a new instance of RollbackApiSpecRequest.



1314
1315
1316
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 1314

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#revision_idString

Required. The revision ID to roll back to. It must be a revision of the same spec. Example: c7cfa2a8 Corresponds to the JSON property revisionId

Returns:

  • (String)


1312
1313
1314
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 1312

def revision_id
  @revision_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1319
1320
1321
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 1319

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