Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource

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

Overview

The Dataform Repository containing the input notebook.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource

Returns a new instance of GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource.



18701
18702
18703
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18701

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

Instance Attribute Details

#commit_shaString

The commit SHA to read repository with. If unset, the file will be read at HEAD. Corresponds to the JSON property commitSha

Returns:

  • (String)


18693
18694
18695
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18693

def commit_sha
  @commit_sha
end

#dataform_repository_resource_nameString

The resource name of the Dataform Repository. Format: projects/project_id/ locations/location/repositories/repository_id` Corresponds to the JSON propertydataformRepositoryResourceName`

Returns:

  • (String)


18699
18700
18701
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18699

def dataform_repository_resource_name
  @dataform_repository_resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18706
18707
18708
18709
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18706

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