Class: Google::Apis::AppengineV1::CloudBuildOptions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/appengine_v1/classes.rb,
generated/google/apis/appengine_v1/representations.rb,
generated/google/apis/appengine_v1/representations.rb

Overview

Options for the build operations performed as a part of the version deployment. Only applicable for App Engine flexible environment when creating a version using source code directly.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CloudBuildOptions

Returns a new instance of CloudBuildOptions.



528
529
530
# File 'generated/google/apis/appengine_v1/classes.rb', line 528

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

Instance Attribute Details

#app_yaml_pathString

Path to the yaml file used in deployment, used to determine runtime configuration details.Required for flexible environment builds.See https:// cloud.google.com/appengine/docs/standard/python/config/appref for more details. Corresponds to the JSON property appYamlPath

Returns:

  • (String)


520
521
522
# File 'generated/google/apis/appengine_v1/classes.rb', line 520

def app_yaml_path
  @app_yaml_path
end

#cloud_build_timeoutString

The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes. Corresponds to the JSON property cloudBuildTimeout

Returns:

  • (String)


526
527
528
# File 'generated/google/apis/appengine_v1/classes.rb', line 526

def cloud_build_timeout
  @cloud_build_timeout
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



533
534
535
536
# File 'generated/google/apis/appengine_v1/classes.rb', line 533

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