Class: Google::Apis::AppengineV1beta::CloudBuildOptions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/appengine_v1beta/classes.rb,
generated/google/apis/appengine_v1beta/representations.rb,
generated/google/apis/appengine_v1beta/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.



561
562
563
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 561

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)


553
554
555
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 553

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)


559
560
561
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 559

def cloud_build_timeout
  @cloud_build_timeout
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



566
567
568
569
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 566

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