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.



1235
1236
1237
# File 'lib/google/apis/looker_v1/classes.rb', line 1235

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>)


1223
1224
1225
# File 'lib/google/apis/looker_v1/classes.rb', line 1223

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)


1228
1229
1230
# File 'lib/google/apis/looker_v1/classes.rb', line 1228

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



1233
1234
1235
# File 'lib/google/apis/looker_v1/classes.rb', line 1233

def service_attachments
  @service_attachments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1240
1241
1242
1243
1244
# File 'lib/google/apis/looker_v1/classes.rb', line 1240

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