All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.Metadata.Items.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250107-2.0.0
Show newest version






Metadata.Items (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute.model

Class Metadata.Items

    • Constructor Detail

      • Items

        public Items()
    • Method Detail

      • getKey

        public String getKey()
        Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project.
        Returns:
        value or null for none
      • setKey

        public Metadata.Items setKey(String key)
        Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project.
        Parameters:
        key - key or null for none
      • getValue

        public String getValue()
        Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB).
        Returns:
        value or null for none
      • setValue

        public Metadata.Items setValue(String value)
        Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB).
        Parameters:
        value - value or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy