Class: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams
- Inherits:
-
Object
- Object
- Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams
- 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
Information a client needs to provision and register beacons that broadcast Eddystone-EID format beacon IDs, using Elliptic curve Diffie-Hellman key exchange. See the Eddystone specification at GitHub.
Instance Attribute Summary collapse
-
#max_rotation_period_exponent ⇒ Fixnum
Indicates the maximum rotation period supported by the service.
-
#min_rotation_period_exponent ⇒ Fixnum
Indicates the minimum rotation period supported by the service.
-
#service_ecdh_public_key ⇒ String
The beacon service's public key for use by a beacon to derive its Identity Key using Elliptic Curve Diffie-Hellman key exchange.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EphemeralIdRegistrationParams
constructor
A new instance of EphemeralIdRegistrationParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EphemeralIdRegistrationParams
Returns a new instance of EphemeralIdRegistrationParams
561 562 563 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 561 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_rotation_period_exponent ⇒ Fixnum
Indicates the maximum rotation period supported by the service.
See EddystoneEidRegistration.rotation_period_exponent
Corresponds to the JSON property maxRotationPeriodExponent
546 547 548 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 546 def max_rotation_period_exponent @max_rotation_period_exponent end |
#min_rotation_period_exponent ⇒ Fixnum
Indicates the minimum rotation period supported by the service.
See EddystoneEidRegistration.rotation_period_exponent
Corresponds to the JSON property minRotationPeriodExponent
552 553 554 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 552 def min_rotation_period_exponent @min_rotation_period_exponent end |
#service_ecdh_public_key ⇒ String
The beacon service's public key for use by a beacon to derive its
Identity Key using Elliptic Curve Diffie-Hellman key exchange.
Corresponds to the JSON property serviceEcdhPublicKey
NOTE: Values are automatically base64 encoded/decoded in the client library.
559 560 561 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 559 def service_ecdh_public_key @service_ecdh_public_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
566 567 568 569 570 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 566 def update!(**args) @max_rotation_period_exponent = args[:max_rotation_period_exponent] if args.key?(:max_rotation_period_exponent) @min_rotation_period_exponent = args[:min_rotation_period_exponent] if args.key?(:min_rotation_period_exponent) @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key) end |