Class: Google::Apis::AccesscontextmanagerV1::Project
- Inherits:
-
Object
- Object
- Google::Apis::AccesscontextmanagerV1::Project
- 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 Google Cloud project which contains applications and resources that users can access.
Instance Attribute Summary collapse
-
#name ⇒ String
The Google Cloud project resource name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Project
constructor
A new instance of Project.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Project
Returns a new instance of Project.
1931 1932 1933 |
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 1931 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The Google Cloud project resource name. Format: projects/project_number`.
Only the project number is supported. Example:projects/1234567890
Corresponds to the JSON propertyname`
1929 1930 1931 |
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 1929 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1936 1937 1938 |
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 1936 def update!(**args) @name = args[:name] if args.key?(:name) end |