Interface GuestPolicies.SoftwareRecipe.ArtifactOrBuilder

    • Method Detail

      • getId

        String getId()
         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.
         
        string id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
         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.
         
        string id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for id.
      • hasRemote

        boolean hasRemote()
         A generic remote artifact.
         
        .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;
        Returns:
        Whether the remote field is set.
      • hasGcs

        boolean hasGcs()
         A Google Cloud Storage artifact.
         
        .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3;
        Returns:
        Whether the gcs field is set.
      • getAllowInsecure

        boolean getAllowInsecure()
         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.
         
        bool allow_insecure = 4;
        Returns:
        The allowInsecure.