Class: Google::Apis::FirebasehostingV1beta1::CloneVersionRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1beta1::CloneVersionRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebasehosting_v1beta1/classes.rb,
generated/google/apis/firebasehosting_v1beta1/representations.rb,
generated/google/apis/firebasehosting_v1beta1/representations.rb
Overview
The request sent to CloneVersion.
Instance Attribute Summary collapse
-
#exclude ⇒ Google::Apis::FirebasehostingV1beta1::PathFilter
A representation of filter path.
-
#finalize ⇒ Boolean
(also: #finalize?)
If true, immediately finalize the version after cloning is complete.
-
#include ⇒ Google::Apis::FirebasehostingV1beta1::PathFilter
A representation of filter path.
-
#source_version ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloneVersionRequest
constructor
A new instance of CloneVersionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloneVersionRequest
Returns a new instance of CloneVersionRequest.
206 207 208 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 206 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclude ⇒ Google::Apis::FirebasehostingV1beta1::PathFilter
A representation of filter path.
Corresponds to the JSON property exclude
187 188 189 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 187 def exclude @exclude end |
#finalize ⇒ Boolean Also known as: finalize?
If true, immediately finalize the version after cloning is complete.
Corresponds to the JSON property finalize
192 193 194 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 192 def finalize @finalize end |
#include ⇒ Google::Apis::FirebasehostingV1beta1::PathFilter
A representation of filter path.
Corresponds to the JSON property include
198 199 200 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 198 def include @include end |
#source_version ⇒ String
Required. The name of the version to be cloned, in the format: sites/
site/
versions/
version`
Corresponds to the JSON property
sourceVersion`
204 205 206 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 204 def source_version @source_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
211 212 213 214 215 216 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 211 def update!(**args) @exclude = args[:exclude] if args.key?(:exclude) @finalize = args[:finalize] if args.key?(:finalize) @include = args[:include] if args.key?(:include) @source_version = args[:source_version] if args.key?(:source_version) end |