Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of containeranalysis v1alpha1 client #14003

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat: Automated regeneration of containeranalysis v1alpha1 client
  • Loading branch information
yoshi-automation committed Feb 26, 2023
commit cb4ddae334ce841ccddf70a448fbcd8f80be03b6
4 changes: 4 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85020,6 +85020,9 @@
"/containeranalysis:v1alpha1/Hash": hash_prop
"/containeranalysis:v1alpha1/Hash/type": type
"/containeranalysis:v1alpha1/Hash/value": value
"/containeranalysis:v1alpha1/IdentifierHelper": identifier_helper
"/containeranalysis:v1alpha1/IdentifierHelper/field": field
"/containeranalysis:v1alpha1/IdentifierHelper/genericUri": generic_uri
"/containeranalysis:v1alpha1/InTotoProvenance": in_toto_provenance
"/containeranalysis:v1alpha1/InTotoProvenance/builderConfig": builder_config
"/containeranalysis:v1alpha1/InTotoProvenance/materials": materials
Expand Down Expand Up @@ -85232,6 +85235,7 @@
"/containeranalysis:v1alpha1/Product": product
"/containeranalysis:v1alpha1/Product/genericUri": generic_uri
"/containeranalysis:v1alpha1/Product/id": id
"/containeranalysis:v1alpha1/Product/identifierHelper": identifier_helper
"/containeranalysis:v1alpha1/Product/name": name
"/containeranalysis:v1alpha1/Publisher": publisher
"/containeranalysis:v1alpha1/Publisher/context": context
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-containeranalysis_v1alpha1

### v0.44.0 (2023-02-26)

* Regenerated from discovery document revision 20230221

### v0.43.0 (2023-02-15)

* Regenerated using generator version 0.12.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3963,6 +3963,35 @@ def update!(**args)
end
end

# Helps in identifying the underlying product. This should be treated like a one-
# of field. Only one field should be set in this proto. This is a workaround
# because spanner indexes on one-of fields restrict addition and deletion of
# fields.
class IdentifierHelper
include Google::Apis::Core::Hashable

# The field that is set in the API proto.
# Corresponds to the JSON property `field`
# @return [String]
attr_accessor :field

# Contains a URI which is vendor-specific. Example: The artifact repository URL
# of an image.
# Corresponds to the JSON property `genericUri`
# @return [String]
attr_accessor :generic_uri

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

# Update properties of this object
def update!(**args)
@field = args[:field] if args.key?(:field)
@generic_uri = args[:generic_uri] if args.key?(:generic_uri)
end
end

#
class InTotoProvenance
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -5326,19 +5355,21 @@ def update!(**args)
class Product
include Google::Apis::Core::Hashable

# Contains a URI which is vendor-specific. Example: The artifact repository URL
# of an image.
# Corresponds to the JSON property `genericUri`
# @return [String]
attr_accessor :generic_uri

# Token that identifies a product so that it can be referred to from other parts
# in the document. There is no predefined format as long as it uniquely
# identifies a group in the context of the current document.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id

# Helps in identifying the underlying product. This should be treated like a one-
# of field. Only one field should be set in this proto. This is a workaround
# because spanner indexes on one-of fields restrict addition and deletion of
# fields.
# Corresponds to the JSON property `identifierHelper`
# @return [Google::Apis::ContaineranalysisV1alpha1::IdentifierHelper]
attr_accessor :identifier_helper

# Name of the product.
# Corresponds to the JSON property `name`
# @return [String]
Expand All @@ -5350,8 +5381,8 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@generic_uri = args[:generic_uri] if args.key?(:generic_uri)
@id = args[:id] if args.key?(:id)
@identifier_helper = args[:identifier_helper] if args.key?(:identifier_helper)
@name = args[:name] if args.key?(:name)
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ContaineranalysisV1alpha1
# Version of the google-apis-containeranalysis_v1alpha1 gem
GEM_VERSION = "0.43.0"
GEM_VERSION = "0.44.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.12.0"

# Revision of the discovery document this client was generated from
REVISION = "20230203"
REVISION = "20230221"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class IdentifierHelper
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class InTotoProvenance
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -1954,6 +1960,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class IdentifierHelper
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :field, as: 'field'
property :generic_uri, as: 'genericUri'
end
end

class InTotoProvenance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -2290,8 +2304,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
class Product
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :generic_uri, as: 'genericUri'
property :id, as: 'id'
property :identifier_helper, as: 'identifierHelper', class: Google::Apis::ContaineranalysisV1alpha1::IdentifierHelper, decorator: Google::Apis::ContaineranalysisV1alpha1::IdentifierHelper::Representation

property :name, as: 'name'
end
end
Expand Down