Add dfareporting_v2_5, regenerate APIs
This commit is contained in:
1 parent
b4842fc28b
commit
24ef90b583
48 files changed
+28372
-2741
No files matched your search
@@ -137,6 +137,33 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Provenance of the source. Ways to find the original source, or verify that
|
||||
# some source was used for this build.
|
||||
class SourceProvenance
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Hash(es) of the build source, which can be used to verify that the original
|
||||
# source integrity was maintained in the build. Note that FileHashes will
|
||||
# only be populated if BuildOptions has requested a SourceProvenanceHash.
|
||||
# The keys to this map are file paths used as build source and the values
|
||||
# contain the hash values for those files.
|
||||
# If the build source came in a single package such as a gzipped tarfile
|
||||
# (.tar.gz), the FileHash will be for the single path to that file.
|
||||
# @OutputOnly
|
||||
# Corresponds to the JSON property `fileHashes`
|
||||
# @return [Hash<String,Google::Apis::CloudbuildV1::FileHashes>]
|
||||
attr_accessor :file_hashes
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
||||
end
|
||||
end
|
||||
|
||||
# This resource represents a long-running operation that is the result of a
|
||||
# network API call.
|
||||
class Operation
|
||||
@@ -260,6 +287,31 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Container message for hash values.
|
||||
class HashProp
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The hash value.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
# The type of hash that was performed.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
# StorageSource describes the location of the source in an archive file in
|
||||
# Google Cloud Storage.
|
||||
class StorageSource
|
||||
@@ -330,6 +382,12 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# Provenance of the source. Ways to find the original source, or verify that
|
||||
# some source was used for this build.
|
||||
# Corresponds to the JSON property `sourceProvenance`
|
||||
# @return [Google::Apis::CloudbuildV1::SourceProvenance]
|
||||
attr_accessor :source_provenance
|
||||
|
||||
# Results describes the artifacts created by the build pipeline.
|
||||
# Corresponds to the JSON property `results`
|
||||
# @return [Google::Apis::CloudbuildV1::Results]
|
||||
@@ -341,6 +399,11 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
|
||||
# Optional arguments to enable specific features of builds.
|
||||
# Corresponds to the JSON property `options`
|
||||
# @return [Google::Apis::CloudbuildV1::BuildOptions]
|
||||
attr_accessor :options
|
||||
|
||||
# Time at which execution of the build was finished.
|
||||
# @OutputOnly
|
||||
# Corresponds to the JSON property `finishTime`
|
||||
@@ -414,8 +477,10 @@ module Google
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@source_provenance = args[:source_provenance] if args.key?(:source_provenance)
|
||||
@results = args[:results] if args.key?(:results)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
@options = args[:options] if args.key?(:options)
|
||||
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
||||
@timeout = args[:timeout] if args.key?(:timeout)
|
||||
@steps = args[:steps] if args.key?(:steps)
|
||||
@@ -442,6 +507,26 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Container message for hashes of byte content of files, used in
|
||||
# SourceProvenance messages to verify integrity of source input to the build.
|
||||
class FileHashes
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Collection of file hashes.
|
||||
# Corresponds to the JSON property `fileHash`
|
||||
# @return [Array<Google::Apis::CloudbuildV1::HashProp>]
|
||||
attr_accessor :file_hash
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@file_hash = args[:file_hash] if args.key?(:file_hash)
|
||||
end
|
||||
end
|
||||
|
||||
# The response message for Operations.ListOperations.
|
||||
class ListOperationsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -506,6 +591,31 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Optional arguments to enable specific features of builds.
|
||||
class BuildOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Requested hash for SourceProvenance.
|
||||
# Corresponds to the JSON property `sourceProvenanceHash`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :source_provenance_hash
|
||||
|
||||
# Options for a verifiable build with details uploaded to the Analysis API.
|
||||
# Corresponds to the JSON property `requestedVerifyOption`
|
||||
# @return [String]
|
||||
attr_accessor :requested_verify_option
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
|
||||
@requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
|
||||
end
|
||||
end
|
||||
|
||||
# Response including listed builds.
|
||||
class ListBuildsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -40,6 +40,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SourceProvenance
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Operation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -52,6 +58,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HashProp
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StorageSource
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -76,6 +88,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class FileHashes
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListOperationsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -88,6 +106,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BuildOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListBuildsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -119,6 +143,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class SourceProvenance
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Operation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -139,6 +171,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class HashProp
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :value, :base64 => true, as: 'value'
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class StorageSource
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -160,9 +200,13 @@ module Google
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1::SourceProvenance, decorator: Google::Apis::CloudbuildV1::SourceProvenance::Representation
|
||||
|
||||
property :results, as: 'results', class: Google::Apis::CloudbuildV1::Results, decorator: Google::Apis::CloudbuildV1::Results::Representation
|
||||
|
||||
property :status, as: 'status'
|
||||
property :options, as: 'options', class: Google::Apis::CloudbuildV1::BuildOptions, decorator: Google::Apis::CloudbuildV1::BuildOptions::Representation
|
||||
|
||||
property :finish_time, as: 'finishTime'
|
||||
property :timeout, as: 'timeout'
|
||||
collection :steps, as: 'steps', class: Google::Apis::CloudbuildV1::BuildStep, decorator: Google::Apis::CloudbuildV1::BuildStep::Representation
|
||||
@@ -184,6 +228,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class FileHashes
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :file_hash, as: 'fileHash', class: Google::Apis::CloudbuildV1::HashProp, decorator: Google::Apis::CloudbuildV1::HashProp::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ListOperationsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -203,6 +255,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class BuildOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :source_provenance_hash, as: 'sourceProvenanceHash'
|
||||
property :requested_verify_option, as: 'requestedVerifyOption'
|
||||
end
|
||||
end
|
||||
|
||||
class ListBuildsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
Reference in new issue
Block a user