Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::Project (v2.7.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::Project.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#common_instance_metadata

def common_instance_metadata() -> ::Google::Cloud::Compute::V1::Metadata
Returns

#common_instance_metadata=

def common_instance_metadata=(value) -> ::Google::Cloud::Compute::V1::Metadata
Parameter
Returns

#creation_timestamp

def creation_timestamp() -> ::String
Returns
  • (::String) — [Output Only] Creation timestamp in RFC3339 text format.

#creation_timestamp=

def creation_timestamp=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Creation timestamp in RFC3339 text format.
Returns
  • (::String) — [Output Only] Creation timestamp in RFC3339 text format.

#default_network_tier

def default_network_tier() -> ::String
Returns
  • (::String) — 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. Check the DefaultNetworkTier enum for the list of possible values.

#default_network_tier=

def default_network_tier=(value) -> ::String
Parameter
  • value (::String) — 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. Check the DefaultNetworkTier enum for the list of possible values.
Returns
  • (::String) — 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. Check the DefaultNetworkTier enum for the list of possible values.

#default_service_account

def default_service_account() -> ::String
Returns
  • (::String) — [Output Only] Default service account used by VMs running in this project.

#default_service_account=

def default_service_account=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Default service account used by VMs running in this project.
Returns
  • (::String) — [Output Only] Default service account used by VMs running in this project.

#description

def description() -> ::String
Returns
  • (::String) — An optional textual description of the resource.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — An optional textual description of the resource.
Returns
  • (::String) — An optional textual description of the resource.

#enabled_features

def enabled_features() -> ::Array<::String>
Returns
  • (::Array<::String>) — Restricted features enabled for use on this project.

#enabled_features=

def enabled_features=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Restricted features enabled for use on this project.
Returns
  • (::Array<::String>) — Restricted features enabled for use on this project.

#id

def id() -> ::Integer
Returns
  • (::Integer) — [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.

#id=

def id=(value) -> ::Integer
Parameter
  • value (::Integer) — [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
  • (::Integer) — [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.

#kind

def kind() -> ::String
Returns
  • (::String) — [Output Only] Type of the resource. Always compute#project for projects.

#kind=

def kind=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Type of the resource. Always compute#project for projects.
Returns
  • (::String) — [Output Only] Type of the resource. Always compute#project for projects.

#name

def name() -> ::String
Returns
  • (::String) — The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.
Returns
  • (::String) — The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.

#quotas

def quotas() -> ::Array<::Google::Cloud::Compute::V1::Quota>
Returns

#quotas=

def quotas=(value) -> ::Array<::Google::Cloud::Compute::V1::Quota>
Parameter
Returns
def self_link() -> ::String
Returns
  • (::String) — [Output Only] Server-defined URL for the resource.
def self_link=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Server-defined URL for the resource.
Returns
  • (::String) — [Output Only] Server-defined URL for the resource.

#usage_export_location

def usage_export_location() -> ::Google::Cloud::Compute::V1::UsageExportLocation
Returns

#usage_export_location=

def usage_export_location=(value) -> ::Google::Cloud::Compute::V1::UsageExportLocation
Parameter
Returns

#vm_dns_setting

def vm_dns_setting() -> ::String
Returns
  • (::String) — [Output Only] Default internal DNS setting used by VMs running in this project. Check the VmDnsSetting enum for the list of possible values.

#vm_dns_setting=

def vm_dns_setting=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Default internal DNS setting used by VMs running in this project. Check the VmDnsSetting enum for the list of possible values.
Returns
  • (::String) — [Output Only] Default internal DNS setting used by VMs running in this project. Check the VmDnsSetting enum for the list of possible values.

#xpn_project_status

def xpn_project_status() -> ::String
Returns
  • (::String) — [Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. Check the XpnProjectStatus enum for the list of possible values.

#xpn_project_status=

def xpn_project_status=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. Check the XpnProjectStatus enum for the list of possible values.
Returns
  • (::String) — [Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. Check the XpnProjectStatus enum for the list of possible values.