Class: Google::Apis::ComposerV1::LoadSnapshotRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComposerV1::LoadSnapshotRequest
 
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/composer_v1/classes.rb,
 lib/google/apis/composer_v1/representations.rb,
 lib/google/apis/composer_v1/representations.rb
Overview
Request to load a snapshot into a Cloud Composer environment.
Instance Attribute Summary collapse
- 
  
    
      #skip_airflow_overrides_setting  ⇒ Boolean 
    
    
      (also: #skip_airflow_overrides_setting?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether or not to skip setting Airflow overrides when loading the environment' s state. 
- 
  
    
      #skip_environment_variables_setting  ⇒ Boolean 
    
    
      (also: #skip_environment_variables_setting?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether or not to skip setting environment variables when loading the environment's state. 
- 
  
    
      #skip_gcs_data_copying  ⇒ Boolean 
    
    
      (also: #skip_gcs_data_copying?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether or not to skip copying Cloud Storage data when loading the environment' s state. 
- 
  
    
      #skip_pypi_packages_installation  ⇒ Boolean 
    
    
      (also: #skip_pypi_packages_installation?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether or not to skip installing Pypi packages when loading the environment's state. 
- 
  
    
      #snapshot_path  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A Cloud Storage path to a snapshot to load, e.g.: "gs://my-bucket/snapshots/ project_location_environment_timestamp". 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ LoadSnapshotRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of LoadSnapshotRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ LoadSnapshotRequest
Returns a new instance of LoadSnapshotRequest.
| 666 667 668 | # File 'lib/google/apis/composer_v1/classes.rb', line 666 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#skip_airflow_overrides_setting ⇒ Boolean Also known as: skip_airflow_overrides_setting?
Whether or not to skip setting Airflow overrides when loading the environment'
s state.
Corresponds to the JSON property skipAirflowOverridesSetting
| 636 637 638 | # File 'lib/google/apis/composer_v1/classes.rb', line 636 def skip_airflow_overrides_setting @skip_airflow_overrides_setting end | 
#skip_environment_variables_setting ⇒ Boolean Also known as: skip_environment_variables_setting?
Whether or not to skip setting environment variables when loading the
environment's state.
Corresponds to the JSON property skipEnvironmentVariablesSetting
| 643 644 645 | # File 'lib/google/apis/composer_v1/classes.rb', line 643 def skip_environment_variables_setting @skip_environment_variables_setting end | 
#skip_gcs_data_copying ⇒ Boolean Also known as: skip_gcs_data_copying?
Whether or not to skip copying Cloud Storage data when loading the environment'
s state.
Corresponds to the JSON property skipGcsDataCopying
| 650 651 652 | # File 'lib/google/apis/composer_v1/classes.rb', line 650 def @skip_gcs_data_copying end | 
#skip_pypi_packages_installation ⇒ Boolean Also known as: skip_pypi_packages_installation?
Whether or not to skip installing Pypi packages when loading the environment's
state.
Corresponds to the JSON property skipPypiPackagesInstallation
| 657 658 659 | # File 'lib/google/apis/composer_v1/classes.rb', line 657 def skip_pypi_packages_installation @skip_pypi_packages_installation end | 
#snapshot_path ⇒ String
A Cloud Storage path to a snapshot to load, e.g.: "gs://my-bucket/snapshots/
project_location_environment_timestamp".
Corresponds to the JSON property snapshotPath
| 664 665 666 | # File 'lib/google/apis/composer_v1/classes.rb', line 664 def snapshot_path @snapshot_path end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 671 672 673 674 675 676 677 | # File 'lib/google/apis/composer_v1/classes.rb', line 671 def update!(**args) @skip_airflow_overrides_setting = args[:skip_airflow_overrides_setting] if args.key?(:skip_airflow_overrides_setting) @skip_environment_variables_setting = args[:skip_environment_variables_setting] if args.key?(:skip_environment_variables_setting) @skip_gcs_data_copying = args[:skip_gcs_data_copying] if args.key?(:skip_gcs_data_copying) @skip_pypi_packages_installation = args[:skip_pypi_packages_installation] if args.key?(:skip_pypi_packages_installation) @snapshot_path = args[:snapshot_path] if args.key?(:snapshot_path) end |