Class: Google::Apis::AppengineV1beta::CloudBuildOptions
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta::CloudBuildOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/appengine_v1beta/classes.rb,
lib/google/apis/appengine_v1beta/representations.rb,
lib/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
-
#app_yaml_path ⇒ String
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.
-
#cloud_build_timeout ⇒ String
The Cloud Build timeout used as part of any dependent builds performed by version creation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudBuildOptions
constructor
A new instance of CloudBuildOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudBuildOptions
Returns a new instance of CloudBuildOptions.
578 579 580 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 578 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_yaml_path ⇒ String
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
570 571 572 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 570 def app_yaml_path @app_yaml_path end |
#cloud_build_timeout ⇒ String
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
576 577 578 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 576 def cloud_build_timeout @cloud_build_timeout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
583 584 585 586 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 583 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 |