Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway

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

Overview

Information about a BeyoncCorp SecurityGateway resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway

Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway.



2924
2925
2926
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2924

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

Instance Attribute Details

#create_timeString

Output only. Timestamp when the resource was created. Corresponds to the JSON property createTime

Returns:

  • (String)


2895
2896
2897
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2895

def create_time
  @create_time
end

#display_nameString

Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


2901
2902
2903
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2901

def display_name
  @display_name
end

#external_ipsArray<String>

Output only. IP addresses that will be used for establishing connection to the endpoints. Corresponds to the JSON property externalIps

Returns:

  • (Array<String>)


2907
2908
2909
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2907

def external_ips
  @external_ips
end

#nameString

Identifier. Name of the resource. Corresponds to the JSON property name

Returns:

  • (String)


2912
2913
2914
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2912

def name
  @name
end

#stateString

Output only. The operational state of the SecurityGateway. Corresponds to the JSON property state

Returns:

  • (String)


2917
2918
2919
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2917

def state
  @state
end

#update_timeString

Output only. Timestamp when the resource was last modified. Corresponds to the JSON property updateTime

Returns:

  • (String)


2922
2923
2924
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2922

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2929
2930
2931
2932
2933
2934
2935
2936
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2929

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @external_ips = args[:external_ips] if args.key?(:external_ips)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end