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.



3136
3137
3138
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3136

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)


3101
3102
3103
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3101

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)


3107
3108
3109
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3107

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


3113
3114
3115
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3113

def external_ips
  @external_ips
end

#hubsHash<String,Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaHub>

Optional. Map of Hubs that represents regional data path deployment with GCP region as a key. Corresponds to the JSON property hubs



3119
3120
3121
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3119

def hubs
  @hubs
end

#nameString

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

Returns:

  • (String)


3124
3125
3126
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3124

def name
  @name
end

#stateString

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

Returns:

  • (String)


3129
3130
3131
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3129

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


3134
3135
3136
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3134

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3141
3142
3143
3144
3145
3146
3147
3148
3149
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3141

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)
  @hubs = args[:hubs] if args.key?(:hubs)
  @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