Class: Google::Apis::NotebooksV1::RuntimeAccessConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RuntimeAccessConfig

Returns a new instance of RuntimeAccessConfig.



1975
1976
1977
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1975

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

Instance Attribute Details

#access_typeString

The type of access mode this instance. Corresponds to the JSON property accessType

Returns:

  • (String)


1962
1963
1964
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1962

def access_type
  @access_type
end

#proxy_uriString

Output only. The proxy endpoint that is used to access the runtime. Corresponds to the JSON property proxyUri

Returns:

  • (String)


1967
1968
1969
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1967

def proxy_uri
  @proxy_uri
end

#runtime_ownerString

The owner of this runtime after creation. Format: alias@example.com Currently supports one owner only. Corresponds to the JSON property runtimeOwner

Returns:

  • (String)


1973
1974
1975
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1973

def runtime_owner
  @runtime_owner
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1980
1981
1982
1983
1984
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1980

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