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.



16755
16756
16757
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16755

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)


16747
16748
16749
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16747

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)


16753
16754
16755
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16753

def dataform_repository_resource_name
  @dataform_repository_resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16760
16761
16762
16763
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16760

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