Class: Google::Apis::LookerV1::PscConfig

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

Information for Private Service Connect (PSC) setup for a Looker instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PscConfig

Returns a new instance of PscConfig.



1214
1215
1216
# File 'lib/google/apis/looker_v1/classes.rb', line 1214

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

Instance Attribute Details

#allowed_vpcsArray<String>

Optional. List of VPCs that are allowed ingress into looker. Format: projects/ project/global/networks/network Corresponds to the JSON property allowedVpcs

Returns:

  • (Array<String>)


1202
1203
1204
# File 'lib/google/apis/looker_v1/classes.rb', line 1202

def allowed_vpcs
  @allowed_vpcs
end

#looker_service_attachment_uriString

Output only. URI of the Looker service attachment. Corresponds to the JSON property lookerServiceAttachmentUri

Returns:

  • (String)


1207
1208
1209
# File 'lib/google/apis/looker_v1/classes.rb', line 1207

def looker_service_attachment_uri
  @looker_service_attachment_uri
end

#service_attachmentsArray<Google::Apis::LookerV1::ServiceAttachment>

Optional. List of egress service attachment configurations. Corresponds to the JSON property serviceAttachments



1212
1213
1214
# File 'lib/google/apis/looker_v1/classes.rb', line 1212

def service_attachments
  @service_attachments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1219
1220
1221
1222
1223
# File 'lib/google/apis/looker_v1/classes.rb', line 1219

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