Class: Google::Cloud::Storage::Control::V2::CreateAnywhereCacheMetadata

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/storage/control/v2/storage_control.rb

Overview

Message returned in the metadata field of the Operation resource for CreateAnywhereCache operations.

Instance Attribute Summary collapse

Instance Attribute Details

#admission_policy::String

Returns Anywhere Cache entry Admission Policy in kebab-case (e.g., "admit-on-first-miss"). Default admission policy (admit-on-first-miss) is applied if not specified in the create request.

Returns:

  • (::String)

    Anywhere Cache entry Admission Policy in kebab-case (e.g., "admit-on-first-miss"). Default admission policy (admit-on-first-miss) is applied if not specified in the create request.



487
488
489
490
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 487

class CreateAnywhereCacheMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#anywhere_cache_id::String

Returns Anywhere Cache ID.

Returns:

  • (::String)

    Anywhere Cache ID.



487
488
489
490
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 487

class CreateAnywhereCacheMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#common_metadata::Google::Cloud::Storage::Control::V2::CommonLongRunningOperationMetadata

Returns Generic metadata for the long running operation.

Returns:



487
488
489
490
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 487

class CreateAnywhereCacheMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#ttl::Google::Protobuf::Duration

Returns Anywhere Cache entry's TTL. A cache-level config that is applied to all new cache entries on admission. Default ttl value (24hrs) is applied if not specified in the create request.

Returns:

  • (::Google::Protobuf::Duration)

    Anywhere Cache entry's TTL. A cache-level config that is applied to all new cache entries on admission. Default ttl value (24hrs) is applied if not specified in the create request.



487
488
489
490
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 487

class CreateAnywhereCacheMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#zone::String

Returns The zone in which the cache instance is running. For example, us-central1-a.

Returns:

  • (::String)

    The zone in which the cache instance is running. For example, us-central1-a.



487
488
489
490
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 487

class CreateAnywhereCacheMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end