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

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







Project (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute.model

Class Project

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class Project
    extends GenericJson
    Represents a Project resource. A project is used to organize resources in a Google Cloud Platform environment. For more information, read about the Resource Hierarchy. (== resource_for {$api_version}.projects ==)

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • Project

        public Project()
    • Method Detail

      • getCommonInstanceMetadata

        public Metadata getCommonInstanceMetadata()
        Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.
        Returns:
        value or null for none
      • setCommonInstanceMetadata

        public Project setCommonInstanceMetadata(Metadata commonInstanceMetadata)
        Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.
        Parameters:
        commonInstanceMetadata - commonInstanceMetadata or null for none
      • getCreationTimestamp

        public String getCreationTimestamp()
        [Output Only] Creation timestamp in RFC3339 text format.
        Returns:
        value or null for none
      • setCreationTimestamp

        public Project setCreationTimestamp(String creationTimestamp)
        [Output Only] Creation timestamp in RFC3339 text format.
        Parameters:
        creationTimestamp - creationTimestamp or null for none
      • getDefaultNetworkTier

        public String getDefaultNetworkTier()
        This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM.
        Returns:
        value or null for none
      • setDefaultNetworkTier

        public Project setDefaultNetworkTier(String defaultNetworkTier)
        This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM.
        Parameters:
        defaultNetworkTier - defaultNetworkTier or null for none
      • getDefaultServiceAccount

        public String getDefaultServiceAccount()
        [Output Only] Default service account used by VMs running in this project.
        Returns:
        value or null for none
      • setDefaultServiceAccount

        public Project setDefaultServiceAccount(String defaultServiceAccount)
        [Output Only] Default service account used by VMs running in this project.
        Parameters:
        defaultServiceAccount - defaultServiceAccount or null for none
      • getDescription

        public String getDescription()
        An optional textual description of the resource.
        Returns:
        value or null for none
      • setDescription

        public Project setDescription(String description)
        An optional textual description of the resource.
        Parameters:
        description - description or null for none
      • getEnabledFeatures

        public List<String> getEnabledFeatures()
        Restricted features enabled for use on this project.
        Returns:
        value or null for none
      • setEnabledFeatures

        public Project setEnabledFeatures(List<String> enabledFeatures)
        Restricted features enabled for use on this project.
        Parameters:
        enabledFeatures - enabledFeatures or null for none
      • getId

        public BigInteger getId()
        [Output Only] The unique identifier for the resource. This identifier is defined by the server. This is not the project ID, and is just a unique ID used by Compute Engine to identify resources.
        Returns:
        value or null for none
      • setId

        public Project setId(BigInteger id)
        [Output Only] The unique identifier for the resource. This identifier is defined by the server. This is not the project ID, and is just a unique ID used by Compute Engine to identify resources.
        Parameters:
        id - id or null for none
      • getKind

        public String getKind()
        [Output Only] Type of the resource. Always compute#project for projects.
        Returns:
        value or null for none
      • setKind

        public Project setKind(String kind)
        [Output Only] Type of the resource. Always compute#project for projects.
        Parameters:
        kind - kind or null for none
      • getName

        public String getName()
        The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.
        Returns:
        value or null for none
      • setName

        public Project setName(String name)
        The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.
        Parameters:
        name - name or null for none
      • getQuotas

        public List<Quota> getQuotas()
        [Output Only] Quotas assigned to this project.
        Returns:
        value or null for none
      • setQuotas

        public Project setQuotas(List<Quota> quotas)
        [Output Only] Quotas assigned to this project.
        Parameters:
        quotas - quotas or null for none
      • getSelfLink

        public String getSelfLink()
        [Output Only] Server-defined URL for the resource.
        Returns:
        value or null for none
      • setSelfLink

        public Project setSelfLink(String selfLink)
        [Output Only] Server-defined URL for the resource.
        Parameters:
        selfLink - selfLink or null for none
      • getUsageExportLocation

        public UsageExportLocation getUsageExportLocation()
        The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.
        Returns:
        value or null for none
      • setUsageExportLocation

        public Project setUsageExportLocation(UsageExportLocation usageExportLocation)
        The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.
        Parameters:
        usageExportLocation - usageExportLocation or null for none
      • getXpnProjectStatus

        public String getXpnProjectStatus()
        [Output Only] The role this project has in a shared VPC configuration. Currently only HOST projects are differentiated.
        Returns:
        value or null for none
      • setXpnProjectStatus

        public Project setXpnProjectStatus(String xpnProjectStatus)
        [Output Only] The role this project has in a shared VPC configuration. Currently only HOST projects are differentiated.
        Parameters:
        xpnProjectStatus - xpnProjectStatus or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy