Class: Google::Apis::NetworksecurityV1beta1::MirroringDeployment

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

Overview

Message describing MirroringDeployment object NEXT ID: 10

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MirroringDeployment

Returns a new instance of MirroringDeployment.



2965
2966
2967
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2965

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

Instance Attribute Details

#create_timeString

Output only. [Output only] Create time stamp Corresponds to the JSON property createTime

Returns:

  • (String)


2922
2923
2924
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2922

def create_time
  @create_time
end

#forwarding_ruleString

Required. Immutable. The regional load balancer which the mirrored traffic should be forwarded to. Format is: projects/project/regions/region/ forwardingRules/forwardingRule Corresponds to the JSON property forwardingRule

Returns:

  • (String)


2929
2930
2931
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2929

def forwarding_rule
  @forwarding_rule
end

#labelsHash<String,String>

Optional. Labels as key value pairs Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


2934
2935
2936
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2934

def labels
  @labels
end

#mirroring_deployment_groupString

Required. Immutable. The Mirroring Deployment Group that this resource is part of. Format is: projects/project/locations/global/mirroringDeploymentGroups/ mirroringDeploymentGroup` Corresponds to the JSON propertymirroringDeploymentGroup`

Returns:

  • (String)


2941
2942
2943
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2941

def mirroring_deployment_group
  @mirroring_deployment_group
end

#nameString

Immutable. Identifier. The name of the MirroringDeployment. Corresponds to the JSON property name

Returns:

  • (String)


2946
2947
2948
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2946

def name
  @name
end

#reconcilingBoolean Also known as: reconciling?

Output only. Whether reconciling is in progress, recommended per https:// google.aip.dev/128. Corresponds to the JSON property reconciling

Returns:

  • (Boolean)


2952
2953
2954
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2952

def reconciling
  @reconciling
end

#stateString

Output only. Current state of the deployment. Corresponds to the JSON property state

Returns:

  • (String)


2958
2959
2960
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2958

def state
  @state
end

#update_timeString

Output only. [Output only] Update time stamp Corresponds to the JSON property updateTime

Returns:

  • (String)


2963
2964
2965
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2963

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2970

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
  @labels = args[:labels] if args.key?(:labels)
  @mirroring_deployment_group = args[:mirroring_deployment_group] if args.key?(:mirroring_deployment_group)
  @name = args[:name] if args.key?(:name)
  @reconciling = args[:reconciling] if args.key?(:reconciling)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end