Class: Google::Apis::SecuritycenterV1::ExternalExposure

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExternalExposure

Returns a new instance of ExternalExposure.



2714
2715
2716
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2714

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

Instance Attribute Details

#backend_bucketString

Corresponds to the JSON property backendBucket

Returns:

  • (String)


2612
2613
2614
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2612

def backend_bucket
  @backend_bucket
end

#backend_serviceString

Corresponds to the JSON property backendService

Returns:

  • (String)


2617
2618
2619
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2617

def backend_service
  @backend_service
end

#exposed_applicationString

Corresponds to the JSON property exposedApplication

Returns:

  • (String)


2622
2623
2624
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2622

def exposed_application
  @exposed_application
end

#exposed_endpointString

Corresponds to the JSON property exposedEndpoint

Returns:

  • (String)


2627
2628
2629
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2627

def exposed_endpoint
  @exposed_endpoint
end

#exposed_serviceString

Corresponds to the JSON property exposedService

Returns:

  • (String)


2632
2633
2634
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2632

def exposed_service
  @exposed_service
end

#forwarding_ruleString

Corresponds to the JSON property forwardingRule

Returns:

  • (String)


2637
2638
2639
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2637

def forwarding_rule
  @forwarding_rule
end

#hostname_uriString

Corresponds to the JSON property hostnameUri

Returns:

  • (String)


2642
2643
2644
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2642

def hostname_uri
  @hostname_uri
end

#http_responseArray<Google::Apis::SecuritycenterV1::HttpResponse>

Corresponds to the JSON property httpResponse



2647
2648
2649
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2647

def http_response
  @http_response
end

#instance_groupString

Corresponds to the JSON property instanceGroup

Returns:

  • (String)


2652
2653
2654
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2652

def instance_group
  @instance_group
end

#internal_backend_serviceString

Corresponds to the JSON property internalBackendService

Returns:

  • (String)


2657
2658
2659
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2657

def internal_backend_service
  @internal_backend_service
end

#load_balancer_firewall_policyString

Corresponds to the JSON property loadBalancerFirewallPolicy

Returns:

  • (String)


2662
2663
2664
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2662

def load_balancer_firewall_policy
  @load_balancer_firewall_policy
end

#network_endpoint_groupString

Corresponds to the JSON property networkEndpointGroup

Returns:

  • (String)


2667
2668
2669
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2667

def network_endpoint_group
  @network_endpoint_group
end

#network_ingress_firewall_policyString

Corresponds to the JSON property networkIngressFirewallPolicy

Returns:

  • (String)


2672
2673
2674
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2672

def network_ingress_firewall_policy
  @network_ingress_firewall_policy
end

#network_path_insights_generation_timeString

Corresponds to the JSON property networkPathInsightsGenerationTime

Returns:

  • (String)


2677
2678
2679
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2677

def network_path_insights_generation_time
  @network_path_insights_generation_time
end

#private_ip_addressString

Corresponds to the JSON property privateIpAddress

Returns:

  • (String)


2682
2683
2684
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2682

def private_ip_address
  @private_ip_address
end

#private_portString

Corresponds to the JSON property privatePort

Returns:

  • (String)


2687
2688
2689
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2687

def private_port
  @private_port
end

#psc_network_attachmentString

Corresponds to the JSON property pscNetworkAttachment

Returns:

  • (String)


2692
2693
2694
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2692

def psc_network_attachment
  @psc_network_attachment
end

#psc_service_attachmentString

Corresponds to the JSON property pscServiceAttachment

Returns:

  • (String)


2697
2698
2699
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2697

def psc_service_attachment
  @psc_service_attachment
end

#public_ip_addressString

Corresponds to the JSON property publicIpAddress

Returns:

  • (String)


2702
2703
2704
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2702

def public_ip_address
  @public_ip_address
end

#public_portString

Corresponds to the JSON property publicPort

Returns:

  • (String)


2707
2708
2709
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2707

def public_port
  @public_port
end

#service_firewall_policyString

Corresponds to the JSON property serviceFirewallPolicy

Returns:

  • (String)


2712
2713
2714
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2712

def service_firewall_policy
  @service_firewall_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2719

def update!(**args)
  @backend_bucket = args[:backend_bucket] if args.key?(:backend_bucket)
  @backend_service = args[:backend_service] if args.key?(:backend_service)
  @exposed_application = args[:exposed_application] if args.key?(:exposed_application)
  @exposed_endpoint = args[:exposed_endpoint] if args.key?(:exposed_endpoint)
  @exposed_service = args[:exposed_service] if args.key?(:exposed_service)
  @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
  @hostname_uri = args[:hostname_uri] if args.key?(:hostname_uri)
  @http_response = args[:http_response] if args.key?(:http_response)
  @instance_group = args[:instance_group] if args.key?(:instance_group)
  @internal_backend_service = args[:internal_backend_service] if args.key?(:internal_backend_service)
  @load_balancer_firewall_policy = args[:load_balancer_firewall_policy] if args.key?(:load_balancer_firewall_policy)
  @network_endpoint_group = args[:network_endpoint_group] if args.key?(:network_endpoint_group)
  @network_ingress_firewall_policy = args[:network_ingress_firewall_policy] if args.key?(:network_ingress_firewall_policy)
  @network_path_insights_generation_time = args[:network_path_insights_generation_time] if args.key?(:network_path_insights_generation_time)
  @private_ip_address = args[:private_ip_address] if args.key?(:private_ip_address)
  @private_port = args[:private_port] if args.key?(:private_port)
  @psc_network_attachment = args[:psc_network_attachment] if args.key?(:psc_network_attachment)
  @psc_service_attachment = args[:psc_service_attachment] if args.key?(:psc_service_attachment)
  @public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
  @public_port = args[:public_port] if args.key?(:public_port)
  @service_firewall_policy = args[:service_firewall_policy] if args.key?(:service_firewall_policy)
end