class Google::Apis::OsconfigV1beta::SoftwareRecipeArtifact
Specifies a resource to be used in the recipe.
Attributes
Defaults to false. When false, recipes are subject to validations based on the artifact type: Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified. Corresponds to the JSON property `allowInsecure` @return [Boolean]
Defaults to false. When false, recipes are subject to validations based on the artifact type: Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified. Corresponds to the JSON property `allowInsecure` @return [Boolean]
Specifies an artifact available as a Google
Cloud Storage object. Corresponds to the JSON property `gcs` @return [Google::Apis::OsconfigV1beta::SoftwareRecipeArtifactGcs]
Required. Id of the artifact, which the installation and update steps of this recipe can reference. Artifacts in a recipe cannot have the same id. Corresponds to the JSON property `id` @return [String]
Specifies an artifact available via some URI. Corresponds to the JSON property `remote` @return [Google::Apis::OsconfigV1beta::SoftwareRecipeArtifactRemote]
Public Class Methods
# File lib/google/apis/osconfig_v1beta/classes.rb, line 1714 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/osconfig_v1beta/classes.rb, line 1719 def update!(**args) @allow_insecure = args[:allow_insecure] if args.key?(:allow_insecure) @gcs = args[:gcs] if args.key?(:gcs) @id = args[:id] if args.key?(:id) @remote = args[:remote] if args.key?(:remote) end