Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection

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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection

Returns a new instance of GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection.



969
970
971
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 969

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

Instance Attribute Details

#application_endpointGoogle::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint

ApplicationEndpoint represents a remote application endpoint. Corresponds to the JSON property applicationEndpoint



901
902
903
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 901

def application_endpoint
  @application_endpoint
end

#connectorsArray<String>

Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection. Corresponds to the JSON property connectors

Returns:

  • (Array<String>)


907
908
909
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 907

def connectors
  @connectors
end

#create_timeString

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

Returns:

  • (String)


912
913
914
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 912

def create_time
  @create_time
end

#display_nameString

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

Returns:

  • (String)


918
919
920
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 918

def display_name
  @display_name
end

#gatewayGoogle::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway

Gateway represents a user facing component that serves as an entrance to enable connectivity. Corresponds to the JSON property gateway



924
925
926
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 924

def gateway
  @gateway
end

#labelsHash<String,String>

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

Returns:

  • (Hash<String,String>)


929
930
931
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 929

def labels
  @labels
end

#nameString

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

Returns:

  • (String)


935
936
937
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 935

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)


940
941
942
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 940

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)


946
947
948
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 946

def satisfies_pzs
  @satisfies_pzs
end

#stateString

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

Returns:

  • (String)


952
953
954
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 952

def state
  @state
end

#typeString

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

Returns:

  • (String)


957
958
959
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 957

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)


962
963
964
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 962

def uid
  @uid
end

#update_timeString

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

Returns:

  • (String)


967
968
969
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 967

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 974

def update!(**args)
  @application_endpoint = args[:application_endpoint] if args.key?(:application_endpoint)
  @connectors = args[:connectors] if args.key?(:connectors)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @gateway = args[:gateway] if args.key?(:gateway)
  @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)
end