Class: Google::Apis::NetworksecurityV1beta1::InterceptDeployment
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1beta1::InterceptDeployment
- 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 InterceptDeployment object
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#forwarding_rule ⇒ String
Required.
-
#intercept_deployment_group ⇒ String
Required.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Immutable.
-
#reconciling ⇒ Boolean
(also: #reconciling?)
Output only.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InterceptDeployment
constructor
A new instance of InterceptDeployment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InterceptDeployment
Returns a new instance of InterceptDeployment.
1802 1803 1804 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1802 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
1759 1760 1761 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1759 def create_time @create_time end |
#forwarding_rule ⇒ String
Required. Immutable. The regional load balancer which the intercepted traffic
should be forwarded to. Format is: projects/project
/regions/region
/
forwardingRules/forwardingRule
Corresponds to the JSON property forwardingRule
1766 1767 1768 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1766 def forwarding_rule @forwarding_rule end |
#intercept_deployment_group ⇒ String
Required. Immutable. The Intercept Deployment Group that this resource is part
of. Format is: projects/
project/locations/global/interceptDeploymentGroups/
interceptDeploymentGroup`
Corresponds to the JSON property
interceptDeploymentGroup`
1773 1774 1775 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1773 def intercept_deployment_group @intercept_deployment_group end |
#labels ⇒ Hash<String,String>
Optional. Labels as key value pairs
Corresponds to the JSON property labels
1778 1779 1780 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1778 def labels @labels end |
#name ⇒ String
Immutable. Identifier. The name of the InterceptDeployment.
Corresponds to the JSON property name
1783 1784 1785 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1783 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
1789 1790 1791 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1789 def reconciling @reconciling end |
#state ⇒ String
Output only. Current state of the deployment.
Corresponds to the JSON property state
1795 1796 1797 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1795 def state @state end |
#update_time ⇒ String
Output only. [Output only] Update time stamp
Corresponds to the JSON property updateTime
1800 1801 1802 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1800 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1807 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule) @intercept_deployment_group = args[:intercept_deployment_group] if args.key?(:intercept_deployment_group) @labels = args[:labels] if args.key?(:labels) @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 |