Class: Google::Apis::AppengineV1::CloudBuildOptions
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1::CloudBuildOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/appengine_v1/classes.rb,
lib/google/apis/appengine_v1/representations.rb,
lib/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
-
#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.
552 553 554 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 552 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
544 545 546 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 544 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
550 551 552 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 550 def cloud_build_timeout @cloud_build_timeout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
557 558 559 560 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 557 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 |