Class: Google::Apis::ContaineranalysisV1alpha1::Publisher

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

Overview

Publisher contains information about the publisher of this Note.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Publisher

Returns a new instance of Publisher.



5413
5414
5415
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5413

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

Instance Attribute Details

#contextString

The context or namespace. Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party. Example: https://csaf.io Corresponds to the JSON property context

Returns:

  • (String)


5399
5400
5401
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5399

def context
  @context
end

#issuing_authorityString

Provides information about the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations. Corresponds to the JSON property issuingAuthority

Returns:

  • (String)


5406
5407
5408
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5406

def issuing_authority
  @issuing_authority
end

#nameString

Name of the publisher. Examples: 'Google', 'Google Cloud Platform'. Corresponds to the JSON property name

Returns:

  • (String)


5411
5412
5413
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5411

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5418
5419
5420
5421
5422
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5418

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