Class: Google::Apis::ProximitybeaconV1beta1::Namespace
- Inherits:
-
Object
- Object
- Google::Apis::ProximitybeaconV1beta1::Namespace
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/proximitybeacon_v1beta1/classes.rb,
generated/google/apis/proximitybeacon_v1beta1/representations.rb,
generated/google/apis/proximitybeacon_v1beta1/representations.rb
Overview
An attachment namespace defines read and write access for all the attachments created under it. Each namespace is globally unique, and owned by one project which is the only project that can create attachments under it.
Instance Attribute Summary collapse
-
#namespace_name ⇒ String
Resource name of this namespace.
-
#serving_visibility ⇒ String
Specifies what clients may receive attachments under this namespace via
beaconinfo.getforobserved
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Namespace
constructor
A new instance of Namespace.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Namespace
Returns a new instance of Namespace
794 795 796 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 794 def initialize(**args) update!(**args) end |
Instance Attribute Details
#namespace_name ⇒ String
Resource name of this namespace. Namespaces names have the format:
namespaces/namespace
.
Corresponds to the JSON property namespaceName
786 787 788 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 786 def namespace_name @namespace_name end |
#serving_visibility ⇒ String
Specifies what clients may receive attachments under this namespace
via beaconinfo.getforobserved
.
Corresponds to the JSON property servingVisibility
792 793 794 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 792 def serving_visibility @serving_visibility end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
799 800 801 802 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 799 def update!(**args) @namespace_name = args[:namespace_name] if args.key?(:namespace_name) @serving_visibility = args[:serving_visibility] if args.key?(:serving_visibility) end |