Class: Google::Apis::FirebasehostingV1beta1::CloneVersionRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebasehosting_v1beta1/classes.rb,
lib/google/apis/firebasehosting_v1beta1/representations.rb,
lib/google/apis/firebasehosting_v1beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloneVersionRequest

Returns a new instance of CloneVersionRequest.



310
311
312
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 310

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

Instance Attribute Details

#excludeGoogle::Apis::FirebasehostingV1beta1::PathFilter

A representation of filter path. Corresponds to the JSON property exclude



288
289
290
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 288

def exclude
  @exclude
end

#finalizeBoolean Also known as: finalize?

If true, the call to CloneVersion immediately finalizes the version after cloning is complete. If false, the cloned version will have a status of CREATED. Use UpdateVersion to set the status of the version to FINALIZED. Corresponds to the JSON property finalize

Returns:

  • (Boolean)


296
297
298
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 296

def finalize
  @finalize
end

#includeGoogle::Apis::FirebasehostingV1beta1::PathFilter

A representation of filter path. Corresponds to the JSON property include



302
303
304
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 302

def include
  @include
end

#source_versionString

Required. The unique identifier for the version to be cloned, in the format: sites/SITE_ID/versions/VERSION_ID Corresponds to the JSON property sourceVersion

Returns:

  • (String)


308
309
310
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 308

def source_version
  @source_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



315
316
317
318
319
320
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 315

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