Class: Google::Apis::CloudfunctionsV2alpha::SourceProvenance

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

Overview

Provenance of the source. Ways to find the original source, or verify that some source was used for this build.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SourceProvenance

Returns a new instance of SourceProvenance.



1959
1960
1961
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 1959

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

Instance Attribute Details

#resolved_repo_sourceGoogle::Apis::CloudfunctionsV2alpha::RepoSource

Location of the source in a Google Cloud Source Repository. Corresponds to the JSON property resolvedRepoSource



1952
1953
1954
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 1952

def resolved_repo_source
  @resolved_repo_source
end

#resolved_storage_sourceGoogle::Apis::CloudfunctionsV2alpha::StorageSource

Location of the source in an archive file in Google Cloud Storage. Corresponds to the JSON property resolvedStorageSource



1957
1958
1959
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 1957

def resolved_storage_source
  @resolved_storage_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1964
1965
1966
1967
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 1964

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