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.



2892
2893
2894
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2892

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)


2863
2864
2865
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2863

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)


2869
2870
2871
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2869

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


2875
2876
2877
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2875

def external_ips
  @external_ips
end

#nameString

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

Returns:

  • (String)


2880
2881
2882
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2880

def name
  @name
end

#stateString

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

Returns:

  • (String)


2885
2886
2887
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2885

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


2890
2891
2892
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2890

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2897
2898
2899
2900
2901
2902
2903
2904
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2897

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