Class: Google::Apis::LookerV1::ServiceAttachment

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

Overview

Service attachment configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceAttachment

Returns a new instance of ServiceAttachment.



1260
1261
1262
# File 'lib/google/apis/looker_v1/classes.rb', line 1260

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

Instance Attribute Details

#connection_statusString

Output only. Connection status. Corresponds to the JSON property connectionStatus

Returns:

  • (String)


1246
1247
1248
# File 'lib/google/apis/looker_v1/classes.rb', line 1246

def connection_status
  @connection_status
end

#local_fqdnString

Required. Fully qualified domain name that will be used in the private DNS record created for the service attachment. Corresponds to the JSON property localFqdn

Returns:

  • (String)


1252
1253
1254
# File 'lib/google/apis/looker_v1/classes.rb', line 1252

def local_fqdn
  @local_fqdn
end

#target_service_attachment_uriString

Required. URI of the service attachment to connect to. Format: projects/ project/regions/region/serviceAttachments/service_attachment Corresponds to the JSON property targetServiceAttachmentUri

Returns:

  • (String)


1258
1259
1260
# File 'lib/google/apis/looker_v1/classes.rb', line 1258

def target_service_attachment_uri
  @target_service_attachment_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1265
1266
1267
1268
1269
# File 'lib/google/apis/looker_v1/classes.rb', line 1265

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