Class: Google::Apis::NotebooksV1::RuntimeAccessConfig
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV1::RuntimeAccessConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/notebooks_v1/classes.rb,
lib/google/apis/notebooks_v1/representations.rb,
lib/google/apis/notebooks_v1/representations.rb
Overview
Specifies the login configuration for Runtime
Instance Attribute Summary collapse
-
#access_type ⇒ String
The type of access mode this instance.
-
#proxy_uri ⇒ String
Output only.
-
#runtime_owner ⇒ String
The owner of this runtime after creation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RuntimeAccessConfig
constructor
A new instance of RuntimeAccessConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RuntimeAccessConfig
Returns a new instance of RuntimeAccessConfig.
1816 1817 1818 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1816 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_type ⇒ String
The type of access mode this instance.
Corresponds to the JSON property accessType
1803 1804 1805 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1803 def access_type @access_type end |
#proxy_uri ⇒ String
Output only. The proxy endpoint that is used to access the runtime.
Corresponds to the JSON property proxyUri
1808 1809 1810 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1808 def proxy_uri @proxy_uri end |
#runtime_owner ⇒ String
The owner of this runtime after creation. Format: alias@example.com
Currently supports one owner only.
Corresponds to the JSON property runtimeOwner
1814 1815 1816 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1814 def runtime_owner @runtime_owner end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1821 1822 1823 1824 1825 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1821 def update!(**args) @access_type = args[:access_type] if args.key?(:access_type) @proxy_uri = args[:proxy_uri] if args.key?(:proxy_uri) @runtime_owner = args[:runtime_owner] if args.key?(:runtime_owner) end |