Class: Google::Apis::ConfigV1::PreviewOperationMetadata

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

Overview

Ephemeral metadata content describing the state of a preview operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PreviewOperationMetadata

Returns a new instance of PreviewOperationMetadata.



2002
2003
2004
# File 'lib/google/apis/config_v1/classes.rb', line 2002

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

Instance Attribute Details

#buildString

Output only. Cloud Build instance UUID associated with this preview. Corresponds to the JSON property build

Returns:

  • (String)


1985
1986
1987
# File 'lib/google/apis/config_v1/classes.rb', line 1985

def build
  @build
end

#logsString

Output only. Location of preview logs in gs://bucket/object`format. Corresponds to the JSON propertylogs`

Returns:

  • (String)


1990
1991
1992
# File 'lib/google/apis/config_v1/classes.rb', line 1990

def logs
  @logs
end

#preview_artifactsGoogle::Apis::ConfigV1::PreviewArtifacts

Artifacts created by preview. Corresponds to the JSON property previewArtifacts



1995
1996
1997
# File 'lib/google/apis/config_v1/classes.rb', line 1995

def preview_artifacts
  @preview_artifacts
end

#stepString

The current step the preview operation is running. Corresponds to the JSON property step

Returns:

  • (String)


2000
2001
2002
# File 'lib/google/apis/config_v1/classes.rb', line 2000

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2007
2008
2009
2010
2011
2012
# File 'lib/google/apis/config_v1/classes.rb', line 2007

def update!(**args)
  @build = args[:build] if args.key?(:build)
  @logs = args[:logs] if args.key?(:logs)
  @preview_artifacts = args[:preview_artifacts] if args.key?(:preview_artifacts)
  @step = args[:step] if args.key?(:step)
end