Autogenerated update (2017-11-16)
Update: - cloudbuild_v1 - cloudkms_v1 - compute_alpha - compute_beta - compute_v1 - container_v1 - container_v1beta1 - dlp_v2beta1 - monitoring_v3
This commit is contained in:
1 parent
35a23f126c
commit
de77a320ee
25 files changed
+7565
-68
No files matched your search
@@ -230,12 +230,27 @@ module Google
|
||||
class BuildOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Requested disk size for the VM that runs the build. Note that this is *NOT*
|
||||
# "disk free"; some of the space will be used by the operating system and
|
||||
# build utilities. Also note that this is the minimum disk size that will be
|
||||
# allocated for the build -- the build may run with a larger disk than
|
||||
# requested. At present, the maximum disk size is 1000GB; builds that request
|
||||
# more than the maximum are rejected with an error.
|
||||
# Corresponds to the JSON property `diskSizeGb`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :disk_size_gb
|
||||
|
||||
# LogStreamingOption to define build log streaming behavior to Google Cloud
|
||||
# Storage.
|
||||
# Corresponds to the JSON property `logStreamingOption`
|
||||
# @return [String]
|
||||
attr_accessor :log_streaming_option
|
||||
|
||||
# GCE VM size to run the build on.
|
||||
# Corresponds to the JSON property `machineType`
|
||||
# @return [String]
|
||||
attr_accessor :machine_type
|
||||
|
||||
# Requested verifiability options.
|
||||
# Corresponds to the JSON property `requestedVerifyOption`
|
||||
# @return [String]
|
||||
@@ -257,7 +272,9 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
||||
@log_streaming_option = args[:log_streaming_option] if args.key?(:log_streaming_option)
|
||||
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
||||
@requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
|
||||
@source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
|
||||
@substitution_option = args[:substitution_option] if args.key?(:substitution_option)
|
||||
|
||||
@@ -209,7 +209,9 @@ module Google
|
||||
class BuildOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
||||
property :log_streaming_option, as: 'logStreamingOption'
|
||||
property :machine_type, as: 'machineType'
|
||||
property :requested_verify_option, as: 'requestedVerifyOption'
|
||||
collection :source_provenance_hash, as: 'sourceProvenanceHash'
|
||||
property :substitution_option, as: 'substitutionOption'
|
||||
|
||||
Reference in new issue
Block a user