Interface GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getBucket()
      Bucket of the Google Cloud Storage object.
      com.google.protobuf.ByteString getBucketBytes()
      Bucket of the Google Cloud Storage object.
      long getGeneration()
      Must be provided if allow_insecure is false.
      String getObject()
      Name of the Google Cloud Storage object.
      com.google.protobuf.ByteString getObjectBytes()
      Name of the Google Cloud Storage object.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getBucket

        String getBucket()
         Bucket of the Google Cloud Storage object.
         Given an example URL:
         `https://storage.googleapis.com/my-bucket/foo/bar#1234567`
         this value would be `my-bucket`.
         
        string bucket = 1;
        Returns:
        The bucket.
      • getBucketBytes

        com.google.protobuf.ByteString getBucketBytes()
         Bucket of the Google Cloud Storage object.
         Given an example URL:
         `https://storage.googleapis.com/my-bucket/foo/bar#1234567`
         this value would be `my-bucket`.
         
        string bucket = 1;
        Returns:
        The bytes for bucket.
      • getObject

        String getObject()
         Name of the Google Cloud Storage object.
         As specified [here]
         (https://cloud.google.com/storage/docs/naming#objectnames)
         Given an example URL:
         `https://storage.googleapis.com/my-bucket/foo/bar#1234567`
         this value would be `foo/bar`.
         
        string object = 2;
        Returns:
        The object.
      • getObjectBytes

        com.google.protobuf.ByteString getObjectBytes()
         Name of the Google Cloud Storage object.
         As specified [here]
         (https://cloud.google.com/storage/docs/naming#objectnames)
         Given an example URL:
         `https://storage.googleapis.com/my-bucket/foo/bar#1234567`
         this value would be `foo/bar`.
         
        string object = 2;
        Returns:
        The bytes for object.
      • getGeneration

        long getGeneration()
         Must be provided if allow_insecure is false.
         Generation number of the Google Cloud Storage object.
         `https://storage.googleapis.com/my-bucket/foo/bar#1234567`
         this value would be `1234567`.
         
        int64 generation = 3;
        Returns:
        The generation.