Class: Google::Apis::ApigeeregistryV1::RollbackApiSpecRequest
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeregistryV1::RollbackApiSpecRequest
- 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
-
#revision_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RollbackApiSpecRequest
constructor
A new instance of RollbackApiSpecRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RollbackApiSpecRequest
Returns a new instance of RollbackApiSpecRequest.
1381 1382 1383 |
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 1381 def initialize(**args) update!(**args) end |
Instance Attribute Details
#revision_id ⇒ String
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
1379 1380 1381 |
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 1379 def revision_id @revision_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1386 1387 1388 |
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 1386 def update!(**args) @revision_id = args[:revision_id] if args.key?(:revision_id) end |