Class: Google::Apis::NetworksecurityV1beta1::MirroringDeployment
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1beta1::MirroringDeployment
- 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
-
#create_time ⇒ String
Output only.
-
#forwarding_rule ⇒ String
Required.
-
#labels ⇒ Hash<String,String>
Optional.
-
#mirroring_deployment_group ⇒ String
Required.
-
#name ⇒ String
Immutable.
-
#reconciling ⇒ Boolean
(also: #reconciling?)
Output only.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MirroringDeployment
constructor
A new instance of MirroringDeployment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MirroringDeployment
Returns a new instance of MirroringDeployment.
2951 2952 2953 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2951 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. [Output only] Create time stamp
Corresponds to the JSON property createTime
2908 2909 2910 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2908 def create_time @create_time end |
#forwarding_rule ⇒ String
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
2915 2916 2917 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2915 def forwarding_rule @forwarding_rule end |
#labels ⇒ Hash<String,String>
Optional. Labels as key value pairs
Corresponds to the JSON property labels
2920 2921 2922 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2920 def labels @labels end |
#mirroring_deployment_group ⇒ String
Required. Immutable. The Mirroring Deployment Group that this resource is part
of. Format is: projects/
project/locations/global/mirroringDeploymentGroups/
mirroringDeploymentGroup`
Corresponds to the JSON property
mirroringDeploymentGroup`
2927 2928 2929 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2927 def mirroring_deployment_group @mirroring_deployment_group end |
#name ⇒ String
Immutable. Identifier. The name of the MirroringDeployment.
Corresponds to the JSON property name
2932 2933 2934 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2932 def name @name end |
#reconciling ⇒ Boolean Also known as: reconciling?
Output only. Whether reconciling is in progress, recommended per https://
google.aip.dev/128.
Corresponds to the JSON property reconciling
2938 2939 2940 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2938 def reconciling @reconciling end |
#state ⇒ String
Output only. Current state of the deployment.
Corresponds to the JSON property state
2944 2945 2946 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2944 def state @state end |
#update_time ⇒ String
Output only. [Output only] Update time stamp
Corresponds to the JSON property updateTime
2949 2950 2951 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2949 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2956 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 |