Class: Google::Apis::RedisV1::LocationData
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::RedisV1::LocationData
 
 
- 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
- 
  
    
      #blobstore_location  ⇒ Google::Apis::RedisV1::BlobstoreLocation 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Policy ID that identified data placement in Blobstore as per go/blobstore-user- guide#data-metadata-placement-and-failure-domains Corresponds to the JSON property
blobstoreLocation. - 
  
    
      #child_asset_location  ⇒ Google::Apis::RedisV1::CloudAssetComposition 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
childAssetLocation. - 
  
    
      #direct_location  ⇒ Google::Apis::RedisV1::DirectLocationAssignment 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
directLocation. - 
  
    
      #gcp_project_proxy  ⇒ Google::Apis::RedisV1::TenantProjectProxy 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
gcpProjectProxy. - 
  
    
      #placer_location  ⇒ Google::Apis::RedisV1::PlacerLocation 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Message describing that the location of the customer resource is tied to placer allocations Corresponds to the JSON property
placerLocation. - 
  
    
      #spanner_location  ⇒ Google::Apis::RedisV1::SpannerLocation 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
spannerLocation. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ LocationData 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of LocationData.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ LocationData
Returns a new instance of LocationData.
      2123 2124 2125  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2123 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#blobstore_location ⇒ Google::Apis::RedisV1::BlobstoreLocation
Policy ID that identified data placement in Blobstore as per go/blobstore-user-
guide#data-metadata-placement-and-failure-domains
Corresponds to the JSON property blobstoreLocation
      2095 2096 2097  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2095 def blobstore_location @blobstore_location end  | 
  
#child_asset_location ⇒ Google::Apis::RedisV1::CloudAssetComposition
Corresponds to the JSON property childAssetLocation
      2100 2101 2102  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2100 def child_asset_location @child_asset_location end  | 
  
#direct_location ⇒ Google::Apis::RedisV1::DirectLocationAssignment
Corresponds to the JSON property directLocation
      2105 2106 2107  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2105 def direct_location @direct_location end  | 
  
#gcp_project_proxy ⇒ Google::Apis::RedisV1::TenantProjectProxy
Corresponds to the JSON property gcpProjectProxy
      2110 2111 2112  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2110 def gcp_project_proxy @gcp_project_proxy end  | 
  
#placer_location ⇒ Google::Apis::RedisV1::PlacerLocation
Message describing that the location of the customer resource is tied to
placer allocations
Corresponds to the JSON property placerLocation
      2116 2117 2118  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2116 def placer_location @placer_location end  | 
  
#spanner_location ⇒ Google::Apis::RedisV1::SpannerLocation
Corresponds to the JSON property spannerLocation
      2121 2122 2123  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2121 def spanner_location @spanner_location end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2128 2129 2130 2131 2132 2133 2134 2135  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2128 def update!(**args) @blobstore_location = args[:blobstore_location] if args.key?(:blobstore_location) @child_asset_location = args[:child_asset_location] if args.key?(:child_asset_location) @direct_location = args[:direct_location] if args.key?(:direct_location) @gcp_project_proxy = args[:gcp_project_proxy] if args.key?(:gcp_project_proxy) @placer_location = args[:placer_location] if args.key?(:placer_location) @spanner_location = args[:spanner_location] if args.key?(:spanner_location) end  |