class Google::Apis::FirebasehostingV1beta1::CloneVersionRequest

Attributes

exclude[RW]

A representation of filter path. Corresponds to the JSON property `exclude` @return [Google::Apis::FirebasehostingV1beta1::PathFilter]

finalize[RW]

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`](patch) to set the status of the version to ` FINALIZED`. Corresponds to the JSON property `finalize` @return [Boolean]

finalize?[RW]

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`](patch) to set the status of the version to ` FINALIZED`. Corresponds to the JSON property `finalize` @return [Boolean]

include[RW]

A representation of filter path. Corresponds to the JSON property `include` @return [Google::Apis::FirebasehostingV1beta1::PathFilter]

source_version[RW]

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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firebasehosting_v1beta1/classes.rb, line 214
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/firebasehosting_v1beta1/classes.rb, line 219
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