Skip to content
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
4 changes: 0 additions & 4 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34514,7 +34514,6 @@ components:
- id
- type
- inputs
- auth
- customer_id
type: object
ObservabilityPipelineGoogleChronicleDestinationEncoding:
Expand Down Expand Up @@ -34580,9 +34579,7 @@ components:
- type
- inputs
- bucket
- auth
- storage_class
- acl
type: object
ObservabilityPipelineGoogleCloudStorageDestinationAcl:
description: Access control list setting for objects written to the bucket.
Expand Down Expand Up @@ -34713,7 +34710,6 @@ components:
required:
- id
- type
- auth
- decoding
- project
- subscription
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,11 @@ public ObservabilityPipelineGoogleChronicleDestination() {}

@JsonCreator
public ObservabilityPipelineGoogleChronicleDestination(
@JsonProperty(required = true, value = JSON_PROPERTY_AUTH) ObservabilityPipelineGcpAuth auth,
@JsonProperty(required = true, value = JSON_PROPERTY_CUSTOMER_ID) String customerId,
@JsonProperty(required = true, value = JSON_PROPERTY_ID) String id,
@JsonProperty(required = true, value = JSON_PROPERTY_INPUTS) List<String> inputs,
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE)
ObservabilityPipelineGoogleChronicleDestinationType type) {
this.auth = auth;
this.unparsed |= auth.unparsed;
this.customerId = customerId;
this.id = id;
this.inputs = inputs;
Expand All @@ -85,8 +82,9 @@ public ObservabilityPipelineGoogleChronicleDestination auth(ObservabilityPipelin
*
* @return auth
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_AUTH)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ObservabilityPipelineGcpAuth getAuth() {
return auth;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,13 @@ public ObservabilityPipelineGoogleCloudStorageDestination() {}

@JsonCreator
public ObservabilityPipelineGoogleCloudStorageDestination(
@JsonProperty(required = true, value = JSON_PROPERTY_ACL)
ObservabilityPipelineGoogleCloudStorageDestinationAcl acl,
@JsonProperty(required = true, value = JSON_PROPERTY_AUTH) ObservabilityPipelineGcpAuth auth,
@JsonProperty(required = true, value = JSON_PROPERTY_BUCKET) String bucket,
@JsonProperty(required = true, value = JSON_PROPERTY_ID) String id,
@JsonProperty(required = true, value = JSON_PROPERTY_INPUTS) List<String> inputs,
@JsonProperty(required = true, value = JSON_PROPERTY_STORAGE_CLASS)
ObservabilityPipelineGoogleCloudStorageDestinationStorageClass storageClass,
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE)
ObservabilityPipelineGoogleCloudStorageDestinationType type) {
this.acl = acl;
this.unparsed |= !acl.isValid();
this.auth = auth;
this.unparsed |= auth.unparsed;
this.bucket = bucket;
this.id = id;
this.inputs = inputs;
Expand All @@ -105,8 +98,9 @@ public ObservabilityPipelineGoogleCloudStorageDestination acl(
*
* @return acl
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ACL)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ObservabilityPipelineGoogleCloudStorageDestinationAcl getAcl() {
return acl;
}
Expand All @@ -130,8 +124,9 @@ public ObservabilityPipelineGoogleCloudStorageDestination auth(
*
* @return auth
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_AUTH)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ObservabilityPipelineGcpAuth getAuth() {
return auth;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,13 @@ public ObservabilityPipelineGooglePubSubSource() {}

@JsonCreator
public ObservabilityPipelineGooglePubSubSource(
@JsonProperty(required = true, value = JSON_PROPERTY_AUTH) ObservabilityPipelineGcpAuth auth,
@JsonProperty(required = true, value = JSON_PROPERTY_DECODING)
ObservabilityPipelineDecoding decoding,
@JsonProperty(required = true, value = JSON_PROPERTY_ID) String id,
@JsonProperty(required = true, value = JSON_PROPERTY_PROJECT) String project,
@JsonProperty(required = true, value = JSON_PROPERTY_SUBSCRIPTION) String subscription,
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE)
ObservabilityPipelineGooglePubSubSourceType type) {
this.auth = auth;
this.unparsed |= auth.unparsed;
this.decoding = decoding;
this.unparsed |= !decoding.isValid();
this.id = id;
Expand All @@ -87,8 +84,9 @@ public ObservabilityPipelineGooglePubSubSource auth(ObservabilityPipelineGcpAuth
*
* @return auth
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_AUTH)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ObservabilityPipelineGcpAuth getAuth() {
return auth;
}
Expand Down
Loading