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.



126
127
128
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 126

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

#satisfies_pziBoolean Also known as: satisfies_pzi?

Output only. Reserved for future use. Corresponds to the JSON property satisfiesPzi

Returns:

  • (Boolean)


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

def satisfies_pzi
  @satisfies_pzi
end

#satisfies_pzsBoolean Also known as: satisfies_pzs?

Output only. Reserved for future use. Corresponds to the JSON property satisfiesPzs

Returns:

  • (Boolean)


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

def satisfies_pzs
  @satisfies_pzs
end

#stateString

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

Returns:

  • (String)


104
105
106
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 104

def state
  @state
end

#typeString

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

Returns:

  • (String)


109
110
111
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 109

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)


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

def uid
  @uid
end

#update_timeString

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

Returns:

  • (String)


119
120
121
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 119

def update_time
  @update_time
end

#uriString

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

Returns:

  • (String)


124
125
126
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 124

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 131

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