class Google::Apis::CloudbuildV1alpha1::Source

Location of the source in a supported storage service.

Attributes

repo_source[RW]

Location of the source in a Google Cloud Source Repository. Corresponds to the JSON property `repoSource` @return [Google::Apis::CloudbuildV1alpha1::RepoSource]

storage_source[RW]

Location of the source in an archive file in Google Cloud Storage. Corresponds to the JSON property `storageSource` @return [Google::Apis::CloudbuildV1alpha1::StorageSource]

storage_source_manifest[RW]

Location of the source manifest in Google Cloud Storage. This feature is in Preview; see description [here](github.com/GoogleCloudPlatform/cloud- builders/tree/master/gcs-fetcher). Corresponds to the JSON property `storageSourceManifest` @return [Google::Apis::CloudbuildV1alpha1::StorageSourceManifest]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudbuild_v1alpha1/classes.rb, line 1822
def update!(**args)
  @repo_source = args[:repo_source] if args.key?(:repo_source)
  @storage_source = args[:storage_source] if args.key?(:storage_source)
  @storage_source_manifest = args[:storage_source_manifest] if args.key?(:storage_source_manifest)
end