Class: Google::Apis::MemcacheV1::IsolationExpectations
- Inherits:
-
Object
- Object
- Google::Apis::MemcacheV1::IsolationExpectations
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/memcache_v1/classes.rb,
lib/google/apis/memcache_v1/representations.rb,
lib/google/apis/memcache_v1/representations.rb
Instance Attribute Summary collapse
-
#requirement_override ⇒ Google::Apis::MemcacheV1::RequirementOverride
Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS verification logic.
-
#zi_org_policy ⇒ String
Corresponds to the JSON property
ziOrgPolicy
. -
#zi_region_policy ⇒ String
Corresponds to the JSON property
ziRegionPolicy
. -
#zi_region_state ⇒ String
Corresponds to the JSON property
ziRegionState
. -
#zone_isolation ⇒ String
Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location.
-
#zone_separation ⇒ String
Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location.
-
#zs_org_policy ⇒ String
Corresponds to the JSON property
zsOrgPolicy
. -
#zs_region_state ⇒ String
Corresponds to the JSON property
zsRegionState
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IsolationExpectations
constructor
A new instance of IsolationExpectations.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IsolationExpectations
Returns a new instance of IsolationExpectations.
1167 1168 1169 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 1167 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requirement_override ⇒ Google::Apis::MemcacheV1::RequirementOverride
Explicit overrides for ZI and ZS requirements to be used for resources that
should be excluded from ZI/ZS verification logic.
Corresponds to the JSON property requirementOverride
1128 1129 1130 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 1128 def requirement_override @requirement_override end |
#zi_org_policy ⇒ String
Corresponds to the JSON property ziOrgPolicy
1133 1134 1135 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 1133 def zi_org_policy @zi_org_policy end |
#zi_region_policy ⇒ String
Corresponds to the JSON property ziRegionPolicy
1138 1139 1140 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 1138 def zi_region_policy @zi_region_policy end |
#zi_region_state ⇒ String
Corresponds to the JSON property ziRegionState
1143 1144 1145 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 1143 def zi_region_state @zi_region_state end |
#zone_isolation ⇒ String
Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead
for setting ZI expectations as per go/zicy-publish-physical-location.
Corresponds to the JSON property zoneIsolation
1149 1150 1151 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 1149 def zone_isolation @zone_isolation end |
#zone_separation ⇒ String
Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs
expectations as per go/zicy-publish-physical-location.
Corresponds to the JSON property zoneSeparation
1155 1156 1157 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 1155 def zone_separation @zone_separation end |
#zs_org_policy ⇒ String
Corresponds to the JSON property zsOrgPolicy
1160 1161 1162 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 1160 def zs_org_policy @zs_org_policy end |
#zs_region_state ⇒ String
Corresponds to the JSON property zsRegionState
1165 1166 1167 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 1165 def zs_region_state @zs_region_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 1172 def update!(**args) @requirement_override = args[:requirement_override] if args.key?(:requirement_override) @zi_org_policy = args[:zi_org_policy] if args.key?(:zi_org_policy) @zi_region_policy = args[:zi_region_policy] if args.key?(:zi_region_policy) @zi_region_state = args[:zi_region_state] if args.key?(:zi_region_state) @zone_isolation = args[:zone_isolation] if args.key?(:zone_isolation) @zone_separation = args[:zone_separation] if args.key?(:zone_separation) @zs_org_policy = args[:zs_org_policy] if args.key?(:zs_org_policy) @zs_region_state = args[:zs_region_state] if args.key?(:zs_region_state) end |