Class: Google::Apis::RedisV1::IsolationExpectations

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IsolationExpectations

Returns a new instance of IsolationExpectations.



1868
1869
1870
# File 'lib/google/apis/redis_v1/classes.rb', line 1868

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

Instance Attribute Details

#requirement_overrideGoogle::Apis::RedisV1::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



1829
1830
1831
# File 'lib/google/apis/redis_v1/classes.rb', line 1829

def requirement_override
  @requirement_override
end

#zi_org_policyString

Corresponds to the JSON property ziOrgPolicy

Returns:

  • (String)


1834
1835
1836
# File 'lib/google/apis/redis_v1/classes.rb', line 1834

def zi_org_policy
  @zi_org_policy
end

#zi_region_policyString

Corresponds to the JSON property ziRegionPolicy

Returns:

  • (String)


1839
1840
1841
# File 'lib/google/apis/redis_v1/classes.rb', line 1839

def zi_region_policy
  @zi_region_policy
end

#zi_region_stateString

Corresponds to the JSON property ziRegionState

Returns:

  • (String)


1844
1845
1846
# File 'lib/google/apis/redis_v1/classes.rb', line 1844

def zi_region_state
  @zi_region_state
end

#zone_isolationString

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

Returns:

  • (String)


1850
1851
1852
# File 'lib/google/apis/redis_v1/classes.rb', line 1850

def zone_isolation
  @zone_isolation
end

#zone_separationString

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

Returns:

  • (String)


1856
1857
1858
# File 'lib/google/apis/redis_v1/classes.rb', line 1856

def zone_separation
  @zone_separation
end

#zs_org_policyString

Corresponds to the JSON property zsOrgPolicy

Returns:

  • (String)


1861
1862
1863
# File 'lib/google/apis/redis_v1/classes.rb', line 1861

def zs_org_policy
  @zs_org_policy
end

#zs_region_stateString

Corresponds to the JSON property zsRegionState

Returns:

  • (String)


1866
1867
1868
# File 'lib/google/apis/redis_v1/classes.rb', line 1866

def zs_region_state
  @zs_region_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
# File 'lib/google/apis/redis_v1/classes.rb', line 1873

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