Class: Google::Apis::BeyondcorpV1::AppGateway

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

Overview

A BeyondCorp AppGateway resource represents a BeyondCorp protected AppGateway to a remote application. It creates all the necessary GCP components needed for creating a BeyondCorp protected AppGateway. Multiple connectors can be authorised for a single AppGateway.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppGateway

Returns a new instance of AppGateway.



114
115
116
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 114

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

Instance Attribute Details

#allocated_connectionsArray<Google::Apis::BeyondcorpV1::AllocatedConnection>

Output only. A list of connections allocated for the Gateway Corresponds to the JSON property allocatedConnections



60
61
62
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 60

def allocated_connections
  @allocated_connections
end

#create_timeString

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

Returns:

  • (String)


65
66
67
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 65

def create_time
  @create_time
end

#display_nameString

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

Returns:

  • (String)


71
72
73
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 71

def display_name
  @display_name
end

#host_typeString

Required. The type of hosting used by the AppGateway. Corresponds to the JSON property hostType

Returns:

  • (String)


76
77
78
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 76

def host_type
  @host_type
end

#labelsHash<String,String>

Optional. Resource labels to represent user provided metadata. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


81
82
83
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 81

def labels
  @labels
end

#nameString

Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway. Corresponds to the JSON property name

Returns:

  • (String)


87
88
89
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 87

def name
  @name
end

#stateString

Output only. The current state of the AppGateway. Corresponds to the JSON property state

Returns:

  • (String)


92
93
94
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 92

def state
  @state
end

#typeString

Required. The type of network connectivity used by the AppGateway. Corresponds to the JSON property type

Returns:

  • (String)


97
98
99
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 97

def type
  @type
end

#uidString

Output only. A unique identifier for the instance generated by the system. Corresponds to the JSON property uid

Returns:

  • (String)


102
103
104
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 102

def uid
  @uid
end

#update_timeString

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

Returns:

  • (String)


107
108
109
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 107

def update_time
  @update_time
end

#uriString

Output only. Server-defined URI for this resource. Corresponds to the JSON property uri

Returns:

  • (String)


112
113
114
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 112

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 119

def update!(**args)
  @allocated_connections = args[:allocated_connections] if args.key?(:allocated_connections)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @host_type = args[:host_type] if args.key?(:host_type)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @type = args[:type] if args.key?(:type)
  @uid = args[:uid] if args.key?(:uid)
  @update_time = args[:update_time] if args.key?(:update_time)
  @uri = args[:uri] if args.key?(:uri)
end