Class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1alpha1/classes.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb
Overview
A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo.
Instance Attribute Summary collapse
-
#alias_context ⇒ Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1AliasContext
An alias to a repo revision.
-
#repo_id ⇒ Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1RepoId
A unique identifier for a Cloud Repo.
-
#revision_id ⇒ String
A revision ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext
constructor
A new instance of GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext
Returns a new instance of GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext.
3988 3989 3990 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3988 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alias_context ⇒ Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1AliasContext
An alias to a repo revision.
Corresponds to the JSON property aliasContext
3976 3977 3978 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3976 def alias_context @alias_context end |
#repo_id ⇒ Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1RepoId
A unique identifier for a Cloud Repo.
Corresponds to the JSON property repoId
3981 3982 3983 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3981 def repo_id @repo_id end |
#revision_id ⇒ String
A revision ID.
Corresponds to the JSON property revisionId
3986 3987 3988 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3986 def revision_id @revision_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3993 3994 3995 3996 3997 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3993 def update!(**args) @alias_context = args[:alias_context] if args.key?(:alias_context) @repo_id = args[:repo_id] if args.key?(:repo_id) @revision_id = args[:revision_id] if args.key?(:revision_id) end |