Class: Google::Apis::BinaryauthorizationV1::Jwt

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Jwt

Returns a new instance of Jwt.



1013
1014
1015
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1013

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

Instance Attribute Details

#compact_jwtString

The compact encoding of a JWS, which is always three base64 encoded strings joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html# section-3.1 Corresponds to the JSON property compactJwt

Returns:

  • (String)


1011
1012
1013
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1011

def compact_jwt
  @compact_jwt
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1018
1019
1020
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1018

def update!(**args)
  @compact_jwt = args[:compact_jwt] if args.key?(:compact_jwt)
end