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

Constructor Details

#initialize(**args) ⇒ CloudBuildOptions

Returns a new instance of CloudBuildOptions.



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

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)


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

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)


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

def cloud_build_timeout
  @cloud_build_timeout
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



540
541
542
543
# File 'generated/google/apis/appengine_v1/classes.rb', line 540

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