Class: Google::Apis::DataprocV1::PyPiRepositoryConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb

Overview

Configuration for PyPi repository

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PyPiRepositoryConfig

Returns a new instance of PyPiRepositoryConfig.



6369
6370
6371
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6369

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#pypi_repositoryString

Optional. The PyPi repository address. Note: This field is not available for batch workloads. Corresponds to the JSON property pypiRepository

Returns:

  • (String)


6367
6368
6369
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6367

def pypi_repository
  @pypi_repository
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6374
6375
6376
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6374

def update!(**args)
  @pypi_repository = args[:pypi_repository] if args.key?(:pypi_repository)
end