Class: Google::Apis::AccesscontextmanagerV1::Project

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/accesscontextmanager_v1/classes.rb,
lib/google/apis/accesscontextmanager_v1/representations.rb,
lib/google/apis/accesscontextmanager_v1/representations.rb

Overview

A GCP project which contains applications and resources that users can access.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Project

Returns a new instance of Project.



1923
1924
1925
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 1923

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

The GCP project resource name. Format: "projects/project_number" (Only the numeric project name variation is supported). Example: "projects/1234567890" Corresponds to the JSON property name

Returns:

  • (String)


1921
1922
1923
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 1921

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1928
1929
1930
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 1928

def update!(**args)
  @name = args[:name] if args.key?(:name)
end