Skip to content

Commit

Permalink
Automated DCL import.
Browse files Browse the repository at this point in the history
  - d3c8f16a078d0ffb0707bf59490e3b78d062a0ef Automatic import from cloud_mmv2_dcl_20220805_1231_RC00 by DCL Team <[email protected]>

GitOrigin-RevId: d3c8f16a078d0ffb0707bf59490e3b78d062a0ef
  • Loading branch information
DCL Team authored and copybara-github committed Aug 5, 2022
1 parent 094a3cb commit 4420d0a
Show file tree
Hide file tree
Showing 216 changed files with 1,362 additions and 1,066 deletions.
9 changes: 0 additions & 9 deletions python/services/compute/alpha/forwarding_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ def __init__(
self.network_tier = network_tier
self.port_range = port_range
self.ports = ports
self.region = region
self.service_label = service_label
self.subnetwork = subnetwork
self.target = target
Expand Down Expand Up @@ -146,9 +145,6 @@ def apply(self):

if Primitive.to_proto(self.ports):
request.resource.ports.extend(Primitive.to_proto(self.ports))
if Primitive.to_proto(self.region):
request.resource.region = Primitive.to_proto(self.region)

if Primitive.to_proto(self.service_label):
request.resource.service_label = Primitive.to_proto(self.service_label)

Expand Down Expand Up @@ -287,9 +283,6 @@ def delete(self):

if Primitive.to_proto(self.ports):
request.resource.ports.extend(Primitive.to_proto(self.ports))
if Primitive.to_proto(self.region):
request.resource.region = Primitive.to_proto(self.region)

if Primitive.to_proto(self.service_label):
request.resource.service_label = Primitive.to_proto(self.service_label)

Expand Down Expand Up @@ -374,8 +367,6 @@ def to_proto(self):
resource.port_range = Primitive.to_proto(self.port_range)
if Primitive.to_proto(self.ports):
resource.ports.extend(Primitive.to_proto(self.ports))
if Primitive.to_proto(self.region):
resource.region = Primitive.to_proto(self.region)
if Primitive.to_proto(self.service_label):
resource.service_label = Primitive.to_proto(self.service_label)
if Primitive.to_proto(self.subnetwork):
Expand Down
9 changes: 0 additions & 9 deletions python/services/compute/beta/forwarding_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ def __init__(
self.network_tier = network_tier
self.port_range = port_range
self.ports = ports
self.region = region
self.service_label = service_label
self.subnetwork = subnetwork
self.target = target
Expand Down Expand Up @@ -146,9 +145,6 @@ def apply(self):

if Primitive.to_proto(self.ports):
request.resource.ports.extend(Primitive.to_proto(self.ports))
if Primitive.to_proto(self.region):
request.resource.region = Primitive.to_proto(self.region)

if Primitive.to_proto(self.service_label):
request.resource.service_label = Primitive.to_proto(self.service_label)

Expand Down Expand Up @@ -287,9 +283,6 @@ def delete(self):

if Primitive.to_proto(self.ports):
request.resource.ports.extend(Primitive.to_proto(self.ports))
if Primitive.to_proto(self.region):
request.resource.region = Primitive.to_proto(self.region)

if Primitive.to_proto(self.service_label):
request.resource.service_label = Primitive.to_proto(self.service_label)

Expand Down Expand Up @@ -374,8 +367,6 @@ def to_proto(self):
resource.port_range = Primitive.to_proto(self.port_range)
if Primitive.to_proto(self.ports):
resource.ports.extend(Primitive.to_proto(self.ports))
if Primitive.to_proto(self.region):
resource.region = Primitive.to_proto(self.region)
if Primitive.to_proto(self.service_label):
resource.service_label = Primitive.to_proto(self.service_label)
if Primitive.to_proto(self.subnetwork):
Expand Down
9 changes: 0 additions & 9 deletions python/services/compute/forwarding_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ def __init__(
self.network_tier = network_tier
self.port_range = port_range
self.ports = ports
self.region = region
self.service_label = service_label
self.subnetwork = subnetwork
self.target = target
Expand Down Expand Up @@ -146,9 +145,6 @@ def apply(self):

if Primitive.to_proto(self.ports):
request.resource.ports.extend(Primitive.to_proto(self.ports))
if Primitive.to_proto(self.region):
request.resource.region = Primitive.to_proto(self.region)

if Primitive.to_proto(self.service_label):
request.resource.service_label = Primitive.to_proto(self.service_label)

Expand Down Expand Up @@ -287,9 +283,6 @@ def delete(self):

if Primitive.to_proto(self.ports):
request.resource.ports.extend(Primitive.to_proto(self.ports))
if Primitive.to_proto(self.region):
request.resource.region = Primitive.to_proto(self.region)

if Primitive.to_proto(self.service_label):
request.resource.service_label = Primitive.to_proto(self.service_label)

Expand Down Expand Up @@ -374,8 +367,6 @@ def to_proto(self):
resource.port_range = Primitive.to_proto(self.port_range)
if Primitive.to_proto(self.ports):
resource.ports.extend(Primitive.to_proto(self.ports))
if Primitive.to_proto(self.region):
resource.region = Primitive.to_proto(self.region)
if Primitive.to_proto(self.service_label):
resource.service_label = Primitive.to_proto(self.service_label)
if Primitive.to_proto(self.subnetwork):
Expand Down
1 change: 1 addition & 0 deletions services/google/bigquery/alpha/routine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ components:
x-dcl-go-type: RoutineLanguageEnum
description: 'Optional. Defaults to "SQL". Possible values: LANGUAGE_UNSPECIFIED,
SQL, JAVASCRIPT'
x-dcl-server-default: true
enum:
- LANGUAGE_UNSPECIFIED
- SQL
Expand Down
6 changes: 3 additions & 3 deletions services/google/bigquery/alpha/routine_alpha_yaml_embed.go

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions services/google/bigquery/alpha/routine_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,10 +301,11 @@ func DCLRoutineSchema() *dcl.Schema {
},
},
"language": &dcl.Property{
Type: "string",
GoName: "Language",
GoType: "RoutineLanguageEnum",
Description: "Optional. Defaults to \"SQL\". Possible values: LANGUAGE_UNSPECIFIED, SQL, JAVASCRIPT",
Type: "string",
GoName: "Language",
GoType: "RoutineLanguageEnum",
Description: "Optional. Defaults to \"SQL\". Possible values: LANGUAGE_UNSPECIFIED, SQL, JAVASCRIPT",
ServerDefault: true,
Enum: []string{
"LANGUAGE_UNSPECIFIED",
"SQL",
Expand Down
1 change: 1 addition & 0 deletions services/google/bigquery/beta/routine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ components:
x-dcl-go-type: RoutineLanguageEnum
description: 'Optional. Defaults to "SQL". Possible values: LANGUAGE_UNSPECIFIED,
SQL, JAVASCRIPT'
x-dcl-server-default: true
enum:
- LANGUAGE_UNSPECIFIED
- SQL
Expand Down
6 changes: 3 additions & 3 deletions services/google/bigquery/beta/routine_beta_yaml_embed.go

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions services/google/bigquery/beta/routine_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,10 +301,11 @@ func DCLRoutineSchema() *dcl.Schema {
},
},
"language": &dcl.Property{
Type: "string",
GoName: "Language",
GoType: "RoutineLanguageEnum",
Description: "Optional. Defaults to \"SQL\". Possible values: LANGUAGE_UNSPECIFIED, SQL, JAVASCRIPT",
Type: "string",
GoName: "Language",
GoType: "RoutineLanguageEnum",
Description: "Optional. Defaults to \"SQL\". Possible values: LANGUAGE_UNSPECIFIED, SQL, JAVASCRIPT",
ServerDefault: true,
Enum: []string{
"LANGUAGE_UNSPECIFIED",
"SQL",
Expand Down
1 change: 1 addition & 0 deletions services/google/bigquery/routine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ components:
x-dcl-go-type: RoutineLanguageEnum
description: 'Optional. Defaults to "SQL". Possible values: LANGUAGE_UNSPECIFIED,
SQL, JAVASCRIPT'
x-dcl-server-default: true
enum:
- LANGUAGE_UNSPECIFIED
- SQL
Expand Down
9 changes: 5 additions & 4 deletions services/google/bigquery/routine_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,10 +301,11 @@ func DCLRoutineSchema() *dcl.Schema {
},
},
"language": &dcl.Property{
Type: "string",
GoName: "Language",
GoType: "RoutineLanguageEnum",
Description: "Optional. Defaults to \"SQL\". Possible values: LANGUAGE_UNSPECIFIED, SQL, JAVASCRIPT",
Type: "string",
GoName: "Language",
GoType: "RoutineLanguageEnum",
Description: "Optional. Defaults to \"SQL\". Possible values: LANGUAGE_UNSPECIFIED, SQL, JAVASCRIPT",
ServerDefault: true,
Enum: []string{
"LANGUAGE_UNSPECIFIED",
"SQL",
Expand Down
6 changes: 3 additions & 3 deletions services/google/bigquery/routine_yaml_embed.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions services/google/billingbudgets/alpha/budget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ components:
description: Optional. Filters that define which resources are used to compute
the actual spend against the budget amount, such as projects, services,
and the budget's time period, as well as other filters.
x-dcl-server-default: true
properties:
calendarPeriod:
type: string
Expand Down

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions services/google/billingbudgets/alpha/budget_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,11 @@ func DCLBudgetSchema() *dcl.Schema {
},
},
"budgetFilter": &dcl.Property{
Type: "object",
GoName: "BudgetFilter",
GoType: "BudgetBudgetFilter",
Description: "Optional. Filters that define which resources are used to compute the actual spend against the budget amount, such as projects, services, and the budget's time period, as well as other filters.",
Type: "object",
GoName: "BudgetFilter",
GoType: "BudgetBudgetFilter",
Description: "Optional. Filters that define which resources are used to compute the actual spend against the budget amount, such as projects, services, and the budget's time period, as well as other filters.",
ServerDefault: true,
Properties: map[string]*dcl.Property{
"calendarPeriod": &dcl.Property{
Type: "string",
Expand Down
1 change: 1 addition & 0 deletions services/google/billingbudgets/beta/budget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ components:
description: Optional. Filters that define which resources are used to compute
the actual spend against the budget amount, such as projects, services,
and the budget's time period, as well as other filters.
x-dcl-server-default: true
properties:
calendarPeriod:
type: string
Expand Down
6 changes: 3 additions & 3 deletions services/google/billingbudgets/beta/budget_beta_yaml_embed.go

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions services/google/billingbudgets/beta/budget_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,11 @@ func DCLBudgetSchema() *dcl.Schema {
},
},
"budgetFilter": &dcl.Property{
Type: "object",
GoName: "BudgetFilter",
GoType: "BudgetBudgetFilter",
Description: "Optional. Filters that define which resources are used to compute the actual spend against the budget amount, such as projects, services, and the budget's time period, as well as other filters.",
Type: "object",
GoName: "BudgetFilter",
GoType: "BudgetBudgetFilter",
Description: "Optional. Filters that define which resources are used to compute the actual spend against the budget amount, such as projects, services, and the budget's time period, as well as other filters.",
ServerDefault: true,
Properties: map[string]*dcl.Property{
"calendarPeriod": &dcl.Property{
Type: "string",
Expand Down
1 change: 1 addition & 0 deletions services/google/billingbudgets/budget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ components:
description: Optional. Filters that define which resources are used to compute
the actual spend against the budget amount, such as projects, services,
and the budget's time period, as well as other filters.
x-dcl-server-default: true
properties:
calendarPeriod:
type: string
Expand Down
9 changes: 5 additions & 4 deletions services/google/billingbudgets/budget_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,11 @@ func DCLBudgetSchema() *dcl.Schema {
},
},
"budgetFilter": &dcl.Property{
Type: "object",
GoName: "BudgetFilter",
GoType: "BudgetBudgetFilter",
Description: "Optional. Filters that define which resources are used to compute the actual spend against the budget amount, such as projects, services, and the budget's time period, as well as other filters.",
Type: "object",
GoName: "BudgetFilter",
GoType: "BudgetBudgetFilter",
Description: "Optional. Filters that define which resources are used to compute the actual spend against the budget amount, such as projects, services, and the budget's time period, as well as other filters.",
ServerDefault: true,
Properties: map[string]*dcl.Property{
"calendarPeriod": &dcl.Property{
Type: "string",
Expand Down
6 changes: 3 additions & 3 deletions services/google/billingbudgets/budget_yaml_embed.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions services/google/binaryauthorization/alpha/attestor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ components:
field exactly. Additional restrictions on this field can be
imposed based on which public key type is encapsulated. See
the documentation on `public_key` cases below for details.
x-dcl-server-default: true
pkixPublicKey:
type: object
x-dcl-go-name: PkixPublicKey
Expand Down
Loading

0 comments on commit 4420d0a

Please sign in to comment.