Class: Google::Apis::SaasservicemgmtV1beta1::Blueprint

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

Overview

Blueprints are OCI Images that contain all of the artifacts needed to provision a unit. Metadata such as, type of the engine used to actuate the blueprint (e.g. terraform, helm etc) and version will come from the image manifest. If the hostname is omitted, it will be assumed to be the regional path to Artifact Registry (eg. us-east1-docker.pkg.dev).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Blueprint

Returns a new instance of Blueprint.



77
78
79
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 77

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

Instance Attribute Details

#engineString

Output only. Type of the engine used to actuate the blueprint. e.g. terraform, helm etc. Corresponds to the JSON property engine

Returns:

  • (String)


64
65
66
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 64

def engine
  @engine
end

#packageString

Optional. Immutable. URI to a blueprint used by the Unit (required unless unitKind or release is set). Corresponds to the JSON property package

Returns:

  • (String)


70
71
72
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 70

def package
  @package
end

#versionString

Output only. Version metadata if present on the blueprint. Corresponds to the JSON property version

Returns:

  • (String)


75
76
77
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 75

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



82
83
84
85
86
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 82

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